File: geodataframe.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 (127 lines) | stat: -rw-r--r-- 2,170 bytes parent folder | download | duplicates (2)
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
============
GeoDataFrame
============
.. currentmodule:: geopandas

A ``GeoDataFrame`` is a tabular data structure that contains at least
one ``GeoSeries`` column storing geometry.

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

   GeoDataFrame

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

.. autosummary::
   :toctree: api/

   GeoDataFrame.from_file
   GeoDataFrame.from_features
   GeoDataFrame.from_postgis
   GeoDataFrame.from_arrow
   GeoDataFrame.to_file
   GeoDataFrame.to_json
   GeoDataFrame.to_geo_dict
   GeoDataFrame.to_parquet
   GeoDataFrame.to_arrow
   GeoDataFrame.to_feather
   GeoDataFrame.to_postgis
   GeoDataFrame.to_wkb
   GeoDataFrame.to_wkt

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

.. autosummary::
   :toctree: api/

   GeoDataFrame.crs
   GeoDataFrame.set_crs
   GeoDataFrame.to_crs
   GeoDataFrame.estimate_utm_crs

Active geometry handling
------------------------

.. autosummary::
   :toctree: api/

   GeoDataFrame.rename_geometry
   GeoDataFrame.set_geometry
   GeoDataFrame.active_geometry_name

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

.. autosummary::
   :toctree: api/

   GeoDataFrame.dissolve
   GeoDataFrame.explode

Spatial joins
-------------

.. autosummary::
   :toctree: api/

   GeoDataFrame.sjoin
   GeoDataFrame.sjoin_nearest

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

.. autosummary::
   :toctree: api/

   GeoDataFrame.clip
   GeoDataFrame.overlay

Plotting
--------

.. autosummary::
   :toctree: api/

   GeoDataFrame.explore


.. autosummary::
   :toctree: api/
   :template: accessor_callable.rst

   GeoDataFrame.plot

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

.. autosummary::
   :toctree: api/

   GeoDataFrame.sindex
   GeoDataFrame.has_sindex

Indexing
--------

.. autosummary::
   :toctree: api/

   GeoDataFrame.cx

Interface
---------

.. autosummary::
   :toctree: api/

   GeoDataFrame.__geo_interface__
   GeoDataFrame.iterfeatures

All pandas ``DataFrame`` methods are also available, although they may
not operate in a meaningful way on the ``geometry`` column. All methods
listed in `GeoSeries <geoseries>`__ work directly on an active geometry column of GeoDataFrame.