dask_geopandas.GeoSeries.exterior#
- property GeoSeries.exterior#
Return a
GeoSeriesof LinearRings representing the outer boundary of each polygon in the GeoSeries.This docstring was copied from geopandas.base.GeoPandasBase.exterior.
Some inconsistencies with the Dask version may exist.
Applies to GeoSeries containing only Polygons. Returns
None`for other geometry types.See also
GeoSeries.boundarycomplete set-theoretic boundary
GeoSeries.interiorslist of inner rings of each polygon
Examples
>>> from shapely.geometry import Polygon, Point >>> s = geopandas.GeoSeries( ... [ ... Polygon([(0, 0), (1, 1), (0, 1)]), ... Polygon([(1, 0), (2, 1), (0, 0)]), ... Point(0, 1) ... ] ... ) >>> s 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) 1 POLYGON ((1 0, 2 1, 0 0, 1 0)) 2 POINT (0 1) dtype: geometry
>>> s.exterior 0 LINEARRING (0 0, 1 1, 0 1, 0 0) 1 LINEARRING (1 0, 2 1, 0 0, 1 0) 2 None dtype: geometry