[OSM-newbies] Uploading GPX traces
Stefan Baebler
stefan.baebler at gmail.com
Sun Jun 17 09:56:31 BST 2007
Martin Philip Hansen wrote:
> On Fri, 15 Jun 2007, Stefan Baebler wrote:
>> What tool did give you that faulty GPX?
>
> I have a small homebrewn script converting Globalsats DG100 wierd
> inifiles to GPX. It works on the characterstring level and knows
> nothing of XML.
That script seems to do it right for trkpt elements:
f.write('<trkpt lat="%(lat).5f" lon="%(lon).5f" speed="%(speed)f">'
% pt)
f.write('<time>%(isotime)s</time></trkpt>\n' % pt)
so you already fixed it, i guess?
btw: you could contribute the code to gpsbabel.org so future versions
could support that format if the device can't be convinced to log in
some other, more common format (nmea)
Stefan
More information about the newbies
mailing list