Ignore:
Timestamp:
2020-04-11T14:40:47+02:00 (4 years ago)
Author:
GerdP
Message:

Fix #19018: Flag combination of major highway type (trunk .. residential) and crossing=*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/combinations.mapcss

    r16255 r16256  
    673673}
    674674
     675/* #19018 */
     676way[highway][crossing][highway =~ /^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|unclassified|residential|service|living_street)$/] {
     677  throwWarning: tr("{0} together with {1}. Should be used on a minor highway type or a node", "{1.key}", "{0.tag}");
     678  group: tr("suspicious tag combination");
     679  fixRemove: "crossing";
     680  assertMatch: "way highway=trunk crossing=unmarked";
     681  assertNoMatch: "way highway=construction construction=footway crossing=unmarked";
     682}
     683
    675684/* #19066 */
    676685*[amenity=recycling][!/^recycling:/][recycling_type!=centre] {
Note: See TracChangeset for help on using the changeset viewer.