2021-10-22 01:07:32 +02:00
|
|
|
|
{
|
|
|
|
|
"id": "sidewalks",
|
|
|
|
|
"title": {
|
2021-11-25 17:59:12 +01:00
|
|
|
|
"en": "Sidewalks",
|
2022-04-03 03:06:04 +02:00
|
|
|
|
"ru": "Тротуары",
|
2022-04-09 17:35:21 +02:00
|
|
|
|
"nl": "Voetpaden",
|
2022-04-13 18:42:40 +02:00
|
|
|
|
"de": "Gehwege",
|
2022-04-28 00:35:08 +02:00
|
|
|
|
"ca": "Voreres",
|
2022-06-27 09:16:53 +02:00
|
|
|
|
"es": "Aceras",
|
|
|
|
|
"fr": "Trottoirs",
|
|
|
|
|
"nb_NO": "Fortau"
|
2021-10-22 01:07:32 +02:00
|
|
|
|
},
|
|
|
|
|
"shortDescription": {
|
2022-04-13 18:42:40 +02:00
|
|
|
|
"en": "Sidewalk mapping",
|
|
|
|
|
"ca": "Mapejat de voreres",
|
2022-04-28 00:35:08 +02:00
|
|
|
|
"de": "Kartierung von Bürgersteigen",
|
2022-06-19 22:13:38 +02:00
|
|
|
|
"es": "Mapeo de aceras",
|
2022-06-27 09:16:53 +02:00
|
|
|
|
"nl": "Voetpaden in kaart brengen",
|
|
|
|
|
"fr": "Cartographier des trottoirs"
|
2021-10-22 01:07:32 +02:00
|
|
|
|
},
|
|
|
|
|
"description": {
|
2021-11-25 17:59:12 +01:00
|
|
|
|
"en": "Experimental theme",
|
2022-04-13 18:42:40 +02:00
|
|
|
|
"ru": "Экспериментальная тема",
|
|
|
|
|
"ca": "Petició experimental",
|
2022-04-28 00:35:08 +02:00
|
|
|
|
"de": "Experimentelles Thema",
|
2022-06-19 22:13:38 +02:00
|
|
|
|
"es": "Tema experimental",
|
2022-06-27 09:16:53 +02:00
|
|
|
|
"nl": "Experimenteel thema",
|
|
|
|
|
"fr": "Thème expérimental",
|
|
|
|
|
"nb_NO": "Eksperimentelt tema"
|
2021-10-22 01:07:32 +02:00
|
|
|
|
},
|
|
|
|
|
"icon": "./assets/svg/bug.svg",
|
|
|
|
|
"startLat": 0,
|
|
|
|
|
"startLon": 0,
|
|
|
|
|
"startZoom": 1,
|
|
|
|
|
"widenFactor": 0.05,
|
2021-10-28 01:26:35 +02:00
|
|
|
|
"hideFromOverview": true,
|
2021-10-22 01:07:32 +02:00
|
|
|
|
"layers": [
|
|
|
|
|
{
|
|
|
|
|
"id": "sidewalks",
|
|
|
|
|
"name": {
|
2021-11-25 17:59:12 +01:00
|
|
|
|
"en": "Sidewalks",
|
2022-04-09 17:35:21 +02:00
|
|
|
|
"ru": "Тротуары",
|
2022-04-28 00:35:08 +02:00
|
|
|
|
"de": "Gehwege",
|
|
|
|
|
"ca": "Voreres",
|
2022-05-11 18:39:21 +02:00
|
|
|
|
"es": "Aceras",
|
2022-06-19 22:13:38 +02:00
|
|
|
|
"nb_NO": "Fortau",
|
2022-06-27 09:16:53 +02:00
|
|
|
|
"nl": "Voetpaden",
|
|
|
|
|
"fr": "Trottoirs"
|
2021-10-22 01:07:32 +02:00
|
|
|
|
},
|
|
|
|
|
"minzoom": 12,
|
|
|
|
|
"source": {
|
2021-10-28 00:53:29 +02:00
|
|
|
|
"osmTags": {
|
|
|
|
|
"or": [
|
|
|
|
|
"highway=residential",
|
2021-11-05 20:08:26 +01:00
|
|
|
|
"highway=unclassified",
|
2021-10-28 00:53:29 +02:00
|
|
|
|
"highway=tertiary",
|
|
|
|
|
"highway=secondary"
|
|
|
|
|
]
|
|
|
|
|
}
|
2021-10-22 01:07:32 +02:00
|
|
|
|
},
|
|
|
|
|
"title": {
|
|
|
|
|
"render": {
|
2021-11-25 17:59:12 +01:00
|
|
|
|
"en": "{name}",
|
2022-04-09 17:35:21 +02:00
|
|
|
|
"ru": "{name}",
|
2022-04-13 18:42:40 +02:00
|
|
|
|
"de": "{name}",
|
2022-04-28 00:35:08 +02:00
|
|
|
|
"ca": "{name}",
|
2022-06-19 22:13:38 +02:00
|
|
|
|
"es": "{name}",
|
2022-06-27 09:16:53 +02:00
|
|
|
|
"nl": "{name}",
|
|
|
|
|
"fr": "{name}"
|
2021-10-22 18:53:07 +02:00
|
|
|
|
},
|
|
|
|
|
"mappings": [
|
|
|
|
|
{
|
|
|
|
|
"if": "name=",
|
|
|
|
|
"then": "Nameless street"
|
|
|
|
|
}
|
|
|
|
|
]
|
2021-10-22 01:07:32 +02:00
|
|
|
|
},
|
|
|
|
|
"description": {
|
2022-04-13 18:42:40 +02:00
|
|
|
|
"en": "Layer showing sidewalks of highways",
|
2022-04-28 00:35:08 +02:00
|
|
|
|
"de": "Ebene mit Bürgersteigen",
|
2022-06-19 22:13:38 +02:00
|
|
|
|
"es": "Una capa que muestra aceras de autovías",
|
2022-06-27 09:16:53 +02:00
|
|
|
|
"nl": "Laag die voetpaden naast wegen toont",
|
|
|
|
|
"fr": "Calque montrant les trottoirs"
|
2021-10-22 01:07:32 +02:00
|
|
|
|
},
|
2021-10-22 18:53:07 +02:00
|
|
|
|
"tagRenderings": [
|
|
|
|
|
{
|
|
|
|
|
"id": "streetname",
|
|
|
|
|
"render": {
|
2022-04-13 18:42:40 +02:00
|
|
|
|
"en": "This street is named {name}",
|
2022-04-28 00:35:08 +02:00
|
|
|
|
"de": "Diese Straße heißt {name}",
|
2022-06-19 22:13:38 +02:00
|
|
|
|
"es": "Esta calle se llama {name}",
|
2022-06-27 09:16:53 +02:00
|
|
|
|
"nl": "Deze straat heet {name}",
|
|
|
|
|
"fr": "Cette rue s’appelle {name}",
|
|
|
|
|
"nb_NO": "Denne gaten heter {name}"
|
2021-10-22 18:53:07 +02:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-08-05 13:11:50 +02:00
|
|
|
|
"id": "left-right-questions",
|
2021-10-26 01:39:29 +02:00
|
|
|
|
"rewrite": {
|
2022-01-29 02:45:59 +01:00
|
|
|
|
"sourceString": [
|
|
|
|
|
"left|right"
|
|
|
|
|
],
|
2021-10-26 01:39:29 +02:00
|
|
|
|
"into": [
|
2022-01-29 02:45:59 +01:00
|
|
|
|
[
|
|
|
|
|
"left"
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
"right"
|
|
|
|
|
]
|
2021-10-26 01:39:29 +02:00
|
|
|
|
]
|
2021-10-22 18:53:07 +02:00
|
|
|
|
},
|
2021-10-26 01:39:29 +02:00
|
|
|
|
"renderings": [
|
|
|
|
|
{
|
2021-12-21 18:35:31 +01:00
|
|
|
|
"id": "sidewalk_minimap_left|right",
|
2021-10-28 01:26:35 +02:00
|
|
|
|
"render": "{sided_minimap(left|right):height:8rem;border-radius:0.5rem;overflow:hidden}"
|
2021-10-22 18:53:07 +02:00
|
|
|
|
},
|
2021-10-26 01:39:29 +02:00
|
|
|
|
{
|
2021-12-21 18:35:31 +01:00
|
|
|
|
"id": "has_sidewalk_left|right",
|
2022-08-05 13:11:50 +02:00
|
|
|
|
"question": {
|
|
|
|
|
"en": "Is there a sidewalk on this side of the road?"
|
|
|
|
|
},
|
2021-10-26 01:39:29 +02:00
|
|
|
|
"mappings": [
|
|
|
|
|
{
|
|
|
|
|
"if": "sidewalk:left|right=yes",
|
2022-08-05 13:11:50 +02:00
|
|
|
|
"then": {
|
|
|
|
|
"en": "Yes, there is a sidewalk on this side of the road"
|
|
|
|
|
}
|
2021-10-26 01:39:29 +02:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "sidewalk:left|right=no",
|
2022-08-05 13:11:50 +02:00
|
|
|
|
"then": {
|
|
|
|
|
"en": "No, there is no sidewalk to walk on"
|
|
|
|
|
}
|
2022-07-19 23:05:40 +02:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "sidewalk:left|right=separate",
|
2022-08-05 13:11:50 +02:00
|
|
|
|
"then": {
|
|
|
|
|
"en": "There is a separately mapped sidewalk to walk on"
|
|
|
|
|
}
|
2021-10-26 01:39:29 +02:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
2021-12-21 18:35:31 +01:00
|
|
|
|
"id": "sidewalk_width_left|right",
|
2022-08-05 13:11:50 +02:00
|
|
|
|
"question": {
|
|
|
|
|
"en": "What is the width of the sidewalk on this side of the road?"
|
|
|
|
|
},
|
|
|
|
|
"render": {
|
|
|
|
|
"en": "This sidewalk is {sidewalk:left|right:width}m wide"
|
|
|
|
|
},
|
2021-10-26 01:39:29 +02:00
|
|
|
|
"condition": "sidewalk:left|right=yes",
|
|
|
|
|
"freeform": {
|
|
|
|
|
"key": "sidewalk:left|right:width",
|
2022-06-20 03:14:44 +02:00
|
|
|
|
"type": "distance",
|
2021-10-26 01:39:29 +02:00
|
|
|
|
"helperArgs": [
|
|
|
|
|
"21",
|
|
|
|
|
"map"
|
|
|
|
|
]
|
|
|
|
|
}
|
2021-10-22 18:53:07 +02:00
|
|
|
|
}
|
2021-10-26 01:39:29 +02:00
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
2021-10-22 01:07:32 +02:00
|
|
|
|
"mapRendering": [
|
|
|
|
|
{
|
2021-10-26 01:39:29 +02:00
|
|
|
|
"location": [
|
|
|
|
|
"start",
|
|
|
|
|
"end"
|
|
|
|
|
],
|
2021-10-22 18:53:07 +02:00
|
|
|
|
"icon": "circle:#ccc",
|
2021-11-08 19:46:43 +01:00
|
|
|
|
"iconSize": "3,3,center"
|
2021-10-22 01:07:32 +02:00
|
|
|
|
},
|
2021-10-22 18:53:07 +02:00
|
|
|
|
{
|
2021-10-28 01:26:35 +02:00
|
|
|
|
"#": "The center line",
|
2021-10-22 18:53:07 +02:00
|
|
|
|
"color": "#ffffff55",
|
2021-11-08 19:46:43 +01:00
|
|
|
|
"width": 8,
|
|
|
|
|
"lineCap": "butt"
|
2021-10-22 18:53:07 +02:00
|
|
|
|
},
|
|
|
|
|
{
|
2021-10-28 01:26:35 +02:00
|
|
|
|
"#": "left",
|
2021-10-22 18:53:07 +02:00
|
|
|
|
"color": {
|
|
|
|
|
"render": "#888"
|
|
|
|
|
},
|
2021-10-28 01:26:35 +02:00
|
|
|
|
"dashArray": {
|
2021-10-28 00:53:29 +02:00
|
|
|
|
"render": "",
|
|
|
|
|
"mappings": [
|
|
|
|
|
{
|
2021-10-28 01:26:35 +02:00
|
|
|
|
"if": "sidewalk:left=",
|
|
|
|
|
"then": "1,12"
|
2021-10-28 00:53:29 +02:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2021-10-22 18:53:07 +02:00
|
|
|
|
"width": {
|
|
|
|
|
"render": 6,
|
|
|
|
|
"mappings": [
|
|
|
|
|
{
|
|
|
|
|
"if": {
|
|
|
|
|
"or": [
|
|
|
|
|
"sidewalk:left=no",
|
|
|
|
|
"sidewalk:left=separate"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"then": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2021-11-08 19:46:43 +01:00
|
|
|
|
"offset": -6,
|
|
|
|
|
"lineCap": "butt"
|
2021-10-22 18:53:07 +02:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "#888",
|
2021-10-28 01:26:35 +02:00
|
|
|
|
"dashArray": {
|
2021-10-28 00:53:29 +02:00
|
|
|
|
"render": "",
|
|
|
|
|
"mappings": [
|
|
|
|
|
{
|
|
|
|
|
"if": "sidewalk:right=",
|
2021-10-28 01:26:35 +02:00
|
|
|
|
"then": "1,12"
|
2021-10-28 00:53:29 +02:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2021-10-22 18:53:07 +02:00
|
|
|
|
"width": {
|
|
|
|
|
"render": 6,
|
|
|
|
|
"mappings": [
|
|
|
|
|
{
|
|
|
|
|
"if": {
|
|
|
|
|
"or": [
|
|
|
|
|
"sidewalk:right=no",
|
|
|
|
|
"sidewalk:right=separate"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"then": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2021-11-08 19:46:43 +01:00
|
|
|
|
"lineCap": "butt",
|
2021-10-22 18:53:07 +02:00
|
|
|
|
"offset": 6
|
|
|
|
|
}
|
2021-10-22 01:07:32 +02:00
|
|
|
|
],
|
2021-10-22 01:42:44 +02:00
|
|
|
|
"allowSplit": true
|
2021-10-22 01:07:32 +02:00
|
|
|
|
}
|
|
|
|
|
]
|
2022-07-26 10:51:14 +02:00
|
|
|
|
}
|