remisalmon / gpx-interpolate

Python function to interpolate GPX data using piecewise cubic Hermite splines
MIT License
49 stars 12 forks source link

Feature request please #16

Open jonathancolledge opened 2 years ago

jonathancolledge commented 2 years ago

I initially put in a request for interpolation based on time, but then realised I was being silly. However, thinking about it, this would still be really useful. For smoothing and generally working with GPX files, the distance interpolation is perfect, but once smoothed, it's be nice to interpolate back to time based points e.g. every 1 second for apps like Kinomap. Do you think this is possible please?

Wikinaut commented 8 months ago

Fixed (implemented) in my version (a fork):

https://github.com/Wikinaut/gpx-interpolate

jonathancolledge commented 8 months ago

Thanks!

Wikinaut commented 8 months ago

... I am still improving my version, so in case you need that, please always use the latest version.

I just detected the original script failing in case that elevation data is missing in the gpx track file source.