To save a vector feature layer to a WKT CSV file, do the following:
- In the legend pane of QGIS, select a layer to export, e.g. forest. Then press the right click of the mouse.
A pop up menu appears. - In the pop up menu, choose Save As.
- The Save vector layer as dialog box appears.
- In the Format combo box, choose Comma Separated Values (CSV). In the File name field, click the Browse button and type in the output file name, e.g. forest.csv.
- In the Layer Options group box's GEOMETRY combo box, choose AS_WKT. Click OK.
The selected vector layer is exported out as a CSV file with a geometry field as WKT format as shown below in a spread sheet.
No comments:
Post a Comment