|
Last change
on this file since 6611 was 6611, checked in by simon04, 12 years ago |
|
see #9516 - Replace BuildingInBuilding by a corresponding MapCSS test
|
|
File size:
501 bytes
|
| Rev | Line | |
|---|
| [6550] | 1 | /* {0} on a node */
|
|---|
| 2 | node[oneway],
|
|---|
| 3 | node[bridge?],
|
|---|
| 4 | node[source:geometry],
|
|---|
| 5 | node[source:outline] {
|
|---|
| 6 | throwWarning: tr("{0} on a node", "{0.key}");
|
|---|
| 7 | assertMatch: "node oneway=-1";
|
|---|
| 8 | assertNoMatch: "way oneway=-1";
|
|---|
| 9 | assertMatch: "node bridge=yes";
|
|---|
| 10 | assertNoMatch: "node bridge=13";
|
|---|
| [6611] | 11 | }
|
|---|
| 12 |
|
|---|
| 13 | /* Building inside building (spatial test) */
|
|---|
| 14 | *[building!~/no|entrance/][coalesce(tag("layer"),"0") = coalesce(parent_tag("layer"),"0")] ∈
|
|---|
| 15 | *[building!~/no|entrance/] {
|
|---|
| 16 | throwWarning: tr("Building inside building");
|
|---|
| [6550] | 17 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.