Changeset 8089 in josm for trunk/data


Ignore:
Timestamp:
2015-02-20T00:07:54+01:00 (10 years ago)
Author:
Klumbumbus
Message:

fix #11127 - add validator warnings for waterway together with bridge=yes and node connecting waterway and bridge

Location:
trunk/data/validator
Files:
2 edited

Legend:

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

    r8080 r8089  
    169169}
    170170
     171/*see #11127*/
     172way[waterway][bridge=yes] {
     173  throwWarning: tr("{0} together with {1}", "{0.key}", "{1.tag}");
     174  suggestAlternative: "bridge=aqueduct";
     175  fixAdd: "bridge=aqueduct";
     176}
     177
    171178/* only {0.key}, see #11104 */
    172179*[area][eval(number_of_tags()) = 1],
  • trunk/data/validator/geometry.mapcss

    r7977 r8089  
    196196  throwWarning: tr("{0} must be connected to a way", "{1.tag}");
    197197}
     198
     199/*see #11127*/
     200way[railway][bridge] > node,
     201way[highway][bridge] > node {
     202  set node_in_bridge;
     203}
     204way[waterway] > node.node_in_bridge {
     205  throwWarning: tr("node connects waterway and bridge");
     206}
Note: See TracChangeset for help on using the changeset viewer.