MapComplete/Docs/Layers/maxspeed.md

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

116 lines
10 KiB
Markdown
Raw Normal View History

2024-10-15 17:16:39 +02:00
[//]: # (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
2024-10-15 17:16:39 +02:00
1. [Themes using this layer](#themes-using-this-layer)
2. [Data source](#data-source)
3. [Attribute overview](#attribute-overview)
4. [Overview of questions (and other elements) in the popup](#overview-of-questions-(and-other-elements)-in-the-popup)
2024-10-15 17:16:39 +02:00
- [maxspeed-maxspeed](#maxspeed-maxspeed)
2025-05-03 23:48:35 +02:00
- [maxspeed-forward](#maxspeed-forward)
- [maxspeed-backward](#maxspeed-backward)
2024-10-15 17:16:39 +02:00
- [leftover-questions](#leftover-questions)
- [split_button](#split_button)
2025-07-10 18:26:31 +02:00
- [spacer](#spacer)
2024-10-15 17:16:39 +02:00
- [lod](#lod)
## Themes using this layer
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
- [`maxspeed`](https://mapcomplete.org/maxspeed)
- [`personal`](https://mapcomplete.org/personal)
2024-10-15 17:16:39 +02:00
## Data source
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
Elements on this layer match **all** of the following expressions:
2024-10-15 17:16:39 +02:00
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>
2025-09-24 15:50:24 +02:00
1. [area](https://wiki.osm.org/wiki/Key:area)`!=yes`
2. [type](https://wiki.osm.org/wiki/Key:type)`!=multipolygon`
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
[🗺️ Execute on overpass-turbo.eu](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)
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
This layer does not allowing adding new points
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
## Attribute overview
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
This table gives an overview of most OpenStreetMap [keys](https://wiki.openstreetmap.org/wiki/Tags) that this layer shows and/or edits
| Key | Type (for freeform input) | Predefined, supported options |
2024-10-15 17:16:39 +02:00
-----|-----|----- |
2025-09-24 15:50:24 +02:00
| [🔎](https://taginfo.openstreetmap.org/keys/maxspeed#values) [📈](https://taghistory.raifer.tech/?#***/maxspeed/) [maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed) | [pnat](../SpecialInputElements.md#pnat) | [maxspeed](https://wiki.openstreetmap.org/wiki/Tag:maxspeed%3D) |
| [🔎](https://taginfo.openstreetmap.org/keys/maxspeed:backward#values) [📈](https://taghistory.raifer.tech/?#***/maxspeed%3Abackward/) [maxspeed:backward](https://wiki.openstreetmap.org/wiki/Key:maxspeed:backward) | [pnat](../SpecialInputElements.md#pnat) | |
| [🔎](https://taginfo.openstreetmap.org/keys/maxspeed:forward#values) [📈](https://taghistory.raifer.tech/?#***/maxspeed%3Aforward/) [maxspeed:forward](https://wiki.openstreetmap.org/wiki/Key:maxspeed:forward) | [pnat](../SpecialInputElements.md#pnat) | |
## Overview of questions (and other elements) in the popup
2025-04-10 04:51:26 +02:00
2024-10-15 17:16:39 +02:00
### maxspeed-maxspeed
2025-05-19 23:05:37 +02:00
2025-09-24 15:50:24 +02:00
> What is the legal maximum speed one is allowed to drive on this road?
2024-10-15 17:16:39 +02:00
2025-09-15 01:06:58 +02:00
**The maximum allowed speed on this road is {canonical(maxspeed)}** is shown if `maxspeed` is exists in the object
- <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 <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 <a href='https://wiki.openstreetmap.org/wiki/Key:maxspeed' target='_blank'>maxspeed</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:maxspeed%3D' target='_blank'></a> & <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>
2025-05-03 23:48:35 +02:00
### maxspeed-forward
2025-05-19 23:05:37 +02:00
2025-09-24 15:50:24 +02:00
> What is the maximum allowed speed when travelling {direction_absolute()}?
2025-09-15 01:06:58 +02:00
**The maximum allowed speed when travelling {direction_absolute()} on this road is {canonical(maxspeed:forward)}** is shown if `maxspeed:forward` is exists in the object
2025-05-03 23:48:35 +02:00
2025-09-24 15:50:24 +02:00
This tagRendering is only visible in the information panel if the condition *<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](https://wiki.osm.org/wiki/Key:maxspeed:backward)`~.+` | [maxspeed:forward](https://wiki.osm.org/wiki/Key:maxspeed:forward)`~.+`* is met
2025-05-03 23:48:35 +02:00
### maxspeed-backward
2025-05-19 23:05:37 +02:00
2025-09-24 15:50:24 +02:00
> What is the maximum allowed speed when travelling {direction_absolute(,180)}?
2025-09-15 01:06:58 +02:00
**The maximum allowed speed when travelling {direction_absolute(,180)} on this road is {canonical(maxspeed:backward)}** is shown if `maxspeed:backward` is exists in the object
2025-05-03 23:48:35 +02:00
2025-09-24 15:50:24 +02:00
This tagRendering is only visible in the information panel if the condition *<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](https://wiki.osm.org/wiki/Key:maxspeed:backward)`~.+` | [maxspeed:forward](https://wiki.osm.org/wiki/Key:maxspeed:forward)`~.+`* is met
2024-10-15 17:16:39 +02:00
### leftover-questions
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +02:00
{questions( ,hidden)}
This tagRendering has the following labels:
2024-10-15 17:16:39 +02:00
2025-09-15 01:06:58 +02:00
- `ignore-docs`
- `added_by_default`
2025-04-15 18:18:44 +02:00
2024-10-15 17:16:39 +02:00
### split_button
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +02:00
{split_button()}
Originally defined in [questions](../Docs/Layers/questions.md#split_button)
2024-10-15 17:16:39 +02:00
2025-07-10 18:26:31 +02:00
### spacer
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-07-10 18:26:31 +02:00
2025-09-15 01:06:58 +02:00
<div class='m-4'/>
2025-07-10 18:26:31 +02:00
2024-10-15 17:16:39 +02:00
### lod
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +02:00
{linked_data_from_website()}
This tagRendering has the following labels:
- `added_by_default`
2024-10-15 17:16:39 +02:00
2025-09-15 01:06:58 +02:00
Originally defined in [questions](../Docs/Layers/questions.md#lod)
2024-10-15 17:16:39 +02:00
2025-01-28 15:42:34 +01:00
This document is autogenerated from [assets/layers/maxspeed/maxspeed.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/maxspeed/maxspeed.json)