Ignore:
Timestamp:
2020-02-29T10:29:58+01:00 (9 months 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/data/validator/geometry.mapcss

    r15941 r15961  
    167167}
    168168
     169/* Building overlapping building (spatial test) */
     170area[building][building!~/no|entrance/] ⧉ area[building][building!~/no|entrance/] {
     171  throwWarning: tr("Overlapping buildings");
     172}
     173
    169174/* Overlapping areas (spatial test) */
    170175area[natural =~ /^(water|wetland|coastline)$/], area[landuse=reservoir] {
     
    193198}
    194199
    195 area:closed:areaStyle[landuse!=residential][tag("landuse") = parent_tag("landuse")] ⧉ area:closed:areaStyle[landuse][landuse!=residential] {
     200area:closed:areaStyle[tag("landuse") = parent_tag("landuse")] ⧉ area:closed:areaStyle[landuse] {
    196201  throwWarning: tr("Overlapping Identical Landuses");
    197202}
Note: See TracChangeset for help on using the changeset viewer.