windkit.spatial.BBox.to_geoseries

BBox.to_geoseries(geo_as_polygon=False)[source]

Convert Bounding box to geopandas.Geoseries.

Parameters:

geo_as_polygon (bool, optional) – Convert the LinearRing to Polygon first, by default False.

Returns:

Bounding box converted to geoseries.

Return type:

geopandas.GeoSeries