[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)

# 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](#themes-using-this-layer)
2. [Basic tags for this layer](#basic-tags-for-this-layer)
3. [Supported attributes](#supported-attributes)
4. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
  - [maxspeed-maxspeed](#maxspeed-maxspeed)
  - [maxspeed-forward](#maxspeed-forward)
  - [maxspeed-backward](#maxspeed-backward)
  - [leftover-questions](#leftover-questions)
  - [split_button](#split_button)
  - [lod](#lod)

## Themes using this layer

 - [maxspeed](https://mapcomplete.org/maxspeed)
 - [personal](https://mapcomplete.org/personal)

## Basic tags for this layer

Elements must match **all** of the following expressions:

0. <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dresidential' target='_blank'>residential</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street' target='_blank'>living_street</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway' target='_blank'>motorway</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary' target='_blank'>tertiary</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dunclassified' target='_blank'>unclassified</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary' target='_blank'>secondary</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary' target='_blank'>primary</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk' target='_blank'>trunk</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway' target='_blank'>motorway</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary_link' target='_blank'>tertiary_link</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary_link' target='_blank'>secondary_link</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary_link' target='_blank'>primary_link</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk_link' target='_blank'>trunk_link</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway_link' target='_blank'>motorway_link</a>
1. area!=yes
2. type!=multipolygon

[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22highway%22%3D%22residential%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22living_street%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22motorway%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22tertiary%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22unclassified%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22secondary%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22primary%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22trunk%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22motorway%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22tertiary_link%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22secondary_link%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22primary_link%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22trunk_link%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22highway%22%3D%22motorway_link%22%5D%5B%22area%22!%3D%22yes%22%5D%5B%22type%22!%3D%22multipolygon%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

| attribute | type | values which are supported by this layer |
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/maxspeed#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/maxspeed/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed) | [pnat](../SpecialInputElements.md#pnat) | [](https://wiki.openstreetmap.org/wiki/Tag:maxspeed%3D) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/maxspeed:forward#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/maxspeed%3Aforward/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [maxspeed:forward](https://wiki.openstreetmap.org/wiki/Key:maxspeed:forward) | [pnat](../SpecialInputElements.md#pnat) |  |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/maxspeed:backward#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/maxspeed%3Abackward/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [maxspeed:backward](https://wiki.openstreetmap.org/wiki/Key:maxspeed:backward) | [pnat](../SpecialInputElements.md#pnat) |  |

## Featureview elements and TagRenderings

| id | question | labels | freeform key |
-----|-----|-----|----- |
| [maxspeed-maxspeed](#maxspeed-maxspeed)  | What is the legal maximum speed one is allowed to drive on this road?<br/>_The maximum allowed speed on this road is {canonical(maxspeed)}_<br/>2 options |  | *[maxspeed](https://wiki.osm.org/wiki/Key:maxspeed)* ([pnat](../SpecialInputElements.md#pnat)) |
| [maxspeed-forward](#maxspeed-forward)  | What is the maximum allowed speed when travelling ?<br/>_The maximum allowed speed when travelling {direction_absolute()} on this road is {canonical(maxspeed:forward)}_ |  | *[maxspeed:forward](https://wiki.osm.org/wiki/Key:maxspeed:forward)* ([pnat](../SpecialInputElements.md#pnat)) |
| [maxspeed-backward](#maxspeed-backward)  | What is the maximum allowed speed when travelling ?<br/>_The maximum allowed speed when travelling {direction_absolute(,180)} on this road is {canonical(maxspeed:backward)}_ |  | *[maxspeed:backward](https://wiki.osm.org/wiki/Key:maxspeed:backward)* ([pnat](../SpecialInputElements.md#pnat)) |
| [leftover-questions](#leftover-questions)  | _{questions( ,hidden)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
| [split_button](#split_button) <br/> _(Original in [questions](./BuiltinQuestions.md#split_button))_ | _{split_button()}_ |  | _Multiple choice only_ |
| [lod](#lod) <br/> _(Original in [questions](./BuiltinQuestions.md#lod))_ | _{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.

 - <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/maxspeed/living_street_be.svg'> *This is a living street, which has a maxspeed of 20km/h* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:highway' target='_blank'>highway</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street' target='_blank'>living_street</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:_country' target='_blank'>_country</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_country%3Dbe' target='_blank'>be</a>
 -  *The maximum allowed speed on this road depends on the direction a vehicle goes* is shown if with maxspeed= & <a href='https://wiki.openstreetmap.org/wiki/Key:_forward_backward' target='_blank'>_forward_backward</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_forward_backward%3Dyes' target='_blank'>yes</a>

### 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: <a href='https://wiki.openstreetmap.org/wiki/Key:_forward_backward' target='_blank'>_forward_backward</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_forward_backward%3Dyes' target='_blank'>yes</a> | 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: <a href='https://wiki.openstreetmap.org/wiki/Key:_forward_backward' target='_blank'>_forward_backward</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_forward_backward%3Dyes' target='_blank'>yes</a> | 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](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/maxspeed/maxspeed.json)
