mapcomplete/Docs/Layers/ticket_validator.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

252 lines
9 KiB
Markdown
Raw Normal View History

2023-02-12 23:08:57 +01:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
2022-12-16 13:42:37 +01:00
ticket_validator
==================
2023-10-07 03:04:29 +02:00
2022-12-16 13:42:37 +01:00
Find ticket validators to validate public transport tickets
2023-10-14 23:29:16 +02:00
- This layer is shown at zoomlevel **18** and higher
2022-12-16 13:42:37 +01:00
Basic tags for this layer
---------------------------
2023-11-13 03:15:48 +01:00
Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dticket_validator' target='_blank'>ticket_validator</a>**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22amenity%22%3D%22ticket_validator%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
2022-12-16 13:42:37 +01:00
2023-05-08 00:20:32 +02:00
Supported attributes
----------------------
2022-12-16 13:42:37 +01:00
2023-05-08 00:20:32 +02:00
Warning:
2022-12-16 13:42:37 +01:00
2023-05-08 00:20:32 +02:00
this quick overview is incomplete
2022-12-16 13:42:37 +01:00
2023-05-08 00:20:32 +02:00
attribute | type | values which are supported by this layer
----------- | ------ | ------------------------------------------
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id) | Multiple choice |
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/level#values) [level](https://wiki.openstreetmap.org/wiki/Key:level) | [float](../SpecialInputElements.md#float) | [0](https://wiki.openstreetmap.org/wiki/Tag:level%3D0) [1](https://wiki.openstreetmap.org/wiki/Tag:level%3D1) [-1](https://wiki.openstreetmap.org/wiki/Tag:level%3D-1)
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/barrier#values) [barrier](https://wiki.openstreetmap.org/wiki/Key:barrier) | Multiple choice | [gate](https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate)
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/operator#values) [operator](https://wiki.openstreetmap.org/wiki/Key:operator) | [string](../SpecialInputElements.md#string) | [Nederlandse Spoorwegen](https://wiki.openstreetmap.org/wiki/Tag:operator%3DNederlandse Spoorwegen)
2022-12-16 13:42:37 +01:00
2023-05-08 00:20:32 +02:00
### just_created
2022-12-16 13:42:37 +01:00
2023-05-08 00:20:32 +02:00
This element shows a 'thank you' that the contributor has recently created this element
2022-12-16 13:42:37 +01:00
2023-05-08 00:20:32 +02:00
This tagrendering has no question and is thus read-only
2022-12-16 13:42:37 +01:00
2023-11-13 03:15:48 +01:00
- *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with id~.+
2023-05-08 00:20:32 +02:00
2023-11-13 03:15:48 +01:00
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+`
2023-05-08 00:20:32 +02:00
2022-12-16 13:42:37 +01:00
### images
2023-07-20 13:28:38 +02:00
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
2022-12-16 13:42:37 +01:00
This tagrendering has no question and is thus read-only
2023-09-28 23:50:27 +02:00
### repeated
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `repeat_on~.+`
This tagrendering has labels `level`
### single_level
2022-12-16 13:42:37 +01:00
The question is *On what level is this feature located?*
This rendering asks information about the property [level](https://wiki.openstreetmap.org/wiki/Key:level)
This is rendered with `Located on the {level}th floor`
2023-11-13 03:15:48 +01:00
- *Located underground* corresponds 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* corresponds 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>
- *Located on the ground floor* corresponds with level=
- _This option cannot be chosen as answer_
- *Located on the first floor* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:level' target='_blank'>level</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:level%3D1' target='_blank'>1</a>
- *Located on the first basement level* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:level' target='_blank'>level</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:level%3D-1' target='_blank'>-1</a>
2022-12-16 13:42:37 +01:00
2023-09-28 23:50:27 +02:00
This tagrendering has labels `level`
2022-12-16 13:42:37 +01:00
### barrier
This tagrendering has no question and is thus read-only
2023-11-13 03:15:48 +01:00
- *This ticket validator is part of a gate* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:barrier' target='_blank'>barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate' target='_blank'>gate</a>
2022-12-16 13:42:37 +01:00
This tagrendering is only visible in the popup if the following condition is met: `barrier~.+`
### validator-operator
The question is *Who is the operator of this ticket validator?*
This rendering asks information about the property [operator](https://wiki.openstreetmap.org/wiki/Key:operator)
This is rendered with `This ticket validator is operated by {operator}`
2023-11-13 03:15:48 +01:00
- *Dutch Railways (NS)* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:operator' target='_blank'>operator</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:operator%3DNederlandse Spoorwegen' target='_blank'>Nederlandse Spoorwegen</a>
2023-05-07 23:50:39 +02:00
2022-12-16 13:42:37 +01:00
### payment-options
The question is *Which methods of payment are accepted here?*
2023-11-13 03:15:48 +01:00
- *Cash is accepted here* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:payment:cash' target='_blank'>payment:cash</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:cash%3Dyes' target='_blank'>yes</a>
2022-12-16 13:42:37 +01:00
- Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:payment:cash' target='_blank'>payment:cash</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:cash%3Dno' target='_blank'>no</a>
2023-11-13 03:15:48 +01:00
- *Payment cards are accepted here* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:payment:cards' target='_blank'>payment:cards</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:cards%3Dyes' target='_blank'>yes</a>
2022-12-16 13:42:37 +01:00
- Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:payment:cards' target='_blank'>payment:cards</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:cards%3Dno' target='_blank'>no</a>
2023-11-13 03:15:48 +01:00
- *Payment by QR-code is possible here* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:payment:qr_code' target='_blank'>payment:qr_code</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:qr_code%3Dyes' target='_blank'>yes</a>
2023-06-01 14:32:45 +02:00
- Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:payment:qr_code' target='_blank'>payment:qr_code</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:qr_code%3Dno' target='_blank'>no</a>
2023-11-13 03:15:48 +01:00
- *This ticket validator accepts OV-Chipkaart* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:payment:OV-Chipkaart' target='_blank'>payment:OV-Chipkaart</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:OV-Chipkaart%3Dyes' target='_blank'>yes</a>
- _This option cannot be chosen as answer_
2022-12-16 13:42:37 +01:00
- Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:payment:OV-Chipkaart' target='_blank'>payment:OV-Chipkaart</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:OV-Chipkaart%3Dno' target='_blank'>no</a>
2023-11-13 03:15:48 +01:00
- *This ticket validator accepts OV-Chipkaart* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:payment:ov-chipkaart' target='_blank'>payment:ov-chipkaart</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:ov-chipkaart%3Dyes' target='_blank'>yes</a>
2022-12-16 13:42:37 +01:00
- Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:payment:ov-chipkaart' target='_blank'>payment:ov-chipkaart</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:ov-chipkaart%3Dno' target='_blank'>no</a>
2023-04-15 03:02:01 +02:00
### leftover-questions
This tagrendering has no question and is thus read-only
### minimap
Shows a small map with the feature. Added by default to every popup
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2023-06-11 02:32:14 +02:00
### move-button
This tagrendering has no question and is thus read-only
### delete-button
This tagrendering has no question and is thus read-only
2023-04-15 03:02:01 +02:00
### last_edit
Gives some metainfo about the last edit and who did edit it - rendering only
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2023-11-13 03:15:48 +01:00
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:changeset~.+ & _last_edit:contributor~.+`
2023-05-08 00:20:32 +02:00
### all-tags
This tagrendering has no question and is thus read-only
2022-12-16 13:42:37 +01:00
2023-02-12 23:08:57 +01:00
This document is autogenerated from [assets/layers/ticket_validator/ticket_validator.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/ticket_validator/ticket_validator.json)