Hysteresis? So require a closer match to "snap to" a road, and then require a much larger distance to "break away" from that road And then look for ways of filtering (e.g. oneway roads that go in the wrong direction, or roads that are too small for your speed)