mapcomplete/Docs/Layers/climbing_opportunity.md

192 lines
6.9 KiB
Markdown

[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
climbing_opportunity
======================
Fallback layer with items on which climbing _might_ be possible. It is loaded when zoomed in a lot, to prevent duplicate items to be added
- This layer is shown at zoomlevel **18** and higher
- This layer is needed as dependency for layer [climbing_route](#climbing_route)
## 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)
- [climbing-opportunity-name](#climbing-opportunity-name)
- [climbing-possible](#climbing-possible)
- [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
-------------------------
- [climbing](https://mapcomplete.org/climbing)
- [personal](https://mapcomplete.org/personal)
Basic tags for this layer
---------------------------
Elements must match **all** of the following expressions:
0. climbing=
1. <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> | <a href='https://wiki.openstreetmap.org/wiki/Key:barrier' target='_blank'>barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dretaining_wall' target='_blank'>retaining_wall</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:leisure' target='_blank'>leisure</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dsports_centre' target='_blank'>sports_centre</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:natural' target='_blank'>natural</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:natural%3Dcliff' target='_blank'>cliff</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:natural' target='_blank'>natural</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:natural%3Drock' target='_blank'>rock</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:natural' target='_blank'>natural</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:natural%3Dstone' target='_blank'>stone</a>
2. sport!=climbing
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B!%22climbing%22%5D%5B%22barrier%22%3D%22wall%22%5D%5B%22sport%22!%3D%22climbing%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B!%22climbing%22%5D%5B%22barrier%22%3D%22retaining_wall%22%5D%5B%22sport%22!%3D%22climbing%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B!%22climbing%22%5D%5B%22leisure%22%3D%22sports_centre%22%5D%5B%22sport%22!%3D%22climbing%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B!%22climbing%22%5D%5B%22natural%22%3D%22cliff%22%5D%5B%22sport%22!%3D%22climbing%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B!%22climbing%22%5D%5B%22natural%22%3D%22rock%22%5D%5B%22sport%22!%3D%22climbing%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B!%22climbing%22%5D%5B%22natural%22%3D%22stone%22%5D%5B%22sport%22!%3D%22climbing%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`
### climbing-opportunity-name
_This tagrendering has no question and is thus read-only_
This tagrendering is only visible in the popup if the following condition is met: name~.+
### climbing-possible
The question is `Is climbing possible here?`
- *Climbing is possible here* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dclimbing' target='_blank'>climbing</a>
- *Climbing is not possible here* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:climbing' target='_blank'>climbing</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:climbing%3Dno' target='_blank'>no</a>
- *Climbing is not possible here* corresponds with sport!~^(climbing)$
- _This option cannot be chosen as answer_
### 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/climbing_opportunity/climbing_opportunity.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/climbing_opportunity/climbing_opportunity.json)