mapcomplete/Docs/Layers/ticket_validator.md

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

246 lines
11 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
2024-07-12 03:16:41 +02:00
# ticket_validator
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
[object Object]
2022-12-16 13:42:37 +01:00
Find ticket validators to validate public transport tickets
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
- This layer is shown at zoomlevel **18** and higher
2024-05-07 00:41:59 +02:00
## Table of contents
2024-07-12 03:16:41 +02:00
1. [Themes using this layer](#themes-using-this-layer)
2. [Basic tags for this layer](#basic-tags-for-this-layer)
3. [Supported attributes](#supported-attributes)
2024-06-18 21:11:42 +02:00
- [just_created](#just_created)
- [nothing_known](#nothing_known)
- [images](#images)
- [repeated](#repeated)
- [single_level](#single_level)
- [barrier](#barrier)
- [validator-operator](#validator-operator)
- [payment-options](#payment-options)
- [leftover-questions](#leftover-questions)
- [minimap](#minimap)
- [nearby_images](#nearby_images)
- [move-button](#move-button)
- [delete-button](#delete-button)
- [lod](#lod)
- [favourite_status](#favourite_status)
- [share](#share)
- [qr_code](#qr_code)
- [last_edit](#last_edit)
- [all-tags](#all-tags)
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
## Themes using this layer
2022-12-16 13:42:37 +01:00
2024-07-12 03:16:41 +02:00
- [stations](https://mapcomplete.org/stations)
2022-12-16 13:42:37 +01:00
2024-07-12 03:16:41 +02:00
## Basic tags for this layer
2022-12-16 13:42:37 +01:00
2024-05-07 00:41:59 +02: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>**
2022-12-16 13:42:37 +01:00
2024-05-07 00:41:59 +02:00
[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)
2024-07-12 03:16:41 +02:00
## Supported attributes
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
**Warning:**,this quick overview is incomplete,
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
| attribute | type | values which are supported by this layer |
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/id#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | Multiple choice | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/level#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [float](../SpecialInputElements.md#float) | [object Object] [object Object] [object Object] |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/barrier#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | Multiple choice | [object Object] |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/operator#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [string](../SpecialInputElements.md#string) | [object Object] |
2024-05-07 00:41:59 +02:00
2022-12-16 13:42:37 +01:00
2024-06-18 21:11:42 +02:00
### just_created
2023-05-08 00:20:32 +02:00
This element shows a 'thank you' that the contributor has recently created this element
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2022-12-16 13:42:37 +01:00
2024-06-19 00:08:40 +02:00
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/party.svg' style='width: 3rem; height: 3rem'> *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with id~.+
2024-06-16 16:06:26 +02: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~.+
This tagrendering has labels
2024-06-18 21:11:42 +02:00
`added_by_default_top`
### nothing_known
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time>=300 & _backend~.+
This tagrendering has labels
`added_by_default_top`
### images
2024-05-07 00:41:59 +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
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2022-12-16 13:42:37 +01:00
2024-06-18 21:11:42 +02:00
### repeated
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
This tagrendering is only visible in the popup if the following condition is met: repeat_on~.+
This tagrendering has labels
`level`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### single_level
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02: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`
2024-06-19 00:08:40 +02: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>
2024-06-16 16:06:26 +02:00
- _This option cannot be chosen as answer_
2024-06-19 00:08:40 +02:00
- *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=
2024-06-16 16:06:26 +02:00
- _This option cannot be chosen as answer_
2024-06-19 00:08:40 +02:00
- *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
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`level`
2022-12-16 13:42:37 +01:00
2024-06-18 21:11:42 +02:00
### barrier
2022-12-16 13:42:37 +01:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2022-12-16 13:42:37 +01:00
2024-06-19 00:08:40 +02: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>
2024-06-16 16:06:26 +02:00
This tagrendering is only visible in the popup if the following condition is met: barrier~.+
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### validator-operator
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
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}`
2024-06-19 00:08:40 +02: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>
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### payment-options
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
The question is `Which methods of payment are accepted here?`
2022-12-16 13:42:37 +01:00
2024-06-19 00:08:40 +02:00
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/questions/cash.svg' style='width: 3rem; height: 3rem'> *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>
2024-06-16 16:06:26 +02: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>
2024-06-19 00:08:40 +02:00
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/questions/payment_card.svg' style='width: 3rem; height: 3rem'> *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>
2024-06-16 16:06:26 +02: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>
2024-06-19 00:08:40 +02:00
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/questions/qrcode.svg' style='width: 3rem; height: 3rem'> *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>
2024-06-16 16:06:26 +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>
2024-06-19 00:08:40 +02: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>
2024-06-16 16:06:26 +02:00
- _This option cannot be chosen as answer_
- 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>
2024-06-19 00:08:40 +02: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>
2024-06-16 16:06:26 +02: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>
2022-12-16 13:42:37 +01:00
2023-04-15 03:02:01 +02:00
2024-06-18 21:11:42 +02:00
### leftover-questions
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### minimap
Shows a small map with the feature. Added by default to every popup
_This tagrendering has no question and is thus read-only_
### nearby_images
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
This tagrendering has labels
2024-06-18 21:11:42 +02:00
`added_by_default_conditional`
### move-button
2023-04-15 03:02:01 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2023-04-15 03:02:01 +02:00
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### delete-button
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2023-06-11 02:32:14 +02:00
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### lod
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering has labels
`added_by_default`
2023-06-11 02:32:14 +02:00
2024-06-18 21:11:42 +02:00
### favourite_status
2023-04-15 03:02:01 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### share
2023-12-30 15:24:30 +01:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2023-12-30 15:24:30 +01:00
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### qr_code
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2023-12-30 15:24:30 +01:00
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`added_by_default`
2023-12-30 15:24:30 +01:00
2024-06-18 21:11:42 +02:00
### last_edit
Gives some metainfo about the last edit and who did edit it - rendering only
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering is only visible in the popup if the following condition is met: _last_edit:changeset~.+ & _last_edit:contributor~.+
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### all-tags
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2023-05-08 00:20:32 +02:00
2024-07-12 03:16:41 +02:00
2024-05-07 00:41:59 +02: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)