hydromt_sfincs.utils.polygon2gdf#

hydromt_sfincs.utils.polygon2gdf(feats: List[Dict], crs: int | CRS | None = None, zmin: float | None = None, zmax: float | None = 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