mapcomplete/Docs/Layers/walls_and_buildings.md

157 lines
6.5 KiB
Markdown
Raw Normal View History

2023-02-12 23:08:57 +01:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
2022-02-14 04:59:49 +01:00
2024-04-28 03:46:56 +02:00
walls\_and\_buildings
2022-01-14 19:36:36 +01:00
=====================
2022-06-04 16:56:15 +02:00
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.
2022-02-14 04:59:49 +01:00
2024-04-28 03:46:56 +02:00
* 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-=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)
* [entrance\_info](#entrance_info)
* [biggest\_width](#biggest_width)
* [leftover-questions](#leftover-questions)
* [lod](#lod)
* [minimap](#minimap)
* [last\_edit](#last_edit)
* [favourite\_status](#favourite_status)
* [qr\_code](#qr_code)
* [share](#share)
* [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)
* [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
-------------------------
2023-11-13 03:15:48 +01:00
Elements must match **any** of the following expressions:
2024-04-28 03:46:56 +02:00
* [barrier](https://wiki.openstreetmap.org/wiki/Key:barrier)\=[wall](https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dwall)
* 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)
2022-01-14 19:36:36 +01:00
2024-04-28 03:46:56 +02:00
Supported attributes
--------------------
2022-01-14 19:36:36 +01:00
2024-04-28 03:46:56 +02:00
Warning:
2022-01-14 19:36:36 +01:00
2023-05-08 00:20:32 +02:00
this quick overview is incomplete
2022-01-14 19:36:36 +01:00
2024-04-28 03:46:56 +02:00
attribute
2022-02-14 04:59:49 +01:00
2024-04-28 03:46:56 +02:00
type
2022-02-14 04:59:49 +01:00
2024-04-28 03:46:56 +02:00
values which are supported by this layer
2023-05-08 00:20:32 +02:00
2024-04-28 03:46:56 +02:00
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id)
2023-05-08 00:20:32 +02:00
2024-04-28 03:46:56 +02:00
Multiple choice
2023-05-08 00:20:32 +02:00
2024-04-28 03:46:56 +02:00
### just\_created
2023-05-08 00:20:32 +02:00
This element shows a 'thank you' that the contributor has recently created this element
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
* _You just created this element! Thanks for sharing this info with the world and helping people worldwide._ corresponds with id~.+
2022-07-18 11:52:37 +02:00
2023-11-13 03:15:48 +01:00
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~.+`
2023-05-08 00:20:32 +02:00
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2022-07-18 11:52:37 +02:00
2024-04-28 03:46:56 +02:00
### entrance\_info
2022-07-18 11:52:37 +02:00
2022-07-31 13:33:45 +02:00
This tagrendering has no question and is thus read-only
2022-07-18 11:52:37 +02:00
2024-04-28 03:46:56 +02:00
* _No entrance has been marked_ corresponds with [\_entrances\_count](https://wiki.openstreetmap.org/wiki/Key:_entrances_count)\=[0](https://wiki.openstreetmap.org/wiki/Tag:_entrances_count%3D0)
* _None of the {\_entrance\_count} entrances have width information yet_ corresponds with \_entrances\_count\_without\_width=\_entrances\_count
2022-07-18 11:52:37 +02:00
2024-04-28 03:46:56 +02:00
### biggest\_width
2022-07-18 11:52:37 +02:00
2022-07-31 13:33:45 +02:00
This tagrendering has no question and is thus read-only
2023-04-15 03:02:01 +02:00
This tagrendering is only visible in the popup if the following condition is met: `_biggest_width_id~.+`
2024-04-28 03:46:56 +02:00
### leftover-questions
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### lod
2024-04-13 02:40:21 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2024-04-13 02:40:21 +02:00
2024-04-28 03:46:56 +02:00
### minimap
2023-04-15 03:02:01 +02:00
Shows a small map with the feature. Added by default to every popup
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### last\_edit
2023-04-15 03:02:01 +02:00
Gives some metainfo about the last edit and who did edit it - rendering only
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2023-11-13 03:15:48 +01:00
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:changeset~.+ & _last_edit:contributor~.+`
2023-05-08 00:20:32 +02:00
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2023-12-19 22:08:00 +01:00
2024-04-28 03:46:56 +02:00
### favourite\_status
2023-12-19 22:08:00 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### qr\_code
2023-12-30 15:24:30 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2023-12-30 15:24:30 +01:00
2024-04-28 03:46:56 +02:00
### share
2023-12-30 15:24:30 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2023-12-30 15:24:30 +01:00
2024-04-28 03:46:56 +02:00
### all-tags
2023-05-08 00:20:32 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
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)