Framework for Network-Constrained Tracking of Cyclists and Pedestrians