MapComplete/assets/themes/cycle_infra/cycle_infra.json

272 lines
6 KiB
JSON
Raw Normal View History

2021-07-06 15:05:57 +02:00
{
"id": "cycle_infra",
"title": {
"en": "Bicycle infrastructure"
},
"shortDescription": {
"en": "A map where you can view and edit things related to the bicycle infrastructure."
},
"description": {
"en": "A map where you can view and edit things related to the bicycle infrastructure made during osoc21."
},
"language": [
"en"
],
"maintainer": "",
"icon": "./assets/svg/cycle-infra.svg",
"version": "0",
"startLat": 51,
"startLon": 3.75,
"startZoom": 11,
"widenFactor": 0.05,
"socialImage": "",
"layers": [
{
"id": "cycleways",
"name": {
"en": "Cycleways"
},
"minzoom": 12,
"source": {
"osmTags": {
"and": [
"highway=cycleway"
]
}
},
"title": {
"render": {
"en": "Cycleways"
}
},
"description": {},
"tagRenderings": [],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/svg/bug.svg"
},
"width": {
"render": "8"
},
"iconSize": {
"render": "40,40,center"
},
"color": {
"render": "#0f0"
},
"presets": []
},
{
"id": "shared_lanes",
"name": {
"en": "Shared lanes"
},
"minzoom": 12,
"source": {
"osmTags": {
"and": [
"cycleway=shared_lane"
]
}
},
"title": {
"render": {
"en": "Shared Lane"
}
},
"description": {
"en": "Cyclepaths where you have to share your lane with other cyclists."
},
"tagRenderings": [
{
"render": {
"en": "The maximum speed on this road is {speed}"
},
"freeform": {
"key": "maxspeed",
"addExtraTags": []
},
"mappings": [
{
"if": "maxspeed=20",
"then": {
"en": "The maximum speed is 20 km/h"
}
},
{
"if": "maxspeed=30",
"then": {
"en": "The maximum speed is 30 km/h"
}
},
{
"if": "maxspeed=50",
"then": {
"en": "The maximum speed is 50 km/h"
}
},
{
"if": "maxspeed=70",
"then": {
"en": "The maximum speed is 70 km/h"
}
},
{
"if": "maxspeed=90",
"then": {
"en": "The maximum speed is 90 km/h"
}
}
],
"question": {
"en": "What is the maximum speed in this street?"
}
}
],
2021-07-06 15:05:57 +02:00
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/svg/bug.svg"
},
"width": {
"render": "8"
},
"iconSize": {
"render": "40,40,center"
},
"color": {
"render": "#f00"
},
"presets": []
},
{
"id": "lanes",
"name": {
"en": "Lanes"
},
"minzoom": 12,
"source": {
"osmTags": {
"and": [
"cycleway=lane"
]
}
},
"title": {
"render": {
"en": "Cycleway next to road"
}
},
"description": {
"en": "Cycleways immediately next to the road."
},
"tagRenderings": [
{
"render": {
"en": "The maximum speed on this road is {speed}"
},
"freeform": {
"key": "maxspeed",
"addExtraTags": []
},
"mappings": [
{
"if": "maxspeed=20",
"then": {
"en": "The maximum speed is 20 km/h"
}
},
{
"if": "maxspeed=30",
"then": {
"en": "The maximum speed is 30 km/h"
}
},
{
"if": "maxspeed=50",
"then": {
"en": "The maximum speed is 50 km/h"
}
},
{
"if": "maxspeed=70",
"then": {
"en": "The maximum speed is 70 km/h"
}
},
{
"if": "maxspeed=90",
"then": {
"en": "The maximum speed is 90 km/h"
}
}
],
"question": {
"en": "What is the maximum speed in this street?"
}
}
],
2021-07-06 15:05:57 +02:00
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/svg/bug.svg"
},
"width": {
"render": "8"
},
"iconSize": {
"render": "40,40,center"
},
"color": {
"render": "#f90"
},
"presets": []
}
],
2021-07-06 15:57:02 +02:00
"overrideAll": {
"+tagRenderings": [
{
"render": {
"en": "This road is made of {surface}"
},
"freeform": {
"key": "surface",
"addExtraTags": []
},
"mappings": [
{
"if": "surface=wood",
"then": {
"en": "The street is made of wood"
}
},
{
"if": "surface=concrete",
"then": {
"en": "This street is made of concrete"
}
},
{
"if": "surface=cobblestone",
"then": {
"en": "This street is made of concrete"
}
},
{
"if": "surface=asphalt",
"then": {
"en": "This street is made of asphalt"
}
},
{
"if": "surface=paved",
"then": {
"en": "This street is paved"
}
}
],
"question": {
"en": "What is the surface of the street made from?"
}
}
]
}
2021-07-06 15:05:57 +02:00
}