[Qgis-user] Export WKT format

Andrew Gillett arganoid at pair.com
Mon Oct 20 10:21:51 PDT 2014


Thanks for the info. I've just tried this and there appears to be a bug 
in it. I'm using the country border data from here:

http://www.naturalearthdata.com/downloads/10m-cultural-vectors/

If, for example, I select Iceland and export as you suggested, the 
column for the polygon data is truncated. Only about 200 vertices are 
exported, as compared to around 3000 which are correctly present if I 
use the copy/paste method. The polygon data ends with an X coordinate 
but no Y coordinate, and the closing brackets and quote mark are also 
missing.


On 20/10/2014 17:39, Matthias Kuhn wrote:
> Hi Andrew,
>
> WKT is a format for geometries and not a file type. Therefore it is not
> possible to offer a save as WKT just like that. You can however easily
> choose Comma Separated Value as export format and then choose AS_WKT in
> the Geometry combobox under layer options.
>
> Best regards,
> Matthias
>
>
> On 20.10.2014 18:35, Andrew Gillett wrote:
>> It is possible to export in WKT format by copying then pasting into a
>> text editor. However, there is no WKT option when exporting via Layer
>> -> Save As. Is there a particular reason for this, or is there a
>> development list where I could request this?
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>




More information about the Qgis-user mailing list