Changeset 11736 in josm


Ignore:
Timestamp:
2017-03-16T22:55:11+01:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #14395 - Add building attached to road as a validation warning

File:
1 edited

Legend:

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

    r11500 r11736  
    302302    throwWarning: tr("{0} should be on the node where {1} and {2} intersect", "ford", "highway", "waterway");
    303303}
     304
    304305/* #13877 */
    305306area:closed[waterway = canal][area!=no],
     
    310311  throwWarning: tr("{0} is the tag for the linear waterway. To tag the water area use {1} + {2} instead.", "{1.tag}", "natural=water", "water=*");
    311312}
     313
     314/* #14395 */
     315way >[index=1] node,
     316way >[index=-1] node {
     317  set first_last_node;
     318}
     319way[highway][area!=yes][!tunnel][!covered] > node {
     320  set node_in_highway;
     321}
     322way[building] > node.node_in_highway!.first_last_node {
     323  throwWarning: tr("node connects highway and building");
     324}
Note: See TracChangeset for help on using the changeset viewer.