GpxToSlippyMap: show your .gpx and .fit tracks on an open street map

If you want to see your .gpx files (from your Garmin or tracklogger) on an OpenStreetMap without uploading them first to osm then you can use GpxToSlippyMap.

The program just adapts the .html file from the Openlayers Track example: http://wiki.openstreetmap.org/wiki/Openlayers_Track_example

Download a (windows only) executable here: http://tinyurl.com/yl9a7hp

Version 5-1-2010:
The program accepts .plt, .kml (f.i. eurasia.kml, america.kml) and .poly (CloudMade) files too.
Also multiple files can be dropped. For every file there will be a layer.

Version 6-1-2010:
Reducing of number of points in a track. For if a track has so many points that browsers get slow.

Version 8-1-2011:
Support for tracks in .fit files. (Tested with those from an Edge 500). Converts .fit to .gpx. (Well partially. (Only lat,lon))

Version 10 feb 2011:
Support for unicode file names.

Version 16-3-2012
Osmarender tileserver is down. You need to update or remove following two lines from the produced html file:
layerTilesAtHome = new OpenLayers.Layer.OSM.Osmarender(“Osmarender”);
map.addLayer(layerTilesAtHome);

Thanks, I found a use for the example program already!

Now for the next question: how to plot 10’s of thousands of miles of GPX tracks on an OSM map, where data sample rate is 1/second? This technique makes all browsers roll over and die on huge GPX tracks due to the quantity of data.

Then you have to reduce the amount of points in the files.

Would you like such an option to be added?

Yes, that would be interesting to see. Thanks!

Well you can have a look.

Version 8-1-2011:
Support for tracks in .fit files. (Tested with those from an Edge 500). Converts .fit to .gpx. (Well partially)

Version 16-3-2012
Osmarender tileserver is down. You need to update or remove/outcomment following two lines from the produced html file:
layerTilesAtHome = new OpenLayers.Layer.OSM.Osmarender(“Osmarender”);
map.addLayer(layerTilesAtHome);