Modify

Opened 18 months ago

Last modified 18 months ago

#20236 new enhancement

Add some validator rules (psv:lanes / lanes:psv etc..) access vs lane count information

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: lanes traffic_mode Cc:

Description

I noticed cases when mappers are mixing access information (yes / designated) with numeric (1,2,3,...) amount of lane information

Check please

Used access information when numeric values should be used for keys like:
lanes:psv, lanes:psv:forward, lanes:psv:backward
lanes:bus, lanes:bus:forward, lanes:bus:backward
lanes:hov, lanes:hov:forward, lanes:hov:backward

Used numeric values when access information should be used for keys like:

psv:lanes, psv:lanes:forward, psv:lanes:backward
bus:lanes, bus:lanes:forward, bus:lanes:backward
hov:lanes, hov:lanes:forward, hov:lanes:backward

See also:
https://wiki.openstreetmap.org/wiki/Key:lanes:psv#Possible_mix-up_option
https://overpass-turbo.eu/s/Y1D
https://wiki.openstreetmap.org/wiki/Key:psv:lanes#Possible_mix-up_option
https://overpass-turbo.eu/s/Y1F

Seems there is no validator messages, recent example changesets:
https://www.openstreetmap.org/changeset/95719119
https://www.openstreetmap.org/changeset/95503095

Attachments (0)

Change History (3)

comment:1 Changed 18 months ago by skyper

Think, JOSM core simply does not handle lanes:[traffic_mode]. In my eyes, [traffic_mode]:lanes is enough to describe lanes as you can still use yes, designated or official as values to state the designation.

comment:2 Changed 18 months ago by skyper

Keywords: lanes traffic_mode added

comment:3 in reply to:  1 Changed 18 months ago by anonymous

Replying to skyper:

Think, JOSM core simply does not handle lanes:[traffic_mode].

Ah, okay, then it seems there is no validation needed for this like e.g.lanes:psv=1.

In my eyes, [traffic_mode]:lanes is enough to describe lanes as you can still use yes, designated or official as values to state the designation.

I'm not against to use only [traffic_mode]:lanes, but i would not remove any redundant lanes:[traffic_mode] statements. So, it would be also just nice if JOSM would check at least [traffic_mode]:lanes (e.g. psv:lanes=yes|designated) :-) Or is this already implemented?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to anonymous
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.