[OSM-newbies] GPX Import failure help
Iván Sánchez Ortega
ivan at sanchezortega.es
Thu Jan 21 16:18:15 GMT 2010
El Jueves, 21 de Enero de 2010, Xan escribió:
> 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?
(Note to all: Xan writes from Spain, so I'm gonna reply in spanish)
Xan,
Lo que está pasando es que el sistema de OSM está diseñado para *trazas* GPS,
y no para *waypoints* GPS. Una traza es un registro de todos los puntos por
los que has pasado, del estilo:
<gpx version='1'>
<trk>
<trkseg>
<trkpt lat="40.385470" lon="-3.751398">
<ele>663.160</ele>
<time>2008-05-25T20:26:31Z</time>
</trkpt>
<trkpt lat="40.385484" lon="-3.751409">
<ele>662.390</ele>
<time>2008-05-25T20:26:32Z</time>
</trkpt>
(etc)
</trkseg>
</trk>
</gpx>
Fíjate que tengo <trk> y <trkpt>; tú sólo tienes <wpt>. Por esto te dice que
no encuentra puntos, porque busca <trkpt>s en vez de <wpt>s.
En cambio, si ese fichero GPX lo abres con JOSM, sí que te mostrará tanto las
trazas (como una línea de puntos) como los waypoints (como pequeñas cruces
con el nombre del waypoint). Te animo a probarlo.
Ah, y también te animo a que te pases por la lista de talk-es :-)
Un saludo,
--
----------------------------------
Iván Sánchez Ortega <ivan at sanchezortega.es>
“We all die.” She says, “The goal isn't to live forever, the goal is to create
something that will.”
-- Chuck Palahniuk, Diary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20100121/cc019c64/attachment.pgp>
More information about the newbies
mailing list