3

I have a CSV of WKBs that I need to convert to WKT.

Can I paste them all into Quick WKT at the same time?

How do you break the spaces between geometries?

Page break, comma, semicolon, etc. do not seem to work.

5

Yes, the WKT plugin allows you to do that.

Just paste each geometry in a new line:

enter image description here

Which loads all 3 geometries as 3 layers:

enter image description here

If you paste geometries of the same type, they will be created in the same layer, unless you check "Create a new layer for every geometry."

  • When I try this, I either get an error about uneven string length, or I only get the first geometry. – taylort Jan 27 at 2:54
  • 3
    In that case, we do need more detail in your question. What versions are you using, some sample geometries, and the like. – Germán Carrillo Jan 27 at 3:18
  • I'm using the latest versions of QGIS and the Quick WKT plugin. This method works for WKT geometries but not geometries stored as WKB. – taylort Jan 29 at 14:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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