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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dxf | Yes | ||
| control_points | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |