Modify

Opened 3 years ago

Last modified 3 years ago

#21249 new enhancement

Warn about conflicting or unneeded values in access tags

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: access multiple conflicting value Cc:

Description

As #19419 and #21192 were short handed and reverted, a warning about conflicting or unneeded values in access tags with multiple values is still useful.

Examples

access=permit;yes
vehicle=private;designated
motor_vehicle=forestry;agricultural;no
hgv=yes;no
bus:forward=private;designated
bus:both_ways:backward=no;designated
access:lanes=no|yes;no|yes
access:lanes:both_ways:forward=agricultural;forestry;no|yes

I am not smart enough or there might be no easy solution to solve this in mapcss. Probably this needs to be written in own java code.

Attachments (0)

Change History (3)

comment:1 by taylor.smock, 3 years ago

Possibly related: #18383 (this added a class specifically to figure out what access tags overrode other access tags).

comment:2 by skyper, 3 years ago

Maybe, we can sort the values in two groups. One with values which should be solo and one with values which are possible as multi and only warn about the first group.
no, yes, designated, permissive and probably private do not work with additional values.

comment:3 by aceman, 3 years ago

'private' could go with other values like 'delivery' or 'agricultural'.

Modify Ticket

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

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.