spatial_join_geojson
Attach properties from every B feature that satisfies a spatial
predicate to each A feature (as a _matches list).
predicate: intersects | within | contains | touches | crosses | overlaps.
Returns JSON {ok, predicate, match_count, geojson}.
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": "spatial_join_geojson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geojson_a | Yes | ||
| geojson_b | Yes | ||
| predicate | No | intersects |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |