2022-06-04 18:10:09 +02:00
|
|
|
{
|
|
|
|
"id": "maxspeed",
|
|
|
|
"name": {
|
2022-06-23 12:31:47 +02:00
|
|
|
"en": "Maxspeed",
|
2022-06-04 18:10:09 +02:00
|
|
|
"es": "Velocidad",
|
2022-06-24 03:52:54 +02:00
|
|
|
"ca": "Velocitat",
|
|
|
|
"de": "Höchstgeschwindigkeit"
|
2022-06-04 18:10:09 +02:00
|
|
|
},
|
|
|
|
"source": {
|
|
|
|
"osmTags": {
|
|
|
|
"and": [
|
|
|
|
{
|
|
|
|
"or": [
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"type!=multipolygon",
|
2022-06-05 02:24:14 +02:00
|
|
|
"area!=yes"
|
2022-06-04 18:10:09 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"minzoom": 16,
|
|
|
|
"title": {
|
|
|
|
"render": {
|
|
|
|
"*": " {name}"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "name=",
|
|
|
|
"then": {
|
2022-06-24 03:52:54 +02:00
|
|
|
"en": "Road without a name",
|
|
|
|
"de": "Straße ohne Namen"
|
2022-06-04 18:10:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"description": {
|
2022-06-24 03:52:54 +02:00
|
|
|
"en": "Shows the allowed speed for every road",
|
|
|
|
"de": "Zeigt die zulässige Geschwindigkeit für jede Straße an"
|
2022-06-04 18:10:09 +02:00
|
|
|
},
|
|
|
|
"tagRenderings": [
|
|
|
|
{
|
|
|
|
"render": {
|
2022-06-24 03:52:54 +02:00
|
|
|
"en": "The maximum allowed speed on this road is {maxspeed}",
|
|
|
|
"de": "Die zulässige Höchstgeschwindigkeit auf dieser Straße ist {maxspeed}"
|
2022-06-04 18:10:09 +02:00
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"es": "Qué velocidad tiene",
|
|
|
|
"ca": "Quina velocitat té",
|
2022-06-24 03:52:54 +02:00
|
|
|
"en": "What is the legal maximum speed one is allowed to drive on this road?",
|
|
|
|
"de": "Wie hoch ist die zulässige Höchstgeschwindigkeit, die man auf dieser Straße fahren darf?"
|
2022-06-04 18:10:09 +02:00
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "maxspeed",
|
|
|
|
"type": "pnat"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "highway=living_street",
|
|
|
|
"then": {
|
|
|
|
"en": "This is a living street, which has a maxspeed of 20km/h",
|
2022-06-24 03:52:54 +02:00
|
|
|
"nl": "Dit is een woonerf en heeft dus een maximale snelheid van 20km/h",
|
|
|
|
"de": "Dies ist eine Wohnstraße, auf der eine Höchstgeschwindigkeit von 20 km/h gilt"
|
2022-06-04 18:10:09 +02:00
|
|
|
},
|
|
|
|
"icon": {
|
2022-06-05 02:24:14 +02:00
|
|
|
"path": "./assets/layers/maxspeed/living_street_be.svg",
|
2022-06-23 15:40:29 +02:00
|
|
|
"class": "large"
|
2022-06-04 18:10:09 +02:00
|
|
|
},
|
|
|
|
"hideInAnswer": "_country!=be"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": "maxspeed-maxspeed"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"allowSplit": true,
|
|
|
|
"mapRendering": [
|
|
|
|
{
|
|
|
|
"render": null,
|
|
|
|
"icon": {
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "maxspeed~[1-9]0|1[0-4]0",
|
|
|
|
"then": "./assets/themes/maxspeed/maxspeed_{maxspeed}.svg"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"condition": "maxspeed!=30",
|
|
|
|
"iconSize": {
|
|
|
|
"render": "32,32,center"
|
|
|
|
},
|
|
|
|
"location": [
|
|
|
|
"point",
|
|
|
|
"projected_centerpoint"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": {
|
|
|
|
"render": "#000000",
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "maxspeed=",
|
|
|
|
"then": "#ff0000"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"render": "3"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"units": [
|
|
|
|
{
|
|
|
|
"applicableUnits": [
|
|
|
|
{
|
|
|
|
"#": "km/h is the default for a maxspeed; should be empty string",
|
|
|
|
"canonicalDenomination": "",
|
|
|
|
"alternativeDenomination": [
|
|
|
|
"km/u",
|
|
|
|
"kmh",
|
|
|
|
"kph"
|
|
|
|
],
|
|
|
|
"default": true,
|
|
|
|
"human": {
|
|
|
|
"en": "kilometers/hour",
|
|
|
|
"ca": "quilòmetres/hora",
|
|
|
|
"es": "kilómetros/hora",
|
2022-06-24 03:52:54 +02:00
|
|
|
"nl": "kilometers/uur",
|
|
|
|
"de": "Kilometer/Stunde"
|
2022-06-04 18:10:09 +02:00
|
|
|
},
|
|
|
|
"humanShort": {
|
|
|
|
"en": "km/h",
|
|
|
|
"ca": "km/h",
|
|
|
|
"es": "km/h",
|
2022-06-24 03:52:54 +02:00
|
|
|
"nl": "km/u",
|
|
|
|
"de": "km/h"
|
2022-06-04 18:10:09 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"canonicalDenomination": "mph",
|
|
|
|
"alternativeDenomination": [
|
|
|
|
"m/u",
|
|
|
|
"mh",
|
|
|
|
"m/ph"
|
|
|
|
],
|
|
|
|
"human": {
|
|
|
|
"en": "miles/hour",
|
|
|
|
"ca": "milles/hora",
|
|
|
|
"es": "millas/hora",
|
2022-06-24 03:52:54 +02:00
|
|
|
"nl": "miles/uur",
|
|
|
|
"de": "Meilen/Stunde"
|
2022-06-04 18:10:09 +02:00
|
|
|
},
|
|
|
|
"humanShort": {
|
|
|
|
"en": "mph",
|
|
|
|
"ca": "mph",
|
|
|
|
"es": "mph",
|
2022-06-24 03:52:54 +02:00
|
|
|
"nl": "mph",
|
|
|
|
"de": "mph"
|
2022-06-04 18:10:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"appliesToKey": [
|
|
|
|
"maxspeed"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|