MapComplete/Docs/Layers/maxspeed.md

12 KiB

maxspeed

Shows the allowed speed for every road

  • This layer is shown at zoomlevel 16 and higher

Table of contents

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

Themes using this layer

Basic tags for this layer

Elements must match all of the following expressions:

  1. highway=residential | highway=living_street | highway=motorway | highway=tertiary | highway=unclassified | highway=secondary | highway=primary | highway=trunk | highway=motorway | highway=tertiary_link | highway=secondary_link | highway=primary_link | highway=trunk_link | highway=motorway_link
  2. area!=yes
  3. type!=multipolygon

Execute on overpass

Supported attributes

Warning:: this quick overview is incomplete

attribute type values which are supported by this layer
maxspeed pnat
maxspeed:forward pnat
maxspeed:backward pnat

Featureview elements and TagRenderings

id question labels freeform key
maxspeed-maxspeed What is the legal maximum speed one is allowed to drive on this road?
The maximum allowed speed on this road is {canonical(maxspeed)}
2 options
maxspeed (pnat)
maxspeed-forward What is the maximum allowed speed when travelling ?
The maximum allowed speed when travelling {direction_absolute()} on this road is {canonical(maxspeed:forward)}
maxspeed:forward (pnat)
maxspeed-backward What is the maximum allowed speed when travelling ?
The maximum allowed speed when travelling {direction_absolute(,180)} on this road is {canonical(maxspeed:backward)}
maxspeed:backward (pnat)
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
split_button
(Original in questions)
{split_button()} Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only

maxspeed-maxspeed

The question is What is the legal maximum speed one is allowed to drive on this road? The maximum allowed speed on this road is {canonical(maxspeed)} is shown if maxspeed is set

maxspeed-forward

The question is What is the maximum allowed speed when travelling {direction_absolute()}? The maximum allowed speed when travelling {direction_absolute()} on this road is {canonical(maxspeed:forward)} is shown if maxspeed:forward is set

This tagrendering is only visible in the popup if the following condition is met: _forward_backward=yes | maxspeed:backward~.+ | maxspeed:forward~.+

maxspeed-backward

The question is What is the maximum allowed speed when travelling {direction_absolute(,180)}? The maximum allowed speed when travelling {direction_absolute(,180)} on this road is {canonical(maxspeed:backward)} is shown if maxspeed:backward is set

This tagrendering is only visible in the popup if the following condition is met: _forward_backward=yes | maxspeed:backward~.+ | maxspeed:forward~.+

leftover-questions

This tagrendering has no question and is thus read-only {questions( ,hidden)}

This tagrendering has labels ignore-docs added_by_default

split_button

This tagrendering has no question and is thus read-only {split_button()}

lod

This tagrendering has no question and is thus read-only {linked_data_from_website()}

This tagrendering has labels added_by_default

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