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] {  
    720720}
    721721
    722722/* 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] {
     723way:areaStyle[highway][highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service$|living_street|pedestrian|track|path|footway|cycleway|busway|bus_guideway|bridleway/][area!=yes] {
    724724  throwOther: tr("A linear object {0} without {1} has a tag indicating that it is an area.", "{1.tag}", "{3.tag}");
    725725  group: tr("suspicious tag combination");
    726726}
  • resources/data/validator/highway.mapcss

    a b way[highway][name =~ /(?i).* (Ave|Blvd|Bnd|Br|Brg|Cct|Cir|Cl|Cr|Crct|Cres|Crt|Ct  
    1717  assertMatch: "way highway=unclassified name=\"Bou blvd.\"";
    1818}
    1919
    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] {
     20node[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] {
    2121  throwWarning: tr("wrong highway tag on a node");
    2222  assertMatch: "node highway=primary";
    2323  assertMatch: "node highway=primary_link";
    way[footway][footway!=access_aisle][footway!=crossing][footway!=sidewalk]!.fixab  
    147147/* #11270, #9297, #15439, #16424, #17022 */
    148148way[railway =~ /^(miniature|narrow_gauge|preserved|rail)$/][!highway] > node { set .is_in_railway }
    149149way[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 }
     150way[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 }
    151151node[railway!=crossing][crossing!=no].is_in_railway.is_in_minor_road!.is_in_major_road {
    152152  throwWarning: tr("pedestrian railway crossing without {0}", "{0.tag}");
    153153  group: tr("missing tag");

Attachments (0)

Change History (2)

comment:1 by Don-vip, 3 years ago

Milestone: 21.07
Owner: changed from team to Don-vip
Status: newassigned

comment:2 by Don-vip, 3 years ago

Resolution: fixed
Status: assignedclosed

In 18112/josm:

fix #21115 - Update highway validator rules to include highway=busway (patch by Famlam)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.