From 3aba46ce321a2bbaad4580fb8141ce6d2c09e570 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 8 Mar 2023 19:17:03 +0100 Subject: [PATCH] chore: regenerate docs --- Docs/BuiltinLayers.md | 1 + Docs/BuiltinQuestions.md | 99 +--------------- Docs/Layers/artwork.md | 2 +- Docs/Layers/bench.md | 4 +- Docs/Layers/bicycle_library.md | 2 +- Docs/Layers/bike_shop.md | 2 +- Docs/Layers/bike_themed_object.md | 2 +- Docs/Layers/climbing_route.md | 2 +- Docs/Layers/entrance.md | 2 +- Docs/Layers/icons.md | 176 +++++++++++++++++++++++++++++ Docs/Layers/sport_pitch.md | 18 +++ Docs/Layers/toilet.md | 2 +- Docs/Layers/toilet_at_amenity.md | 2 +- Docs/Layers/usersettings.md | 17 +++ Docs/SpecialInputElements.md | 9 +- Docs/Themes/mapcomplete-changes.md | 8 +- Docs/URL_Parameters.md | 8 ++ 17 files changed, 246 insertions(+), 110 deletions(-) create mode 100644 Docs/Layers/icons.md diff --git a/Docs/BuiltinLayers.md b/Docs/BuiltinLayers.md index 5ae0e4f93..4bc2a03dd 100644 --- a/Docs/BuiltinLayers.md +++ b/Docs/BuiltinLayers.md @@ -979,6 +979,7 @@ The following layers are included in MapComplete: - [hospital](./Layers/hospital.md) - [hotel](./Layers/hotel.md) - [hydrant](./Layers/hydrant.md) + - [icons](./Layers/icons.md) - [id_presets](./Layers/id_presets.md) - [import_candidate](./Layers/import_candidate.md) - [indoors](./Layers/indoors.md) diff --git a/Docs/BuiltinQuestions.md b/Docs/BuiltinQuestions.md index 907d16c18..492ee1a49 100644 --- a/Docs/BuiltinQuestions.md +++ b/Docs/BuiltinQuestions.md @@ -20,7 +20,6 @@ The following items can be easily reused in your layers + [minimap](#minimap) + [phone](#phone) + [osmlink](#osmlink) - + [wikipedialink](#wikipedialink) + [email](#email) + [website](#website) + [wheelchair-access](#wheelchair-access) @@ -44,12 +43,6 @@ The following items can be easily reused in your layers + [internet](#internet) + [internet-fee](#internet-fee) + [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()}? -on osm + *Read-only tagrendering* - - - - - - - - -### wikipedialink - - - -Wikipedia - -*Read-only tagrendering* - - - - - WD + - Uploading... @@ -253,7 +230,7 @@ Are dogs allowed in this business? {description} -Is there still something relevant you couldn't give in the previous questions? Add it here.
Don't repeat already stated facts +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 - - - - -### 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 - - - -phone - -*Read-only tagrendering* - - - -### emaillink - - - -email - -*Read-only tagrendering* - - - -### smokingicon - - - -*Read-only tagrendering* - - - - - no-smoking - - smoking-allowed - - - - -### 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) diff --git a/Docs/Layers/artwork.md b/Docs/Layers/artwork.md index 30edeb27c..f83d13c86 100644 --- a/Docs/Layers/artwork.md +++ b/Docs/Layers/artwork.md @@ -378,7 +378,7 @@ This tagrendering has labels `bench-questions` -The question is *Does this bench have an inscription?
E.g. on a mounted plaque, in the backrest, ...
* +The question is *Does this bench have an inscription?* This rendering asks information about the property [inscription](https://wiki.openstreetmap.org/wiki/Key:inscription) diff --git a/Docs/Layers/bench.md b/Docs/Layers/bench.md index 492b54da4..f9dfc60ea 100644 --- a/Docs/Layers/bench.md +++ b/Docs/Layers/bench.md @@ -225,7 +225,7 @@ This tagrendering has labels `bench-questions` -The question is *Does this bench have an inscription?
E.g. on a mounted plaque, in the backrest, ...
* +The question is *Does this bench have an 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?
E.g. it has an integrated painting, statue or other non-trivial, creative work
* +The question is *Does this bench have an artistic element?* diff --git a/Docs/Layers/bicycle_library.md b/Docs/Layers/bicycle_library.md index a5ed32cb6..a730f4076 100644 --- a/Docs/Layers/bicycle_library.md +++ b/Docs/Layers/bicycle_library.md @@ -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.
Don't repeat already stated facts* +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) diff --git a/Docs/Layers/bike_shop.md b/Docs/Layers/bike_shop.md index bc5e447ba..5ca275fcf 100644 --- a/Docs/Layers/bike_shop.md +++ b/Docs/Layers/bike_shop.md @@ -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.
Don't repeat already stated facts* +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) diff --git a/Docs/Layers/bike_themed_object.md b/Docs/Layers/bike_themed_object.md index ddd0e9ee5..2db33554a 100644 --- a/Docs/Layers/bike_themed_object.md +++ b/Docs/Layers/bike_themed_object.md @@ -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.
Don't repeat already stated facts* +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) diff --git a/Docs/Layers/climbing_route.md b/Docs/Layers/climbing_route.md index d4bad7baf..a453fbe35 100644 --- a/Docs/Layers/climbing_route.md +++ b/Docs/Layers/climbing_route.md @@ -153,7 +153,7 @@ This is rendered with `This route has {climbing:bolts} bolts
Don't repeat already stated facts* +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) diff --git a/Docs/Layers/entrance.md b/Docs/Layers/entrance.md index e9687b296..3e2d67c48 100644 --- a/Docs/Layers/entrance.md +++ b/Docs/Layers/entrance.md @@ -140,7 +140,7 @@ The question is *What type of entrance is this?* -The question is *What is the type of this door?
Wether or not the door is automated is asked in the next question* +The question is *What is the type of this door?* diff --git a/Docs/Layers/icons.md b/Docs/Layers/icons.md new file mode 100644 index 000000000..1a2685f4e --- /dev/null +++ b/Docs/Layers/icons.md @@ -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 +----------- | ------ | ------------------------------------------ +[](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) +[](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) +[](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 + + + + + + - *WD* 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 + + + + + + - *no-smoking* corresponds with `smoking=no` + - *smoking-allowed* 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~^(.*\/-.*)$` + - ** 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) diff --git a/Docs/Layers/sport_pitch.md b/Docs/Layers/sport_pitch.md index 442022688..14b8f1b80 100644 --- a/Docs/Layers/sport_pitch.md +++ b/Docs/Layers/sport_pitch.md @@ -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 ---- | ---------- | --------- open_now.0 | Opened now | _isOpen=yes diff --git a/Docs/Layers/toilet.md b/Docs/Layers/toilet.md index 72ff4784d..130ff8482 100644 --- a/Docs/Layers/toilet.md +++ b/Docs/Layers/toilet.md @@ -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.
Don't repeat already stated facts* +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) diff --git a/Docs/Layers/toilet_at_amenity.md b/Docs/Layers/toilet_at_amenity.md index e79ed9e92..df443602c 100644 --- a/Docs/Layers/toilet_at_amenity.md +++ b/Docs/Layers/toilet_at_amenity.md @@ -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.
Don't repeat already stated facts* +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) diff --git a/Docs/Layers/usersettings.md b/Docs/Layers/usersettings.md index aaba87fce..ba823c070 100644 --- a/Docs/Layers/usersettings.md +++ b/Docs/Layers/usersettings.md @@ -52,6 +52,7 @@ this quick overview is incomplete attribute | type | values which are supported by this layer ----------- | ------ | ------------------------------------------ [](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) +[](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) [](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) [](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) [](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 diff --git a/Docs/SpecialInputElements.md b/Docs/SpecialInputElements.md index 525bc52ad..ed4c9b0f4 100644 --- a/Docs/SpecialInputElements.md +++ b/Docs/SpecialInputElements.md @@ -104,8 +104,8 @@ options | A JSON-object of type `{ removePrefixes: string[], removePostfixes: st 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 -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 +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. 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 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", "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:" @@ -221,7 +222,7 @@ options | A JSON-object of type `{ prefix: string, postfix: string }`. 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 diff --git a/Docs/Themes/mapcomplete-changes.md b/Docs/Themes/mapcomplete-changes.md index 5b69e7f18..0057e3d09 100644 --- a/Docs/Themes/mapcomplete-changes.md +++ b/Docs/Themes/mapcomplete-changes.md @@ -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: @@ -25,6 +25,12 @@ Available languages: - 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) diff --git a/Docs/URL_Parameters.md b/Docs/URL_Parameters.md index c9ac20363..c9c10727f 100644 --- a/Docs/URL_Parameters.md +++ b/Docs/URL_Parameters.md @@ -18,6 +18,7 @@ - [fs-filter](#fs-filter) - [fs-add-new](#fs-add-new) - [fs-welcome-message](#fs-welcome-message) + - [fs-community-index](#fs-community-index) - [fs-iframe-popout](#fs-iframe-popout) - [fs-more-quests](#fs-more-quests) - [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 ------------------