A general framework for trajectory data warehousing and visual OLAP