mapcomplete/Docs/Layers/walls_and_buildings.md

213 lines
7.3 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)
- This layer is needed as dependency for layer [facadegardens](#facadegardens)
- This layer is needed as dependency for layer [ghostsigns](#ghostsigns)
- This layer is needed as dependency for layer [parking_spaces_disabled](#parking_spaces_disabled)
## Table of contents
1. [ Themes using this layer ](#-themes-using-this-layer-)
2. [ Basic tags for this layer ](#-basic-tags-for-this-layer-)
3. [ Supported attributes ](#-supported-attributes-)
- [just_created](#just_created)
- [nothing_known](#nothing_known)
- [entrance_info](#entrance_info)
- [biggest_width](#biggest_width)
- [leftover-questions](#leftover-questions)
- [minimap](#minimap)
- [lod](#lod)
- [favourite_status](#favourite_status)
- [share](#share)
- [qr_code](#qr_code)
- [last_edit](#last_edit)
- [all-tags](#all-tags)
Themes using this layer
-------------------------
- [advertising](https://mapcomplete.org/advertising)
- [aed](https://mapcomplete.org/aed)
- [artwork](https://mapcomplete.org/artwork)
- [clock](https://mapcomplete.org/clock)
- [facadegardens](https://mapcomplete.org/facadegardens)
- [ghostsigns](https://mapcomplete.org/ghostsigns)
- [indoors](https://mapcomplete.org/indoors)
- [memorials](https://mapcomplete.org/memorials)
- [onwheels](https://mapcomplete.org/onwheels)
- [personal](https://mapcomplete.org/personal)
- [stations](https://mapcomplete.org/stations)
- [surveillance](https://mapcomplete.org/surveillance)
- [walls_and_buildings](https://mapcomplete.org/walls_and_buildings)
Basic tags for this layer
---------------------------
Elements must match **any** of the following expressions:
- <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%28%20%20%20%20nwr%5B%22barrier%22%3D%22wall%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22building%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%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.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_
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/party.svg' style='width: 3rem; height: 3rem'> *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: _last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+
This tagrendering has labels
`added_by_default_top`
### nothing_known
_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:passed_time>=300 & _backend~.+
This tagrendering has labels
`added_by_default_top`
### entrance_info
_This tagrendering has no question and is thus read-only_
- *No entrance has been marked* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:_entrances_count' target='_blank'>_entrances_count</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_entrances_count%3D0' target='_blank'>0</a>
- *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_
### lod
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### favourite_status
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### share
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### qr_code
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### 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:changeset~.+ & _last_edit:contributor~.+
This tagrendering has labels
`added_by_default`
### 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)