Periodic stops discovery through density-based trajectory segmentation