Convert OSM to DXF
Turn OSM 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 OSM files on the dialor turn it to pick what to do
OpenStreetMap shapes as a CAD drawing.Points, lines and areas go into one DXF, all on layer 0.
What you get
One DXF drawing of the shapes in the OSM file. Tagged nodes become points. Ways become polylines, and a closed way tagged as an area becomes a polygon, with each ring drawn as a closed polyline.
Route and multipolygon relations are kept too, as multilines and multipolygons. Multipart shapes are split into their parts, and heights stay in 3D.
Coordinates and units
The shapes keep the coordinates of 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 to unitless otherwise.
Everything sits on layer 0, so the drawing has no layers to sort by.
What it leaves behind
Attributes and names are dropped, so tags such as name, highway and building do not appear in the DXF. Features without a geometry are left out.
Untagged nodes, other relations, versions and authors are dropped as well.
For other routes from this format, see every OSM conversion. For other ways to produce this format, see every DXF conversion.
OSM and DXF.What each format is.
The formats
OpenStreetMap Data
OpenStreetMap nodes, ways and relations with their tags, as .osm XML or the smaller .osm.pbf.
- Extensions
- .osm .osm.pbf
- MIME type
- application
/vnd .openstreetmap .data +xml - Kind
- Text and data
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 OSM to DXF conversion through the API, for your app or your agent.
$ cv convert report.osm report.dxf$ cv convert report.osm report.dxfQuestions.What people ask about OSM to DXF.
No. Attributes and names are dropped, so the DXF holds only the shapes.
Yes. OSM data comes as .osm XML or the smaller .osm.pbf, and both are read as OpenStreetMap data.
The one in the source. A DXF names no coordinate system, so the coordinates are copied as they are.
No. Only tagged nodes become points. Untagged nodes are dropped.