MapComplete/Docs/Layers/trail.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

136 lines
9.4 KiB
Markdown
Raw Normal View History

2024-10-15 17:16:39 +02:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
# trail
Waymarked trails
- This layer is shown at zoomlevel **12** and higher
No themes use this layer
## Table of contents
1. [Basic tags for this layer](#basic-tags-for-this-layer)
2. [Supported attributes](#supported-attributes)
2025-04-10 04:51:26 +02:00
3. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
2024-10-15 17:16:39 +02:00
- [images](#images)
- [trail-length](#trail-length)
- [Name](#name)
- [Operator tag](#operator-tag)
- [Color](#color)
- [Wheelchair access](#wheelchair-access)
- [pushchair access](#pushchair-access)
- [leftover-questions](#leftover-questions)
- [lod](#lod)
## Basic tags for this layer
Elements must match **any** of the following expressions:
- route~^(.*foot.*)$
- route~^(.*hiking.*)$
- route~^(.*bycicle.*)$
- route~^(.*horse.*)$
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22route%22~%22%5E%28.*foot.*%29%24%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22route%22~%22%5E%28.*hiking.*%29%24%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22route%22~%22%5E%28.*bycicle.*%29%24%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22route%22~%22%5E%28.*horse.*%29%24%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
2025-04-10 04:51:26 +02:00
**Warning:**: this quick overview is incomplete
2024-10-15 17:16:39 +02:00
| attribute | type | values which are supported by this layer |
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/name#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/name/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [name](https://wiki.openstreetmap.org/wiki/Key:name) | [string](../SpecialInputElements.md#string) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/operator#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/operator/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [operator](https://wiki.openstreetmap.org/wiki/Key:operator) | [string](../SpecialInputElements.md#string) | [Natuurpunt](https://wiki.openstreetmap.org/wiki/Tag:operator%3DNatuurpunt) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/colour#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/colour/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [colour](https://wiki.openstreetmap.org/wiki/Key:colour) | [color](../SpecialInputElements.md#color) | [blue](https://wiki.openstreetmap.org/wiki/Tag:colour%3Dblue) [red](https://wiki.openstreetmap.org/wiki/Tag:colour%3Dred) [green](https://wiki.openstreetmap.org/wiki/Tag:colour%3Dgreen) [yellow](https://wiki.openstreetmap.org/wiki/Tag:colour%3Dyellow) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/wheelchair#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/wheelchair/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [wheelchair](https://wiki.openstreetmap.org/wiki/Key:wheelchair) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:wheelchair%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:wheelchair%3Dno) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/pushchair#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/pushchair/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [pushchair](https://wiki.openstreetmap.org/wiki/Key:pushchair) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:pushchair%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:pushchair%3Dno) |
2025-04-10 04:51:26 +02:00
## Featureview elements and TagRenderings
| id | question | labels | freeform key |
-----|-----|-----|----- |
| [images](#images) <br/> _(Original in [questions](./BuiltinQuestions.md#images))_ | _{image_carousel()}{image_upload()}_ | | _Multiple choice only_ |
| [trail-length](#trail-length) | _The trail is {_length:km} kilometers long_ | | _Multiple choice only_ |
| [Name](#Name) | What is the name of this trail?<br/>_This trail is called <b>{name}</b>_ | | *[name](https://wiki.osm.org/wiki/Key:name)* ([string](../SpecialInputElements.md#string)) |
| [Operator tag](#Operator tag) | Who maintains this trail?<br/>_This trail is maintained by {operator}_<br/>2 options | | *[operator](https://wiki.osm.org/wiki/Key:operator)* ([string](../SpecialInputElements.md#string)) |
| [Color](#Color) | What is the reference colour of this trail?<br/>_The reference colour is {colour}_<br/>4 options | | *[colour](https://wiki.osm.org/wiki/Key:colour)* ([color](../SpecialInputElements.md#color)) |
| [Wheelchair access](#Wheelchair access) | Is this trail wheelchair accessible?<br/>2 options | | _Multiple choice only_ |
| [pushchair access](#pushchair access) | Is this trail accessible with a pushchair?<br/>2 options | | _Multiple choice only_ |
2025-04-15 18:18:44 +02:00
| [leftover-questions](#leftover-questions) | _{questions( ,hidden)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
2025-04-10 04:51:26 +02:00
| [lod](#lod) <br/> _(Original in [questions](./BuiltinQuestions.md#lod))_ | _{linked_data_from_website()}_ | added_by_default | _Multiple choice only_ |
2024-10-15 17:16:39 +02:00
### images
This block shows the known images which are linked with the `image`-keys, but also via `mapillary` and `wikidata` and shows the button to upload new images
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2024-10-15 17:16:39 +02:00
*{image_carousel()}{image_upload()}*
### trail-length
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2024-10-15 17:16:39 +02:00
*The trail is {_length:km} kilometers long*
### Name
The question is `What is the name of this trail?`
2025-05-19 23:05:37 +02:00
*This trail is called <b>{name}</b>* is shown if `name` is set.
2024-10-15 17:16:39 +02:00
### Operator tag
The question is `Who maintains this trail?`
2025-05-19 23:05:37 +02:00
*This trail is maintained by {operator}* is shown if `operator` is set.
2024-10-15 17:16:39 +02:00
2025-02-10 02:15:09 +01:00
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/themes/buurtnatuur/Natuurpunt.jpg'> *This trail is maintained by Natuurpunt* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:operator' target='_blank'>operator</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:operator%3DNatuurpunt' target='_blank'>Natuurpunt</a>
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/themes/buurtnatuur/Natuurpunt.jpg'> *This trail is maintained by {operator}* is shown if with operator~^((n|N)atuurpunt.*)$. _This option cannot be chosen as answer_
2024-10-15 17:16:39 +02:00
### Color
The question is `What is the reference colour of this trail?`
2025-05-19 23:05:37 +02:00
*The reference colour is {colour}* is shown if `colour` is set.
2024-10-15 17:16:39 +02:00
- *Blue trail* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dblue' target='_blank'>blue</a>
- *Red trail* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dred' target='_blank'>red</a>
- *Green trail* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dgreen' target='_blank'>green</a>
- *Yellow trail* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dyellow' target='_blank'>yellow</a>
### Wheelchair access
The question is `Is this trail wheelchair accessible?`
- *This trail is wheelchair-accessible* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:wheelchair' target='_blank'>wheelchair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:wheelchair%3Dyes' target='_blank'>yes</a>
- *This trail is not wheelchair accessible* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:wheelchair' target='_blank'>wheelchair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:wheelchair%3Dno' target='_blank'>no</a>
### pushchair access
The question is `Is this trail accessible with a pushchair?`
- *This trail is accessible with a pushchair* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:pushchair' target='_blank'>pushchair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:pushchair%3Dyes' target='_blank'>yes</a>
- *This trail is not accessible with a pushchair* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:pushchair' target='_blank'>pushchair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:pushchair%3Dno' target='_blank'>no</a>
### leftover-questions
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-04-05 02:18:45 +02:00
*{questions( ,hidden)}*
2024-10-15 17:16:39 +02:00
2025-04-15 18:18:44 +02:00
This tagrendering has labels
`ignore-docs`
`added_by_default`
2024-10-15 17:16:39 +02:00
### lod
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2024-10-15 17:16:39 +02:00
*{linked_data_from_website()}*
This tagrendering has labels
`added_by_default`
2025-01-28 15:42:34 +01:00
This document is autogenerated from [assets/layers/trail/trail.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/trail/trail.json)