Changeset 18112 in josm for trunk/resources
- Timestamp:
- 2021-08-02T02:21:20+02:00 (3 years ago)
- Location:
- trunk/resources/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r18103 r18112 721 721 722 722 /* see #17623 */ 723 way:areaStyle[highway][highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service$|living_street|pedestrian|track|path|footway|cycleway|bus _guideway|bridleway/][area!=yes] {723 way:areaStyle[highway][highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service$|living_street|pedestrian|track|path|footway|cycleway|busway|bus_guideway|bridleway/][area!=yes] { 724 724 throwOther: tr("A linear object {0} without {1} has a tag indicating that it is an area.", "{1.tag}", "{3.tag}"); 725 725 group: tr("suspicious tag combination"); -
trunk/resources/data/validator/highway.mapcss
r18104 r18112 18 18 } 19 19 20 node[highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street|pedestrian|track|path|footway|cycleway|bus _guideway|bridleway/][highway!=motorway_junction][highway!=services] {20 node[highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street|pedestrian|track|path|footway|cycleway|busway|bus_guideway|bridleway/][highway!=motorway_junction][highway!=services] { 21 21 throwWarning: tr("wrong highway tag on a node"); 22 22 assertMatch: "node highway=primary"; … … 148 148 way[railway =~ /^(miniature|narrow_gauge|preserved|rail)$/][!highway] > node { set .is_in_railway } 149 149 way[highway =~ /^(bridleway|cycleway|footway|path|steps)$/] > node { set .is_in_minor_road } 150 way[highway =~ /^(bus _guideway|living_street|motorway|motorway_link|pedestrian|primary|primary_link|raceway|residential|road|secondary|secondary_link|service|tertiary|tertiary_link|track|trunk|trunk_link|unclassified)$/] > node { set .is_in_major_road }150 way[highway =~ /^(busway|bus_guideway|living_street|motorway|motorway_link|pedestrian|primary|primary_link|raceway|residential|road|secondary|secondary_link|service|tertiary|tertiary_link|track|trunk|trunk_link|unclassified)$/] > node { set .is_in_major_road } 151 151 node[railway!=crossing][crossing!=no].is_in_railway.is_in_minor_road!.is_in_major_road { 152 152 throwWarning: tr("pedestrian railway crossing without {0}", "{0.tag}");
Note:
See TracChangeset
for help on using the changeset viewer.