Online clustering of streaming trajectories