Get geodata
get_geodataGeodata from a state's service around the served model: kind parcels, buildings or terrain. Asks the service once and keeps the answer as a reference of the room (reference_id, shown in the viewer); the model file stays untouched. The area: the model's box through its georeference plus area.margin_m (default 50); edge_m only for a model without elements, a square around the map origin. An answer in another EPSG than the model's, or in longitude and latitude, is converted to it; source names service, fetched_at and the conversion with its rule and delta_m. Without a path the call is refused with the reason. parcels and buildings: a row per feature with the properties the service gave and its outline in project m (parts of rings [x, y]); first the feature the model box lies in, then by distance_m from that box to the outline: a box holds the footprint, so distance_m is at most the true one. terrain: cells, cell size in metres of the service EPSG, NoData cells (masked, never filled) and the height range in project m. Every answer names service, fetched_at, licence and credit; a credit goes with whatever is built from it. coverage counts the rows listed against the features kept. More: read_reference with reference_id reads the kept answer, never asking again. Each call asks the service and counts against a limit per caller (RATE_LIMITED, detail.retry_after_s). Double-check an outline against points you know before you build on it. Read-only for the model.
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": {
"kind": "<kind>"
},
"name": "get_geodata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | The box asked; default: the model box plus 50 m | |
| kind | Yes | What to ask the service for | |
| source | No | A service id; default: the one covering the largest share of the model's place for kind. The answer lists those at this place (sources, covered_share) |