Files
geopandas/doc/source/docs/reference/geodataframe.rst
T
Adrian Garcia BadaraccoandMartin Fleischmann f33c483a33 ENH: add public has_sindex method (#1627)
* add public sindex_generated method to GeoDataFrame, GeoSeries and GeometryArray

* add docstring

* doc suggestions

* PR feedback

* revert docstring

* geometry -> geom

* edit docstring

* Update geopandas/array.py

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>

* formatting

* PR feedback

* Update base.py

* add to api docs

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2020-11-10 19:11:16 +00:00

90 lines
1.5 KiB
ReStructuredText

============
GeoDataFrame
============
.. currentmodule:: geopandas
A ``GeoDataFrame`` is a tabular data structure that contains a column
which contains a ``GeoSeries`` storing geometry.
Constructor
-----------
.. autosummary::
:toctree: api/
GeoDataFrame
Reading and writing files
-------------------------
.. autosummary::
:toctree: api/
GeoDataFrame.from_file
GeoDataFrame.from_features
GeoDataFrame.from_postgis
GeoDataFrame.to_file
GeoDataFrame.to_json
GeoDataFrame.to_parquet
GeoDataFrame.to_feather
GeoDataFrame.to_postgis
Projection handling
-------------------
.. autosummary::
:toctree: api/
GeoDataFrame.crs
GeoDataFrame.set_crs
GeoDataFrame.to_crs
Active geometry handling
------------------------
.. autosummary::
:toctree: api/
GeoDataFrame.rename_geometry
GeoDataFrame.set_geometry
Aggregating and exploding
-------------------------
.. autosummary::
:toctree: api/
GeoDataFrame.dissolve
GeoDataFrame.explode
Plotting
--------
.. autosummary::
:toctree: api/
GeoDataFrame.plot
Spatial index
-------------
.. autosummary::
:toctree: api/
GeoDataFrame.sindex
GeoDataFrame.has_sindex
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.