For a long time I have wanted to integrate the GPS traces from my various excursions directly into an embedded map here on tregeagle.com. There is a million ways to do this of course. I have done so in the past using Google maps but I would prefer to use OpenStreetMaps (OSM). I once built an embedded OSM map system using Drupal and Leaflet. It had all the walks and things of interest in the Coffs Harbour Botanic Gardens. People could use it to navigate and explore the gardens and because of OSM’s nature they could edit or improve it themselves, they never did though. Of course it has been replaced by a brochure website now.
A Cunning Plan
I am going to make a plugin for this site to embed my GPS traces on an embedded OSM map. How hard can it be?
- I’m using Pelican for the site so I will have to wrap my head around building this all as a plugin using Python
- I will use the gpx file format as that seems to be easy enough to extract from my device or my OSM profile.
- Leaflet still seems to be the go for easily embedding an OSM map
Of course starting this is going to take the longest…