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

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

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 that are supported in both the 2D and 3D environments.
​
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 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.

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?