Changes between Version 156 and Version 157 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2019-05-22T07:49:41+02:00 (7 years ago)
Author:
GerdP
Comment:

Add hints to use :closed2 with ⊈ and that ⊉ is likely to produce false positives

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v156 v157  
    442442{{{
    443443#!mapcss
    444 *[highway=street_lamp] ⊈ area[amenity=parking][lit=yes]
     444*[highway=street_lamp] ⊈ area:closed2[amenity=parking][lit=yes]
    445445}}}
    446446finds areas amenity=parking that have lit=yes but don't contain a lamp.
     447Always add `:closed2` to avoid false positives as unclosed areas never contain something.
    447448}}}
    448449|-------------------------------------------------------------------------------
     
    461462area[landuse=residential] ⊉ *[building]
    462463}}}
    463 finds buildings which are not inside any landuse=residential area.
     464finds buildings which are not inside any landuse=residential area. Note that this operator is likely to produce false positives
     465when you have `landuse=residential`areas which don't match `:closed2`.
    464466}}}
    465467|-------------------------------------------------------------------------------