You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example way: https://www.openstreetmap.org/way/158074867
Here, osmand announced speed limit 80, while it is 130 (110 at night).
The road segment (quite long one) is marked additionally with maxspeed:conditional=110 @ (22:00-05:00); 80 @ wet; 80 @ snow (also marked with a roadsign)
Not sure is the wet or snow or both are interpreted. Anyway if Osmand doesn't know wet/snow conditional, it should better not interpret it at all.
Nice to have: perhaps an icon with wet / snow pictogram with maxspeed.
Note: could not reproduce right now (4.7 and 4.9). It looks like the 110 condition is right now in effect (it is 23h+ right now)
As we don't have weather information we should use ignore 'snow', 'wet' and other weather condtions (find by taginfo)
c.hours = null (cause winter / wet is not parsed correctly) so it shouldn't be applied. By brief view it doesn't seem that bug is present in Java code, possibly in C++
for (RouteTypeCondition c : conditions) {
if (c.hours != null && c.hours.isOpenedForTime(i)) {
return c.ruleid;
}
}
The bug has been found and fixed [4.9]. The C++ code was not synchronized with Java. Additionally, a better parsing for conditional tags is proposed [master].
Description
Example way: https://www.openstreetmap.org/way/158074867
Here, osmand announced speed limit 80, while it is 130 (110 at night).
The road segment (quite long one) is marked additionally with
maxspeed:conditional=110 @ (22:00-05:00); 80 @ wet; 80 @ snow
(also marked with a roadsign)Not sure is the wet or snow or both are interpreted. Anyway if Osmand doesn't know wet/snow conditional, it should better not interpret it at all.
Nice to have: perhaps an icon with wet / snow pictogram with maxspeed.
Note: could not reproduce right now (4.7 and 4.9). It looks like the 110 condition is right now in effect (it is 23h+ right now)
Steps to reproduce
drive through this segment: https://www.openstreetmap.org/way/158074867
e.g. osmand maps: https://osmand.net/map/navigate/?start=47.445174,9.723276&end=47.474229,9.739857&profile=car#13/47.4607/9.7079
(starting on bridge over Senderstrasse, the maxspeed changes to 80)
Actual result
starting on bridge over Senderstrasse (direction N), the maxspeed changes to 80
Expected result
should be still 130 (for car)
Your Environment (required)
WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!
The text was updated successfully, but these errors were encountered: