MapComplete/Docs/Layers/historic_rolling_stock.md

20 KiB

historic_rolling_stock

Historic rolling stock (such as locomotives, railway cars and wagons) which are permanently placed at a location

  • This layer is shown at zoomlevel 5 and higher
  • This layer will automatically load railway into the layout as it depends on it: preset a locomotive on a permanent location snaps to this layer (historic_rolling_stock.presets[0])
  • This layer will automatically load railway into the layout as it depends on it: preset a railway car on a permanent location snaps to this layer (historic_rolling_stock.presets[1])
  • This layer will automatically load railway into the layout as it depends on it: preset a minecart on a permanent location snaps to this layer (historic_rolling_stock.presets[2])

Table of contents

  1. Themes using this layer
  2. Presets
  3. Basic tags for this layer
  4. Supported attributes
  5. Featureview elements and TagRenderings
  1. Filters

Themes using this layer

Presets

The following options to create new points are included:

  • a locomotive on a permanent location which has the following tags:historic=locomotive (snaps to layers railway)
  • a railway car on a permanent location which has the following tags:historic=railway_car (snaps to layers railway)
  • a minecart on a permanent location which has the following tags:historic=minecart (snaps to layers railway)

Basic tags for this layer

Elements must match any of the following expressions:

Execute on overpass

Supported attributes

Warning:: this quick overview is incomplete

attribute type values which are supported by this layer
wikidata wikidata
model string
memorial string memorial=statue memorial=plaque memorial=bench memorial=ghost_bike memorial=stolperstein memorial=stele memorial=stone memorial=bust memorial=sculpture memorial=obelisk memorial=cross memorial=blue_plaque memorial=tank memorial=tree
inscription text
wikidata wikidata
subject:wikidata wikidata

Featureview elements and TagRenderings

id question labels freeform key
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
preset_type {preset_type_select()} Multiple choice only
wikipedia
(Original in questions)
What is the corresponding Wikidata entity?
{wikipedia():max-height:25rem}
2 options
wikidata (wikidata)
model What is the model of this rolling stock?
Model {model}
model (string)
is_memorial Does this also serve as a memorial?
2 options
Multiple choice only
memorial-type
(Original in memorial)
What type of memorial is this?
This is a {memorial}
15 options
memorial-questions memorial (string)
inscription
(Original in memorial)
What is the inscription on this memorial?
The inscription on this memorial reads:

{inscription}


1 options
memorial-questions inscription (text)
memorial-wikidata
(Original in memorial)
What is the Wikipedia page about this memorial?

Wikipedia page about the memorial

{wikipedia(wikidata)}
memorial-specific, memorial-questions wikidata (wikidata)
subject-wikidata
(Original in memorial)
What is the Wikipedia page about the person or event that is remembered here?

Wikipedia page about the remembered event or person

{wikipedia(subject:wikidata)}
memorial-specific, memorial-questions subject:wikidata (wikidata)
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
move-button {move_button()} Multiple choice only
delete-button {delete_button()} Multiple choice only
spacer
Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default 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()}

preset_type

This tagrendering has no question and is thus read-only

{preset_type_select()}

wikipedia

Shows a wikipedia box with the corresponding wikipedia article; the wikidata-item link can be changed by a contributor The question is What is the corresponding Wikidata entity?

{wikipedia():max-height:25rem} is shown if wikidata is set.

  • {wikipedia():max-height:25rem} is shown if with wikipedia~.+. This option cannot be chosen as answer
  • No Wikipedia page has been linked yet is shown if with wikidata=. This option cannot be chosen as answer

model

The question is What is the model of this rolling stock?

Model {model} is shown if model is set.

is_memorial

The question is Does this also serve as a memorial?

  • Serves as a memorial is shown if with memorial=
  • Does not serve as a memorial is shown if with not:memorial=yes

memorial-type

The question is What type of memorial is this?

This is a {memorial} is shown if memorial is set.

This tagrendering is only visible in the popup if the following condition is met: memorial~.+ This tagrendering has labels memorial-questions

inscription

The question is What is the inscription on this memorial?

The inscription on this memorial reads:

{inscription}

is shown if inscription is set.

This tagrendering is only visible in the popup if the following condition is met: memorial!=bench & memorial~.+ This tagrendering has labels memorial-questions

memorial-wikidata

The question is What is the Wikipedia page about this memorial?

Wikipedia page about the memorial

{wikipedia(wikidata)} is shown if wikidata is set.

This tagrendering is only visible in the popup if the following condition is met: memorial~.+ This tagrendering has labels memorial-specific memorial-questions

subject-wikidata

The question is What is the Wikipedia page about the person or event that is remembered here?

Wikipedia page about the remembered event or person

{wikipedia(subject:wikidata)} is shown if subject:wikidata is set.

This tagrendering is only visible in the popup if the following condition is met: memorial~.+ This tagrendering has labels memorial-specific memorial-questions

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()}

delete-button

This tagrendering has no question and is thus read-only

{delete_button()}

spacer

This tagrendering has no question and is thus read-only

lod

This tagrendering has no question and is thus read-only

{linked_data_from_website()}

This tagrendering has labels added_by_default

Filters

id question osmTags
memorial-type.0 What type of memorial is this? (default)
memorial-type.1 This is a statue memorial=statue
memorial-type.2 This is a plaque memorial=plaque
memorial-type.3 This is a commemorative bench memorial=bench
memorial-type.4 This is a ghost bike - a bicycle painted white to remember a cyclist whom deceased because of a car crash memorial=ghost_bike
memorial-type.5 This is a stolperstein (stumbing stone) memorial=stolperstein
memorial-type.6 This is a stele memorial=stele
memorial-type.7 This is a memorial stone memorial=stone
memorial-type.8 This is a bust memorial=bust
memorial-type.9 This is a sculpture memorial=sculpture
memorial-type.10 This is an obelisk memorial=obelisk
memorial-type.11 This is a cross memorial=cross
memorial-type.12 This is a blue plaque memorial=blue_plaque
memorial-type.13 This is a historic tank, permanently placed in public space as memorial memorial=tank
memorial-type.14 This is a memorial tree memorial=tree
memorial-type.15 This is a gravestone; the person is buried here historic=tomb

This document is autogenerated from assets/layers/historic_rolling_stock/historic_rolling_stock.json