mapcomplete/assets/layers/maxspeed/maxspeed.json

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

210 lines
5.9 KiB
JSON
Raw Normal View History

2022-06-04 18:10:09 +02:00
{
"id": "maxspeed",
"name": {
"en": "Maxspeed",
2022-06-04 18:10:09 +02:00
"es": "Velocidad",
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": "حد رفتار",
"fr": "Vitesse maximale"
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",
"fr": "Route sans nom"
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",
2022-07-10 18:37:23 +02:00
"de": "Zeigt die zulässige Geschwindigkeit für jede Straße an",
2023-03-13 20:14:39 +01:00
"nl": "Toont de toegestane snelheid voor elke weg",
2023-03-24 12:23:42 +01:00
"cs": "Zobrazuje povolenou rychlost pro každou silnici",
2023-09-16 18:52:42 +02:00
"ca": "Mostra la velocitat permesa per a cada carretera",
"fr": "Affiche les vitesses autorisées sur toutes les routes"
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)}",
"fr": "La vitesse maximum autorisée sur cette route est {canonical(maxspeed)}"
2022-06-04 18:10:09 +02:00
},
"question": {
2023-09-01 15:15:16 +02:00
"es": "Qué es la velocidad máxima legal uno está permitido 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?",
"fr": "Quelle est la vitesse maximum autorisée sur cette route ?"
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",
2023-09-16 18:52:42 +02:00
"de": "Dies ist eine Wohnstraße, auf der eine Höchstgeschwindigkeit von 20 km/h gilt",
"fr": "C'est une zone de rencontre, avec une vitesse maximale 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"
}
],
"allowSplit": true,
"mapRendering": [
{
"icon": {
"render": null,
2022-06-04 18:10:09 +02:00
"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",
2022-06-04 18:10:09 +02:00
"then": "./assets/themes/maxspeed/maxspeed_{maxspeed}.svg"
}
]
},
"iconSize": "32,32",
2022-06-04 18:10:09 +02:00
"location": [
"point",
"projected_centerpoint"
],
"anchor": "center"
2022-06-04 18:10:09 +02:00
},
{
"color": {
"render": "#000000",
"mappings": [
{
"if": "maxspeed=",
"then": "#ff0000"
}
]
},
"width": "3"
2022-06-04 18:10:09 +02:00
}
],
"units": [
{
"applicableUnits": [
{
"#": "km/h is the default for a maxspeed; should be empty string",
"canonicalDenomination": "",
"alternativeDenomination": [
"km/u",
"kmh",
"kph"
],
"human": {
"en": "kilometers/hour",
"ca": "quilòmetres/hora",
"es": "kilómetros/hora",
2022-06-24 03:52:54 +02:00
"nl": "kilometers/uur",
2022-11-02 13:47:34 +01:00
"de": "Kilometer/Stunde",
2023-09-16 18:52:42 +02:00
"pa_PK": "ہر گھنٹہ وچ کیلومیٹر",
"fr": "kilomètres/heure"
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",
2022-11-02 13:47:34 +01:00
"de": "km/h",
2023-02-10 01:49:06 +01:00
"pa_PK": "ہر گھنٹے وچ کیلومیٹر",
2023-09-16 18:52:42 +02:00
"ru": "км/ч",
"fr": "km/h"
2022-06-04 18:10:09 +02:00
}
},
{
"canonicalDenomination": "mph",
2022-08-22 14:35:38 +02:00
"useIfNoUnitGiven": [
"gb",
"us"
],
2022-06-04 18:10:09 +02:00
"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",
2022-11-02 13:47:34 +01:00
"de": "Meilen/Stunde",
2023-09-16 18:52:42 +02:00
"pa_PK": "ہر گھنٹہ وچ میل",
"fr": "miles/heure"
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",
2022-11-02 13:47:34 +01:00
"de": "mph",
2023-09-16 18:52:42 +02:00
"pa_PK": "ہر گھنٹہ وچ میل",
"fr": "mph"
2022-06-04 18:10:09 +02:00
}
}
],
"appliesToKey": [
"maxspeed"
]
}
]
}