filter_dissolve
- eolab.georastertools.processing.vector.filter_dissolve(geom: GeoDataFrame, cat_geom: GeoDataFrame, id: str = 'Classe') GeoDataFrame[source]
Filter a classification to the extent of a geometry. Returns a list of multipolygons corresponding to each category. Categories are merged according to the id label if entry is a geodataframe
- Parameters:
geom (
gpd.GeoDataFrame) – Geometry corresponding to ROIcat_geom (
gpd.GeoDataFrame) – Geometries with labels, corresponding to a classificationid (str, optional, default="Classe") – Name of classes label in cat_geom
- Returns:
The filtered geometries
- Return type:
gpd.GeoDataFrame