Changeset 9843 in josm


Ignore:
Timestamp:
2016-02-20T18:42:39+01:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #12496 - Verify properly tagged islands and islets (modified patch by naoliv)

File:
1 edited

Legend:

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

    r9745 r9843  
    226226  throwWarning: tr("suspicious roundabout direction");
    227227}
     228
     229/* #12496 */
     230area:closed[place=islet][eval(areasize()) > 1500] {
     231  throwWarning: tr("{0} on a large area", "{1.tag}");
     232  suggestAlternative: "place=island";
     233  fixAdd: "place=island";
     234}
     235
     236area:closed[place=island][eval(areasize()) < 500] {
     237  throwWarning: tr("{0} on a small area", "{1.tag}");
     238  suggestAlternative: "place=islet";
     239  fixAdd: "place=islet";
     240}
Note: See TracChangeset for help on using the changeset viewer.