How to get trip length out of a series of gps coordinates

hi all,

what would be the smartes approach to calculate the distance traveled for a
(filtered) series of coordinates? i´m wondering what tools could help out

somewhat like the sum aggregation of a geopoint field respecting the result
order? i hope somebody can help me out.

or is it better to iteratively increase a trip distance field with


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit