Modify ↓
Opened 3 years ago
Closed 3 years ago
#21115 closed enhancement (fixed)
[patch] Update highway validator rules to include highway=busway
Reported by: | Famlam | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | 21.07 |
Component: | Core validator | Version: | tested |
Keywords: | busway | Cc: |
Description
Apart from the rendering (#21067, fixed) and the preset (#20791), some validator rules can use an update to include highway=busway
:
-
resources/data/validator/combinations.mapcss
a b way[highway=pedestrian][width][width<3] { 720 720 } 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"); 726 726 }
-
resources/data/validator/highway.mapcss
a b way[highway][name =~ /(?i).* (Ave|Blvd|Bnd|Br|Brg|Cct|Cir|Cl|Cr|Crct|Cres|Crt|Ct 17 17 assertMatch: "way highway=unclassified name=\"Bou blvd.\""; 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"; 23 23 assertMatch: "node highway=primary_link"; … … way[footway][footway!=access_aisle][footway!=crossing][footway!=sidewalk]!.fixab 147 147 /* #11270, #9297, #15439, #16424, #17022 */ 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 =~ /^(bus_guideway|busway|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}"); 153 153 group: tr("missing tag");
Attachments (0)
Change History (2)
comment:1 by , 3 years ago
Milestone: | → 21.07 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In 18112/josm: