dask_geopandas.GeoSeries.exterior#

property GeoSeries.exterior#

Returns a GeoSeries of 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.boundary

complete set-theoretic boundary

GeoSeries.interiors

list 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.00000 0.00000, 1.00000 1.00000, 0....
1    POLYGON ((1.00000 0.00000, 2.00000 1.00000, 0....
2                              POINT (0.00000 1.00000)
dtype: geometry
>>> s.exterior
0    LINEARRING (0.00000 0.00000, 1.00000 1.00000, ...
1    LINEARRING (1.00000 0.00000, 2.00000 1.00000, ...
2                                                 None
dtype: geometry