| | 392 | Finds areas with `amenity=parking` that contain at least one node or area with `amenity=parking`. |
| | 393 | Since r15064 this rule produces one warning for each element on the left when there are multiple matches. |
| | 394 | }}} |
| | 395 | |------------------------------------------------------------------------------- |
| | 396 | {{{#!td align=left valign=top |
| | 397 | `⊆` ([http://www.fileformat.info/info/unicode/char/2286/index.htm U+2286], since r15102) |
| | 398 | }}} |
| | 399 | {{{#!td align=left valign=top |
| | 400 | Subset of or Equal To |
| | 401 | |
| | 402 | Synonym for `∈`. |
| | 403 | }}} |
| | 404 | {{{#!td align=left valign=top |
| | 405 | {{{ |
| | 406 | #!mapcss |
| | 407 | *[amenity=parking] ⊆ area[amenity=parking] { |
| | 408 | throwWarning: tr("{0} inside {1}", "amenity=parking", "amenity=parking"); |
| | 409 | } |
| | 410 | }}} |
| | 411 | |
| | 412 | }}} |
| | 413 | |------------------------------------------------------------------------------- |
| | 414 | {{{#!td align=left valign=top |
| | 415 | `⊇` ([http://www.fileformat.info/info/unicode/char/2287/index.htm U+2287], since r15102) |
| | 416 | }}} |
| | 417 | {{{#!td align=left valign=top |
| | 418 | Superset of or Equal To |
| | 419 | |
| | 420 | Matches when an object matches the right selector(s) and is contained in one or more elements which match the left selectors. |
| | 421 | |
| | 422 | }}} |
| | 423 | {{{#!td align=left valign=top |
| | 424 | {{{ |
| | 425 | #!mapcss |
| | 426 | area[amenity=parking] ⊇ *amenity=parking] |
| | 427 | }}} |
| | 428 | finds nodes or areas with `amenity=parking` inside areas with `amenity=parking`. Slower than `⊆` and thus not useful in validator rules, but can be useful in the search dialog. |
| | 429 | |
| | 430 | }}} |
| | 431 | |------------------------------------------------------------------------------- |
| | 432 | {{{#!td align=left valign=top |
| | 433 | `⊈` ([http://www.fileformat.info/info/unicode/char/2288/index.htm U+2288], since r15102) |
| | 434 | }}} |
| | 435 | {{{#!td align=left valign=top |
| | 436 | Neither a Subset of nor Equal To |
| | 437 | |
| | 438 | Matches when an object matches the right selector(s) and does not contain any element which matches the left selectors. |
| | 439 | |
| | 440 | }}} |
| | 441 | {{{#!td align=left valign=top |
| | 442 | {{{ |
| | 443 | #!mapcss |
| | 444 | *[highway=street_lamp] ⊈ area[amenity=parking][lit=yes] |
| | 445 | }}} |
| | 446 | finds areas amenity=parking that have lit=yes but don't contain a lamp. |
| | 447 | }}} |
| | 448 | |------------------------------------------------------------------------------- |
| | 449 | {{{#!td align=left valign=top |
| | 450 | `⊉` ([http://www.fileformat.info/info/unicode/char/2289/index.htm U+2289], since r15102) |
| | 451 | }}} |
| | 452 | {{{#!td align=left valign=top |
| | 453 | Neither a Superset of nor Equal To |
| | 454 | |
| | 455 | Matches when an object matches the right selector(s) and is not contained in any area which matches the left selectors. |
| | 456 | |
| | 457 | }}} |
| | 458 | {{{#!td align=left valign=top |
| | 459 | {{{ |
| | 460 | #!mapcss |
| | 461 | area[landuse=residential] ⊉ *[building] |
| | 462 | }}} |
| | 463 | finds buildings which are not inside any landuse=residential area. |