Closed jcundill closed 2 years ago
See: https://wiki.openstreetmap.org/wiki/Sidewalks The current encoder handles the 'sidewalk as refinement to a highway' mapping option. It sees the 'sidewalk as a separate way' mapping option as distinct route choices - left sidewalk, right sidewalk, and potentially even the road itself if it is low speed, residential, and so on.
Probably need to replace the current route choice algorithm with something along the lines of http://cs.uef.fi/sipu/pub/Grid-ACM-TSAS-2017.pdf
Work in progress for this on https://github.com/jcundill/streeto/tree/csim. Hopefully should be able to merge back down soon.
C-SIM algorithm referred to in the previous comment is implemented on the branch mentioned above. Just needs incorporating into the scorer mechanisms properly.
In the example shown below, there are marked ways, pavements, on both sides of a single road.
Route Choice Scorer considers both of them to be valid separate route options, and ends up scoring the leg well as the lengths of both options are very similar.
Need a better mechanism for assessing whether the alternatives are in fact different. Currently, we just look at the points they have in common,