Changes between Version 156 and Version 157 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2019-05-22T07:49:41+02:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v156 v157 442 442 {{{ 443 443 #!mapcss 444 *[highway=street_lamp] ⊈ area[amenity=parking][lit=yes] 444 *[highway=street_lamp] ⊈ area:closed2[amenity=parking][lit=yes] 445 445 }}} 446 446 finds areas amenity=parking that have lit=yes but don't contain a lamp. 447 Always add `:closed2` to avoid false positives as unclosed areas never contain something. 447 448 }}} 448 449 |------------------------------------------------------------------------------- … … 461 462 area[landuse=residential] ⊉ *[building] 462 463 }}} 463 finds buildings which are not inside any landuse=residential area. 464 finds buildings which are not inside any landuse=residential area. Note that this operator is likely to produce false positives 465 when you have `landuse=residential`areas which don't match `:closed2`. 464 466 }}} 465 467 |-------------------------------------------------------------------------------
