mapcomplete/Docs/Layers/ticket_validator.md

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

330 lines
10 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-05-07 00:41:59 +02:00
ticket_validator
==================
2022-12-16 13:42:37 +01:00
Find ticket validators to validate public transport tickets
2024-05-07 00:41:59 +02:00
- This layer is shown at zoomlevel **18** and higher
## Table of contents
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-)
- [just_created](#just_created)
- [images](#images)
- [repeated](#repeated)
- [single_level](#single_level)
- [barrier](#barrier)
- [validator-operator](#validator-operator)
- [payment-options](#payment-options)
- [leftover-questions](#leftover-questions)
- [lod](#lod)
- [minimap](#minimap)
- [move-button](#move-button)
- [delete-button](#delete-button)
- [last_edit](#last_edit)
- [favourite_status](#favourite_status)
- [qr_code](#qr_code)
- [share](#share)
- [all-tags](#all-tags)
Themes using this layer
2024-04-28 03:46:56 +02:00
-------------------------
2022-12-16 13:42:37 +01:00
2024-05-07 00:41:59 +02:00
- [stations](https://mapcomplete.org/stations)
2022-12-16 13:42:37 +01:00
2024-05-07 00:41:59 +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)
Supported attributes
----------------------
Warning:
this quick overview is incomplete
2022-12-16 13:42:37 +01:00
2024-05-07 00:41:59 +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
2024-05-07 00:41:59 +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
2024-05-07 00:41:59 +02: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
2024-05-07 00:41:59 +02:00
This tagrendering has labels `added_by_default`
2022-12-16 13:42:37 +01:00
2024-05-07 00:41:59 +02:00
### images
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
2024-05-07 00:41:59 +02:00
### repeated
2023-09-28 23:50:27 +02:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
2023-09-28 23:50:27 +02:00
This tagrendering is only visible in the popup if the following condition is met: `repeat_on~.+`
2024-05-07 00:41:59 +02:00
This tagrendering has labels `level`
### single_level
The question is *On what level is this feature located?*
2022-12-16 13:42:37 +01:00
2024-05-07 00:41:59 +02:00
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-09-28 23:50:27 +02:00
2022-12-16 13:42:37 +01:00
2024-05-07 00:41:59 +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>
- _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>
This tagrendering has labels `level`
### barrier
2022-12-16 13:42:37 +01:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +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>
2022-12-16 13:42:37 +01:00
This tagrendering is only visible in the popup if the following condition is met: `barrier~.+`
2024-05-07 00:41:59 +02:00
### 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}`
- *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>
2022-12-16 13:42:37 +01:00
2023-04-15 03:02:01 +02:00
2024-05-07 00:41:59 +02:00
### payment-options
The question is *Which methods of payment are accepted here?*
- *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>
- 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>
- *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>
- 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>
- *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>
- 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>
- *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_
- 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>
- *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>
- 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>
### leftover-questions
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
### lod
2024-04-13 02:40:21 +02:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
This tagrendering has labels `added_by_default`
### minimap
2023-04-15 03:02:01 +02:00
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
2024-05-07 00:41:59 +02:00
### move-button
2023-06-11 02:32:14 +02:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
### delete-button
2023-06-11 02:32:14 +02:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
### last_edit
2023-04-15 03:02:01 +02:00
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
2024-05-07 00:41:59 +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:changeset~.+ & _last_edit:contributor~.+`
2023-05-08 00:20:32 +02:00
2024-05-07 00:41:59 +02:00
This tagrendering has labels `added_by_default`
### favourite_status
2023-12-19 22:08:00 +01:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
### qr_code
2023-12-30 15:24:30 +01:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
This tagrendering has labels `added_by_default`
### share
2023-12-30 15:24:30 +01:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
This tagrendering has labels `added_by_default`
### all-tags
2023-05-08 00:20:32 +02:00
This tagrendering has no question and is thus read-only
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)