mapcomplete/assets/layers/maxspeed/maxspeed.json

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

184 lines
5.8 KiB
JSON
Raw Normal View History

2022-06-04 18:10:09 +02:00
{
"id": "maxspeed",
"name": {
"en": "Maxspeed",
2024-11-05 14:14:53 +01:00
"es": "Velocidad máxima",
2022-06-24 03:52:54 +02:00
"ca": "Velocitat",
2023-02-10 01:49:06 +01:00
"de": "Höchstgeschwindigkeiten",
2022-11-02 13:47:34 +01:00
"nl": "Maximumsnelheid",
2023-09-16 18:52:42 +02:00
"pa_PK": "حد رفتار",
2023-10-16 13:38:53 +02:00
"fr": "Vitesse maximale",
2024-06-16 16:06:26 +02:00
"cs": "Maximální rychlost",
"pl": "Prędkość maksymalna"
2022-06-04 18:10:09 +02:00
},
"description": {
"en": "Shows the allowed speed for every road",
"de": "Zeigt die zulässige Geschwindigkeit für jede Straße an",
"nl": "Toont de toegestane snelheid voor elke weg",
"cs": "Zobrazuje povolenou rychlost pro každou silnici",
"ca": "Mostra la velocitat permesa per a cada carretera",
"fr": "Affiche les vitesses autorisées sur toutes les routes",
2024-02-20 13:33:38 +01:00
"pl": "Pokazuje dozwoloną prędkość na każdej drodze",
2024-07-09 13:42:08 +02:00
"es": "Muestra la velocidad permitida para cada carretera",
"zh_Hant": "顯示每條道路的允許速度"
},
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",
"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",
2022-07-10 18:37:23 +02:00
"de": "Straße ohne Namen",
2023-09-16 18:52:42 +02:00
"nl": "Weg zonder een naam",
2023-09-19 14:22:52 +02:00
"fr": "Route sans nom",
2023-10-16 13:38:53 +02:00
"ca": "Carretera sense nom",
2024-06-16 16:06:26 +02:00
"cs": "Silnice bez názvu",
2024-11-05 14:14:53 +01:00
"pl": "Droga bez nazwy",
"es": "Carretera sin nombre"
2022-06-04 18:10:09 +02:00
}
}
]
},
"pointRendering": [
{
"marker": [
{
"icon": {
"render": null,
"mappings": [
{
"if": "maxspeed~[1-9]0|1[0-4]0",
"then": "./assets/themes/maxspeed/maxspeed_{maxspeed} mph.svg"
},
{
"if": "maxspeed~[1-9]0|1[0-4]0 mph",
"then": "./assets/themes/maxspeed/maxspeed_{maxspeed}.svg"
}
]
}
}
],
"iconSize": "32,32",
"location": [
"point",
"projected_centerpoint"
],
"anchor": "center"
}
],
"lineRendering": [
{
"color": {
"render": "#000000",
"mappings": [
{
"if": "maxspeed=",
"then": "#ff0000"
}
]
},
"width": "3"
}
],
2022-06-04 18:10:09 +02:00
"tagRenderings": [
{
"render": {
2022-08-22 22:31:05 +02:00
"en": "The maximum allowed speed on this road is {canonical(maxspeed)}",
2022-08-24 03:09:51 +02:00
"de": "Die zulässige Höchstgeschwindigkeit auf dieser Straße beträgt {canonical(maxspeed)}",
2023-01-10 19:34:07 +01:00
"nl": "De maximum toegestane snelheid op deze weg is {canonical(maxspeed)}",
2023-02-23 14:39:08 +01:00
"ca": "La velocitat màxima permesa a aquesta via és {canonical(maxspeed)}",
2023-10-16 13:38:53 +02:00
"fr": "La vitesse maximum autorisée sur cette route est {canonical(maxspeed)}",
2024-06-16 16:06:26 +02:00
"cs": "Maximální povolená rychlost na této cestě je {canonical(maxspeed)}",
2024-11-05 14:14:53 +01:00
"pl": "Maksymalna prędkość dopuszczona na tej drodze to {canonical(maxspeed)}",
"es": "La velocidad máxima permitida en esta carretera es {canonical(maxspeed)}"
2022-06-04 18:10:09 +02:00
},
"question": {
2024-11-05 14:14:53 +01:00
"es": "¿Cuál es la velocidad máxima legal a la que se permite conducir en esta carretera?",
2023-01-10 19:34:07 +01:00
"ca": "Quina és la velocitat màxima legal que es permet conduir en aquesta carretera?",
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?",
2023-02-23 14:39:08 +01:00
"nl": "Wat is de legale maximumsnelheid voor deze weg?",
2023-10-16 13:38:53 +02:00
"fr": "Quelle est la vitesse maximum autorisée sur cette route ?",
2024-06-16 16:06:26 +02:00
"cs": "Jaká je zákonná maximální povolená rychlost na této silnici?",
2024-10-14 21:40:20 +02:00
"pl": "Jaka jest maksymalna prawnie dopuszczona prędkość na tej drodze?",
"ru": "С какой максимальной скоростью разрешено ездить по этой дороге?"
2022-06-04 18:10:09 +02:00
},
"freeform": {
"key": "maxspeed",
"type": "pnat"
},
"mappings": [
{
2024-01-10 15:10:19 +01:00
"if": {
"and": [
"highway=living_street",
"_country=be"
]
},
2022-06-04 18:10:09 +02:00
"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",
2023-09-16 18:52:42 +02:00
"de": "Dies ist eine Wohnstraße, auf der eine Höchstgeschwindigkeit von 20 km/h gilt",
2023-09-19 14:22:52 +02:00
"fr": "C'est une zone de rencontre, avec une vitesse maximale de 20 km/h",
2023-10-16 13:38:53 +02:00
"ca": "Aquest és un carrer residencial, que té una velocitat màxima de 20 km/h",
2024-11-05 14:14:53 +01:00
"cs": "Toto je obytná zóna, která má maximální rychlost 20 km/h",
"es": "Esta es una calle residencial, que tiene una velocidad máxima de 20 km/h"
2022-06-04 18:10:09 +02:00
},
"icon": {
"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
},
2023-08-10 15:37:20 +02:00
"addExtraTags": [
"maxspeed=20"
],
2022-06-04 18:10:09 +02:00
"hideInAnswer": "_country!=be"
}
],
"id": "maxspeed-maxspeed"
}
],
"allowMove": false,
2022-06-04 18:10:09 +02:00
"allowSplit": true,
"units": [
{
"maxspeed": {
"quantity": "speed",
"canonical": "kmh",
"denominations": [
"mph"
]
}
2022-06-04 18:10:09 +02:00
}
]
}