mapcomplete/Docs/Layers/walls_and_buildings.md

162 lines
4.4 KiB
Markdown

[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
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 [advertising](#advertising)
- This layer is needed as dependency for layer [artwork](#artwork)
- This layer is needed as dependency for layer [clock](#clock)
- 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
- [advertising](https://mapcomplete.org/advertising)
- [aed](https://mapcomplete.org/aed)
- [artwork](https://mapcomplete.org/artwork)
- [clock](https://mapcomplete.org/clock)
- [indoors](https://mapcomplete.org/indoors)
- [onwheels](https://mapcomplete.org/onwheels)
- [personal](https://mapcomplete.org/personal)
- [surveillance](https://mapcomplete.org/surveillance)
This is a special layer - data is not sourced from OpenStreetMap
Supported attributes
----------------------
Warning:
this quick overview is incomplete
attribute | type | values which are supported by this layer
----------- | ------ | ------------------------------------------
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id) | Multiple choice |
### just_created
This element shows a 'thank you' that the contributor has recently created this element
This tagrendering has no question and is thus read-only
- *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with `id~.+`
This tagrendering is only visible in the popup if the following condition is met: `_backend~.+ &_last_edit:passed_time<300 & |_version_number=1`
### entrance_info
This tagrendering has no question and is thus read-only
- *No entrance has been marked* corresponds with `_entrances_count=0`
- *None of the {_entrance_count} entrances have width information yet* corresponds with `_entrances_count_without_width=_entrances_count`
### biggest_width
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `_biggest_width_id~.+`
### leftover-questions
This tagrendering has no question and is thus read-only
### minimap
Shows a small map with the feature. Added by default to every popup
This tagrendering has no question and is thus read-only
### last_edit
Gives some metainfo about the last edit and who did edit it - rendering only
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:contributor~.+ &_last_edit:changeset~.+`
### all-tags
This tagrendering has no question and is thus read-only
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)