hydromt.Model.write_geoms#
- Model.write_geoms(fn: str = 'geoms/{name}.geojson', **kwargs) None [source]#
Write model geometries to a vector file (by default GeoJSON) at <root>/<fn>.
key-word arguments are passed to
geopandas.GeoDataFrame.to_file()
- Parameters:
fn (
str
, optional) – filename relative to model root and should contain a {name} placeholder, by default ‘geoms/{name}.geojson’**kwargs – Additional keyword arguments that are passed to the geopandas.to_file function.