2

I have one country layer in a shapefile consisting of a lot of attributes, but the result needs to be in WKT file/format. I'm using QGIS 3.12 . I'd tried GetWKT Plugin but it limited to one selected feature only.

How can I convert the whole shapefile to a WKT file? Any suggestion of what plugins I can use to convert the shapefile?

1
  • 1
    WKT is not a file format but a vector representation format (en.wikipedia.org/wiki/…) so you cant really convert a shapefile to WKT but you can add WKT attribute to your shape file or any other export format, see @30184 answer for exporting to CSV with WKT
    – J.R
    Commented Dec 18, 2020 at 16:58

1 Answer 1

5

You do not need any plugin. Use Save As... and select CSV as outputformat. From the CSV layer options select "AS_WKT" for the geometry.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.