Housekeeping...

This commit is contained in:
Pieter Vander Vennet 2022-06-24 16:57:11 +02:00
parent 2a0d4a1e54
commit d670eec72a
5 changed files with 182 additions and 866 deletions

87
Docs/Layers/maxspeed.md Normal file
View file

@ -0,0 +1,87 @@
maxspeed
==========
Shows the allowed speed for every road
- This layer is shown at zoomlevel **16** and higher
#### Themes using this layer
- [maxspeed](https://mapcomplete.osm.be/maxspeed)
- [personal](https://mapcomplete.osm.be/personal)
Basic tags for this layer
---------------------------
Elements must have the all of following tags to be shown on this layer:
- <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>
- type!=multipolygon
- area!=yes
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B(%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%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(%7B%7Bbbox%7D%7D)%3B%0A)%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
----------- | ------ | ------------------------------------------
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/maxspeed#values) [maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed) | [pnat](../SpecialInputElements.md#pnat) |
### maxspeed-maxspeed
The question is What is the legal maximum speed one is allowed to drive on this road?
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 {maxspeed}
- This is a living street, which has a maxspeed of 20km/h corresponds 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>
This document is autogenerated from [assets/layers/maxspeed/maxspeed.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/maxspeed/maxspeed.json)

View file

@ -0,0 +1,93 @@
{
"data_format": 1,
"project": {
"name": "MapComplete Maxspeed",
"description": "This map shows the legally allowed maximum speed on every road.",
"project_url": "https://mapcomplete.osm.be/maxspeed",
"doc_url": "https://github.com/pietervdvn/MapComplete/tree/master/assets/themes/",
"icon_url": "https://mapcomplete.osm.be/assets/themes/maxspeed/maxspeed_logo.svg",
"contact_name": "Pieter Vander Vennet, ",
"contact_email": "pietervdvn@posteo.net"
},
"tags": [
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "residential"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "living_street"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "motorway"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "tertiary"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "unclassified"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "secondary"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "primary"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "trunk"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "motorway"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "tertiary_link"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "secondary_link"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "primary_link"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "trunk_link"
},
{
"key": "highway",
"description": "The MapComplete theme Maxspeed has a layer Maxspeed showing features with this tag",
"value": "motorway_link"
},
{
"key": "maxspeed",
"description": "Layer 'Maxspeed' shows and asks freeform values for key 'maxspeed' (in the MapComplete.osm.be theme 'Maxspeed')"
},
{
"key": "highway",
"description": "Layer 'Maxspeed' shows highway=living_street with a fixed text, namely 'This is a living street, which has a maxspeed of 20km/h' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Maxspeed')",
"value": "living_street"
}
]
}