Techniques for Spatio-temporal Analysis of Trajectory Data