qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.49k stars 2.99k forks source link

XY columns are not exported to csv #19856

Closed qgib closed 5 years ago

qgib commented 9 years ago

Author Name: Minoru Akagi (@minorua) Original Redmine Issue: 11597 Affected QGIS version: 2.6.0 Redmine category:vectors


I saved a point layer (shapefile) to a csv file with AS_XY in the GEOMETRY option selected. The output csv file has no X and Y columns. It has only attribute values.

QGIS 2.4 correctly exports a csv file with XY columns.



Related issue(s): #18990 (relates), #19905 (duplicates), #20892 (duplicates) Redmine related issue(s): 10584, 11654, 12796


qgib commented 9 years ago

Author Name: Minoru Akagi (@minorua)


AS_WKT option still works, but the output is different from that of 2.4.

2.6:

WKT,SRTM3,
"MULTIPOINT (138.83283895571475 35.504192505578239)",758.00000
"MULTIPOINT (138.49187291552053 35.89309997368553)",1449.00000
"MULTIPOINT (137.49806776365492 36.149096932129758)",1499.00000

2.4:

WKT,SRTM3,
"POINT (138.83283895571475 35.504192505578239)",758.00000
"POINT (138.49187291552053 35.89309997368553)",1449.00000
"POINT (137.49806776365492 36.149096932129758)",1499.00000
qgib commented 9 years ago

Author Name: Giovanni Manghi (@gioman)


confirmed here.


qgib commented 9 years ago

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "11c2bae74079ab008d7e7fb9233d714409aff008".