[OSM-talk-fr] Problèmes d'import avec la première trace

Thomas Petazzoni thomas.petazzoni at enix.org
Lun 26 Mai 19:06:37 UTC 2008


Le Mon, 26 May 2008 19:11:32 +0200,
"Philippe Piquer" <philippep62 at gmail.com> a écrit :

> J'avais évidemment été voir sur topographix mais bon un .exe et linux
> ...j'esperais un truc online ... vais voir si ceux que je connais
> fonctionnent pour les gpx .

Tu peux utiliser xmllint, qui se trouve dans le paquet libxml2-utils
(en tout cas sous Debian/Ubuntu). Pour l'utiliser, faire:

xmllint --schema http://www.topografix.com/GPX/1/0/gpx.xsd --valid Trk_08-05-25_15-25-54.xml --noout

Pour mon cas précis, ça donne effectivement:

Trk_08-05-25_15-25-54.xml:39: element course: Schemas validity error : Element '{http://www.topografix.com/GPX/1/0}course': [facet 'minInclusive'] The value '-326.1' is less than the minimum value allowed ('0.0').
Trk_08-05-25_15-25-54.xml:39: element course: Schemas validity error : Element '{http://www.topografix.com/GPX/1/0}course': '-326.1' is not a valid value of the atomic type '{http://www.topografix.com/GPX/1/0}degreesType'.
Trk_08-05-25_15-25-54.xml fails to validate

Bonne soirée,

Thomas
-- 
Thomas Petazzoni, thomas.petazzoni at enix.org, http://thomas.enix.org
Jabber, thomas.petazzoni at jabber.dk
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: signature.asc
Type: application/pgp-signature
Taille: 189 octets
Desc: non disponible
URL: <http://lists.openstreetmap.org/pipermail/talk-fr/attachments/20080526/2fe835aa/attachment.sig>


Plus d'informations sur la liste de diffusion Talk-fr