Changeset 13005 in josm
- Timestamp:
- 2017-10-16T20:49:43+02:00 (7 years ago)
- Location:
- trunk/data/validator
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/highway.mapcss
r12895 r13005 86 86 } 87 87 88 /* footway, see #10851, #10976 */89 way[footway=left][/ footway:/],90 way[footway=right][/ footway:/],91 way[footway=both][/ footway:/],92 way[footway=no][/ footway:/] {88 /* footway, see #10851, #10976, #15439 */ 89 way[footway=left][/^footway:/], 90 way[footway=right][/^footway:/], 91 way[footway=both][/^footway:/], 92 way[footway=no][/^footway:/] { 93 93 throwWarning: tr("{0} is deprecated, use {1} instead. Also check similar tags like {2}", "{0.tag}", "sidewalk", "{1.key}"); 94 94 group: tr("deprecated tagging"); … … 127 127 } 128 128 129 /* #11270, #9297 */129 /* #11270, #9297, #15439 */ 130 130 way[railway =~ /^(light_rail|miniature|narrow_gauge|preserved|rail)$/][!highway] > node { set .is_in_railway } 131 131 way[highway =~ /^(bridleway|cycleway|footway|path|steps)$/] > node { set .is_in_minor_road } 132 way[highway =~ /^(bus_guideway|living_street|motorway| pedestrian|primary|raceway|residential|road|secondary|service|tertiary|track|trunk|unclassified)/] > node { set .is_in_major_road }132 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 } 133 133 node[railway!=crossing].is_in_railway.is_in_minor_road!.is_in_major_road { 134 134 throwWarning: tr("pedestrian railway crossing without {0}", "{0.tag}"); -
trunk/data/validator/numeric.mapcss
r12493 r13005 7 7 } 8 8 9 *[layer =~ / \+.*/] {9 *[layer =~ /^\+\d/] { 10 10 throwWarning: tr("layer tag with + sign"); 11 11 fixAdd: concat("layer=", replace(tag("layer"), "+", "")); … … 13 13 assertNoMatch: "node layer=1"; 14 14 assertNoMatch: "node layer=-1"; 15 assertNoMatch: "node layer=+foo"; 15 16 } 16 17 -
trunk/data/validator/unnecessary.mapcss
r11476 r13005 1 1 *[access][highway=proposed], 2 *[motor_vehicle?][vehicle!=no][access!=no][bicycle_road!=yes][highway =~ / motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street/],2 *[motor_vehicle?][vehicle!=no][access!=no][bicycle_road!=yes][highway =~ /^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|unclassified|residential|service|living_street)$/], 3 3 *[bridge=no], 4 4 *[building=no],
Note:
See TracChangeset
for help on using the changeset viewer.