hydromt_sfincs.utils.polygon2gdf#

hydromt_sfincs.utils.polygon2gdf(feats: List[Dict], crs: int | CRS = None, zmin: float = None, zmax: float = None) GeoDataFrame[source]#

Convert list of structure dictionaries to GeoDataFrame[Polygon]

Parameters:
  • feats (list of dict) – List of dictionaries describing polygons.

  • crs (int, CRS) – Coordinate reference system

Returns:

gdf – GeoDataFrame structures

Return type:

geopandas.GeoDataFrame