georeference_dxf
Reproject a DXF drawn in a local/arbitrary CAD coordinate system into real-world coordinates — e.g. "this DXF isn't in real coordinates, fix it", "georeference this site plan", "I know 2 points on this drawing's real location, convert the rest". Give exactly 2 control points as a JSON array: '[{"local":[x,y],"real":[lon,lat]}, {"local":[x,y],"real":[lon,lat]}]' — a 2-point similarity transform (uniform scale + rotation + translation) is solved and applied to every coordinate. Returns a GeoJSON FeatureCollection in the real coordinate system implied by the 2 points.
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": {
"dxf": "<dxf>",
"control_points": "<control_points>"
},
"name": "georeference_dxf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dxf | Yes | ||
| control_points | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |