Skip to main content
All CollectionsTroubleshooting & Technical QuestionsUploading CAD files to Sensat
How to convert .DWG to .KML or .GeoJSON, to view in the 2D environment
How to convert .DWG to .KML or .GeoJSON, to view in the 2D environment

Step-by-step instructions on how to convert a .DWG to .KML or .GeoJSON, to be viewed in the 2D environment.

Aifric Delahunty avatar
Written by Aifric Delahunty
Updated over 4 months ago

DWGs are not supported in the 2D environment, but can be converted into DXFs that are supported in both the 2D and 3D environments. See guidance here.
​
You can also convert DWGs into KMLs or GeoJSONs, both of which are 2D-only files. However, we generally recommend the more reliable DWG to DXF conversion.

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'.
    ​

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?