Text this: Privacy preserving algorithm based on trajectory location and shape similarity