Discovery of Driving Patterns by Trajectory Segmentation