hydromt_sfincs.utils.structures2gdf

hydromt_sfincs.utils.structures2gdf(feats: List[Dict], crs: Optional[Union[int, CRS]] = None) GeoDataFrame[source]

Convert list of structure dictionaries to GeoDataFrame[LineString]

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

  • crs (int, CRS) – Coordinate reference system

Returns

gdf – GeoDataFrame structures

Return type

geopandas.GeoDataFrame