6

I have a CSV file with a column that is WKB, called WKB.

When I import it to QGIS (using "Add Delimited Text Layer"), there seems to be no option for WKB, and the file imports as pure CSV - no geocoded polygons show up on the map, and it thinks the WKB field is a string.

Is there any way to import WKB to QGIS?

3
  • So it is really Well Known Binary?
    – user30184
    Commented Feb 11, 2017 at 11:06
  • WKB in a CSV file is not going to be reliable, since a WKB could have anything in it, including line-feeds, commas, and zero bytes... Is it WKB or WKT, the text version (ie like "POLYGON((1234 123)(313123..." etc?
    – Spacedman
    Commented Feb 11, 2017 at 15:05
  • 1
    possible duplicate of this question if you're talking about hex-encoded WKB strings in delimited files. I think this is still the case. Use WKT / EWKT instead (with tab as separator) or use postgres/postgis instead.
    – Steven Kay
    Commented Feb 11, 2017 at 23:01

0

Your Answer

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

Browse other questions tagged or ask your own question.