Changeset 6613 in josm for trunk/data/validator


Ignore:
Timestamp:
2014-01-03T17:47:52+01:00 (11 years ago)
Author:
simon04
Message:

see #9516 - MapCSS: add support for crossing polygon check (area ⧉ area), replace OverlappingAreas test by a corresponding MapCSS test

File:
1 edited

Legend:

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

    r6611 r6613  
    1616  throwWarning: tr("Building inside building");
    1717}
     18
     19/* Overlapping areas (spatial test) */
     20area[natural =~ /^(water|wetland|coastline)$/], area[landuse=reservoir] {
     21  set water_area;
     22}
     23
     24area.water_area ⧉ area.water_area {
     25  throwWarning: tr("Overlapping Water Areas");
     26}
     27
     28area ⧉ area {
     29  throwOther: tr("Overlapping Areas");
     30}
Note: See TracChangeset for help on using the changeset viewer.