[OSM-talk] mapsource GPX files are not loaded by JOSM or website
Paul
mylists at wilsononline.id.au
Sat Oct 13 05:34:51 BST 2007
On 13/10/2007 2:05 PM, Andrew Loughhead wrote:
> Paul wrote:
>> For the trace load I get this error:
>>
>> failed to import. Here's the error:
>>
>> 0 points parsed ok. Do they all have lat,lng,alt,timestamp?
>>
>> is timestamp required?
>>
> Yes. If you have data which just doesn't have timestamps then there is
> at least one script in the svn repository which will create fake ones.
> I think the rationale for requiring timestamps is on the wiki
> somewhere. The Mapsource manual from the Garmin web site isn't very
> detailed but does make some reference to there being options about what
> data can be put into the GPX, so maybe you can just add the timestamps?
>> Also with JOSM I get no error it just silently fails to open the GPX
>> file.
>> is there and debug.log file when I run the java program?
>>
>> Thanks
>> Paul
>>
>>
>>
>> _______________________________________________
>> talk mailing list
>> talk at openstreetmap.org
>> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>>
>>
>
>
Just read that import into Mapsource throws away timestamps and altitude data, so out of
luck there.. any idea where this script which re-writes the GPX file is?
Also I'm assuming that this is the only imcompatibility between the two GPX formats as I
see the original file has slightly different XML fields.
my imported GPX file from GPSr
<trkseg>
<trkpt lat="-35.5674434" lon="148.9916253">
<ele>1353.1928711</ele>
<time>2007-10-06T08:12:32Z</time>
</trkpt>
and the route that I generated purely in Mapsource goes like this..
<gpxx:rpt lat="-33.2826948" lon="149.0939140">
<gpxx:Subclass>0200f0105100525500001f500200fc5f7e01</gpxx:Subclass>
</gpxx:rpt>
<gpxx:rpt lat="-33.2830381" lon="149.0962744"/>
<gpxx:rpt lat="-33.2833815" lon="149.0987206"/>
<gpxx:rpt lat="-33.2835746" lon="149.0999866"/>
Any idea where start looking for this script? or how to search for it as I'm still abit
new to the openstreetmap resources.
thanks
Paul
More information about the talk
mailing list