osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.6k stars 1.01k forks source link

maxspeed enforcements not notified (due to live updates?) #18216

Closed Talkless closed 10 months ago

Talkless commented 12 months ago

Description

OSMAnd did not produce notification for this speed camera with two enforcement relations in both ways:

https://www.openstreetmap.org/node/11125696474#map=18/55.92385/23.30048

It's rather new, so it could be that I do see it on the OsmAnd map only because of Live Updates. Maybe it will start to "work" after I download new Lithuanian map?

Steps to reproduce

(probably impossible :) ) drive through https://www.openstreetmap.org/node/11125696474#map=18/55.92385/23.30048.

Actual result

No speed camera notification provided.

Expected result

OsmAnd should provide notification for speed camera 11125696474.

Your Environment (required)

OsmAnd Version: 4.5.8
Android/iOS version: Android 11 (Waydroid lineage_waydroid_arm64_userdebug 11).
Device model: Volla Phone X
Crash-Logs: N/A
vshcherb commented 11 months ago

The change was done https://www.openstreetmap.org/api/0.6/relation/16217644 - we can check the map data of timestamp="2023-08-18T17:25:46Z" (2023-08-18) if we still have it around .

DmitryAlexei commented 11 months ago

OsmAnd~ 4.6.0#871m, released: 2023-10-13 Not reproduced, works as expected Tried to reproduce with following settings:

Actual result: OsmAnd warns Speed camera ahead when driving this route

Talkless commented 11 months ago

@DmitryAlexei I believe you need to test new camera which comes via Live Update. I've installed full Lithuanian map update but haven't had opportunity to drive through same camera. Will try that this week. I expect to work, but it didn't after Live Update.

DmitryAlexei commented 11 months ago

OsmAnd~ 4.6.0#871m, released: 2023-10-13 I do not have Live updates for Lithuania map, all works as expected without it. I've recorded video with notification (turn sound on). You have probably turned on Announce when exceeded option?

https://github.com/osmandapp/OsmAnd/assets/116079541/d1c3177d-a48c-44a4-95d2-cc1ea82d0381

Talkless commented 11 months ago

I do not have Live updates for Lithuania map, all works as expected without it.

Yes, it works using "full" update, that's the point.

Let me parathrase:

  1. All OLD speed cameras worked.
  2. I've added new camera, which was downloaded by OsmAnd via Live Update, because month haven't passed (or whatever map update interval is).
  3. Newly downloaded camera via Live Updates was visible, but "inactive" while navigating.
  4. After downloading "full" Lithanian map update - it started working (got voice and icon notification). Just tried that today.

If you want to reproduce the issue, you have to:

  1. Create NEW speed camera in your nearby location, with two enforcement relations (in both directions).
  2. Download Live Update on the next day
  3. Drive through that new camera you've recently created.
vshcherb commented 11 months ago

Yes I think it's related to the issue https://github.com/osmandapp/OsmAnd/issues/18153. We have an issue that sometimes restart is required (not update!) and after 1-2 restarts it starts working, still investigating but this issue is present for a year in new opengl rendering

vshcherb commented 10 months ago

Merged to https://github.com/osmandapp/OsmAnd/issues/18153