A voir également:
- Php gpx
- Easy php - Télécharger - Divers Web & Internet
- Gpx viewer sur pc - Télécharger - Vie quotidienne
- Retour a la ligne php ✓ - Forum PHP
- Gpx to pdf - Forum Logiciels
- Gpx waze - Forum loisirs/vie pratique
1 réponse
Bonjour,
ci-joint un exemple de fichier GPX :
----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1"
creator="GMapToGPX 6.0 - http://www.elsewhere.org/GMapToGPX/"
xmlns="http://www.topografix.com/GPX/1/1/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1/ http://www.topografix.com/GPX/1/1/gpx.xsd">
<rte>
<name>route0</name>
<cmt>Avenue de la Division Leclerc/D449 to Unknown road</cmt>
<desc>Avenue de la Division Leclerc/D449 to Unknown road</desc>
<rtept lat="48.59381" lon="2.24668">
<name>GRTP-001</name>
<cmt>Head north on Avenue de la Division Leclerc/D449 toward Chemin de la Ceinture de la Reine</cmt>
<desc>Head north on Avenue de la Division Leclerc/D449 toward Chemin de la Ceinture de la Reine</desc>
</rtept>
<rtept lat="48.59804" lon="2.24562">
<name>GRTP-002</name>
<cmt>At the roundabout, take the 2nd exit onto D97/Route de Limours</cmt>
<desc>At the roundabout, take the 2nd exit onto D97/Route de Limours</desc>
</rtept>
<rtept lat="48.62459" lon="2.11738">
<name>GRTP-003</name>
<cmt>At the roundabout, take the 2nd exit onto D152</cmt>
<desc>At the roundabout, take the 2nd exit onto D152</desc>
</rtept>
<rtept lat="48.64151" lon="2.09161">
<name>GRTP-004</name>
<cmt>At Rue d'Arpajon, take the 3rd exit onto Rue du Hurepoix</cmt>
<desc>At Rue d'Arpajon, take the 3rd exit onto Rue du Hurepoix</desc>
</rtept>
<rtept lat="48.64114" lon="2.09081">
<name>GRTP-005</name>
<cmt>Turn left to stay on Rue du Hurepoix</cmt>
<desc>Turn left to stay on Rue du Hurepoix</desc>
</rtept>
<rtept lat="48.64004" lon="2.0891">
<name>GRTP-006</name>
<cmt>Turn left to stay on Rue du Hurepoix</cmt>
<desc>Turn left to stay on Rue du Hurepoix</desc>
</rtept>
<rtept lat="48.63849" lon="2.08748">
<name>GRTP-007</name>
<cmt>Turn right</cmt>
<desc>Turn right</desc>
</rtept>
<rtept lat="48.63886" lon="2.08642">
<name>GMLS-001</name>
<cmt>Unknown road</cmt>
<desc>Unknown road</desc>
</rtept>
</rte>
</gpx>
------------------------------
Le header est à piocher au début du ficheir.
Ourson.
ci-joint un exemple de fichier GPX :
----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1"
creator="GMapToGPX 6.0 - http://www.elsewhere.org/GMapToGPX/"
xmlns="http://www.topografix.com/GPX/1/1/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1/ http://www.topografix.com/GPX/1/1/gpx.xsd">
<rte>
<name>route0</name>
<cmt>Avenue de la Division Leclerc/D449 to Unknown road</cmt>
<desc>Avenue de la Division Leclerc/D449 to Unknown road</desc>
<rtept lat="48.59381" lon="2.24668">
<name>GRTP-001</name>
<cmt>Head north on Avenue de la Division Leclerc/D449 toward Chemin de la Ceinture de la Reine</cmt>
<desc>Head north on Avenue de la Division Leclerc/D449 toward Chemin de la Ceinture de la Reine</desc>
</rtept>
<rtept lat="48.59804" lon="2.24562">
<name>GRTP-002</name>
<cmt>At the roundabout, take the 2nd exit onto D97/Route de Limours</cmt>
<desc>At the roundabout, take the 2nd exit onto D97/Route de Limours</desc>
</rtept>
<rtept lat="48.62459" lon="2.11738">
<name>GRTP-003</name>
<cmt>At the roundabout, take the 2nd exit onto D152</cmt>
<desc>At the roundabout, take the 2nd exit onto D152</desc>
</rtept>
<rtept lat="48.64151" lon="2.09161">
<name>GRTP-004</name>
<cmt>At Rue d'Arpajon, take the 3rd exit onto Rue du Hurepoix</cmt>
<desc>At Rue d'Arpajon, take the 3rd exit onto Rue du Hurepoix</desc>
</rtept>
<rtept lat="48.64114" lon="2.09081">
<name>GRTP-005</name>
<cmt>Turn left to stay on Rue du Hurepoix</cmt>
<desc>Turn left to stay on Rue du Hurepoix</desc>
</rtept>
<rtept lat="48.64004" lon="2.0891">
<name>GRTP-006</name>
<cmt>Turn left to stay on Rue du Hurepoix</cmt>
<desc>Turn left to stay on Rue du Hurepoix</desc>
</rtept>
<rtept lat="48.63849" lon="2.08748">
<name>GRTP-007</name>
<cmt>Turn right</cmt>
<desc>Turn right</desc>
</rtept>
<rtept lat="48.63886" lon="2.08642">
<name>GMLS-001</name>
<cmt>Unknown road</cmt>
<desc>Unknown road</desc>
</rtept>
</rte>
</gpx>
------------------------------
Le header est à piocher au début du ficheir.
Ourson.