Convert DXF to GML

Turn DXF documents into GML. A GML 3.2 document with one feature type holding the features and their attributes, in the source's coordinate system and without a separate schema file.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Your drawing as GML 3.2.One file with the features and their attributes, in the source's coordinate system.

  1. What you get

    A single GML 3.2 document. It holds one feature type, and the features from your DXF drawing sit inside it with their attributes. No separate schema file is made.

    The coordinates stay in the coordinate system of the source, so nothing is moved or reprojected. GML is the OGC's XML for map features, as WFS services send it.

  2. What changes

    When some features have heights and others do not, the ones without get a height of 0. Lists and nested values become JSON text.

  3. What it leaves behind

    Paper space layouts are dropped. So are colors, line weights and text styles, because the output keeps the features and their attributes, not the look of the drawing.

    A file that is cut off before its EOF marker fails with input_corrupted.

    For other targets, see every DXF conversion.

DXF and GML.What each format is.

The formats

From · DXF

AutoCAD DXF

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

Extensions
.dxf
MIME type
image/vnd.dxf
Kind
Documents
To · 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

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

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

Questions.What people ask about DXF to GML.

01OF 04

Yes. The features stay in the coordinate system of the source.

No. The result is one GML 3.2 document without a separate schema file.

When some features have heights and others do not, the ones without get a height of 0.

No. Colors, line weights and text styles are dropped, and so are paper space layouts.

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