[OSM-newbies] Uploading GPX traces
Stefan Baebler
stefan.baebler at gmail.com
Fri Jun 15 22:34:35 BST 2007
Martin Philip Hansen wrote:
> I'm having some problems uploading tracks of the form:
> <trkpt lat="x" lon="y" time="z"/>
> The server seems to accept the form
> <trkpt lat="x" lon="y"><time>z</time></trkpt>
<trkpt> element of GPX schema is defined at
http://www.topografix.com/GPX/1/1/#type_trksegType
and in detail at
http://www.topografix.com/GPX/1/1/#type_wptType
> Doesn't XML say you can collapse an attribute such as time and put
> it together with other attributes within the parent element?
No, XML doesn't explicitly say that you can move a nested element into
parent element's attribute and vice versa. However it is true that many
XML schemas do provide this interchangeability (they allow same thing to
be specified either way).
What tool did give you that faulty GPX?
Stefan
More information about the newbies
mailing list