geojson_to_flatgeobuf
Convert GeoJSON to FlatGeobuf (.fgb) — the cloud-native binary format with a built-in spatial index. FlatGeobuf holds one geometry type per file, so mixed point/line/polygon input is automatically split into one .fgb per category and returned inside a zip.
Returns JSON: {flatgeobuf_base64|flatgeobuf_zip_base64: str, split: bool,
split_categories: [str]|null}.
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": "<geojson>"
},
"name": "geojson_to_flatgeobuf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geojson | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |