Open Asteliks opened 2 years ago
This may be connected to the high cost of this turn:
See #79 and #335, in the current default Trekking profile bicycle=use_sidepath is not given any penalty which is not good and has been fixed in #337. With a new release that fix will be rolled out but until then you can update the profile yourself.
Note that the profile used here wasn’t the default Trekking profile but the safety profile and even that didn’t stop the engine from choosing a highway over a cycleway. If I understand you correctly only the Trekking profile will be updated
The safety profile is not part of the profiles released by brouter, see https://github.com/abrensch/brouter/tree/master/misc/profiles2
So what is the source of the safety profile?
'safety' is one of the generated variantes of trekking.brf The variants are ignored for sync by .gitignore Please see generate_profile_variants.sh Used profiles are found on brouter page.
'safety' is one of the generated variants of trekking.brf
That is good to know and means that with a new release the fix will be also release to the safety profile.
So can this issue be resolved, together with #79 or wait until a new release?
I think could be closed direct. sample brings the wanted result when using new trekking.brf. (save or unsafe).
I've tried your "sample" but unfortunately it doesn't work for me, the router still chooses the highway over the cycleway:
'safety' is one of the generated variants of trekking.brf
That is good to know and means that with a new release the fix will be also release to the safety profile.
So can this issue be resolved, together with #79 or wait until a new release?
Just in case I would wait until release
I've tried your "sample" but unfortunately it doesn't work for me, the router still chooses the highway over the cycleway:
Did you try changing on line 122 of the Trekking profile:
else not bicycle=private|no|dismount
into:
else not bicycle=private|no|dismount|use_sidepath
I've tried your "sample" but unfortunately it doesn't work for me, the router still chooses the highway over the cycleway:
Did you try changing on line 122 of the Trekking profile:
else not bicycle=private|no|dismount
into:
else not bicycle=private|no|dismount|use_sidepath
Ok, now I got it to work. Thanks.
This change leads us to another problem: https://brouter.de/brouter-web/#map=17/52.20936/20.95505/cyclosm&lonlats=20.953449,52.205529;20.954511,52.212012 With these changes the router chooses a poor quality street over the high quality kurhan street:
In the lower left-part you see the cost of this route is 1252 and the length 0,9 km, if I force the route over the Kurhan street, the costs are 1302 and the length 0,8 km.
To see why you should press the Spreadsheet icon on the top left.
You will see the $/km is for all segments 1150 (apart from the common first segment) so that is not the difference, but add all turn-costs and you will see why the route via Nowoberestecka/ Filipinki is taken. I.e. this problem fits better under #358
I see you are using the CycleOSM layer and there the Kurhan street is green which means 20 km/h, while the Nowoberestecka has a part dark green, meaning no No motor vehicle access so no through traffic. I see part of Filipinki is Bad surface (ok for cyclocross/trekking/gravel bikes) but all these properties are not accounted for in the Trekking profile.
In the lower left-part you see the cost of this route is 1252 and the length 0,9 km, if I force the route over the Kurhan street, the costs are 1302 and the length 0,8 km.
To see why you should press the Spreadsheet icon on the top left.
You will see the $/km is for all segments 1150 (apart from the common first segment) so that is not the difference, but add all turn-costs and you will see why the route via Nowoberestecka/ Filipinki is taken. I.e. this problem fits better under #358
Well not exactly. Without else not bicycle=private|no|dismount|use_sidepath
the router chooses Kurhan, without forcing it:
While changing to else not bicycle=private|no|dismount|use_sidepath
the router goes through "Filipinki":
Well not exactly. Without
else not bicycle=private|no|dismount|use_sidepath
the router chooses Kurhan, without forcing it
Did you have a look at the spreadsheet tab on why?
I am more than willing to help but would appreciate it if people take the time to do the first part of the analysis itself.
The algorithm seems too willing to choose a highway with the tag
bicycle=use_sidepath
street over the designated cycleway. Note that the safety profile has been chosen.