Building real-world trajectory warehouses