Changeset 16145 in josm for trunk


Ignore:
Timestamp:
2020-03-15T22:39:30+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #18937 - add "water area inside water area" check

File:
1 edited

Legend:

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

    r16131 r16145  
    181181area:closed:areaStyle[landuse=reservoir]                        ⧉ area:closed:areaStyle.water_area {
    182182  throwWarning: tr("Overlapping Water Areas");
     183}
     184
     185/* Water area inside water area (spatial test) */
     186area:closed:areaStyle[natural =~ /^(water|wetland|coastline)$/] ∈  area:closed:areaStyle.water_area,
     187area:closed:areaStyle[landuse=reservoir]                        ∈  area:closed:areaStyle.water_area {
     188  throwWarning: tr("Water area inside water area");
    183189}
    184190
Note: See TracChangeset for help on using the changeset viewer.