hydromt_fiat.components.ExposureGeomsComponent.write#

ExposureGeomsComponent.write(filename: str | None = None, **kwargs) None[source]#

Write exposure geometries to a vector file.

Key-word arguments are passed to geopandas.GeoDataFrame.to_file().

Parameters:
  • filename (str, optional) – Filename relative to model root. should contain a {name} placeholder which will be used to determine the names/keys of the geometries. if None, the path that was provided at init will be used.

  • **kwargs (dict) – Additional keyword arguments that are passed to the geopandas.to_file function.