Repository navigation
Conversation
|
@ratrun What do you think ? |
| if (currentOffBike == true) | ||
| return currentOffBike; | ||
| RoadClass roadClass = RoadClass.find(readerWay.getTag("highway", "path")); | ||
| return (roadClass == RoadClass.PATH); |
There was a problem hiding this comment.
Maybe I didn't understand this line, but how are ways tagged with highway=path in combination with e.g. bicycle=yes classified? I believe that in this case the result should return false.
| CountryRule countryRule = way.getTag("country_rule", null); | ||
| if (!way.hasTag("bicycle", accepted) && (countryRule != null)) { | ||
| dismountBike = countryRule.getOffBike(way, dismountBike); | ||
| } |
There was a problem hiding this comment.
Now I see: You are handling the case mentioned before here.
|
I would like to add, that due to Austrian forestry law, bicycle=no and vehicle=forestry should be treated the same way. The only way to legally have a bike on a forest road, is to carry it on your back (so actually also no pushing) |
|
Why was this closed? (unfortunately github also gives me currently 500 errors when looking into the source) |
|
The routing seems to now avoid paths, that don't have an explicit bicycle=yes tag, for bikes. So it seems to be implemented. |
|
Oops yes, I have an idea 👍 . I wanted to merge accounts, but the outcome is not what I was expecting. It is both me. |
Working on #2389 there was the insight we should add a contry specific rule for Austria: