geojson_to_dxf
Convert GeoJSON to an AutoCAD DXF file — e.g. "export this GeoJSON to DXF for AutoCAD", "GIS data to CAD format", "convert to .dxf for Civil 3D". Points become DXF POINT entities; lines and polygon rings become LWPOLYLINE entities. A feature's properties.layer (if present) is written back as the DXF entity's layer (group code 8), defaulting to layer "0" otherwise.
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_dxf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geojson | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |