ColinPitrat / kalenji-gps-watch-reader

A tool to import data from some Kalenji running watches
GNU General Public License v3.0
30 stars 11 forks source link

Query less points and interpolate in FixElevation #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, FixElevation filter is querying Google Elevation API for each point 
of a session.

This can take some time and when importing multiple or long sessions, this can 
reach the usage limitation in Google Elevation API. 

To avoid this, it would be nice to be able to query only every N point and 
interpolate in between.

Maybe some logic could help be precise around local min/max. 
Or to adapt the interpolation based on distance between points (you can 
interpolate more when hiking at 5 km/h than when riding a motorbike at 130 
km/h)!

Original issue reported on code.google.com by colin.pi...@gmail.com on 12 Dec 2014 at 8:53