Interpolation
- For approximately 30 million GPS records this part took around 2 hours to complete
- Code in Github
- You can read more about the execution logic in the linear interpolation part of this document
General
On faster roads, the taxis’ travelling speed is so high that GPS readings which take place in 30 second time intervals cannot create an observation in each sequential segment. On the other hand, on slower routes with heavy congestion, taxis can generate multiple observations inside one segment. In this phase, trajectory generation is done for each device. If inside a trajectory, there are some segments skipped as shown in the upper part of Figure 4, interpolated records are going to be created between the sequential segments. At the same time, one trajectory can only contribute an observation to one segment.
Idea
Input
Output

Longest Trajectories visualised

Leave a Comment