Convert TOPOJSON to DXF

Turn TOPOJSON 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 TOPOJSON files on the dialor turn it to pick what to do

TopoJSON shapes as a CAD drawing.Points, lines and polygon rings become DXF geometry in the source's coordinates.

  1. What you get

    One DXF drawing of the shapes. Everything sits 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 are the ones in the TopoJSON file. A DXF names no coordinate system, so none is written. The drawing units are set to meters or feet when the source's system uses them, and to unitless otherwise.

  2. What it leaves behind

    Attributes and names are dropped, so the drawing holds geometry only. Features without a geometry are left out.

    Multipart shapes are split into their parts. Each part becomes its own piece of geometry in the drawing.

TOPOJSON and DXF.What each format is.

The formats

From · TOPOJSON

TopoJSON

TopoJSON, GeoJSON's compact cousin that shares borders between shapes, as D3 maps use it.

Extensions
.topojson
MIME type
application/topo+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 TOPOJSON to DXF conversion through the API, for your app or your agent.

terminal
$ cv convert report.topojson report.dxf
$ cv convert report.topojson report.dxf

Questions.What people ask about TOPOJSON to DXF.

01OF 04

No. A DXF names no coordinate system, so the shapes keep the source's coordinates as they are. The drawing units are set to meters or feet when the source's system uses them, and to unitless otherwise.

Yes. Each ring of a polygon becomes a closed polyline.

No. Attributes and names are dropped.

No. All of the shapes are on layer 0.

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