16

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.

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Sep 12, 2012 at 23:44

2 Answers 2

25

Two methods are described in other answers here:

  1. Save as CSV and in OGR Creation Options/Layers type "GEOMETRY=AS_XY": Getting list of coordinates for points in layer using QGIS?
  2. Create two calculated fields having the coordinates, then save as CSV: How do I calculate the latitude and longitude of points using QGIS?
answered Sep 13, 2012 at 0:42
0
3

Many years after the previously accepted answer, things have become slightly simpler. Right-click on the layer you want to export, select "Export" then "Save Features As...". In the "Format" dropdown box at the top of the dialog, choose "Comma Separated Value [CSV]" and select a directory and filename. Lower down in this dialog box, there is an expandable section called "Layer Options". In that section, in the dropdown box labeled "GEOMETRY", select "AS_XY" (or one of the other options if it fits your use case better).

answered May 10, 2024 at 13:18

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.