pizzipie Posted November 22, 2015 Share Posted November 22, 2015 Hi, New to mapping and trying to convert my downloaded garman.gpx file to .csv file. Intend to use csv to upload to my mapping database. gpsbabel -w -i gpx -f "waypts.gpx" -o csv -F "waypts.csv" The typical <wpt> tag in the gpx file contains: <wpt lat="48.230667952" lon="-116.548649501"> <ele>630.505615</ele> <name>010</name> <cmt>15-DEC-13 4:22:27PM</cmt> <desc>15-DEC-13 4:22:27PM</desc> <sym>Flag, Blue</sym> </wpt> The conversion as code above produces: 48.23067, -116.54865, 15-DEC-13 4:22:27PM 48.23080, -116.54843, 15-DEC-13 4:33:22PM 48.23080, -116.54843, 15-DEC-13 4:33:31PM How can I get all the <wpt> elements (7) from the file?? Thanks for your help in advance R. Quote Link to comment
+Mausebiber Posted November 22, 2015 Share Posted November 22, 2015 I cant talk about GPSbabel, but to convert I load the .gpx file into GSAK and save it as .csv, done. Quote Link to comment
+Walts Hunting Posted November 22, 2015 Share Posted November 22, 2015 I guess my question is why are you using the command line. The windows GUI version does it quit easily without having to remember all the switches. I assume there is a mac version also. It will also show you the command line that it uses underneath fr future reference Quote Link to comment
pizzipie Posted November 22, 2015 Author Share Posted November 22, 2015 I guess my question is why are you using the command line. The windows GUI version does it quit easily without having to remember all the switches. I assume there is a mac version also. It will also show you the command line that it uses underneath fr future reference I don't use Windows. I run Linux Ubuntu 14.04. Quote Link to comment
pizzipie Posted November 23, 2015 Author Share Posted November 23, 2015 For anyone else interested in this I found the answer. gpsbabel -w -i gpx -f "waypts.gpx" -o unicsv -F "waypts.csv" The unicsv will get all the elements. R Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.