WKT Geometries in QGIS

QGIS, an open source and free Spatial Data creation & editing tool, has the ability to export data in CSV format. Within these files, the geometry data can be represented as WKT (Well Known Text). This is the supported spatial type for importing data into the Metrix Asset Management system using CSV files. To do this, follow the steps below:

  1. In the ‘Layer Browser’, right click on the spatial layer that you want to export.
  2. From the menu, click on Export > Save Feature As…
  3. A dialog box will appear. Firstly, set the ‘Format’ drop down box at the top to ‘Comma Separated Value (CSV)’.
  4. Next, click on the 3 dots (…) on the right-hand side of the ‘File Name’ input control.
  5. A file browser will appear. Give your export a file name in a known location, and click ‘Save’.
  6. Then, back in the QGIS dialog, move down to the ‘Layer Options’ section of the export dialog and set the ‘GEOMETRY’ drop down to ‘AS_WKT’.
  7. Lastly, uncheck ‘Add saved file to map’ and click ‘OK’.

You now have a valid CSV file with a WKT Geometry Column, as well as any other data attributes that were in the spatial file from QGIS. Below is a video guide of the above steps.