Pre-computed shortest paths for map-matching and database storage of compressed and uncompressed trajectories using PostGis.