mapcomplete/assets/layers/kerbs/kerbs.json

154 lines
3.3 KiB
JSON
Raw Normal View History

2022-05-05 11:54:30 +02:00
{
"id": "kerbs",
"name": {
"en": "Kerbs",
"nl": "Stoepranden"
},
"description": {
"en": "A layer showing kerbs.",
"nl": "Een laag met stoepranden."
},
"source": {
"osmTags": "barrier=kerb"
},
"minzoom": 13,
"title": {
"render": {
"en": "Kerb",
"nl": "Stoeprand"
}
},
"mapRendering": [
{
"location": [
2022-05-05 13:07:24 +02:00
"point"
2022-05-05 11:54:30 +02:00
],
"icon": {
"render": "./assets/layers/kerbs/KerbIcon.svg",
"mappings": [
{
"if": "kerb=raised",
"then": "./assets/layers/kerbs/raised.svg"
},
{
"if": "kerb=lowered",
"then": "./assets/layers/kerbs/lowered.svg"
},
{
"if": "kerb=flush",
"then": "./assets/layers/kerbs/flush.svg"
},
{
"if": "kerb=no",
"then": "./assets/layers/kerbs/no.svg"
}
]
}
2022-05-05 13:07:24 +02:00
},
{
"color": "#f44e42",
2022-05-08 14:34:33 +02:00
"fill": "no",
2022-05-05 13:07:24 +02:00
"width": "8"
2022-05-05 11:54:30 +02:00
}
],
"tagRenderings": [
{
"id": "kerb-type",
"question": {
"en": "What is the height of this kerb?",
"nl": "Hoe hoog is deze stoeprand?"
},
"mappings": [
{
"if": "kerb=raised",
"then": {
2022-05-08 18:32:45 +02:00
"en": "This kerb is raised (>3 cm)",
"nl": "Deze stoeprand is hoog (>3 cm)"
2022-05-05 11:54:30 +02:00
}
},
{
"if": "kerb=lowered",
"then": {
2022-05-08 18:32:45 +02:00
"en": "This kerb is lowered (~3 cm)",
"nl": "Deze stoeprand is verlaagd (~3 cm)"
2022-05-05 11:54:30 +02:00
}
},
{
"if": "kerb=flush",
"then": {
2022-05-08 18:32:45 +02:00
"en": "This kerb is flush (~0cm)",
"nl": "Deze stoeprand is vlak (~0cm)"
2022-05-05 11:54:30 +02:00
}
},
{
"if": "kerb=no",
"then": {
2022-05-08 18:32:45 +02:00
"en": "There is no kerb here",
"nl": "Er is hier geen stoeprand"
2022-05-05 11:54:30 +02:00
},
"hideInAnswer": true
},
{
"if": "kerb=yes",
"then": {
2022-05-08 18:32:45 +02:00
"en": "There is a kerb of unknown height",
"nl": "Er is een stoeprand met onbekende hoogte"
2022-05-05 11:54:30 +02:00
},
"hideInAnswer": true
}
2022-05-08 18:04:20 +02:00
],
"condition": "_geometry:type=Point"
},
{
"id": "tactile-paving",
"question": {
"en": "Is there tactile paving at this kerb?"
},
"mappings": [
{
"if": "tactile_paving=yes",
"then": {
"en": "This kerb has tactile paving."
}
},
{
"if": "tactile_paving=no",
"then": {
"en": "This kerb does not have tactile paving."
}
},
{
"if": "tactile_paving=incorrect",
"then": {
"en": "This kerb has tactile paving, but it is incorrect"
},
"hideInAnswer": true
}
2022-05-08 18:04:20 +02:00
],
"condition": "_geometry:type=Point"
2022-05-05 11:54:30 +02:00
}
2022-05-05 13:07:24 +02:00
],
"presets": [
{
"title": {
"en": "a kerb",
"nl": "een stoeprand"
},
"tags": [
"barrier=kerb"
],
"description": {
"en": "Kerb in a footway",
"nl": "Stoeprand in een voetpad"
},
"preciseInput": {
"maxSnapDistance": 10,
"preferredBackground": "photo",
"snapToLayer": [
"cycleways_and_roads",
"kerbs"
]
2022-05-05 13:07:24 +02:00
}
}
2022-05-05 11:54:30 +02:00
]
}