Hi, everyone!
I have GPS data for around 60k trips. For each trip, I need to generate the route and determine the network distance between GPS points.
To achieve this, I am solving the route, splitting it into segments based on the GPS points, and then joining it back with the GPS data to calculate the speed between each observation.
First, I would like to know if this is the best approach, or if you would recommend any alternatives.
Second, I managed to do this for a single trip, but I'm struggling to scale it to all 60k trips, as the code is taking too long to run. Any advice?