96 lines
No EOL
3.4 KiB
Markdown
96 lines
No EOL
3.4 KiB
Markdown
|
|
|
|
walls_and_buildings
|
|
=====================
|
|
|
|
|
|
|
|
|
|
|
|
Special builtin layer providing all walls and buildings. This layer is useful in presets for objects which can be placed against walls (e.g. AEDs, postboxes, entrances, addresses, surveillance cameras, …). This layer is invisible by default and not toggleable by the user.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- This layer is shown at zoomlevel **18** and higher
|
|
- This layer is not visible by default and must be enabled in the filter by the user.
|
|
- This layer is not visible by default and the visibility cannot be toggled, effectively resulting in a fully hidden layer. This can be useful, e.g. to calculate some metatags. If you want to render this layer (e.g. for debugging), enable it by setting the URL-parameter layer-<id>=true
|
|
- Not visible in the layer selection by default. If you want to make this layer toggable, override `name`
|
|
- Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings`
|
|
- This layer will automatically load [entrance](./entrance.md) into the layout as it depends on it: a calculated tag loads features from this layer (calculatedTag[0] which calculates the value for _entrance_properties)
|
|
- This layer is needed as dependency for layer [defibrillator](#defibrillator)
|
|
- This layer is needed as dependency for layer [entrance](#entrance)
|
|
- This layer is needed as dependency for layer [surveillance_camera](#surveillance_camera)
|
|
|
|
|
|
|
|
|
|
#### Themes using this layer
|
|
|
|
|
|
|
|
|
|
|
|
- [aed](https://mapcomplete.osm.be/aed)
|
|
- [entrances](https://mapcomplete.osm.be/entrances)
|
|
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
|
- [personal](https://mapcomplete.osm.be/personal)
|
|
- [surveillance](https://mapcomplete.osm.be/surveillance)
|
|
|
|
|
|
|
|
|
|
Basic tags for this layer
|
|
---------------------------
|
|
|
|
|
|
|
|
Elements must have the all of following tags to be shown on this layer:
|
|
|
|
|
|
|
|
- <a href='https://wiki.openstreetmap.org/wiki/Key:barrier' target='_blank'>barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dwall' target='_blank'>wall</a>|building~^..*$
|
|
|
|
|
|
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B(%20%20%20%20nwr%5B%22barrier%22%3D%22wall%22%5D(%7B%7Bbbox%7D%7D)%3B%0A%20%20%20%20nwr%5B%22building%22%5D(%7B%7Bbbox%7D%7D)%3B%0A)%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
|
|
|
|
|
|
|
|
Supported attributes
|
|
----------------------
|
|
|
|
|
|
|
|
Warning:
|
|
|
|
this quick overview is incomplete
|
|
|
|
|
|
|
|
attribute | type | values which are supported by this layer
|
|
----------- | ------ | ------------------------------------------
|
|
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/_entrance:width#values) [_entrance:width](https://wiki.openstreetmap.org/wiki/Key:_entrance:width) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:_entrance:width%3D)
|
|
|
|
|
|
|
|
|
|
### _entrance:width
|
|
|
|
|
|
|
|
This tagrendering has no question and is thus read-only
|
|
|
|
This rendering asks information about the property [_entrance:width](https://wiki.openstreetmap.org/wiki/Key:_entrance:width)
|
|
|
|
This is rendered with <a href ='#{_entrance:id} '>This door has a width of {canonical(_entrance:width)} meters </a>
|
|
|
|
|
|
|
|
|
|
|
|
- This entrance has no width information corresponds with ``
|
|
|
|
|
|
This document is autogenerated from [assets/layers/walls_and_buildings/walls_and_buildings.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/walls_and_buildings/walls_and_buildings.json) |