mapcomplete/assets/layers/speed_display/speed_display.json

159 lines
4.8 KiB
JSON

{
"id": "speed_display",
"name": {
"en": "Speed Display",
"de": "Geschwindigkeitsanzeigen",
"nl": "Snelheidsdisplay",
"ca": "Radar pedagògic"
},
"description": {
"en": "Layer showing speed displays that alert drivers of their speed.",
"de": "Ebene mit Geschwindigkeitsanzeigen, die Fahrer auf ihre Geschwindigkeit hinweisen.",
"nl": "Laag met snelheidsdisplays om bestuurders op hun snelheid te wijzen.",
"ca": "Capa que mostra radars pedagògics que alerten als conductors de la seva velocitat."
},
"title": {
"render": {
"en": "Speed Display",
"de": "Geschwindigkeitsanzeige",
"nl": "Snelheidsdisplay"
}
},
"minzoom": 12,
"source": {
"osmTags": "highway=speed_display"
},
"tagRenderings": [
{
"id": "maxspeed",
"question": {
"en": "What is the maximum speed allowed at this speed display?",
"de": "Wie hoch ist die zulässige Höchstgeschwindigkeit bei dieser Geschwindigkeitsanzeige?",
"nl": "Wat is de maximum toegestane snelheid bij dit snelheidsdisplay?",
"fr": "Quelle est la vitesse maximale autorisée au niveau de ce radar pédagogique ?"
},
"freeform": {
"key": "maxspeed",
"type": "pnat",
"placeholder": {
"en": "Speed allowed at speed display",
"de": "Zulässige Geschwindigkeit bei Geschwindigkeitsanzeige",
"nl": "Maximum toegestane snelheid bij snelheidsdisplay",
"fr": "Vitesse autorisée au niveau de ce radar pédagogique"
}
},
"render": {
"en": "The maximum speed allowed at this speed display is {canonical(maxspeed)}",
"de": "Die zulässige Höchstgeschwindigkeit bei dieser Geschwindigkeitsanzeige ist {canonical(maxspeed)}",
"ca": "La velocitat màxima permesa a aquest radar pedagògic és {canonical(maxspeed)}",
"nl": "De maximum toegestane snelheid bij dit snelheidsdisplay is {canonical(maxspeed)}",
"fr": "La vitesse maximale autorisée au niveau de ce radar pédagogique est {canonical(maxspeed)}"
}
},
{
"id": "inscription",
"question": {
"en": "What is the text on this speed display?",
"de": "Wie lautet der Text auf dieser Geschwindigkeitsanzeige?",
"ca": "Quin text es mostra al radar pedagògic?",
"nl": "Wat is de tekst op dit snelheidsdisplay?"
},
"freeform": {
"key": "inscription",
"type": "string",
"placeholder": {
"en": "Text on speed display (e.g. 'Your speed')",
"de": "Text auf der Geschwindigkeitsanzeige (z. B. \"Ihre Geschwindigkeit\")",
"nl": "Tekst op snelheidsdisplay (b.v. 'Uw snelheid')",
"ca": "Text al radar pedagògic (p. e. 'La seva velocitat')"
}
},
"render": {
"en": "The text on this speed display is {inscription}",
"de": "Der Text auf dieser Geschwindigkeitsanzeige ist {inscription}",
"nl": "De tekst op dit snelheidsdisplay is {inscription}",
"ca": "El text a aquest radar pedagogic és {inscription}"
}
}
],
"presets": [
{
"title": {
"en": "a speed display",
"de": "eine Geschwindigkeitsanzeige",
"nl": "een snelheidsdisplay",
"ca": "un radar pedagògic"
},
"tags": [
"highway=speed_display"
]
}
],
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"icon": "./assets/layers/speed_display/speed_display.svg"
}
],
"units": [
{
"appliesToKey": [
"maxspeed"
],
"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",
"nl": "kilometers/uur",
"de": "Kilometer/Stunde"
},
"humanShort": {
"en": "km/h",
"ca": "km/h",
"es": "km/h",
"nl": "km/u",
"de": "km/h"
}
},
{
"canonicalDenomination": "mph",
"useIfNoUnitGiven": [
"gb",
"us"
],
"alternativeDenomination": [
"m/u",
"mh",
"m/ph"
],
"human": {
"en": "miles/hour",
"ca": "milles/hora",
"es": "millas/hora",
"nl": "miles/uur",
"de": "Meilen/Stunde"
},
"humanShort": {
"en": "mph",
"ca": "mph",
"es": "mph",
"nl": "mph",
"de": "mph"
}
}
]
}
]
}