Modify

Opened 2 months ago

Last modified 8 weeks 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 Changed 2 months ago by taylor.smock

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

comment:2 Changed 2 months ago by skyper

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 Changed 8 weeks ago by aceman

'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.
to The owner will be changed from team to the specified user.
The owner will change to skyper
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.