[OSM-newbies] GPX Import failure help

Xan dxpublica at telefonica.net
Thu Jan 21 16:52:09 GMT 2010


En/na Richard Weait ha escrit:
> On Thu, Jan 21, 2010 at 11:11 AM, Richard Weait <richard at weait.com> wrote:
>   
>> 2010/1/21 Xan <dxpublica at telefonica.net>:
>>     
>>> Hi,
>>>
>>> I have a simple universal csv: bustia.csv  (see
>>> [http://www.gpsbabel.org/htmldoc-development/fmt_unicsv.html]) (it really
>>> has only one point) and I want to export to gpx. I use gpsbabel:
>>>
>>> $ gpsbabel -i unicsv -f bustia.csv -o gpx -F bustia.gpx
>>>
>>> but when I upload to OSM I receive the error "Found no good GPX points in
>>> the input data" in the GPX import failure message.
>>>
>>> Why?
>>>
>>> I attach the files.
>>>       
>> Hi Xan,
>>
>> The converted gpx file contains only a waypoint <wpt> element, and not
>> a track <trk> element.  It may be that the input filter at osm is only
>> allowing <trk> elements.  I'll look further to see what I can find.
>>     
>
> gpsbabel will convert waypoints to tracks with a command similar to
>
> gpsbabel -i gpx -f /tmp/bustia.gpx -x transform,trk=wpt -o gpx -F
> bustia-transform.gpx
>
> But this does not maintain the timestamp, and thus is rejected by the
> osm server.
>   

Thanks for the hint, Richard but if the server rejects too... ;.-)
> In addition to finding a technical solution, we need to ask ourselves
> "do waypoints, which are not tracks, belong in our collection of
> tracks? Is there risk of confusing other mappers if non-trackfile
> elements are in the gps track collection?"
>   

Yes. For example the highest point of a mountain or a point of interest.

Xan.
> _______________________________________________
> newbies mailing list
> newbies at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/newbies
>   





More information about the newbies mailing list