Convert GEOJSON to DXF

Turn GEOJSON files into DXF. A DXF drawing of the shapes, all on layer 0, in the source's coordinates, since a DXF names no coordinate system, with the drawing units set to meters or feet when the source's system uses them and to unitless otherwise: points become points, lines become polylines and each ring of a polygon becomes a closed polyline, with heights kept in 3D.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop GEOJSON files on the dialor turn it to pick what to do

Map shapes as a CAD drawing.Points, lines and polygon rings become DXF geometry in one file.

  1. What you get

    A DXF drawing of the shapes, all on layer 0. Points become points, lines become polylines, and each ring of a polygon becomes a closed polyline. Heights are kept in 3D.

    The coordinates stay as they are in the GEOJSON file. A DXF names no coordinate system, so none is written.

  2. Units and coordinates

    The drawing units are set to meters or feet when the coordinate system of the source uses them. Otherwise the drawing is unitless.

  3. What it leaves behind

    Multipart shapes are split into their parts, so each part is its own shape in the drawing. Attributes and names are dropped, because the drawing holds geometry only. Features without a geometry are left out.

    If you need to combine several files first, you can merge GEOJSON before converting.

GEOJSON and DXF.What each format is.

The formats

From · GEOJSON

GeoJSON

Points, lines and polygons as JSON, the web's map data format.

Extensions
.geojson
MIME type
application/geo+json
Kind
Text and data
To · DXF

AutoCAD DXF

AutoCAD's drawing exchange format. Vector geometry that CAD programs share.

Extensions
.dxf
MIME type
image/vnd.dxf
Kind
Documents

In your code.The same GEOJSON to DXF conversion through the API, for your app or your agent.

terminal
$ cv convert report.geojson report.dxf
$ cv convert report.geojson report.dxf

Questions.What people ask about GEOJSON to DXF.

01OF 04

No. Attributes and names are dropped, and only the geometry is written to the DXF.

All shapes are on layer 0.

No. Each ring of a polygon becomes a closed polyline, so you get the outline of the polygon.

No. The coordinates are the same as in the source, but a DXF names no coordinate system. The drawing units are set to meters or feet when the source's system uses them.

More conversions.Other ways in and out of GEOJSON and DXF.