DXF to GeoJSON
Convert a georeferenced CAD drawing to GeoJSON for web maps, QGIS or Python: lines, closed polylines as polygons, points and text.
- Supported: POINT, LINE, LWPOLYLINE, 2D/3D POLYLINE, ARC, CIRCLE, ELLIPSE, SPLINE, TEXT, MTEXT, block attributes, HATCH, 3DFACE, SOLID, polyface meshes and MESH. Blocks are expanded.
- Curves are approximated by segments. Every feature gets the attributes layer, entity, colour and handle, text features also text.
- Standard GeoJSON (RFC 7946) is WGS 84 longitude/latitude. With another target CRS the file names it in a
crsmember, which QGIS and GDAL read. - Dimensions, leaders, images, 3D solids and paper space are not converted.
- Other converters: KML to DXF, KMZ to DXF, SHP to DXF, GeoJSON to DXF, DXF to SHP, DXF to KMZ, DXF CRS converter, OSM to DXF.
Found this tool useful?
koplemo is free, with no ads and no sign-up. It is kept running by the engineers who use it.
Payment handled by Stripe. We never see your card details.
Payment handled by Stripe. You can cancel at any time; write to [email protected] if you need help.
About this tool
Converts the modelspace of a DXF drawing into a GeoJSON FeatureCollection for Leaflet, Mapbox, geojson.io, QGIS or Python. Lines and arcs become LineStrings, closed polylines, circles and hatches Polygons, and points and text Points with a text property.
By default the output is standard GeoJSON (RFC 7946) in WGS 84 longitude/latitude, reprojected from the coordinate system of the drawing. Another target system can be chosen; it is then named in the file's crs member, which QGIS and GDAL read.
Related tools
Free to use, no sign-up. Results are for checking and preliminary design; verify them for your project. Questions or ideas: [email protected].