osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.65k stars 1.02k forks source link

Add average speed enforcement camera support #13430

Open Talkless opened 2 years ago

Talkless commented 2 years ago

🚀 feature request

Description

Add notifications (on-screen and voice) and map icons for average speed cameras. In Lithuania, we have increasing number of such average speed sections:

https://overpass-turbo.eu/s/1eqE

In Lithuanian these average speed sections are available from public government sources, and I've personally added quite some of these average speed sections recently.

Describe the solution you'd like

Average speed sections are defines as enforcement=average_speed relation, with from, to nodes, two device nodes, and set of section's: https://wiki.openstreetmap.org/wiki/Relation:enforcement#Members

Probably average speed camera sign should be visible whole time while traversing enforced sections, until to node is reached. If average speed is measured in both ways, there are two relations with same device'es, section's, but withfrom and to swapped.

I am not sure how on-screen sign should look like to distinguish from immediate speed camera. Duckduck image search suggest same speed camera sign with "average speed" text added:

https://duckduckgo.com/?q=average+speed+cameras+sign&atb=v35-1&iar=images&iax=images&ia=images

No idea who speed camera should be visible on map, should it have different icon to the current immediate speed camera or different..?

alex9099 commented 2 years ago

This would be nice to see implemented.

In portugal we use https://www.anecrarevista.pt/wp-content/uploads/2021/03/velocidade-Media_Anecra_Revista-1320x1916.jpg (two cameras with "velocidade média" (average speed) written on the bottom)

I don't think there's any norm in europe (let alone worldwide)

Talkless commented 2 years ago

This is how it looks in Lithuanian: a speed camera sign with range specified below: external-content duckduckgo com

Talkless commented 2 years ago

Looks like segment's enforcement relation memers are not necessary:

Line for the section control (SPECS / Section Control), if not defined by the from and to roles above.

"if not defined by". From: https://wiki.openstreetmap.org/wiki/Relation:enforcement#Members

This is example with only from/to/device: https://www.openstreetmap.org/relation/1737016

bobeeeze commented 1 year ago

It would be really nice if Osmand would add the notification for the average speed cameras because there are more and more of them (in Europe at least) and for the moment Osmand does not even warn of the entry in the section. And it would be nice that the speed camera icon flashes all along the section until you leave the controlled section. I hope that the Osmand team will react on this subject because it's been more than a year since this issue was opened. A big thank you for this great application

Max1234-Ita commented 6 months ago

That would be a very useful feature, those systems aare becoming more and more used also in Italy, where I know of about at least 3 systems being present: SICVE (also known as "Tutor"), installed in some motorways (https://en.wikipedia.org/wiki/SPECS_(speed_camera)), VERGILIUS and CELERITAS (being the latter two made by different vendors but working on the same principles) used mostly on Primary roads.

I think some mapping is already present for Italy; if the feature will be implemented it probably will improve quickly :-)

vshcherb commented 6 months ago

With new speedometer widget we could have some extra state to indicate that's speed related to camera

pebogufi commented 5 months ago

What about just using a colored background (example yellow) for average speed, of course for new widget and old existing one ?