overlay_geojson
Combine two GeoJSON FeatureCollections with a boolean set operation.
op: intersection | difference (a minus b) | symmetric_difference | union.
Each side is unioned into one geometry first, then the operation is
applied. Returns JSON {ok, op, geojson} — empty geojson means no overlap,
not an error.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"geojson_a": "<geojson_a>",
"geojson_b": "<geojson_b>"
},
"name": "overlay_geojson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | intersection | |
| geojson_a | Yes | ||
| geojson_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |