A survey of trajectory distance measures and performance evaluation