overlay_gpd
Perform spatial overlay analysis on two geospatial files using intersection, union, identity, symmetric difference, or difference methods. Returns overlay results as a new GeoDataFrame.
Instructions
Overlay two GeoDataFrames using geopandas.overlay. Args: gdf1_path: Path to the first geospatial file. gdf2_path: Path to the second geospatial file. how: Overlay method ('intersection', 'union', 'identity', 'symmetric_difference', 'difference'). output_path: Optional path to save the result. Returns: Dictionary with status, message, and output info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gdf1_path | Yes | ||
| gdf2_path | Yes | ||
| how | No | intersection | |
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||