Jump to content

GPSbabel convert from gpx file to csv file


pizzipie

Recommended Posts

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.

Link to comment

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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...