hydromt.model.components.GeomsComponent.read#
- GeomsComponent.read(filename: str | None = None, **kwargs) None [source]#
Read model geometries files at <root>/<filename>.
key-word arguments are passed to
geopandas.read_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 – Additional keyword arguments that are passed to the geopandas.read_file function.