Convert GML to DXF

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

Map shapes as a CAD drawing.The shapes from your GML file come out as one DXF drawing, all on layer 0.

  1. What you get

    A single DXF file that CAD programs can open. Points become points, and lines become polylines. Each ring of a polygon becomes a closed polyline. Heights are kept in 3D.

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

  2. What is left 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 is drawn on its own.

    Everything sits on layer 0. The drawing does not separate features into layers.

  3. More conversions

    See every GML conversion for other formats you can make from GML. To see what else produces DXF, see every DXF conversion.

GML and DXF.What each format is.

The formats

From · GML

GML

Geography Markup Language, the OGC's XML for map features, as WFS services send it.

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

terminal
$ cv convert report.gml report.dxf
$ cv convert report.gml report.dxf

Questions.What people ask about GML to DXF.

01OF 04

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

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

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

Yes. Heights are kept in 3D.

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