sjh - mountain biking running linux vegan geek spice - mtb / vegan / running / linux / canberra / cycling / etc

Steven Hanley hackergotchi picture Steven




Other online diaries:

Aaron Broughton,
Andrew Pollock,
Anthony Towns,
Chris Yeoh,
Martijn van Oosterhout,
Michael Davies,
Michael Still,
Tony Breeds,


Linux Weekly News,
Girl Genius,
Planet Linux Australia,

Canberra Weather: forecast, radar.

Subscribe: rss, rss2.0, atom

Mon Tue Wed Thu Fri Sat Sun



Archive by month:

Wed, 12 Sep 2007

Google maps API is kind of neat. - 11:31
I purchased a Garmin Forerunner 305 a few weeks ago, this is a combined HRM and GPS device. Pretty much aimed at sports people as a training tool. Mikey and Tony from ozlabs have been working on some code (gpsruns) that easily grabs the data and uploads it to your website to interface with the Google Maps API.

For example here is the API and Maps link from an 18 KM run I did last night. I wear it cycling, paddling and running and it is interesting to see the data. However I have been thinking there are ways to represent some of the data in the graphs in more interesting ways over time. I had a look at the Google Maps API documentation yesterday and am impressed with how much you can actually do.

I was thinking it would be cool to be able to display information such as distance, HR, speed, direction and other things in the line plotted on the map. Looking at the PolyLine documentation I am happy to see it can be done. I will need to divide the plot into sections over whatever range of change I want to display. However I can for example put a key for what colour is what heart rate on the page then display the map changing colour for different heart rates over time during the exercise. I can also put up more plot points for displaying distance covered or speed or gradient changes in different colours. I guess it is time I got hacking on this code along with Mikey and Tony.

[/comp/software] link

home, email, rss, rss2.0, atom