Tracktable Trajectory Library - Algorithms module
Here you will find algorithms for clustering, range queries, nearest neighbor search and (eventually) dimensionality reduction.