mapcomplete/Docs/Layers/ticket_validator.md

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

211 lines
9.2 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-04-28 03:46:56 +02:00
ticket\_validator
=================
2022-12-16 13:42:37 +01:00
Find ticket validators to validate public transport tickets
2024-04-28 03:46:56 +02:00
* This layer is shown at zoomlevel **18** and higher
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
Table of contents
-----------------
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +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-)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
* [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)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
Themes using this layer
-----------------------
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
* [stations](https://mapcomplete.org/stations)
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
Basic tags for this layer
-------------------------
2024-04-28 03:46:56 +02:00
Elements must match the expression **[amenity](https://wiki.openstreetmap.org/wiki/Key:amenity)\=[ticket\_validator](https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dticket_validator)**
2024-04-28 03:46:56 +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-04-28 03:46:56 +02:00
Supported attributes
--------------------
2024-04-28 03:46:56 +02:00
Warning:
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
this quick overview is incomplete
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
attribute
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
type
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
values which are supported by this layer
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
Multiple choice
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/level#values) [level](https://wiki.openstreetmap.org/wiki/Key:level)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
[float](../SpecialInputElements.md#float)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
[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)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/barrier#values) [barrier](https://wiki.openstreetmap.org/wiki/Key:barrier)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
Multiple choice
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
[gate](https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/operator#values) [operator](https://wiki.openstreetmap.org/wiki/Key:operator)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
[string](../SpecialInputElements.md#string)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
\[Nederlandse Spoorwegen\]([https://wiki.openstreetmap.org/wiki/Tag:operator%3DNederlandse](https://wiki.openstreetmap.org/wiki/Tag:operator%3DNederlandse) Spoorwegen)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +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-04-28 03:46:56 +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-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
### images
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +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
2024-04-28 03:46:56 +02:00
### repeated
2023-09-28 23:50:27 +02:00
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~.+`
2024-04-28 03:46:56 +02:00
This tagrendering has labels `level`
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
### single\_level
2023-09-28 23:50:27 +02:00
2024-04-28 03:46:56 +02:00
The question is _On what level is this feature located?_
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +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`
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
* _Located underground_ corresponds with [location](https://wiki.openstreetmap.org/wiki/Key:location)\=[underground](https://wiki.openstreetmap.org/wiki/Tag:location%3Dunderground)
* _This option cannot be chosen as answer_
* _Located on the ground floor_ corresponds with [level](https://wiki.openstreetmap.org/wiki/Key:level)\=[0](https://wiki.openstreetmap.org/wiki/Tag:level%3D0)
* _Located on the ground floor_ corresponds with level=
* _This option cannot be chosen as answer_
* _Located on the first floor_ corresponds with [level](https://wiki.openstreetmap.org/wiki/Key:level)\=[1](https://wiki.openstreetmap.org/wiki/Tag:level%3D1)
* _Located on the first basement level_ corresponds with [level](https://wiki.openstreetmap.org/wiki/Key:level)\=[\-1](https://wiki.openstreetmap.org/wiki/Tag:level%3D-1)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
This tagrendering has labels `level`
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
### barrier
2022-12-16 13:42:37 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
* _This ticket validator is part of a gate_ corresponds with [barrier](https://wiki.openstreetmap.org/wiki/Key:barrier)\=[gate](https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate)
2022-12-16 13:42:37 +01:00
This tagrendering is only visible in the popup if the following condition is met: `barrier~.+`
2024-04-28 03:46:56 +02:00
### validator-operator
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
The question is _Who is the operator of this ticket validator?_
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
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}`
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
* _Dutch Railways (NS)_ corresponds with [operator](https://wiki.openstreetmap.org/wiki/Key:operator)\=[Nederlandse Spoorwegen](https://wiki.openstreetmap.org/wiki/Tag:operator%3DNederlandse Spoorwegen)
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
### payment-options
2022-12-16 13:42:37 +01:00
2024-04-28 03:46:56 +02:00
The question is _Which methods of payment are accepted here?_
2023-04-15 03:02:01 +02:00
2024-04-28 03:46:56 +02:00
* _Cash is accepted here_ corresponds with [payment:cash](https://wiki.openstreetmap.org/wiki/Key:payment:cash)\=[yes](https://wiki.openstreetmap.org/wiki/Tag:payment:cash%3Dyes)
* Unselecting this answer will add [payment:cash](https://wiki.openstreetmap.org/wiki/Key:payment:cash)\=[no](https://wiki.openstreetmap.org/wiki/Tag:payment:cash%3Dno)
* _Payment cards are accepted here_ corresponds with [payment:cards](https://wiki.openstreetmap.org/wiki/Key:payment:cards)\=[yes](https://wiki.openstreetmap.org/wiki/Tag:payment:cards%3Dyes)
* Unselecting this answer will add [payment:cards](https://wiki.openstreetmap.org/wiki/Key:payment:cards)\=[no](https://wiki.openstreetmap.org/wiki/Tag:payment:cards%3Dno)
* _Payment by QR-code is possible here_ corresponds with [payment:qr\_code](https://wiki.openstreetmap.org/wiki/Key:payment:qr_code)\=[yes](https://wiki.openstreetmap.org/wiki/Tag:payment:qr_code%3Dyes)
* Unselecting this answer will add [payment:qr\_code](https://wiki.openstreetmap.org/wiki/Key:payment:qr_code)\=[no](https://wiki.openstreetmap.org/wiki/Tag:payment:qr_code%3Dno)
* _This ticket validator accepts OV-Chipkaart_ corresponds with [payment:OV-Chipkaart](https://wiki.openstreetmap.org/wiki/Key:payment:OV-Chipkaart)\=[yes](https://wiki.openstreetmap.org/wiki/Tag:payment:OV-Chipkaart%3Dyes)
* _This option cannot be chosen as answer_
* Unselecting this answer will add [payment:OV-Chipkaart](https://wiki.openstreetmap.org/wiki/Key:payment:OV-Chipkaart)\=[no](https://wiki.openstreetmap.org/wiki/Tag:payment:OV-Chipkaart%3Dno)
* _This ticket validator accepts OV-Chipkaart_ corresponds with [payment:ov-chipkaart](https://wiki.openstreetmap.org/wiki/Key:payment:ov-chipkaart)\=[yes](https://wiki.openstreetmap.org/wiki/Tag:payment:ov-chipkaart%3Dyes)
* Unselecting this answer will add [payment:ov-chipkaart](https://wiki.openstreetmap.org/wiki/Key:payment:ov-chipkaart)\=[no](https://wiki.openstreetmap.org/wiki/Tag:payment:ov-chipkaart%3Dno)
2023-04-15 03:02:01 +02:00
2024-04-28 03:46:56 +02:00
### leftover-questions
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### lod
2024-04-13 02:40:21 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2024-04-13 02:40:21 +02:00
2024-04-28 03:46:56 +02:00
### 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-04-28 03:46:56 +02:00
### move-button
2023-06-11 02:32:14 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### delete-button
2023-06-11 02:32:14 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +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
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-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2023-12-19 22:08:00 +01:00
2024-04-28 03:46:56 +02:00
### favourite\_status
2023-12-19 22:08:00 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### qr\_code
2023-12-30 15:24:30 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2023-12-30 15:24:30 +01:00
2024-04-28 03:46:56 +02:00
### share
2023-12-30 15:24:30 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2023-12-30 15:24:30 +01:00
2024-04-28 03:46:56 +02:00
### all-tags
2023-05-08 00:20:32 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +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)