forked from MapComplete/MapComplete
Chore: regenerate docs
This commit is contained in:
parent
c65808bcd2
commit
4078b33a87
318 changed files with 80192 additions and 692 deletions
|
@ -12,6 +12,9 @@ A bench is a wooden, metal, stone, … surface where a human can sit. This layer
|
|||
2. [Presets](#presets)
|
||||
3. [Basic tags for this layer](#basic-tags-for-this-layer)
|
||||
4. [Supported attributes](#supported-attributes)
|
||||
5. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
|
||||
- [Wikipedia page about the memorial](#wikipedia-page-about-the-memorial)
|
||||
- [Wikipedia page about the remembered event or person](#wikipedia-page-about-the-remembered-event-or-person)
|
||||
- [images](#images)
|
||||
- [bench-backrest](#bench-backrest)
|
||||
- [bench-armrest](#bench-armrest)
|
||||
|
@ -28,11 +31,15 @@ A bench is a wooden, metal, stone, … surface where a human can sit. This layer
|
|||
- [artwork-artist_name](#artwork-artist_name)
|
||||
- [artwork-website](#artwork-website)
|
||||
- [artwork_subject](#artwork_subject)
|
||||
- [memorial-wikidata](#memorial-wikidata)
|
||||
- [Wikipedia page about the memorial](#wikipedia-page-about-the-memorial)
|
||||
- [subject-wikidata](#subject-wikidata)
|
||||
- [Wikipedia page about the remembered event or person](#wikipedia-page-about-the-remembered-event-or-person)
|
||||
- [leftover-questions](#leftover-questions)
|
||||
- [move-button](#move-button)
|
||||
- [delete-button](#delete-button)
|
||||
- [lod](#lod)
|
||||
5. [Filters](#filters)
|
||||
6. [Filters](#filters)
|
||||
|
||||
## Themes using this layer
|
||||
|
||||
|
@ -59,7 +66,7 @@ Elements must match the expression **<a href='https://wiki.openstreetmap.org/wik
|
|||
|
||||
## Supported attributes
|
||||
|
||||
**Warning:**,this quick overview is incomplete,
|
||||
**Warning:**: this quick overview is incomplete
|
||||
|
||||
| attribute | type | values which are supported by this layer |
|
||||
-----|-----|----- |
|
||||
|
@ -77,6 +84,35 @@ Elements must match the expression **<a href='https://wiki.openstreetmap.org/wik
|
|||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/artist_name#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/artist_name/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [artist_name](https://wiki.openstreetmap.org/wiki/Key:artist_name) | [string](../SpecialInputElements.md#string) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/website#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/website/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [website](https://wiki.openstreetmap.org/wiki/Key:website) | [url](../SpecialInputElements.md#url) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/subject:wikidata#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/subject%3Awikidata/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [subject:wikidata](https://wiki.openstreetmap.org/wiki/Key:subject:wikidata) | [wikidata](../SpecialInputElements.md#wikidata) | |
|
||||
| <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/subject:wikidata#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/subject%3Awikidata/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [subject:wikidata](https://wiki.openstreetmap.org/wiki/Key:subject:wikidata) | [wikidata](../SpecialInputElements.md#wikidata) | |
|
||||
|
||||
## 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_ |
|
||||
| [bench-backrest](#bench-backrest) | Does this bench have a backrest?<br/>3 options | bench-questions | _Multiple choice only_ |
|
||||
| [bench-armrest](#bench-armrest) | Does this bench have one or more armrests?<br/>2 options | bench-questions | _Multiple choice only_ |
|
||||
| [bench-seats](#bench-seats) | How many seats does this bench have?<br/>_This bench has {seats} seats_<br/>1 options | bench-questions | *[seats](https://wiki.osm.org/wiki/Key:seats)* ([nat](../SpecialInputElements.md#nat)) |
|
||||
| [bench-material](#bench-material) | What is the bench (seating) made from?<br/>_Material: {material}_<br/>6 options | bench-questions | *[material](https://wiki.osm.org/wiki/Key:material)* ([string](../SpecialInputElements.md#string)) |
|
||||
| [bench-direction](#bench-direction) | In which direction are you looking when sitting on the bench?<br/>_When sitting on the bench, one looks towards {direction}°._ | bench-questions | *[direction](https://wiki.osm.org/wiki/Key:direction)* ([direction](../SpecialInputElements.md#direction)) |
|
||||
| [bench-colour](#bench-colour) | Which colour does this bench have?<br/>_Colour: {colour}_<br/>8 options | bench-questions | *[colour](https://wiki.osm.org/wiki/Key:colour)* ([color](../SpecialInputElements.md#color)) |
|
||||
| [bench-survey:date](#bench-survey:date) | When was this bench last surveyed?<br/>_This bench was last surveyed on {survey:date}_<br/>1 options | bench-questions | *[survey:date](https://wiki.osm.org/wiki/Key:survey:date)* ([date](../SpecialInputElements.md#date)) |
|
||||
| [bench-inscription](#bench-inscription) | Does this bench have an inscription?<br/>_This bench has the following inscription:<br/><p><i>{inscription}</i></p>_<br/>2 options | bench-questions | *[inscription](https://wiki.osm.org/wiki/Key:inscription)* ([text](../SpecialInputElements.md#text)) |
|
||||
| [bench-artwork](#bench-artwork) | Does this bench have an artistic element?<br/>3 options | | _Multiple choice only_ |
|
||||
| [bench-memorial](#bench-memorial) | Does this bench act as memorial for someone or something?<br/>2 options | bench-questions | _Multiple choice only_ |
|
||||
| [artwork-artwork_type](#artwork-artwork_type) <br/> _(Original in [artwork](./artwork.md#artwork-artwork_type))_ | What is the type of this artwork?<br/>_This is a {artwork_type}_<br/>13 options | artwork-question | *[artwork_type](https://wiki.osm.org/wiki/Key:artwork_type)* ([string](../SpecialInputElements.md#string)) |
|
||||
| [artwork-artist-wikidata](#artwork-artist-wikidata) <br/> _(Original in [artwork](./artwork.md#artwork-artist-wikidata))_ | Who made this artwork?<br/>_This artwork was made by {wikidata_label(artist:wikidata):font-weight:bold}<br/>{wikipedia(artist:wikidata)}_ | artwork-question | *[artist:wikidata](https://wiki.osm.org/wiki/Key:artist:wikidata)* ([wikidata](../SpecialInputElements.md#wikidata)) |
|
||||
| [artwork-artist_name](#artwork-artist_name) <br/> _(Original in [artwork](./artwork.md#artwork-artist_name))_ | Which artist created this?<br/>_Created by {artist_name}_ | artwork-question | *[artist_name](https://wiki.osm.org/wiki/Key:artist_name)* ([string](../SpecialInputElements.md#string)) |
|
||||
| [artwork-website](#artwork-website) <br/> _(Original in [artwork](./artwork.md#artwork-website))_ | Is there a website with more information about this artwork?<br/>_{link(More information on this website,&LBRACEwebsite&RBRACE,,,,)}_ | artwork-question | *[website](https://wiki.osm.org/wiki/Key:website)* ([url](../SpecialInputElements.md#url)) |
|
||||
| [artwork_subject](#artwork_subject) <br/> _(Original in [artwork](./artwork.md#artwork_subject))_ | What does this artwork depict?<br/>_This artwork depicts {wikidata_label(subject:wikidata)}{wikipedia(subject:wikidata)}_ | artwork-question | *[subject:wikidata](https://wiki.osm.org/wiki/Key:subject:wikidata)* ([wikidata](../SpecialInputElements.md#wikidata)) |
|
||||
| [memorial-wikidata](#memorial-wikidata) <br/> _(Original in [memorial](./memorial.md#memorial-wikidata))_ | What is the Wikipedia page about this memorial?<br/>_<h3>Wikipedia page about the memorial</h3>{wikipedia(wikidata)}_ | memorial-specific, memorial-questions | *[wikidata](https://wiki.osm.org/wiki/Key:wikidata)* ([wikidata](../SpecialInputElements.md#wikidata)) |
|
||||
| [subject-wikidata](#subject-wikidata) <br/> _(Original in [memorial](./memorial.md#subject-wikidata))_ | What is the Wikipedia page about the person or event that is remembered here?<br/>_<h3>Wikipedia page about the remembered event or person</h3>{wikipedia(subject:wikidata)}_ | memorial-specific, memorial-questions | *[subject:wikidata](https://wiki.osm.org/wiki/Key:subject:wikidata)* ([wikidata](../SpecialInputElements.md#wikidata)) |
|
||||
| [leftover-questions](#leftover-questions) | _{questions( ,hidden)}_ | | _Multiple choice only_ |
|
||||
| [move-button](#move-button) | _{move_button()}_ | | _Multiple choice only_ |
|
||||
| [delete-button](#delete-button) | _{delete_button()}_ | | _Multiple choice only_ |
|
||||
| [lod](#lod) <br/> _(Original in [questions](./BuiltinQuestions.md#lod))_ | _{linked_data_from_website()}_ | added_by_default | _Multiple choice only_ |
|
||||
|
||||
### 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
|
||||
|
@ -253,6 +289,26 @@ This tagrendering is only visible in the popup if the following condition is met
|
|||
This tagrendering has labels
|
||||
`artwork-question`
|
||||
|
||||
### memorial-wikidata
|
||||
|
||||
The question is `What is the Wikipedia page about this memorial?`
|
||||
*<h3>Wikipedia page about the memorial</h3>{wikipedia(wikidata)}* is shown if `wikidata` is set
|
||||
|
||||
This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:historic' target='_blank'>historic</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:historic%3Dmemorial' target='_blank'>memorial</a>
|
||||
This tagrendering has labels
|
||||
`memorial-specific`
|
||||
`memorial-questions`
|
||||
|
||||
### subject-wikidata
|
||||
|
||||
The question is `What is the Wikipedia page about the person or event that is remembered here?`
|
||||
*<h3>Wikipedia page about the remembered event or person</h3>{wikipedia(subject:wikidata)}* is shown if `subject:wikidata` is set
|
||||
|
||||
This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:historic' target='_blank'>historic</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:historic%3Dmemorial' target='_blank'>memorial</a>
|
||||
This tagrendering has labels
|
||||
`memorial-specific`
|
||||
`memorial-questions`
|
||||
|
||||
### leftover-questions
|
||||
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
@ -291,8 +347,8 @@ This tagrendering has labels
|
|||
| id | question | osmTags |
|
||||
-----|-----|----- |
|
||||
| has_image.0 | *With and without images* (default) | |
|
||||
| has_image.1 | Has at least one image | image~.+ | image:0~.+ | image:1~.+ | image:2~.+ | image:3~.+ | mapillary~.+ |
|
||||
| has_image.2 | Probably does not have an image | image= & image:0= & image:1= & image:2= & image:3= & mapillary= |
|
||||
| has_image.1 | Has at least one image | image~.+ | ^(image:[0-9]+)$~~.+ | ^(panoramax:[0-9]+)$~~.+ | mapillary~.+ |
|
||||
| has_image.2 | Probably does not have an image | (image!~.+ | ^(image:[0-9]+!)$~~.+ | ^(panoramax:[0-9]+!)$~~.+ | mapillary!~.+) |
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue