I’d like to extend ORS to support a preference for avoiding unlit streets. Note that I do not want to avoid them altogether, but I want there to be a big penalty for unlit streets.
From looking at the code, I think I will need to create something like the AvoidHillsWeighting, as this still allows hills to be traversed, but assigns them a significant penalty. The other “avoid” options seem to be much more binary.
Am I correct in my reading of the code here? Or if you have alternative suggestions, I am all ears!