A feature based method for trajectory dataset segmentation and profiling