MapComplete/Docs/Layers/lighthouse.md

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

100 lines
5.2 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)
# lighthouse
- This layer is shown at zoomlevel **5** and higher
## Table of contents
1. [Themes using this layer](#themes-using-this-layer)
2. [Presets](#presets)
3. [Basic tags for this layer](#basic-tags-for-this-layer)
4. [Supported attributes](#supported-attributes)
2025-04-10 04:51:26 +02:00
5. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
2024-10-15 17:16:39 +02:00
- [images](#images)
- [wikipedia](#wikipedia)
- [lighthouse-height](#lighthouse-height)
- [leftover-questions](#leftover-questions)
- [move-button](#move-button)
- [lod](#lod)
## Themes using this layer
- [lighthouses](https://mapcomplete.org/lighthouses)
- [personal](https://mapcomplete.org/personal)
## Presets
The following options to create new points are included:
- **a lighthouse** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:man_made' target='_blank'>man_made</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:man_made%3Dlighthouse' target='_blank'>lighthouse</a>
## Basic tags for this layer
Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:man_made' target='_blank'>man_made</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:man_made%3Dlighthouse' target='_blank'>lighthouse</a>**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22man_made%22%3D%22lighthouse%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/wikidata#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/wikidata/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [wikidata](https://wiki.openstreetmap.org/wiki/Key:wikidata) | [wikidata](../SpecialInputElements.md#wikidata) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/height#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/height/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [height](https://wiki.openstreetmap.org/wiki/Key:height) | [pfloat](../SpecialInputElements.md#pfloat) | |
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_ |
| [wikipedia](#wikipedia) <br/> _(Original in [questions](./BuiltinQuestions.md#wikipedia))_ | What is the corresponding Wikidata entity?<br/>_{wikipedia():max-height:25rem}_<br/>2 options | | *[wikidata](https://wiki.osm.org/wiki/Key:wikidata)* ([wikidata](../SpecialInputElements.md#wikidata)) |
| [lighthouse-height](#lighthouse-height) | What is the height of this lighthouse, in metres?<br/>_The height of this lighthouse is {height} metres._ | | *[height](https://wiki.osm.org/wiki/Key:height)* ([pfloat](../SpecialInputElements.md#pfloat)) |
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
| [move-button](#move-button) | _{move_button()}_ | | _Multiple choice only_ |
| [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_
*{image_carousel()}{image_upload()}*
### wikipedia
Shows a wikipedia box with the corresponding wikipedia article; the wikidata-item link can be changed by a contributor
The question is `What is the corresponding Wikidata entity?`
*{wikipedia():max-height:25rem}* is shown if `wikidata` is set
2025-04-15 18:18:44 +02:00
- *No Wikipedia page has been linked yet* is shown if with wikipedia~.+. _This option cannot be chosen as answer_
2024-10-15 17:16:39 +02:00
- *No Wikipedia page has been linked yet* is shown if with wikidata=. _This option cannot be chosen as answer_
### lighthouse-height
The question is `What is the height of this lighthouse, in metres?`
*The height of this lighthouse is {height} metres.* is shown if `height` is set
### leftover-questions
_This tagrendering has no question and is thus read-only_
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
### move-button
_This tagrendering has no question and is thus read-only_
*{move_button()}*
### lod
_This tagrendering has no question and is thus read-only_
*{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/lighthouse/lighthouse.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/lighthouse/lighthouse.json)