Changeset 13787 in josm for trunk/data


Ignore:
Timestamp:
2018-05-19T17:00:45+02:00 (7 years ago)
Author:
Klumbumbus
Message:
  • fix #16214 - Provide autofix to remove completely useless area=yes from inner multipolygons ways.
  • add embankment-pattern-centered.svg to nodist folder (which was sitting around here but it is not usefull to replace the current png version)
File:
1 edited

Legend:

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

    r13645 r13787  
    247247}
    248248
     249/* #16214 */
     250relation[type=multipolygon] >[role="inner"] way[area][eval(number_of_tags()) = 1] {
     251  throwWarning: tr("{0} on an inner multipolygon ring without further tags", "{0.tag}");
     252  fixRemove: "area";
     253  set area_yes_autofix;
     254  group: tr("suspicious tag combination");
     255}
     256
    249257/* only {0.key}, see #11104 #12422 #14950 */
    250258*[access][eval(number_of_tags()) = 1],
    251 *[area][eval(number_of_tags()) = 1],
     259*[area][eval(number_of_tags()) = 1]!.area_yes_autofix,
    252260*[name][eval(number_of_tags()) = 1],
    253261*[ref][eval(number_of_tags()) = 1],
Note: See TracChangeset for help on using the changeset viewer.