Preliminary support for road snapping, 2nd try for commit.