hydromt_fiat.components.ExposureGeomsComponent.clip#
- ExposureGeomsComponent.clip(geom: GeoDataFrame, inplace: bool = False) dict[str, GeoDataFrame] | None[source]#
Clip the exposure vector data.
Geometry needs to be in the same crs (or lack thereof) as the data.
- Parameters:
geom (gpd.GeoDataFrame) – The area to clip the data to.
inplace (bool, optional) – Whether to do the clipping in place or return a new dictionary containing the GeoDataFrames, by default False.
- Returns:
Return a dataset if the inplace is False.
- Return type: