osmandapp / OsmAnd

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

Wish: warnings for dangerous turns ahead #4893

Open majkaz opened 6 years ago

majkaz commented 6 years ago

Would it be possible to add warnings for dangerous turns in roads (when navigating)?

Reason: The navigation gets better and better, I wouldn't even need the visuals on my last trip. But I was driving the same road at night and I have used the map to "see ahead" the dangerous turns. For example at the I/160, there are several "U-turns" where I would welcome hearing the audio warning in advance.

Not sure how difficult would it be to implement.

CarlosBrys commented 6 years ago

May be only adding:

% ATTENTION string('dangerous_curve.ogg', 'dangerous curve').

% TRAFFIC WARNINGS warning('CURVE', 'dangerous_curve.ogg'). warning(Type, '') :- not(Type = 'SPEED_CAMERA'; Type = 'SPEED_LIMIT'; Type = 'BORDER_CONTROL'; Type = 'RAILWAY'; Type = 'TRAFFIC_CALMING'; Type = 'TOLL_BOOTH'; Type = 'STOP'; Type = 'PEDESTRIAN'; Type = 'MAXIMUM'; Type = 'CURVE').

in the _ttsconfig.p when in the way appears hazard = curve

polarbearing commented 6 years ago

The hazard key is only proposed and has inconsistencies. hazard=curve is used only 800x.

scaidermern commented 6 years ago

Related discussion at OSM help: https://help.openstreetmap.org/questions/61889/sharpcurves-support-in-osm

Apart from hazard=curve there are also other interesting hazards OsmAnd could warn for, for example values slippery_road, animal_crossing, children, school_zone, side_winds, rockfall and so on.