I am making a pedestrian network + transit network dataset, combining crosswalks (Blue), Sidewalks and Pedestrian Paths (Purple), local roads (Green) and collector roads (Black), as well as some layers that exist for connectivity purposes (brown and salmon)
I have some design questions. I am trying to make it so the network only travels of collector roads as a last resort, and prefers to travel on sidewalks or local roads. I have attached a pic of the general form of the network
I have it constructed in a way that the only way it can access the collector roads is at areas where sidewalks end (See image below). however, there are also locations where local roads connect to collector roads that I need to account for
Is there a way I can have the network always attempt to get on to the nearest sidewalk, or local road whenever possible, to avoid having it get on to a collector road with sidewalks and then simply travel along the collector road to it's destination?
Ive identified two possible ways, but they have drawbacks
the first is to use point barriers at every intersection between local and collector roads. I could automate the creation of these, but I would have to go through the data and remove them at locations with no sidewalks.
The second is to simply delete collector roads that I dont want to have walkable, or to extract the collector roads that I do want walkable into a new layer. there are a few problems with this, mainly that the address points and bus stops are all roadside, and that I want to keep them in for reference purposes.
Is there a way I can simply have the route algorithm prefer sidewalks and avoid collectors, while still using them when there is no other option?