[josm-dev] API for GPX files

Marko Mäkelä marko.makela at iki.fi
Sat Jan 18 17:19:58 UTC 2014


On Sat, Jan 18, 2014 at 04:58:35PM +0000, Gerhardus Geldenhuis wrote:
>I am playing around with gps data from a tracking company and need 
>something that can easily visualize gps tracks.

Have you looked at OpenLayers, which is Javascript for the web browser?  
It lets you display GPX files on top of map tiles (such as Mapnik tiles 
or even some aerial imagery sources).

I did this some time ago for visualizing a route that I drew in JOSM. I 
highlighted some ways in JOSM and exported them as GPX. But, it sounds 
like you could skip the JOSM step altogether.

Another option is to somehow render the data to map tiles and display 
those as a transparent layer on top of the base map layer. There are 
several web pages like this, highlighting public transit routes, skiing 
routes, you name it.

On the server side it is very easy, you are just serving static files.  
Even the background map tiles would not have to be stored on your web 
server.

If you are looking for a non-networked solution, you could check 
MyTourbook, which is an open source Java application. It will display 
training data from bicycle computers on top of a map. The colour of the 
trace can visualize different things, such as the speed or the heart 
rate.

Best regards,

	Marko



More information about the josm-dev mailing list