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 , 3 years ago
comment:2 by , 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.
Possibly related: #18383 (this added a class specifically to figure out what access tags overrode other access tags).