I want to compute a route programmatically. I have a network dataset and a set of points. Some of these points are placed on locations that are restricted. Some of them are restricted because of the restrictions i made in the route solver.
How can i correct the position of these points so that they are placed at the nearest allowed location?