[OSM-dev] GPX Parser?
crschmidt at crschmidt.net
Sun Jun 4 13:19:47 BST 2006
On Sun, Jun 04, 2006 at 11:48:51AM +0200, Erik Johansson wrote:
> On 6/4/06, Christopher Schmidt <crschmidt at crschmidt.net> wrote:
> >Searched through the OSM SVN repo, found no sign of a GPX parser.
> >and wanted to just
> >use unix timestamps, but I wasn't sure if the OSM parser would choke on
> Just print a the time in the format that is defined by GPX schema:
> Optional in: <gpx> <wpt> <rte> <rtept> <trk> <trkpt>
> Creation/modification timestamp for element. Date and time in are in
> Univeral Coordinated Time (UTC), not local time! Conforms to ISO 8601
> specification for date/time representation. Fractional seconds are
> allowed for millisecond timing in tracklogs.
Yeah, I know what I'm supposed to do, but I was wondering what I had to
do :) If the OSM parser could parse unix timestamps, I'd have just left
those in, and I could have done the entire thing in xslt. I dropped into
Python and converted to iso-8601 instead.
Script is at:
If anyone cares, although I doubt it :)
More information about the dev