Improve documentation

This commit is contained in:
Pieter Vander Vennet 2022-12-08 00:48:44 +01:00
parent ae146606e0
commit 4d930ae985
123 changed files with 4874 additions and 4239 deletions

View file

@ -70,6 +70,11 @@ 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/inscription#values) [inscription](https://wiki.openstreetmap.org/wiki/Key:inscription) | [text](../SpecialInputElements.md#text) |
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/tourism#values) [tourism](https://wiki.openstreetmap.org/wiki/Key:tourism) | Multiple choice | [artwork](https://wiki.openstreetmap.org/wiki/Tag:tourism%3Dartwork) [](https://wiki.openstreetmap.org/wiki/Tag:tourism%3D)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/historic#values) [historic](https://wiki.openstreetmap.org/wiki/Key:historic) | Multiple choice | [memorial](https://wiki.openstreetmap.org/wiki/Tag:historic%3Dmemorial) [](https://wiki.openstreetmap.org/wiki/Tag:historic%3D)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/artwork_type#values) [artwork_type](https://wiki.openstreetmap.org/wiki/Key:artwork_type) | [string](../SpecialInputElements.md#string) | [architecture](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Darchitecture) [mural](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dmural) [painting](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dpainting) [sculpture](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dsculpture) [statue](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dstatue) [bust](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dbust) [stone](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dstone) [installation](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dinstallation) [graffiti](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dgraffiti) [relief](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Drelief) [azulejo](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dazulejo) [tilework](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dtilework) [woodcarving](https://wiki.openstreetmap.org/wiki/Tag:artwork_type%3Dwoodcarving)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/artist:wikidata#values) [artist:wikidata](https://wiki.openstreetmap.org/wiki/Key:artist:wikidata) | [wikidata](../SpecialInputElements.md#wikidata) |
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/artist_name#values) [artist_name](https://wiki.openstreetmap.org/wiki/Key:artist_name) | [string](../SpecialInputElements.md#string) |
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/website#values) [website](https://wiki.openstreetmap.org/wiki/Key:website) | [url](../SpecialInputElements.md#url) |
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/subject:wikidata#values) [subject:wikidata](https://wiki.openstreetmap.org/wiki/Key:subject:wikidata) | [wikidata](../SpecialInputElements.md#wikidata) |
@ -90,14 +95,14 @@ This tagrendering has no question and is thus read-only
The question is Does this bench have a backrest?
The question is *Does this bench have a backrest?*
- Does have a backrest corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:backrest' target='_blank'>backrest</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:backrest%3Dyes' target='_blank'>yes</a>`
- Does <b>not</b> have a backrest corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:backrest' target='_blank'>backrest</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:backrest%3Dno' target='_blank'>no</a>`
- *Does have a backrest* corresponds with `backrest=yes`
- *Does <b>not</b> have a backrest* corresponds with `backrest=no`
This tagrendering has labels `bench-questions`
@ -108,17 +113,17 @@ This tagrendering has labels `bench-questions`
The question is How many seats does this bench have?
The question is *How many seats does this bench have?*
This rendering asks information about the property [seats](https://wiki.openstreetmap.org/wiki/Key:seats)
This is rendered with {seats} seats
This is rendered with `{seats} seats`
- This bench does not have separated seats corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:seats:separated' target='_blank'>seats:separated</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:seats:separated%3Dno' target='_blank'>no</a>`
- *This bench does not have separated seats* corresponds with `seats:separated=no`
This tagrendering has labels `bench-questions`
@ -129,22 +134,22 @@ This tagrendering has labels `bench-questions`
The question is What is the bench (seating) made from?
The question is *What is the bench (seating) made from?*
This rendering asks information about the property [material](https://wiki.openstreetmap.org/wiki/Key:material)
This is rendered with Material: {material}
This is rendered with `Material: {material}`
- The seating is made from wood corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:material' target='_blank'>material</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:material%3Dwood' target='_blank'>wood</a>`
- The seating is made from metal corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:material' target='_blank'>material</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:material%3Dmetal' target='_blank'>metal</a>`
- The seating is made from stone corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:material' target='_blank'>material</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:material%3Dstone' target='_blank'>stone</a>`
- The seating is made from concrete corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:material' target='_blank'>material</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:material%3Dconcrete' target='_blank'>concrete</a>`
- The seating is made from plastic corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:material' target='_blank'>material</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:material%3Dplastic' target='_blank'>plastic</a>`
- The seating is made from steel corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:material' target='_blank'>material</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:material%3Dsteel' target='_blank'>steel</a>`
- *The seating is made from wood* corresponds with `material=wood`
- *The seating is made from metal* corresponds with `material=metal`
- *The seating is made from stone* corresponds with `material=stone`
- *The seating is made from concrete* corresponds with `material=concrete`
- *The seating is made from plastic* corresponds with `material=plastic`
- *The seating is made from steel* corresponds with `material=steel`
This tagrendering has labels `bench-questions`
@ -155,11 +160,11 @@ This tagrendering has labels `bench-questions`
The question is In which direction are you looking when sitting on the bench?
The question is *In which direction are you looking when sitting on the bench?*
This rendering asks information about the property [direction](https://wiki.openstreetmap.org/wiki/Key:direction)
This is rendered with When sitting on the bench, one looks towards {direction}°.
This is rendered with `When sitting on the bench, one looks towards {direction}°.`
@ -171,24 +176,24 @@ This tagrendering has labels `bench-questions`
The question is Which colour does this bench have?
The question is *Which colour does this bench have?*
This rendering asks information about the property [colour](https://wiki.openstreetmap.org/wiki/Key:colour)
This is rendered with Colour: {colour}
This is rendered with `Colour: {colour}`
- Colour: brown corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dbrown' target='_blank'>brown</a>`
- Colour: green corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dgreen' target='_blank'>green</a>`
- Colour: gray corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dgray' target='_blank'>gray</a>`
- Colour: white corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dwhite' target='_blank'>white</a>`
- Colour: red corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dred' target='_blank'>red</a>`
- Colour: black corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dblack' target='_blank'>black</a>`
- Colour: blue corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dblue' target='_blank'>blue</a>`
- Colour: yellow corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dyellow' target='_blank'>yellow</a>`
- *Colour: brown* corresponds with `colour=brown`
- *Colour: green* corresponds with `colour=green`
- *Colour: gray* corresponds with `colour=gray`
- *Colour: white* corresponds with `colour=white`
- *Colour: red* corresponds with `colour=red`
- *Colour: black* corresponds with `colour=black`
- *Colour: blue* corresponds with `colour=blue`
- *Colour: yellow* corresponds with `colour=yellow`
This tagrendering has labels `bench-questions`
@ -199,17 +204,17 @@ This tagrendering has labels `bench-questions`
The question is When was this bench last surveyed?
The question is *When was this bench last surveyed?*
This rendering asks information about the property [survey:date](https://wiki.openstreetmap.org/wiki/Key:survey:date)
This is rendered with This bench was last surveyed on {survey:date}
This is rendered with `This bench was last surveyed on {survey:date}`
- Surveyed today! corresponds with `survey:date=`
- *Surveyed today!* corresponds with `survey:date=`
This tagrendering has labels `bench-questions`
@ -220,18 +225,18 @@ 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?<div class='subtle text-lg'>E.g. on a mounted plaque, in the backrest, ...</div>*
This rendering asks information about the property [inscription](https://wiki.openstreetmap.org/wiki/Key:inscription)
This is rendered with This bench does have the following inscription:<br/><p><i>{inscription}</i></p>
This is rendered with `This bench does have the following inscription:<br/><p><i>{inscription}</i></p>`
- This bench does not have an inscription corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:not:inscription' target='_blank'>not:inscription</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:not:inscription%3Dyes' target='_blank'>yes</a>`
- This bench does <span class='subtle'>(probably)</span> not have an inscription corresponds with ``
- *This bench does not have an inscription* corresponds with `not:inscription=yes`
- *This bench does <span class='subtle'>(probably)</span> not have an inscription* corresponds with ``
- This option cannot be chosen as answer
@ -243,14 +248,14 @@ 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?<div class='subtle text-lg'>E.g. it has an integrated painting, statue or other non-trivial, creative work</div>*
- This bench has an integrated artwork corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:tourism' target='_blank'>tourism</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:tourism%3Dartwork' target='_blank'>artwork</a>`
- This bench does not have an integrated artwork corresponds with ``
- *This bench has an integrated artwork* corresponds with `tourism=artwork`
- *This bench does not have an integrated artwork* corresponds with ``
@ -259,14 +264,14 @@ The question is Does this bench have an artistic element?<div class='subtle tex
The question is Does this bench act as memorial for someone or something?
The question is *Does this bench act as memorial for someone or something?*
- This bench is a memorial for someone or something corresponds with `<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 bench is a <b>not</b> a memorial for someone or something corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:not:historic' target='_blank'>not:historic</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:not:historic%3Dmemorial' target='_blank'>memorial</a>`
- *This bench is a memorial for someone or something* corresponds with `historic=memorial`
- *This bench is a <b>not</b> a memorial for someone or something* corresponds with `not:historic=memorial`
This tagrendering is only visible in the popup if the following condition is met: `historic=memorial|inscription~.+|memorial=bench|tourism=artwork`
@ -275,15 +280,122 @@ This tagrendering has labels `bench-questions`
### artwork-artwork_type
The question is *What is the type of this artwork?*
This rendering asks information about the property [artwork_type](https://wiki.openstreetmap.org/wiki/Key:artwork_type)
This is rendered with `This is a {artwork_type}`
- *Architecture* corresponds with `artwork_type=architecture`
- *Mural* corresponds with `artwork_type=mural`
- *Painting* corresponds with `artwork_type=painting`
- *Sculpture* corresponds with `artwork_type=sculpture`
- *Statue* corresponds with `artwork_type=statue`
- *Bust* corresponds with `artwork_type=bust`
- *Stone* corresponds with `artwork_type=stone`
- *Installation* corresponds with `artwork_type=installation`
- *Graffiti* corresponds with `artwork_type=graffiti`
- *Relief* corresponds with `artwork_type=relief`
- *Azulejo (Spanish decorative tilework)* corresponds with `artwork_type=azulejo`
- *Tilework* corresponds with `artwork_type=tilework`
- *Woodcarving* corresponds with `artwork_type=woodcarving`
This tagrendering is only visible in the popup if the following condition is met: `tourism=artwork`
This tagrendering has labels `artwork-question`
### artwork-artist-wikidata
The question is *Who made this artwork?*
This rendering asks information about the property [artist:wikidata](https://wiki.openstreetmap.org/wiki/Key:artist:wikidata)
This is rendered with `This artwork was made by {wikidata_label(artist:wikidata):font-weight:bold}<br/>{wikipedia(artist:wikidata)}`
This tagrendering is only visible in the popup if the following condition is met: `tourism=artwork`
This tagrendering has labels `artwork-question`
### artwork-artist_name
The question is *Which artist created this?*
This rendering asks information about the property [artist_name](https://wiki.openstreetmap.org/wiki/Key:artist_name)
This is rendered with `Created by {artist_name}`
This tagrendering is only visible in the popup if the following condition is met: `tourism=artwork`
This tagrendering has labels `artwork-question`
### artwork-website
The question is *Is there a website with more information about this artwork?*
This rendering asks information about the property [website](https://wiki.openstreetmap.org/wiki/Key:website)
This is rendered with `More information on <a href='{website}' target='_blank'>this website</a>`
This tagrendering is only visible in the popup if the following condition is met: `tourism=artwork`
This tagrendering has labels `artwork-question`
### artwork_subject
The question is *What does this artwork depict?*
This rendering asks information about the property [subject:wikidata](https://wiki.openstreetmap.org/wiki/Key:subject:wikidata)
This is rendered with `This artwork depicts {wikidata_label(subject:wikidata)}{wikipedia(subject:wikidata)}`
This tagrendering is only visible in the popup if the following condition is met: `tourism=artwork`
This tagrendering has labels `artwork-question`
#### Filters
| id | question | osmTags |
|---------------------|---------------|--------------------|
| bench_is_memorial.0 | is a memorial | historic=memorial\|memorial=bench |
id | question | osmTags
---- | ---------- | ---------
bench_is_memorial.0 | is a memorial | historic=memorial\|memorial=bench
@ -304,4 +416,4 @@ has_image.1 | Has at least one image | image~.+\|image:0~.+|image:1~.+|image:2~.
has_image.2 | Probably does not have an image |
This document is autogenerated from [assets/layers/bench/bench.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/bench/bench.json)
This document is autogenerated from [assets/layers/bench/bench.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/bench/bench.json)