Apriori-based algorithms for km-anonymizing trajectory data