geojson_diff
Compare two GeoJSON FeatureCollections — added/removed/changed features.
Matched by an `id_field` property if given, else by array position (exact
structural comparison, not topological equals). Returns JSON {ok, added,
removed, changed, added_count, removed_count, changed_count, unchanged_count}.
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": "geojson_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_field | No | ||
| geojson_a | Yes | ||
| geojson_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |