Chore: regen docs

This commit is contained in:
Pieter Vander Vennet 2025-05-19 23:05:37 +02:00
parent 3cad0d1c85
commit 06cd77a8d1
267 changed files with 7757 additions and 2435 deletions

View file

@ -77,6 +77,7 @@ This is a special layer - data is not sourced from OpenStreetMap
- [maxstay](#maxstay)
- [name](#name)
- [has_toilets](#has_toilets)
- [reservation](#reservation)
## Supported attributes
@ -120,6 +121,7 @@ This is a special layer - data is not sourced from OpenStreetMap
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/maxstay#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/maxstay/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [maxstay](https://wiki.openstreetmap.org/wiki/Key:maxstay) | [pfloat](../SpecialInputElements.md#pfloat) | [unlimited](https://wiki.openstreetmap.org/wiki/Tag:maxstay%3Dunlimited) |
| <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/toilets#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/toilets/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [toilets](https://wiki.openstreetmap.org/wiki/Key:toilets) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:toilets%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:toilets%3Dno) [separate](https://wiki.openstreetmap.org/wiki/Tag:toilets%3Dseparate) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/reservation#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/reservation/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [reservation](https://wiki.openstreetmap.org/wiki/Key:reservation) | Multiple choice | [required](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Drequired) [recommended](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Drecommended) [yes](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Dno) |
## Featureview elements and TagRenderings
@ -179,41 +181,49 @@ This is a special layer - data is not sourced from OpenStreetMap
| [maxstay](#maxstay) <br/> _(Original in [questions](./BuiltinQuestions.md#maxstay))_ | What is the maximum amount of time one is allowed to stay here?<br/>_One can stay at most <b>{canonical(maxstay)}</b>_<br/>1 options | | *[maxstay](https://wiki.osm.org/wiki/Key:maxstay)* ([pfloat](../SpecialInputElements.md#pfloat)) |
| [name](#name) <br/> _(Original in [questions](./BuiltinQuestions.md#name))_ | What is the name of this place?<br/>_<b>{name}</b>_ | | *[name](https://wiki.osm.org/wiki/Key:name)* ([string](../SpecialInputElements.md#string)) |
| [has_toilets](#has_toilets) <br/> _(Original in [questions](./BuiltinQuestions.md#has_toilets))_ | Has toilets?<br/>3 options | | _Multiple choice only_ |
| [reservation](#reservation) <br/> _(Original in [questions](./BuiltinQuestions.md#reservation))_ | Is a reservation required for this place?<br/>4 options | | _Multiple choice only_ |
### questions
Show the questions block at this location
_This tagrendering has no question and is thus read-only_
*{questions()}*
### 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()}*
### images_no_blur
Same as `images`, but uploaded request to disable blurring to the panoramax server
_This tagrendering has no question and is thus read-only_
*{image_carousel()}{image_upload(,,,true)}*
### mapillary
Shows a button to open Mapillary on this location
_This tagrendering has no question and is thus read-only_
*{mapillary_link()}*
### export_as_gpx
Shows a button to export this feature as GPX. Especially useful for route relations
_This tagrendering has no question and is thus read-only_
*{export_as_gpx()}*
### export_as_geojson
Shows a button to export this feature as geojson. Especially useful for debugging or using this in other programs
_This tagrendering has no question and is thus read-only_
*{export_as_geojson()}*
### 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
*{wikipedia():max-height:25rem}* is shown if `wikidata` is set.
- *{wikipedia():max-height:25rem}* is shown if with wikipedia~.+. _This option cannot be chosen as answer_
- *No Wikipedia page has been linked yet* is shown if with wikidata=. _This option cannot be chosen as answer_
@ -221,12 +231,14 @@ The question is `What is the corresponding Wikidata entity?`
### reviews
Shows the reviews module (including the possibility to leave a review)
_This tagrendering has no question and is thus read-only_
*{create_review()}{list_reviews()}*
### phone
The question is `What is the phone number of {title()}?`
*{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}* is shown if `phone` is set
*{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}* is shown if `phone` is set.
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/questions/phone.svg'> *{link(&LBRACEcontact:phone&RBRACE,tel:&LBRACEcontact:phone&RBRACE,,,,)}* is shown if with contact:phone~.+. _This option cannot be chosen as answer_
@ -236,16 +248,19 @@ This tagrendering has labels
### mastodon
Shows and asks for the mastodon handle
The question is `What is the Mastodon-handle of {title()}?`
*{fediverse_link(contact:mastodon)}* is shown if `contact:mastodon` is set
*{fediverse_link(contact:mastodon)}* is shown if `contact:mastodon` is set.
### facebook
Shows and asks for the facebook handle
The question is `What is the facebook page of of {title()}?`
*{link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)}<div class='subtle text-sm'>Facebook is known to harm mental health, manipulate public opinion and cause hate. Try to use healthier alternatives</div>* is shown if `contact:facebook` is set
*{link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)}<div class='subtle text-sm'>Facebook is known to harm mental health, manipulate public opinion and cause hate. Try to use healthier alternatives</div>* is shown if `contact:facebook` is set.
### osmlink
_This tagrendering has no question and is thus read-only_
*<a href='https://openstreetmap.org/{id}' target='_blank' rel='noopener'F><img src='./assets/svg/osm-logo-us.svg'/></a>*
- *<span class='alert'>Uploading...</alert>* is shown if with id~^(=-)$
@ -253,7 +268,8 @@ _This tagrendering has no question and is thus read-only_
### email
The question is `What is the email address of {title()}?`
*<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>* is shown if `email` is set
*<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>* is shown if `email` is set.
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/svg/envelope.svg'> *<a href='mailto:{contact:email}' target='_blank' rel='noopener'>{contact:email}</a>* is shown if with contact:email~.+. _This option cannot be chosen as answer_
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/svg/envelope.svg'> *<a href='mailto:{operator:email}' target='_blank' rel='noopener'>{operator:email}</a>* is shown if with operator:email~.+. _This option cannot be chosen as answer_
@ -264,7 +280,8 @@ This tagrendering has labels
### website
The question is `What is the website of {title()}?`
*<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>* is shown if `website` is set
*<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>* is shown if `website` is set.
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/icons/website.svg'> *<a href='{contact:website}' rel='nofollow noopener noreferrer' target='_blank'>{contact:website}</a>* is shown if with contact:website~.+. _This option cannot be chosen as answer_
@ -293,19 +310,22 @@ The question is `Are dogs allowed in this business?`
### description
The question is `Is there still some relevant info that the previous questions did not cover? Feel free to add it here.`
*{description}* is shown if `description` is set
*{description}* is shown if `description` is set.
### opening_hours
The question is `What are the opening hours of {title()}?`
*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set
*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set.
- *Marked as closed for an unspecified time* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3Dclosed' target='_blank'>closed</a>. _This option cannot be chosen as answer_
### opening_hours_24_7
The question is `What are the opening hours of {title()}?`
*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set
*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set.
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/questions/open24_7.svg'> *24/7 opened (including holidays)* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D24/7' target='_blank'>24/7</a>
- *Marked as closed for an unspecified time* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3Dclosed' target='_blank'>closed</a>. _This option cannot be chosen as answer_
@ -313,7 +333,8 @@ The question is `What are the opening hours of {title()}?`
### opening_hours_24_7_default
The question is `What are the opening hours of {title()}?`
*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set
*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set.
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/questions/open24_7.svg'> *24/7 opened (including holidays)* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D24/7' target='_blank'>24/7</a>
- *Marked as closed for an unspecified time* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3Dclosed' target='_blank'>closed</a>. _This option cannot be chosen as answer_
@ -321,7 +342,8 @@ The question is `What are the opening hours of {title()}?`
### opening_hours_by_appointment
The question is `What are the opening hours of {title()}?`
*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set
*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set.
- *Only by appointment* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D"by appointment"' target='_blank'>"by appointment"</a>
- *Only by appointment* is shown if with opening_hours~^("by appointment"|by appointment)$. _This option cannot be chosen as answer_
@ -411,12 +433,14 @@ This tagrendering is only visible in the popup if the following condition is met
### all_tags
Shows a table with all the tags of the feature
_This tagrendering has no question and is thus read-only_
*{all_tags()}*
### multilevels
The question is `What levels does this elevator go to?`
*This elevator goes to floors {level}* is shown if `level` is set
*This elevator goes to floors {level}* is shown if `level` is set.
- *Located underground* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:location' target='_blank'>location</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:location%3Dunderground' target='_blank'>underground</a>. _This option cannot be chosen as answer_
- *Located on the ground floor* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:level' target='_blank'>level</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:level%3D0' target='_blank'>0</a>
@ -427,6 +451,7 @@ The question is `What levels does this elevator go to?`
### repeated
_This tagrendering has no question and is thus read-only_
*Multiple, identical objects can be found on floors {repeat_on}.*
This tagrendering is only visible in the popup if the following condition is met: repeat_on~.+
@ -436,7 +461,8 @@ This tagrendering has labels
### single_level
The question is `On what level is this feature located?`
*Located on the {level}th floor* is shown if `level` is set
*Located on the {level}th floor* is shown if `level` is set.
- *Located underground* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:location' target='_blank'>location</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:location%3Dunderground' target='_blank'>underground</a>. _This option cannot be chosen as answer_
- *Located on the ground floor* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:level' target='_blank'>level</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:level%3D0' target='_blank'>0</a>
@ -491,7 +517,8 @@ This tagrendering has labels
### internet-ssid
The question is `What is the network name for the wireless internet access?`
*The network name is <b>{internet_access:ssid}</b>* is shown if `internet_access:ssid` is set
*The network name is <b>{internet_access:ssid}</b>* is shown if `internet_access:ssid` is set.
- *Telekom* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:internet_access:ssid' target='_blank'>internet_access:ssid</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:internet_access:ssid%3DTelekom' target='_blank'>Telekom</a>
@ -511,14 +538,16 @@ The question is `Is this object lit or does it emit light?`
### survey_date
The question is `When was this object last surveyed?`
*This object was last surveyed on <b>{survey:date}</b>* is shown if `survey:date` is set
*This object was last surveyed on <b>{survey:date}</b>* is shown if `survey:date` is set.
- *This object was last surveyed today* is shown if with survey:date=
### check_date
The question is `When was this object last checked?`
*This object was last checked on <b>{check_date}</b>* is shown if `check_date` is set
*This object was last checked on <b>{check_date}</b>* is shown if `check_date` is set.
- *This object was last checked today* is shown if with check_date=
@ -573,6 +602,7 @@ This tagrendering has labels
### lod
_This tagrendering has no question and is thus read-only_
*{linked_data_from_website()}*
This tagrendering has labels
@ -581,6 +611,7 @@ This tagrendering has labels
### split_button
_This tagrendering has no question and is thus read-only_
*{split_button()}*
### seasonal
@ -603,12 +634,14 @@ The question is `Does this facility offer showers?`
### preset_description
_This tagrendering has no question and is thus read-only_
*{preset_description()}*
### brand
The question is `Is {title()} part of a bigger brand?`
*Part of {brand}* is shown if `brand` is set
*Part of {brand}* is shown if `brand` is set.
- *Not part of a bigger brand* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:nobrand' target='_blank'>nobrand</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:nobrand%3Dyes' target='_blank'>yes</a>
@ -629,14 +662,16 @@ The question is `What kind of seating does {title()} have?`
### maxstay
The question is `What is the maximum amount of time one is allowed to stay here?`
*One can stay at most <b>{canonical(maxstay)}</b>* is shown if `maxstay` is set
*One can stay at most <b>{canonical(maxstay)}</b>* is shown if `maxstay` is set.
- *There is no limit to the amount of time one can stay here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:maxstay' target='_blank'>maxstay</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:maxstay%3Dunlimited' target='_blank'>unlimited</a>
### name
The question is `What is the name of this place?`
*<b>{name}</b>* is shown if `name` is set
*<b>{name}</b>* is shown if `name` is set.
### has_toilets
@ -646,6 +681,15 @@ The question is `Has {title()} toilets?`
- *Has no toilets* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:toilets' target='_blank'>toilets</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:toilets%3Dno' target='_blank'>no</a>
- *The toilets are marked separately on the map* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:toilets' target='_blank'>toilets</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:toilets%3Dseparate' target='_blank'>separate</a>
### reservation
The question is `Is a reservation required for this place?`
- *A reservation is required at this place* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:reservation' target='_blank'>reservation</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:reservation%3Drequired' target='_blank'>required</a>
- *A reservation is not required, but still recommended to make sure you get a table* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:reservation' target='_blank'>reservation</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:reservation%3Drecommended' target='_blank'>recommended</a>
- *Reservation is possible at this place* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:reservation' target='_blank'>reservation</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:reservation%3Dyes' target='_blank'>yes</a>
- *Reservation is not possible at this place* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:reservation' target='_blank'>reservation</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:reservation%3Dno' target='_blank'>no</a>
This document is autogenerated from [assets/layers/questions/questions.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/questions/questions.json)