chore: regenerate docs

This commit is contained in:
Pieter Vander Vennet 2023-03-08 19:17:03 +01:00
parent 8c73cc022c
commit 3aba46ce32
17 changed files with 246 additions and 110 deletions

View file

@ -979,6 +979,7 @@ The following layers are included in MapComplete:
- [hospital](./Layers/hospital.md) - [hospital](./Layers/hospital.md)
- [hotel](./Layers/hotel.md) - [hotel](./Layers/hotel.md)
- [hydrant](./Layers/hydrant.md) - [hydrant](./Layers/hydrant.md)
- [icons](./Layers/icons.md)
- [id_presets](./Layers/id_presets.md) - [id_presets](./Layers/id_presets.md)
- [import_candidate](./Layers/import_candidate.md) - [import_candidate](./Layers/import_candidate.md)
- [indoors](./Layers/indoors.md) - [indoors](./Layers/indoors.md)

View file

@ -20,7 +20,6 @@ The following items can be easily reused in your layers
+ [minimap](#minimap) + [minimap](#minimap)
+ [phone](#phone) + [phone](#phone)
+ [osmlink](#osmlink) + [osmlink](#osmlink)
+ [wikipedialink](#wikipedialink)
+ [email](#email) + [email](#email)
+ [website](#website) + [website](#website)
+ [wheelchair-access](#wheelchair-access) + [wheelchair-access](#wheelchair-access)
@ -44,12 +43,6 @@ The following items can be easily reused in your layers
+ [internet](#internet) + [internet](#internet)
+ [internet-fee](#internet-fee) + [internet-fee](#internet-fee)
+ [internet-ssid](#internet-ssid) + [internet-ssid](#internet-ssid)
+ [defaults](#defaults)
+ [isOpen](#isopen)
+ [phonelink](#phonelink)
+ [emaillink](#emaillink)
+ [smokingicon](#smokingicon)
+ [sharelink](#sharelink)
@ -158,29 +151,13 @@ What is the phone number of {title()}?
<a href='https://openstreetmap.org/{id}' target='_blank'><img alt='on osm' textmode='🗺️' src='./assets/svg/osm-logo-us.svg'/></a> <a href='https://openstreetmap.org/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>
*Read-only tagrendering* *Read-only tagrendering*
- - <span class='alert'>Uploading...</alert>
- <a href='{_backend}/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>
### wikipedialink
<a href='https://wikipedia.org/wiki/{wikipedia}' target='_blank'><img src='./assets/svg/wikipedia.svg' textmode='📖' alt='Wikipedia'/></a>
*Read-only tagrendering*
- <a href='https://www.wikidata.org/wiki/{wikidata}' target='_blank'><img src='./assets/svg/wikidata.svg' alt='WD'/></a>
@ -253,7 +230,7 @@ Are dogs allowed in this business?
{description} {description}
Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span> Is there still something relevant you couldn't give in the previous questions? Add it here.
@ -531,74 +508,6 @@ What is the network name for the wireless internet access?
- Telekom - Telekom
### defaults
*Read-only tagrendering*
### isOpen
*Read-only tagrendering*
- clock:#0f0;ring:#0f0
- circle:#f00;clock:#fff
- clock:#ff0;ring:#ff0
- circle:#f0f;clock:#fff
### phonelink
<a href='tel:{phone}'><img textmode='📞' alt='phone' src='./assets/tagRenderings/phone.svg'/></a>
*Read-only tagrendering*
### emaillink
<a href='mailto:{email}'><img textmode='✉️' alt='email' src='./assets/tagRenderings/send_email.svg'/></a>
*Read-only tagrendering*
### smokingicon
*Read-only tagrendering*
- <img textmode='🚭️' alt='no-smoking' src='./assets/tagRenderings/no_smoking.svg'/>
- <img textmode='🚬️' alt='smoking-allowed' src='./assets/tagRenderings/smoking.svg'/>
### sharelink
{share_link()}
*Read-only tagrendering*
This document is autogenerated from [Customizations/SharedTagRenderings.ts](https://github.com/pietervdvn/MapComplete/blob/develop/Customizations/SharedTagRenderings.ts), [assets/tagRenderings/questions.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/tagRenderings/questions.json) This document is autogenerated from [Customizations/SharedTagRenderings.ts](https://github.com/pietervdvn/MapComplete/blob/develop/Customizations/SharedTagRenderings.ts), [assets/tagRenderings/questions.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/tagRenderings/questions.json)

View file

@ -378,7 +378,7 @@ This tagrendering has labels `bench-questions`
The question is *Does this bench have an inscription?<div class='subtle text-lg'>E.g. on a mounted plaque, in the backrest, ...</div>* The question is *Does this bench have an inscription?*
This rendering asks information about the property [inscription](https://wiki.openstreetmap.org/wiki/Key:inscription) This rendering asks information about the property [inscription](https://wiki.openstreetmap.org/wiki/Key:inscription)

View file

@ -225,7 +225,7 @@ This tagrendering has labels `bench-questions`
The question is *Does this bench have an inscription?<div class='subtle text-lg'>E.g. on a mounted plaque, in the backrest, ...</div>* The question is *Does this bench have an inscription?*
This rendering asks information about the property [inscription](https://wiki.openstreetmap.org/wiki/Key:inscription) This rendering asks information about the property [inscription](https://wiki.openstreetmap.org/wiki/Key:inscription)
@ -248,7 +248,7 @@ This tagrendering has labels `bench-questions`
The question is *Does this bench have an artistic element?<div class='subtle text-lg'>E.g. it has an integrated painting, statue or other non-trivial, creative work</div>* The question is *Does this bench have an artistic element?*

View file

@ -214,7 +214,7 @@ The question is *Who can loan bicycles here?*
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>* The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description) This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)

View file

@ -518,7 +518,7 @@ This is rendered with `Using the cleaning service costs {service:bicycle:cleani
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>* The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description) This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)

View file

@ -85,7 +85,7 @@ This tagrendering has no question and is thus read-only
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>* The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description) This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)

View file

@ -153,7 +153,7 @@ This is rendered with `This route has {climbing:bolts} bolts <div class='subtle
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>* The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description) This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)

View file

@ -140,7 +140,7 @@ The question is *What type of entrance is this?*
The question is *What is the type of this door?<br/><span class='subtle'>Wether or not the door is automated is asked in the next question</span>* The question is *What is the type of this door?*

176
Docs/Layers/icons.md Normal file
View file

@ -0,0 +1,176 @@
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
icons
=======
A layer acting as library for icon-tagrenderings, especially to show as badge next to a POI
- This layer is shown at zoomlevel **0** and higher
- Elements don't have a title set and cannot be toggled nor will they show up in the dashboard. If you import this layer in your theme, override `title` to make this toggleable.
- Not visible in the layer selection by default. If you want to make this layer toggable, override `name`
- Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings`
Basic tags for this layer
---------------------------
Elements must have the all of following tags to be shown on this layer:
- id~.+
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B(%20%20%20%20nwr%5B%22id%22%5D(%7B%7Bbbox%7D%7D)%3B%0A)%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.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/wikipedia#values) [wikipedia](https://wiki.openstreetmap.org/wiki/Key:wikipedia) | Multiple choice | [](https://wiki.openstreetmap.org/wiki/Tag:wikipedia%3D)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/_isOpen#values) [_isOpen](https://wiki.openstreetmap.org/wiki/Key:_isOpen) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:_isOpen%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:_isOpen%3Dno) [](https://wiki.openstreetmap.org/wiki/Tag:_isOpen%3D) [parse_error](https://wiki.openstreetmap.org/wiki/Tag:_isOpen%3Dparse_error)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/smoking#values) [smoking](https://wiki.openstreetmap.org/wiki/Key:smoking) | Multiple choice | [no](https://wiki.openstreetmap.org/wiki/Tag:smoking%3Dno) [yes](https://wiki.openstreetmap.org/wiki/Tag:smoking%3Dyes)
### wikipedialink
This tagrendering has no question and is thus read-only
- *<a href='https://www.wikidata.org/wiki/{wikidata}' target='_blank'><img src='./assets/svg/wikidata.svg' alt='WD'/></a>* corresponds with ``
This tagrendering is only visible in the popup if the following condition is met: `wikipedia~.+|wikidata~.+`
This tagrendering has labels `defaults`
### isOpen
This tagrendering has no question and is thus read-only
- *clock:#0f0;ring:#0f0* corresponds with `_isOpen=yes`
- *circle:#f00;clock:#fff* corresponds with `_isOpen=no`
- *clock:#ff0;ring:#ff0* corresponds with `opening_hours~.+`
- *circle:#f0f;clock:#fff* corresponds with `_isOpen=parse_error&opening_hours~.+`
This tagrendering has labels `defaults`
### phonelink
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `phone~.+`
This tagrendering has labels `defaults`
### emaillink
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `email~.+`
This tagrendering has labels `defaults`
### smokingicon
This tagrendering has no question and is thus read-only
- *<img textmode='🚭️' alt='no-smoking' src='./assets/tagRenderings/no_smoking.svg'/>* corresponds with `smoking=no`
- *<img textmode='🚬️' alt='smoking-allowed' src='./assets/tagRenderings/smoking.svg'/>* corresponds with `smoking=yes`
This tagrendering has labels `defaults`
### sharelink
This tagrendering has no question and is thus read-only
This tagrendering has labels `defaults`
### osmlink
This tagrendering has no question and is thus read-only
- ** corresponds with `id~^(.*\/-.*)$`
- *<a href='{_backend}/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>* corresponds with `_backend~.+`
This tagrendering is only visible in the popup if the following condition is met: `id~^((node|way|relation)\/[0-9]*)$`
This tagrendering has labels `defaults`
This document is autogenerated from [assets/layers/icons/icons.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/icons/icons.json)

View file

@ -247,6 +247,24 @@ This tagrendering has no question and is thus read-only
id | question | osmTags
---- | ---------- | ---------
accessibility.0 | Publicly accessible | access=yes\|access=public|
id | question | osmTags
---- | ---------- | ---------
available_sports.0 | All sports (default) |
available_sports.1 | Basketball fields | sport=basketball
available_sports.2 | Soccer fields | sport=soccer
available_sports.3 | Ping-pong table | sport=table_tennis
available_sports.4 | Tennis field | sport=tennis
id | question | osmTags id | question | osmTags
---- | ---------- | --------- ---- | ---------- | ---------
open_now.0 | Opened now | _isOpen=yes open_now.0 | Opened now | _isOpen=yes

View file

@ -348,7 +348,7 @@ The question is *Does one have to bring their own toilet paper to this toilet?*
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>* The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description) This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)

View file

@ -311,7 +311,7 @@ The question is *Does one have to bring their own toilet paper to this toilet?*
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>* The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [toilets:description](https://wiki.openstreetmap.org/wiki/Key:toilets:description) This rendering asks information about the property [toilets:description](https://wiki.openstreetmap.org/wiki/Key:toilets:description)

View file

@ -52,6 +52,7 @@ this quick overview is incomplete
attribute | type | values which are supported by this layer attribute | type | values which are supported by this layer
----------- | ------ | ------------------------------------------ ----------- | ------ | ------------------------------------------
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-pictures-license#values) [mapcomplete-pictures-license](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-pictures-license) | Multiple choice | [CC0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC0) [CC-BY 4.0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC-BY 4.0) [CC-BY-SA 4.0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC-BY-SA 4.0) [<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-pictures-license#values) [mapcomplete-pictures-license](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-pictures-license) | Multiple choice | [CC0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC0) [CC-BY 4.0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC-BY 4.0) [CC-BY-SA 4.0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC-BY-SA 4.0)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-show-all-questions#values) [mapcomplete-show-all-questions](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-show-all-questions) | Multiple choice | [true](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-show-all-questions%3Dtrue) [false](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-show-all-questions%3Dfalse)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-translation-mode#values) [mapcomplete-translation-mode](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-translation-mode) | Multiple choice | [false](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dfalse) [true](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dtrue) [mobile](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dmobile) [<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-translation-mode#values) [mapcomplete-translation-mode](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-translation-mode) | Multiple choice | [false](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dfalse) [true](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dtrue) [mobile](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dmobile)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-translation-mode#values) [mapcomplete-translation-mode](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-translation-mode) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dyes) [<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-translation-mode#values) [mapcomplete-translation-mode](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-translation-mode) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dyes)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/_translation_percentage#values) [_translation_percentage](https://wiki.openstreetmap.org/wiki/Key:_translation_percentage) | Multiple choice | [100](https://wiki.openstreetmap.org/wiki/Tag:_translation_percentage%3D100) [<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/_translation_percentage#values) [_translation_percentage](https://wiki.openstreetmap.org/wiki/Key:_translation_percentage) | Multiple choice | [100](https://wiki.openstreetmap.org/wiki/Tag:_translation_percentage%3D100)
@ -81,6 +82,22 @@ The question is *Under what license do you want to publish your pictures?*
### all-questions-at-once
The question is *Should questions for unknown data fields appear one-by-one or together?*
- *Show all questions in the infobox together* corresponds with `mapcomplete-show-all-questions=true`
- *Show questions one-by-one* corresponds with `mapcomplete-show-all-questions=false`
### translations-title ### translations-title

View file

@ -104,8 +104,8 @@ options | A JSON-object of type `{ removePrefixes: string[], removePostfixes: st
subarg \| doc subarg \| doc
-------- | ----- -------- | -----
removePrefixes | remove these snippets of text from the start of the passed string to search. This is either a list OR a hash of languages to a list removePrefixes | remove these snippets of text from the start of the passed string to search. This is either a list OR a hash of languages to a list. The individual strings are interpreted as case ignoring regexes
removePostfixes | remove these snippets of text from the end of the passed string to search. This is either a list OR a hash of languages to a list removePostfixes | remove these snippets of text from the end of the passed string to search. This is either a list OR a hash of languages to a list. The individual strings are interpreted as case ignoring regexes.
instanceOf | A list of Q-identifier which indicates that the search results _must_ be an entity of this type, e.g. [`Q5`](https://www.wikidata.org/wiki/Q5) for humans instanceOf | A list of Q-identifier which indicates that the search results _must_ be an entity of this type, e.g. [`Q5`](https://www.wikidata.org/wiki/Q5) for humans
notInstanceof | A list of Q-identifiers which indicates that the search results _must not_ be an entity of this type, e.g. [`Q79007`](https://www.wikidata.org/wiki/Q79007) to filter away all streets from the search results notInstanceof | A list of Q-identifiers which indicates that the search results _must not_ be an entity of this type, e.g. [`Q79007`](https://www.wikidata.org/wiki/Q79007) to filter away all streets from the search results
@ -129,7 +129,8 @@ notInstanceof | A list of Q-identifiers which indicates that the search results
"square", "square",
"plaza", "plaza",
], ],
"nl": ["straat","plein","pad","weg",laan"] "nl": ["straat","plein","pad","weg",laan"],
"fr":["route (de|de la|de l'| de le)"]
}, },
"#": "Remove streets and parks from the search results:" "#": "Remove streets and parks from the search results:"
@ -221,7 +222,7 @@ options | A JSON-object of type `{ prefix: string, postfix: string }`.
subarg \| doc subarg \| doc
-------- | ----- -------- | -----
prefix | Piece of text that will always be added to the front of the generated opening hours. If the OSM-data does not start with this, it will fail to parse prefix | Piece of text that will always be added to the front of the generated opening hours. If the OSM-data does not start with this, it will fail to parse.
postfix | Piece of text that will always be added to the end of the generated opening hours postfix | Piece of text that will always be added to the end of the generated opening hours

View file

@ -5,7 +5,7 @@
This maps shows all the changes made with MapComplete This map shows all the changes made with MapComplete
This theme contains the following layers: This theme contains the following layers:
@ -25,6 +25,12 @@ Available languages:
- en - en
- cs
- de
- es
- fr
- nb_NO
- nl
This document is autogenerated from [assets/themes/mapcomplete-changes/mapcomplete-changes.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/mapcomplete-changes/mapcomplete-changes.json) This document is autogenerated from [assets/themes/mapcomplete-changes/mapcomplete-changes.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/mapcomplete-changes/mapcomplete-changes.json)

View file

@ -18,6 +18,7 @@
- [fs-filter](#fs-filter) - [fs-filter](#fs-filter)
- [fs-add-new](#fs-add-new) - [fs-add-new](#fs-add-new)
- [fs-welcome-message](#fs-welcome-message) - [fs-welcome-message](#fs-welcome-message)
- [fs-community-index](#fs-community-index)
- [fs-iframe-popout](#fs-iframe-popout) - [fs-iframe-popout](#fs-iframe-popout)
- [fs-more-quests](#fs-more-quests) - [fs-more-quests](#fs-more-quests)
- [fs-share-screen](#fs-share-screen) - [fs-share-screen](#fs-share-screen)
@ -126,6 +127,13 @@ Finally, the URL-hash is the part after the `#`. It is `node/1234` in this case.
fs-community-index
--------------------
Disables/enables the button to get in touch with the community The default value is _true_
fs-iframe-popout fs-iframe-popout
------------------ ------------------