mapcomplete/assets/layers/kerbs/kerbs.json
2022-07-13 11:06:43 +02:00

337 lines
No EOL
8.3 KiB
JSON

{
"id": "kerbs",
"name": {
"en": "Kerbs",
"nl": "Stoepranden",
"de": "Bordsteine"
},
"description": {
"en": "A layer showing kerbs.",
"nl": "Een laag met stoepranden.",
"de": "Eine Ebene, die Bordsteine zeigt."
},
"source": {
"osmTags": "barrier=kerb"
},
"minzoom": 13,
"title": {
"render": {
"en": "Kerb",
"nl": "Stoeprand",
"de": "Bordstein"
}
},
"mapRendering": [
{
"location": [
"point"
],
"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"
}
]
}
},
{
"color": "#f44e42",
"fill": "no",
"width": "8"
}
],
"tagRenderings": [
{
"id": "kerb-type",
"question": {
"en": "What is the height of this kerb?",
"nl": "Hoe hoog is deze stoeprand?",
"de": "Wie hoch ist der Bordstein?"
},
"mappings": [
{
"if": "kerb=raised",
"then": {
"en": "This kerb is raised (>3 cm)",
"nl": "Deze stoeprand is hoog (>3 cm)",
"de": "Der Bordstein ist erhöht (>3 cm)"
},
"icon": {
"path": "./assets/layers/kerbs/raised.svg",
"class": "small"
}
},
{
"if": "kerb=lowered",
"then": {
"en": "This kerb is lowered (~3 cm)",
"nl": "Deze stoeprand is verlaagd (~3 cm)",
"de": "Der Bordstein ist abgesenkt (~3 cm)"
},
"icon": {
"path": "./assets/layers/kerbs/lowered.svg",
"class": "small"
}
},
{
"if": "kerb=flush",
"then": {
"en": "This kerb is flush (~0cm)",
"nl": "Deze stoeprand is vlak (~0cm)",
"de": "Der Bordstein ist bündig (~0cm)"
},
"icon": {
"path": "./assets/layers/kerbs/flush.svg",
"class": "small"
}
},
{
"if": "kerb=no",
"then": {
"en": "There is no kerb here",
"nl": "Er is hier geen stoeprand",
"de": "Hier gibt es keinen Bordstein"
},
"hideInAnswer": true,
"icon": {
"path": "./assets/layers/kerbs/no.svg",
"class": "small"
}
},
{
"if": "kerb=yes",
"then": {
"en": "There is a kerb of unknown height",
"nl": "Er is een stoeprand met onbekende hoogte",
"de": "Es gibt einen Bordstein mit unbekannter Höhe"
},
"hideInAnswer": true
}
],
"condition": "_geometry:type=Point"
},
{
"id": "tactile-paving",
"question": {
"en": "Is there tactile paving at this kerb?",
"de": "Gibt es am Bordstein ein taktiles Pflaster?"
},
"mappings": [
{
"if": "tactile_paving=yes",
"then": {
"en": "This kerb has tactile paving.",
"de": "Der Bordstein hat ein taktiles Pflaster."
}
},
{
"if": "tactile_paving=no",
"then": {
"en": "This kerb does not have tactile paving.",
"de": "Der Bordstein hat kein taktiles Pflaster."
}
},
{
"if": "tactile_paving=incorrect",
"then": {
"en": "This kerb has tactile paving, but it is incorrect",
"de": "Der Bordstein hat ein taktiles Pflaster, das aber falsch ist"
},
"hideInAnswer": true
}
],
"condition": "_geometry:type=Point"
},
{
"id": "kerb-height",
"question": {
"en": "What is the height of this kerb?",
"nl": "Hoe hoog is deze stoeprand?",
"de": "Wie hoch ist der Bordstein?"
},
"render": {
"en": "Kerb height: {kerb:height}",
"nl": "Stoeprandhoogte: {kerb:height}",
"de": "Bordsteinhöhe: {kerb:height}"
},
"freeform": {
"key": "kerb:height",
"placeholder": {
"en": "Height of the kerb",
"nl": "Hoogte van de stoeprand",
"de": "Höhe des Bordsteins"
},
"type": "pnat"
}
}
],
"presets": [
{
"title": {
"en": "a kerb",
"nl": "een stoeprand",
"de": "einen Bordstein"
},
"tags": [
"barrier=kerb"
],
"description": {
"en": "Kerb in a footway",
"nl": "Stoeprand in een voetpad",
"de": "Bordstein in einem Fußweg"
},
"preciseInput": {
"maxSnapDistance": 10,
"preferredBackground": "photo",
"snapToLayer": [
"cycleways_and_roads",
"kerbs"
]
}
}
],
"filter": [
{
"id": "kerb-type",
"options": [
{
"question": {
"en": "All types of kerbs",
"nl": "Alle typen stoepranden",
"de": "Alle Arten von Bordsteinen"
}
},
{
"osmTags": "kerb=raised",
"question": {
"en": "Raised kerb (>3 cm)",
"nl": "Hoge stoeprand (>3 cm)",
"de": "Erhöhter Bordstein (>3 cm)"
}
},
{
"osmTags": "kerb=lowered",
"question": {
"en": "Lowered kerb (~3 cm)",
"nl": "Verlaagde stoeprand (~3 cm)",
"de": "Abgesenkter Bordstein (~3 cm)"
}
},
{
"osmTags": "kerb=flush",
"question": {
"en": "Flush kerb (~0cm)",
"nl": "Vlakke stoeprand (~0cm)",
"de": "Bündiger Bordstein (~0cm)"
}
},
{
"osmTags": "kerb=no",
"question": {
"en": "No kerb",
"nl": "Geen stoeprand",
"de": "Kein Bordstein"
}
},
{
"osmTags": "kerb=",
"question": {
"en": "Kerb with unknown height",
"nl": "Stoeprand met onbekende hoogte",
"de": "Bordstein mit unbekannter Höhe"
}
}
]
},
{
"id": "tactile-paving",
"options": [
{
"question": {
"en": "Kerbs with or without tactile paving",
"de": "Bordsteine mit oder ohne taktilem Pflaster"
}
},
{
"osmTags": "tactile_paving=yes",
"question": {
"en": "Kerb with tactile paving",
"de": "Bordstein mit taktilem Pflaster"
}
},
{
"osmTags": "tactile_paving=no",
"question": {
"en": "Kerb without tactile paving",
"de": "Bordstein ohne taktilem Pflaster"
}
},
{
"osmTags": "tactile_paving=",
"question": {
"en": "Kerb wihout information about tactile paving",
"de": "Bordstein ohne Informationen über taktiles Pflaster"
}
}
]
}
],
"units": [
{
"applicableUnits": [
{
"canonicalDenomination": "cm",
"alternativeDenomination": [
"centimeter",
"centimeters"
],
"human": {
"en": "centimeters",
"nl": "centimeter",
"de": "Zentimeter"
},
"humanSingular": {
"en": "centimeter",
"nl": "centimeter",
"de": "Zentimeter"
},
"default": true
},
{
"canonicalDenomination": "m",
"alternativeDenomination": [
"meter",
"meters"
],
"human": {
"en": "meters",
"nl": "meter",
"de": "Meter"
},
"humanSingular": {
"en": "meter",
"nl": "meter",
"de": "Meter"
}
}
],
"appliesToKey": [
"kerb:height"
]
}
]
}