Changeset 17088 in josm


Ignore:
Timestamp:
2020-10-06T23:29:19+02:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #19506 - Avoid duplicate warnings on nodes connecting building and highway

File:
1 edited

Legend:

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

    r16830 r17088  
    133133}
    134134
    135 /* #14395, #17025 */
     135/* #14395, #17025, #19506 */
    136136way[highway][area!=yes][!tunnel][!covered] > node {
    137137  set node_in_highway;
     
    144144  set first_last_highway_node;
    145145}
    146 way[building][building!=no] > node[!entrance].node_in_closed_highway,
    147 way[building][building!=no] > node[!entrance].node_in_highway!.first_last_highway_node {
     146way[building][building!=no] > node[!entrance].node_in_closed_highway {
     147  set node_connects_highway_and_building; /* avoids duplicate warnings with folowing rule */
     148  throwWarning: tr("node connects highway and building");
     149}
     150way[building][building!=no] > node[!entrance].node_in_highway!.first_last_highway_node!.node_connects_highway_and_building {
    148151  throwWarning: tr("node connects highway and building");
    149152}
Note: See TracChangeset for help on using the changeset viewer.