Changeset 11500 in josm


Ignore:
Timestamp:
2017-01-25T19:55:01+01:00 (9 months ago)
Author:
Klumbumbus
Message:

fix #14288 - verify for improper usage of type=multipolygon in nodes and ways

File:
1 edited

Legend:

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

    r11477 r11500  
    7575}
    7676
    77 /* {0} on a node, should be a relation; Error level; see #10252, #10769 */
     77/* {0} on a node, should be a relation; Error level; see #10252, #10769, #14288 */
     78node[type=multipolygon],
    7879node[route],
    7980node[restriction] {
    80   throwError: tr("{0}=* on a node. Should be used in a relation", "{0.key}");
     81  throwError: tr("{0} on a node. Should be used in a relation", "{0.tag}");
    8182}
    8283
     
    9798}
    9899
    99 /* {0} on a way, should be a relation; see #10252 */
     100/* {0} on a way, should be a relation; see #10252, #14288 */
     101way[type=multipolygon],
    100102way[route=bus] {
    101   throwWarning: tr("{0} on a way. Should be used in a relation", "{0.tag}");
     103  throwError: tr("{0} on a way. Should be used in a relation", "{0.tag}");
    102104}
    103105
Note: See TracChangeset for help on using the changeset viewer.