The following Shapely methods and attributes are available on GeoSeries
objects:
geopandas.GeoSeries.area
geopandas.GeoSeries.bounds
geopandas.GeoSeries.length
geopandas.GeoSeries.geom_type
geopandas.GeoSeries.distance
geopandas.GeoSeries.representative_point
geopandas.GeoSeries.exterior
geopandas.GeoSeries.interiors
Unary Predicates
geopandas.GeoSeries.is_empty
geopandas.GeoSeries.is_ring
geopandas.GeoSeries.is_simple
geopandas.GeoSeries.is_valid
Binary Predicates
geopandas.GeoSeries.geom_almost_equals
geopandas.GeoSeries.contains
geopandas.GeoSeries.crosses
geopandas.GeoSeries.disjoint
geopandas.GeoSeries.geom_equals
geopandas.GeoSeries.intersects
geopandas.GeoSeries.touches
geopandas.GeoSeries.within
Set-theoretic Methods
geopandas.GeoSeries.difference
geopandas.GeoSeries.intersection
geopandas.GeoSeries.symmetric_difference
geopandas.GeoSeries.union
Constructive Methods
geopandas.GeoSeries.buffer
geopandas.GeoSeries.boundary
geopandas.GeoSeries.centroid
geopandas.GeoSeries.convex_hull
geopandas.GeoSeries.envelope
geopandas.GeoSeries.simplify
Affine transformations
geopandas.GeoSeries.rotate
geopandas.GeoSeries.scale
geopandas.GeoSeries.skew
geopandas.GeoSeries.translate
Aggregating methods
geopandas.GeoSeries.unary_union
Additionally, the following methods are implemented:
geopandas.GeoSeries.from_file
geopandas.GeoSeries.to_crs
geopandas.GeoSeries.plot
geopandas.GeoSeries.total_bounds
geopandas.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. The methods copy()
, align()
, isnull()
and fillna()
have been implemented specifically for GeoSeries
and are expected to work correctly.
A GeoDataFrame
is a tablular data structure that contains a column called geometry
which contains a GeoSeries`.
Currently, the following methods are implemented for a GeoDataFrame
:
geopandas.GeoDataFrame.from_file
geopandas.GeoDataFrame.from_postgis
geopandas.GeoDataFrame.to_crs
geopandas.GeoDataFrame.to_file
geopandas.GeoDataFrame.to_json
geopandas.GeoDataFrame.plot
geopandas.GeoDataFrame.__geo_interface__
All pandas DataFrame
methods are also available, although they may not operate in a meaningful way on the geometry
column and may not return a GeoDataFrame
result even when it would be appropriate to do so.
geopandas
GeoDataFrame GeoSeries overlay read_file sjoin tools.geocode datasets.get_path