Changeset 7488 in josm for trunk/data


Ignore:
Timestamp:
2014-09-03T23:27:41+02:00 (10 years ago)
Author:
bastiK
Message:

applied #10471 - new validator rule to check that ford=yes node is on highway and waterway (based on patch by naoliv)

File:
1 edited

Legend:

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

    r7437 r7488  
    173173  throwWarning: tr("{0} without {1} or {2}", "{0.key}", "{1.key}", "{2.key}");
    174174}
     175
     176/* see #10471 */
     177way[waterway] > node[ford?] { set ford_on_waterway; }
     178way[highway] > node[ford?] { set ford_on_highway; }
     179node[ford?]!.ford_on_waterway, node[ford?]!.ford_on_highway {
     180    throwWarning: tr("{0} should be on the node where {1} and {2} intersect", "ford", "highway", "waterway");
     181}
Note: See TracChangeset for help on using the changeset viewer.