I have saved waypoints from my Garmin as gpx and have successfully imported them into QGIS. Is there a way to now export the layers into a csv file with coordinates? I've tried the export to csv but that does not give me the coordinates.
1 Answer
Two methods are described in other answers here:
- Save as CSV and in OGR Creation Options/Layers type "GEOMETRY=AS_XY": Getting list of coordinates for points in layer using QGIS?
- Create two calculated fields having the coordinates, then save as CSV: How do I calculate the latitude and longitude of points using QGIS?
-
Great, I used you first suggestion and that did the job. Thanks andytilia Sep 13, 2012 at 9:45
-
Note that if your geometry has somehow become a multipart geometry,
GEOMETRY=AS_XY
will silently fail. You can can fix this by processing the layer with 'Multipart to singleparts' Aug 11, 2021 at 6:11