All Collections
Troubleshooting & Technical Questions
Uploading CAD files to Sensat
How to convert DWGs to KMLs, GeoJSONs or DXFs (for viewing in 2D)
How to convert DWGs to KMLs, GeoJSONs or DXFs (for viewing in 2D)
Aifric Delahunty avatar
Written by Aifric Delahunty
Updated over a week ago

DWGs are not supported in the 2D environment, but can be converted into DXFs, KMLs or GeoJSONs that are. Below are step-by-step guides for converting DWG files to each of these formats:

Convert DWG to KML*

Using QGIS:

  1. Open QGIS.

  2. Import your DWG file by clicking on 'Layer' > 'Add Layer' > 'Add Vector Layer'.

  3. Choose your DWG file and click 'Open'.

  4. Right-click on the layer and select 'Export' > 'Save Features As'.

  5. Choose KML from the format dropdown list.

  6. Select the location to save the KML file and click 'OK'.

Using AutoCAD:

  1. Open your DWG file in AutoCAD.

  2. Go to the 'Output' tab and click on 'Export to KML'.

  3. Choose the location to save the KML file and click 'Save'.


*Keyhole Markup Language, which is used for geographic annotation and visualisation

Convert DWG to GeoJSON

Using QGIS:

  1. Open QGIS.

  2. Import your DWG file by clicking on 'Layer' > 'Add Layer' > 'Add Vector Layer'.

  3. Choose your DWG file and click 'Open'.

  4. Right-click on the layer and select 'Export' > 'Save Features As'.

  5. Choose GeoJSON from the format dropdown list.

  6. Select the location to save the GeoJSON file and click 'OK'.

Convert DWG to DXF

Using AutoCAD:

  1. Open your DWG file in AutoCAD.

  2. Go to the 'Application Menu' (big "A" in the top-left corner) and click on 'Save As'.

  3. Choose 'Drawing Exchange Format (*.dxf)' from the 'Files of type' dropdown list.

  4. Choose the location to save the DXF file and click 'Save'.

Using a Conversion Tool:

  1. Go to an online conversion tool like Zamzar or Convertio.

  2. Upload your DWG file.

  3. Choose DXF as the output format.

  4. Start the conversion and download the DXF file once it's complete.

It's important to note that while converting between different formats, some data or formatting may not be preserved perfectly. Always double-check the converted files for any discrepancies or errors.

Did this answer your question?