Ignore:
Timestamp:
2015-01-08T21:39:04+01:00 (9 years ago)
Author:
Klumbumbus
Message:

see #10835 - icon unification and geometry consistency for some naturaltags. add validator warnings for some node features on ways

File:
1 edited

Legend:

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

    r7937 r7942  
    2424node[natural=ridge],
    2525node[natural=tree_row] {
    26   throwWarning: tr("{0} on a node. Should be used on a way.", "{0.key}");
     26  throwWarning: tr("{0} on a node. Should be used on a way.", "{0.tag}");
    2727  assertMatch: "node oneway=-1";
    2828  assertNoMatch: "way oneway=-1";
     
    5555node[restriction] {
    5656  throwWarning: tr("{0}=* on a node. Should be used in a relation", "{0.key}");
     57}
     58
     59/* {0} on a way, should be a node */
     60way[natural=peak],
     61way[natural=saddle],
     62way[natural=volcano],
     63way[natural=tree] {
     64  throwWarning: tr("{0} on a way. Should be used on a node.", "{0.tag}");
    5765}
    5866
Note: See TracChangeset for help on using the changeset viewer.