mapcomplete/Docs/Layers/maxspeed.md

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

138 lines
8.2 KiB
Markdown
Raw Normal View History

2023-02-12 23:08:57 +01:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
maxspeed
========
2022-06-24 16:57:11 +02:00
Shows the allowed speed for every road
2024-04-28 03:46:56 +02:00
* This layer is shown at zoomlevel **16** and higher
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
Table of contents
-----------------
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
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-)
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
* [just\_created](#just_created)
* [maxspeed-maxspeed](#maxspeed-maxspeed)
* [leftover-questions](#leftover-questions)
* [lod](#lod)
* [minimap](#minimap)
* [split-button](#split-button)
* [last\_edit](#last_edit)
* [favourite\_status](#favourite_status)
* [qr\_code](#qr_code)
* [share](#share)
* [all-tags](#all-tags)
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
Themes using this layer
-----------------------
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
* [maxspeed](https://mapcomplete.org/maxspeed)
* [personal](https://mapcomplete.org/personal)
2024-04-28 03:46:56 +02:00
Basic tags for this layer
-------------------------
2023-11-13 03:15:48 +01:00
Elements must match **all** of the following expressions:
2024-04-28 03:46:56 +02:00
0. [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[residential](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dresidential) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[living\_street](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[motorway](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[tertiary](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[unclassified](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dunclassified) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[secondary](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[primary](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[trunk](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[motorway](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[tertiary\_link](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary_link) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[secondary\_link](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary_link) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[primary\_link](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary_link) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[trunk\_link](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk_link) | [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[motorway\_link](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway_link)
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)
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
Supported attributes
--------------------
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
Warning:
2022-06-24 16:57:11 +02:00
2023-05-08 00:20:32 +02:00
this quick overview is incomplete
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
attribute
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
type
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
values which are supported by this layer
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id)
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
Multiple choice
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/maxspeed#values) [maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed)
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
[pnat](../SpecialInputElements.md#pnat)
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
### just\_created
2022-06-24 16:57:11 +02:00
2023-05-08 00:20:32 +02:00
This element shows a 'thank you' that the contributor has recently created this element
2022-06-24 16:57:11 +02:00
2023-05-08 00:20:32 +02:00
This tagrendering has no question and is thus read-only
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
* _You just created this element! Thanks for sharing this info with the world and helping people worldwide._ corresponds with id~.+
2023-05-08 00:20:32 +02:00
2023-11-13 03:15:48 +01:00
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+`
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
### maxspeed-maxspeed
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
The question is _What is the legal maximum speed one is allowed to drive on this road?_
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
This rendering asks information about the property [maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed) This is rendered with `The maximum allowed speed on this road is {canonical(maxspeed)}`
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
* _This is a living street, which has a maxspeed of 20km/h_ corresponds with [highway](https://wiki.openstreetmap.org/wiki/Key:highway)\=[living\_street](https://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street) & [\_country](https://wiki.openstreetmap.org/wiki/Key:_country)\=[be](https://wiki.openstreetmap.org/wiki/Tag:_country%3Dbe)
2022-06-24 16:57:11 +02:00
2024-04-28 03:46:56 +02:00
### leftover-questions
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### lod
2024-04-13 02:40:21 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2024-04-13 02:40:21 +02:00
2024-04-28 03:46:56 +02:00
### minimap
2023-04-15 03:02:01 +02:00
Shows a small map with the feature. Added by default to every popup
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### split-button
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### last\_edit
2023-04-15 03:02:01 +02:00
Gives some metainfo about the last edit and who did edit it - rendering only
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2023-11-13 03:15:48 +01:00
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:changeset~.+ & _last_edit:contributor~.+`
2023-05-08 00:20:32 +02:00
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2023-12-19 22:08:00 +01:00
2024-04-28 03:46:56 +02:00
### favourite\_status
2023-12-19 22:08:00 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### qr\_code
2023-12-30 15:24:30 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2023-12-30 15:24:30 +01:00
2024-04-28 03:46:56 +02:00
### share
2023-12-30 15:24:30 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2023-12-30 15:24:30 +01:00
2024-04-28 03:46:56 +02:00
### all-tags
2023-05-08 00:20:32 +02:00
This tagrendering has no question and is thus read-only
2023-02-12 23:08:57 +01:00
This document is autogenerated from [assets/layers/maxspeed/maxspeed.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/maxspeed/maxspeed.json)