Changeset 7744 in josm for trunk/data


Ignore:
Timestamp:
2014-11-24T15:36:37+01:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #10769 - drop support of restriction=* on nodes

File:
1 edited

Legend:

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

    r7737 r7744  
    3737node[source:outline] {
    3838  throwWarning: tr("{0} on a node. Should be drawn as an area.", "{0.tag}");
     39}
     40
     41/* {0} on a node, should be a relation; see #10252, #10769 */
     42node[route],
     43node[restriction] {
     44  throwWarning: tr("{0}=* on a node. Should be used in a relation", "{0.key}");
     45}
     46
     47/* {0} on a way, should be a relation; see #10252 */
     48way[route=bus] {
     49  throwWarning: tr("{0} on a way. Should be used in a relation", "{0.tag}");
    3950}
    4051
     
    96107  throwWarning: tr("{0} inside {1}", concat("power=", tag("power")), concat("power=", tag("power")));
    97108}
    98 
    99 /* see #10252 */
    100 way[route=bus] {
    101   throwWarning: tr("{0} on a way. Should be used in a relation", "{0.tag}");
    102 }
    103 node[route] {
    104   throwWarning: tr("{0}=* on a node. Should be used in a relation", "{0.key}");
    105 }
Note: See TracChangeset for help on using the changeset viewer.