Changeset 15961 in josm for trunk/test/unit


Ignore:
Timestamp:
2020-02-29T10:29:58+01:00 (5 years ago)
Author:
GerdP
Message:

fix #16707: Warn about overlapping connected buildings

  • add rule in geometry.mapcss to check overlapping buildings
  • change rule which checks overlapping identical landuses to also check landuse=residential
  • disable the corresponding tests in CrossingWays

effects for the user:

  • Message "Crossing buildings" is replaced by "Overlapping buildings"
  • Message "Crossing residential areas" is replaced by generic "Overlapping Identical Landuses"
  • different highlighting of the overlapping area
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/CrossingWaysTest.java

    r15704 r15961  
    126126        // createMessage
    127127        testMessage(601, test, "amenity=restaurant", "amenity=restaurant");
    128         testMessage(610, test, "building=yes", "building=yes");
    129128        testMessage(611, test, "building=yes", "amenity=restaurant");
    130129        testMessage(612, test, "building=yes", "highway=road");
     
    139138        testMessage(631, test, "railway=rail", "amenity=restaurant");
    140139        testMessage(632, test, "railway=rail", "waterway=river");
    141         testMessage(640, test, "landuse=residential", "landuse=residential");
    142140        testMessage(641, test, "landuse=residential", "amenity=restaurant");
    143141        testMessage(650, test, "waterway=river", "waterway=river");
Note: See TracChangeset for help on using the changeset viewer.