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 value(s) is/ are either taken from the model configurations or the _filename attribute, by default None.

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