Ticket #17025: 17025.patch

File 17025.patch, 689 bytes (added by GerdP, 7 years ago)
  • data/validator/geometry.mapcss

     
    139139way[highway][area!=yes][!tunnel][!covered] > node {
    140140  set node_in_highway;
    141141}
    142 way[building][building!=no] > node.node_in_highway!.first_last_node {
     142way[highway][area!=yes][!tunnel][!covered] >[index=1] node,
     143way[highway][area!=yes][!tunnel][!covered] >[index=-1] node {
     144  set first_last_highway_node;
     145}
     146
     147way[building][building!=no] > node.node_in_highway!.first_last_highway_node {
    143148  throwWarning: tr("node connects highway and building");
    144149}
    145150