GPXVTT : un nouveau plugin WP

Haute-Saône Cyclabeule » Blog Archive » GPXVTT : un nouveau plugin WP 2013-01-05 00-20-16
Warning: simplexml_load_file(http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx): failed to open stream: HTTP request failed! HTTP/1.1 412 Precondition Failed in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 162 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx" in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 162 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 164 Warning: max(): When only one parameter is given, it must be an array in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 170 Warning: min(): When only one parameter is given, it must be an array in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 170 Warning: max(): When only one parameter is given, it must be an array in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 171 Warning: min(): When only one parameter is given, it must be an array in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 171 Warning: simplexml_load_file(http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx): failed to open stream: HTTP request failed! HTTP/1.1 412 Precondition Failed in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 183 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx" in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 183 Warning: simplexml_load_file(http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx): failed to open stream: HTTP request failed! HTTP/1.1 412 Precondition Failed in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 637 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx" in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 637 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 641 Warning: implode(): Invalid arguments passed in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 653 Warning: simplexml_load_file(http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx): failed to open stream: HTTP request failed! HTTP/1.1 412 Precondition Failed in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 313 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx" in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 313 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 315 Warning: simplexml_load_file(http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx): failed to open stream: HTTP request failed! HTTP/1.1 412 Precondition Failed in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 214 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx" in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 214 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 217 Warning: simplexml_load_file(http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx): failed to open stream: HTTP request failed! HTTP/1.1 412 Precondition Failed in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 313 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx" in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 313 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 315 Warning: simplexml_load_file(http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx): failed to open stream: HTTP request failed! HTTP/1.1 412 Precondition Failed in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 292 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx" in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 292 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 295 Warning: simplexml_load_file(http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx): failed to open stream: HTTP request failed! HTTP/1.1 412 Precondition Failed in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 271 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://velo70.ouvaton.org/wp-content/uploads/2013/01/SaintJacques.gpx" in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 271 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/velo70.ouvaton.org/httpdocs/wp-content/plugins/gpxvtt/include/gpxvtt.class.php on line 274

Haute-Saône Cyclabeule » Blog Archive » GPXVTT : un nouveau plugin WP 2013-01-05 00-20-16Comme j’en avais un peu marre de toujours faire mes incrustations de cartes et de tracés avec un truc un peu compliqué, je me suis décidé à développer le plugin de mes rêves !

Voici donc la naissance et le premier test de GPXVTT :

GpxVTT est un plugin qui sert à insérer des traces GPS au format gpx sur votre blog/site.
A partir de la trace téléchargée et d’un shortcode, le plugin génère le tracé de la carte sur un fond OpenStreetMap, des statistiques de route (longueur, dénivelé positif), un graphe de dénivelé (le tout avec un positionnement dynamique pour la correspondance trajet/dénivelé).

Après une semaine de nuits courtes voilà ce que donne la version 0.1

Il suffit d’insérer le shortcode [ gpxvtt gpx="http://monsite/uploads/chemin/vers/mon_fichier.gpx" ]

Et hop ! En exemple une trace sur les chemins de Saint Jacques… Et ce sera bien entendu en GPL sous peu :)

Description du trajet

Longueur totale du trajet : 0 km
Denivelé négatif : 0m
Denivelé positif : 0m



Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Vous pouvez utiliser ces balises et attributs HTML : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>