osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.72k stars 1.03k forks source link

maxspeed:conditional 100 @ winter tag not working on highway E12 in Finland #21423

Open logarrhythmic opened 2 days ago

logarrhythmic commented 2 days ago

Description

The maxspeed:conditional 100 @ winter tag on Highway 3/E12, between Helsinki and Tampere in Finland isn't currently working, and the limit displays as 120 in OsmAnd~ 4.8.6 (EDIT) and 4.9.6. It seems to have been changed from the deprecated maxspeed:seasonal:winter before the start of winter in 2023. The winter speed limit for winter 2024-2025 came into effect on October 25th. (link to relevant announcement from the responsible agency)

Steps to reproduce

  1. Calculate any route that takes the E12. As an example, I will use the route from in front of the the Helsinki-Vantaa airport ("Pikaparkki B") to visitor parking for Hermia 5 (office buildings for Nokia and other tech companies) next door to the tech campus of Tampere University in Hervanta, Tampere. This is a real-world drive someone might make with a tight schedule.
  2. Use OsmAnd to navigate along the calculated route.

Actual result

The route is estimated as 169 km and 1 hour 41 minutes, which is (EDIT) incorrect and could lead to arriving 16 minutes late to an important meeting (or more likely just speeding along the way, which may be worse depending on who you ask); although Google Maps makes the same incorrect estimate, using the Car (OSRM) navigation option on openstreetmap.org (link to route) gives a travel time of 1 hour 57 minutes. Navigation along the way will display a speed limit of 120 km/h. The app has never asked me about winter speed limits.

Expected result

The displayed speed limit should be 100 km/h, and the travel time should probably agree with OSRM. The closing of issues #7291 and #1329 seems to indicate that this should be working.

If the app needs to ask me whether winter speed limits are in effect, it should do that, and if it's supposed to work without user intervention (via a maintainer plugging in the date yearly or something), that should be enough. And since the time estimate on OSRM is correct, it seems that has actually been done somewhere, so OsmAnd just needs a small fix or two.

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive. Review this CAREFULLY before posting your issue!

OsmAnd Version: OsmAnd~ 4.8.6 and 4.9.6
Android/iOS version: Android 14
Device model: OnePlus 10 Pro 5G (NE2213)
Crash-Logs: Not relevant
logarrhythmic commented 1 day ago

Edited to fix erroneous statement that OsmAnd and Google Maps estimate the travel time correctly on roads affected by this, and add openstreetmap.org OSRM route link showing a 16-minutes-longer time.

Edited to add that the latest version available from F-Droid if I allow beta updates also exhibits this issue.

scaidermern commented 1 day ago

Which definition of winter should be used here to decide whether this restriction applies?