File: geoseries.rst

package info (click to toggle)
python-geopandas 1.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,848 kB
  • sloc: python: 26,022; makefile: 147; sh: 25
file content (260 lines) | stat: -rw-r--r-- 4,794 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
=========
GeoSeries
=========
.. currentmodule:: geopandas

Constructor
-----------
.. autosummary::
   :toctree: api/

   GeoSeries

General methods and attributes
------------------------------

.. autosummary::
   :toctree: api/

   GeoSeries.area
   GeoSeries.boundary
   GeoSeries.bounds
   GeoSeries.total_bounds
   GeoSeries.length
   GeoSeries.geom_type
   GeoSeries.offset_curve
   GeoSeries.distance
   GeoSeries.hausdorff_distance
   GeoSeries.frechet_distance
   GeoSeries.representative_point
   GeoSeries.exterior
   GeoSeries.interiors
   GeoSeries.minimum_bounding_radius
   GeoSeries.minimum_clearance
   GeoSeries.x
   GeoSeries.y
   GeoSeries.z
   GeoSeries.m
   GeoSeries.get_coordinates
   GeoSeries.count_coordinates
   GeoSeries.count_geometries
   GeoSeries.count_interior_rings
   GeoSeries.set_precision
   GeoSeries.get_precision
   GeoSeries.get_geometry

Unary predicates
----------------

.. autosummary::
   :toctree: api/

   GeoSeries.is_closed
   GeoSeries.is_empty
   GeoSeries.is_ring
   GeoSeries.is_simple
   GeoSeries.is_valid
   GeoSeries.is_valid_reason
   GeoSeries.is_valid_coverage
   GeoSeries.invalid_coverage_edges
   GeoSeries.has_m
   GeoSeries.has_z
   GeoSeries.is_ccw


Binary predicates
-----------------

.. autosummary::
   :toctree: api/

   GeoSeries.contains
   GeoSeries.contains_properly
   GeoSeries.crosses
   GeoSeries.disjoint
   GeoSeries.dwithin
   GeoSeries.geom_equals
   GeoSeries.geom_equals_exact
   GeoSeries.geom_equals_identical
   GeoSeries.intersects
   GeoSeries.overlaps
   GeoSeries.touches
   GeoSeries.within
   GeoSeries.covers
   GeoSeries.covered_by
   GeoSeries.relate
   GeoSeries.relate_pattern


Set-theoretic methods
---------------------

.. autosummary::
   :toctree: api/

   GeoSeries.clip_by_rect
   GeoSeries.difference
   GeoSeries.intersection
   GeoSeries.symmetric_difference
   GeoSeries.union

Constructive methods and attributes
-----------------------------------

.. autosummary::
   :toctree: api/

   GeoSeries.boundary
   GeoSeries.buffer
   GeoSeries.centroid
   GeoSeries.concave_hull
   GeoSeries.convex_hull
   GeoSeries.envelope
   GeoSeries.extract_unique_points
   GeoSeries.force_2d
   GeoSeries.force_3d
   GeoSeries.make_valid
   GeoSeries.minimum_bounding_circle
   GeoSeries.maximum_inscribed_circle
   GeoSeries.minimum_clearance
   GeoSeries.minimum_clearance_line
   GeoSeries.minimum_rotated_rectangle
   GeoSeries.normalize
   GeoSeries.orient_polygons
   GeoSeries.remove_repeated_points
   GeoSeries.reverse
   GeoSeries.sample_points
   GeoSeries.segmentize
   GeoSeries.shortest_line
   GeoSeries.simplify
   GeoSeries.simplify_coverage
   GeoSeries.snap
   GeoSeries.transform

Affine transformations
----------------------

.. autosummary::
   :toctree: api/

   GeoSeries.affine_transform
   GeoSeries.rotate
   GeoSeries.scale
   GeoSeries.skew
   GeoSeries.translate

Linestring operations
---------------------

.. autosummary::
   :toctree: api/

   GeoSeries.interpolate
   GeoSeries.line_merge
   GeoSeries.project
   GeoSeries.shared_paths

Aggregating and exploding
-------------------------

.. autosummary::
   :toctree: api/

   GeoSeries.build_area
   GeoSeries.constrained_delaunay_triangles
   GeoSeries.delaunay_triangles
   GeoSeries.explode
   GeoSeries.intersection_all
   GeoSeries.polygonize
   GeoSeries.union_all
   GeoSeries.voronoi_polygons


Serialization / IO / conversion
-------------------------------

.. autosummary::
   :toctree: api/

   GeoSeries.from_arrow
   GeoSeries.from_file
   GeoSeries.from_wkb
   GeoSeries.from_wkt
   GeoSeries.from_xy
   GeoSeries.to_arrow
   GeoSeries.to_file
   GeoSeries.to_json
   GeoSeries.to_wkb
   GeoSeries.to_wkt

Projection handling
-------------------

.. autosummary::
   :toctree: api/

   GeoSeries.crs
   GeoSeries.set_crs
   GeoSeries.to_crs
   GeoSeries.estimate_utm_crs

Missing values
--------------

.. autosummary::
   :toctree: api/

   GeoSeries.fillna
   GeoSeries.isna
   GeoSeries.notna

Overlay operations
------------------

.. autosummary::
   :toctree: api/

   GeoSeries.clip

Plotting
--------

.. autosummary::
   :toctree: api/

   GeoSeries.plot
   GeoSeries.explore


Spatial index
-------------

.. autosummary::
   :toctree: api/

   GeoSeries.sindex
   GeoSeries.has_sindex

Indexing
--------

.. autosummary::
   :toctree: api/

   GeoSeries.cx

Interface
---------

.. autosummary::
   :toctree: api/

   GeoSeries.__geo_interface__


Methods of pandas ``Series`` objects are also available, although not
all are applicable to geometric objects and some may return a
``Series`` rather than a ``GeoSeries`` result when appropriate. The methods
``isna()`` and ``fillna()`` have been
implemented specifically for ``GeoSeries`` and are expected to work
correctly.