MapComplete/Docs/Themes/stations.md

11 KiB

Train Stations ( stations )

This document details some technical information about this MapComplete theme, mostly about the attributes used in the theme. Various links point toward more information about the attributes, e.g. to the OpenStreetMap-wiki, to TagInfo or tools creating statistics The theme introduction reads:

View, edit and add details to a train station

This theme contains the following layers:

Available languages:

  • en
  • ca
  • cs
  • da
  • de
  • es
  • fr
  • hu
  • it
  • ko
  • nb_NO
  • nl
  • pl
  • zh_Hant

Table of contents

  1. Layers defined in this theme configuration file
  2. train_station
  1. departures_board

Layers defined in this theme configuration file

These layers can not be reused in different themes.

train_station

Layer showing train stations

  • This layer is shown at zoomlevel 8 and higher
  • Elements don't have a title set and cannot be toggled nor will they show up in the dashboard. If you import this layer in your theme, override title to make this toggleable.

No themes use this layer

Basic tags for this layer

Elements must match any of the following expressions:

Execute on overpass

Supported attributes

Featureview elements and TagRenderings

id question labels freeform key

departures_board

Displays showing the trains that will leave from this station

  • This layer is shown at zoomlevel 18 and higher

No themes use this layer

Presets

The following options to create new points are included:

Basic tags for this layer

Elements must match all of the following expressions:

  1. public_transport=
  2. departures_board~.+
  3. departures_board!=no

Execute on overpass

Supported attributes

Warning:: this quick overview is incomplete

attribute type values which are supported by this layer
departures_board Multiple choice departures_board=yes departures_board=realtime departures_board=timetable departures_board=delay
level float level=0 level=1 level=-1

Featureview elements and TagRenderings

id question labels freeform key
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
type What kind of departures board is this?
4 options
Multiple choice only
repeated
(Original in questions)
Multiple, identical objects can be found on floors {repeat_on}. level Multiple choice only
single_level
(Original in questions)
On what level is this feature located?
Located on the {level}th floor
5 options
level level (float)
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
move-button {move_button()} Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only
spacer
Multiple choice only

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 This tagrendering has no question and is thus read-only

{image_carousel()}{image_upload()}

type

The question is What kind of departures board is this?

repeated

This tagrendering has no question and is thus read-only

Multiple, identical objects can be found on floors {repeat_on}.

This tagrendering is only visible in the popup if the following condition is met: repeat_on~.+ This tagrendering has labels level

single_level

The question is On what level is this feature located?

Located on the {level}th floor is shown if level is set.

  • Located underground is shown if with location=underground. This option cannot be chosen as answer
  • Located on the ground floor is shown if with level=0
  • Located on the ground floor is shown if with level=. This option cannot be chosen as answer
  • Located on the first floor is shown if with level=1
  • Located on the first basement level is shown if with level=-1

This tagrendering has labels level

leftover-questions

This tagrendering has no question and is thus read-only

{questions( ,hidden)}

This tagrendering has labels ignore-docs added_by_default

move-button

This tagrendering has no question and is thus read-only

{move_button()}

lod

This tagrendering has no question and is thus read-only

{linked_data_from_website()}

This tagrendering has labels added_by_default

spacer

This tagrendering has no question and is thus read-only

This document is autogenerated from assets/themes/stations/stations.json