Adaptive pipelined work processing for GPS trajectories