mapcomplete/assets/themes/sidewalks/sidewalks.json

296 lines
No EOL
9.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "sidewalks",
"title": {
"en": "Sidewalks",
"ru": "Тротуары",
"nl": "Voetpaden",
"de": "Gehwege",
"ca": "Voreres",
"es": "Aceras",
"fr": "Trottoirs",
"nb_NO": "Fortau",
"it": "Marciapiede",
"da": "Fortove",
"pa_PK": "فُٹ‌پاتھ"
},
"shortDescription": {
"en": "Sidewalk mapping",
"ca": "Mapejat de voreres",
"de": "Kartierung von Bürgersteigen",
"es": "Mapeo de aceras",
"nl": "Voetpaden in kaart brengen",
"fr": "Cartographier des trottoirs",
"it": "Mappatura del marciapiede",
"da": "Kortlægning af fortov",
"pa_PK": "فُت‌پیتھ دا نقشہ بݨاؤݨ"
},
"description": {
"en": "Experimental theme",
"ru": "Экспериментальная тема",
"ca": "Petició experimental",
"de": "Experimentelles Thema",
"es": "Tema experimental",
"nl": "Experimenteel thema",
"fr": "Thème expérimental",
"nb_NO": "Eksperimentelt tema",
"da": "Eksperimentelt tema",
"pa_PK": "آزمائش تھیم"
},
"icon": "./assets/svg/bug.svg",
"startLat": 0,
"startLon": 0,
"startZoom": 1,
"widenFactor": 0.05,
"hideFromOverview": true,
"layers": [
{
"id": "sidewalks",
"name": {
"en": "Sidewalks",
"ru": "Тротуары",
"de": "Gehwege",
"ca": "Voreres",
"es": "Aceras",
"nb_NO": "Fortau",
"nl": "Voetpaden",
"fr": "Trottoirs",
"it": "Marciapiedi",
"da": "Fortove",
"pa_PK": "فُٹ‌پاتھ"
},
"minzoom": 12,
"source": {
"osmTags": {
"or": [
"highway=residential",
"highway=unclassified",
"highway=tertiary",
"highway=secondary"
]
}
},
"title": {
"render": {
"en": "{name}",
"ru": "{name}",
"de": "{name}",
"ca": "{name}",
"es": "{name}",
"nl": "{name}",
"fr": "{name}",
"it": "{name}",
"da": "{name}"
},
"mappings": [
{
"if": "name=",
"then": "Nameless street"
}
]
},
"description": {
"en": "Layer showing sidewalks of highways",
"de": "Ebene mit Bürgersteigen",
"es": "Una capa que muestra las aceras de las vías",
"nl": "Laag die voetpaden naast wegen toont",
"fr": "Calque montrant les trottoirs",
"da": "Lag, der viser fortove på motorveje",
"ca": "Una capa que mostra les voreres de les vies"
},
"tagRenderings": [
{
"id": "streetname",
"render": {
"en": "This street is named {name}",
"de": "Diese Straße heißt {name}",
"es": "Esta calle se llama {name}",
"nl": "Deze straat heet {name}",
"fr": "Cette rue sappelle {name}",
"nb_NO": "Denne gaten heter {name}",
"it": "La strada si chiama {name}",
"da": "Denne gade hedder {name}",
"ca": "El carrer s'anomena {name}"
}
},
{
"id": "left-right-questions",
"rewrite": {
"sourceString": [
"left|right"
],
"into": [
[
"left"
],
[
"right"
]
]
},
"renderings": [
{
"id": "sidewalk_minimap_left|right",
"render": "{sided_minimap(left|right):height:8rem;border-radius:0.5rem;overflow:hidden}"
},
{
"id": "has_sidewalk_left|right",
"question": {
"en": "Is there a sidewalk on this side of the road?",
"de": "Gibt es auf dieser Straßenseite einen Bürgersteig?",
"da": "Er der et fortov på denne side af vejen?",
"nl": "Is er een stoep aan deze kant van de weg?",
"fr": "Y a-t-il un trottoir de ce côté de la route ?",
"ca": "Hi ha una vorera a aquest costat del carrer?",
"es": "¿Hay una acera en este lado de la calle?"
},
"mappings": [
{
"if": "sidewalk:left|right=yes",
"then": {
"en": "Yes, there is a sidewalk on this side of the road",
"de": "Ja, es gibt einen Bürgersteig auf dieser Straßenseite",
"da": "Ja, der er et fortov på denne side af vejen",
"nl": "Ja, er is een stoep aan deze kant van de weg",
"fr": "Oui, il y a un trottoir de ce côté de la route",
"ca": "Sí, hi ha una vorera a aquest costat del carrer",
"es": "Sí, hay una acera en este lado de la calle"
}
},
{
"if": "sidewalk:left|right=no",
"then": {
"en": "No, there is no sidewalk to walk on",
"de": "Nein, es gibt keinen Bürgersteig für Fußgänger",
"da": "Nej, der er ikke noget fortov at gå på",
"nl": "Nee, er is geen stoep om op te lopen",
"fr": "Non, il n'y a pas de trottoir où marcher",
"ca": "No, no hi ha vorera per la que caminar",
"es": "No, no hay acera por la que caminar"
}
},
{
"if": "sidewalk:left|right=separate",
"then": {
"en": "There is a separately mapped sidewalk to walk on",
"de": "Es gibt einen separat kartierten Bürgersteig für Fußgänger",
"da": "Der er et særskilt kortlagt fortov at gå på",
"nl": "Er is een apart ingetekende stoep om op te lopen",
"fr": "Il y a un trottoir où marcher cartographié séparément",
"ca": "Hi ha una vorera mapejada separadament per on caminar",
"es": "Hay una acera mapeada por separado por la que caminar"
}
}
]
},
{
"id": "sidewalk_width_left|right",
"question": {
"en": "What is the width of the sidewalk on this side of the road?",
"de": "Wie breit ist der Bürgersteig auf dieser Straßenseite?",
"da": "Hvad er bredden af fortovet på denne side af vejen?",
"nl": "Hoe breed is de stoep aan deze kant van de weg?",
"fr": "Quelle est la largeur du trottoir de ce côté de la route ?",
"ca": "Quina és l'amplada de la vorera a aquest costat de la calçada?",
"es": "¿Cuál es la anchura de la acera en este lado de la calzada?"
},
"render": {
"en": "This sidewalk is {sidewalk:left|right:width}m wide",
"de": "Dieser Bürgersteig ist {sidewalk:left|right:width}m breit",
"da": "Dette fortov er {sidewalk:left|right:width}m bredt",
"nl": "Deze stoep is {sidewalk:left|right:width}m breed",
"fr": "Ce trottoir fait {sidewalk:left|right:width} m de large",
"ca": "Aquesta vorera té {sidewalk:left|right:width} m d'ample",
"es": "Esta acera tiene {sidewalk:left|right:width} m de ancho"
},
"condition": "sidewalk:left|right=yes",
"freeform": {
"key": "sidewalk:left|right:width",
"type": "distance",
"helperArgs": [
"21",
"map"
]
}
}
]
}
],
"mapRendering": [
{
"location": [
"start",
"end"
],
"icon": "circle:#ccc",
"iconSize": "3,3,center"
},
{
"#": "The center line",
"color": "#ffffff55",
"width": 8,
"lineCap": "butt"
},
{
"#": "left",
"color": {
"render": "#888"
},
"dashArray": {
"render": "",
"mappings": [
{
"if": "sidewalk:left=",
"then": "1,12"
}
]
},
"width": {
"render": 6,
"mappings": [
{
"if": {
"or": [
"sidewalk:left=no",
"sidewalk:left=separate"
]
},
"then": 0
}
]
},
"offset": -6,
"lineCap": "butt"
},
{
"color": "#888",
"dashArray": {
"render": "",
"mappings": [
{
"if": "sidewalk:right=",
"then": "1,12"
}
]
},
"width": {
"render": 6,
"mappings": [
{
"if": {
"or": [
"sidewalk:right=no",
"sidewalk:right=separate"
]
},
"then": 0
}
]
},
"lineCap": "butt",
"offset": 6
}
],
"allowSplit": true
}
]
}