Convert DWG to GML
Turn DWG 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 DWG files on the dialor turn it to pick what to do
Map features from a CAD drawing.One GML 3.2 document with your drawing's features and their attributes.
What you get
A single GML 3.2 file with one feature type that holds all the features and their attributes. Coordinates stay in the coordinate system of the source drawing. No separate schema file is written.
If some features have heights and others do not, the ones without get a height of 0. Lists and nested values become JSON text.
How the drawing is read
LibreDWG first writes the drawing as a DXF, and the GML is made from that. Proxy objects that add-on applications store are left out, and so are objects LibreDWG does not understand.
Drawings saved by AutoCAD R12 or older are refused.
What it leaves behind
Paper space layouts, colors, line weights and text styles are dropped. The output carries features and attributes, not the look of the drawing.
A file that is cut off before its EOF marker fails with
input_corrupted.
DWG and GML.What each format is.
The formats
AutoCAD Drawing
AutoCAD's own drawing format, the most common file of architects, engineers and CAD tools.
- Extensions
- .dwg
- MIME type
- image
/vnd .dwg - Kind
- Documents
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 DWG to GML conversion through the API, for your app or your agent.
$ cv convert report.dwg report.gml$ cv convert report.dwg report.gmlQuestions.What people ask about DWG to GML.
Yes. The coordinates stay in the source's coordinate system.
When some features have heights and others do not, the ones without get a height of 0.
No. Colors, line weights, text styles and paper space layouts are dropped.
Not if it was saved by AutoCAD R12 or older. Those drawings are refused. For other conversions, see every DWG conversion.