From: Robert Lipe <robertlipe@us...> - 2005-03-03 06:03:16
> mabe you can answer my question. I am trying to convert a ASCI f=
> (point #, lat,long) example ( 1,32.556213,-86.445621 ) to a gpx file. C=
At a glance, the closest format we have "out of the box" that would
support that is DNA. It will slightly mangle your waypoint numbers,
It's trivial to teach GPSBabel to read this format, though. Just
create a new style; we'll call it "blah"
DESCRIPTION Blappity blah
# FILE LAYOUT DEFINITIIONS:
# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE:#
IFIELD SHORTNAME, "", "%s"
IFIELD LAT_DECIMAL, "", "%08.5f"
IFIELD LON_DECIMAL, "", "%08.5f"
Now you just tell GPSBabel to use that format for your input:
gpsbabel -i xcsv,style=3Dblah -f /tmp/xxx -o gpx -F whatever.gpx
Get latest updates about Open Source Projects, Conferences and News.