mapcomplete/assets/layers/kerbs/kerbs.json
2022-08-22 22:31:05 +02:00

376 lines
No EOL
10 KiB
JSON

{
"id": "kerbs",
"name": {
"en": "Kerbs",
"nl": "Stoepranden",
"de": "Bordsteine",
"fr": "Bordures"
},
"description": {
"en": "A layer showing kerbs.",
"nl": "Een laag met stoepranden.",
"de": "Eine Ebene, die Bordsteine zeigt.",
"fr": "Un calque montrant les bordures."
},
"source": {
"osmTags": "barrier=kerb"
},
"minzoom": 13,
"title": {
"render": {
"en": "Kerb",
"nl": "Stoeprand",
"de": "Bordstein",
"fr": "Bordure"
}
},
"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?",
"fr": "Quelle est la hauteur de ce trottoir ?"
},
"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)",
"fr": "Cette bordure est surélevée (>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)",
"fr": "Cette bordure est abaissée (~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)",
"fr": "Cette bordure est affleurante (~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",
"fr": "Il n'y a pas de bordure ici"
},
"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",
"fr": "Il y a un trottoir de hauteur inconnue"
},
"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?",
"fr": "Y a-t-il un revêtement tactile sur cette bordure ?",
"nl": "Is er voelbare bestrating bij deze stoeprand?"
},
"mappings": [
{
"if": "tactile_paving=yes",
"then": {
"en": "This kerb has tactile paving.",
"de": "Der Bordstein hat ein taktiles Pflaster.",
"fr": "Cette bordure a un revêtement podotactile.",
"nl": "Deze stoeprand heeft voelbare bestrating."
}
},
{
"if": "tactile_paving=no",
"then": {
"en": "This kerb does not have tactile paving.",
"de": "Der Bordstein hat kein taktiles Pflaster.",
"fr": "Cette bordure n'a pas de revêtement podotactile.",
"nl": "Deze stoeprand heeft geen voelbare bestrating."
}
},
{
"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.",
"fr": "Cette bordure a un pavage tactile, mais il est incorrect.",
"nl": "Deze stoeprand heeft voelbare bestrating, maar deze is incorrect."
},
"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?",
"fr": "Quelle est la hauteur de ce trottoir ?"
},
"render": {
"en": "Kerb height: {kerb:height}",
"nl": "Stoeprandhoogte: {kerb:height}",
"de": "Bordsteinhöhe: {kerb:height}",
"fr": "Hauteur du trottoir : {kerb:height}"
},
"freeform": {
"key": "kerb:height",
"placeholder": {
"en": "Height of the kerb",
"nl": "Hoogte van de stoeprand",
"de": "Höhe des Bordsteins",
"fr": "Hauteur de la bordure"
},
"type": "pnat"
}
}
],
"presets": [
{
"title": {
"en": "a kerb",
"nl": "een stoeprand",
"de": "einen Bordstein",
"fr": "une bordure"
},
"tags": [
"barrier=kerb"
],
"description": {
"en": "Kerb in a footway",
"nl": "Stoeprand in een voetpad",
"de": "Bordstein in einem Fußweg",
"fr": "Bordure dans un trottoir"
},
"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",
"fr": "Tous types de bordures"
}
},
{
"osmTags": "kerb=raised",
"question": {
"en": "Raised kerb (>3 cm)",
"nl": "Hoge stoeprand (>3 cm)",
"de": "Erhöhter Bordstein (>3 cm)",
"fr": "Bordure surélevée (>3 cm)"
}
},
{
"osmTags": "kerb=lowered",
"question": {
"en": "Lowered kerb (~3 cm)",
"nl": "Verlaagde stoeprand (~3 cm)",
"de": "Abgesenkter Bordstein (~3 cm)",
"fr": "Bordure abaissée (~3 cm)"
}
},
{
"osmTags": "kerb=flush",
"question": {
"en": "Flush kerb (~0cm)",
"nl": "Vlakke stoeprand (~0cm)",
"de": "Bündiger Bordstein (~0cm)",
"fr": "Bordure affleurante (~0cm)"
}
},
{
"osmTags": "kerb=no",
"question": {
"en": "No kerb",
"nl": "Geen stoeprand",
"de": "Kein Bordstein",
"fr": "Pas de trottoir"
}
},
{
"osmTags": "kerb=",
"question": {
"en": "Kerb with unknown height",
"nl": "Stoeprand met onbekende hoogte",
"de": "Bordstein mit unbekannter Höhe",
"fr": "Bordure de hauteur inconnue"
}
}
]
},
{
"id": "tactile-paving",
"options": [
{
"question": {
"en": "Kerbs with or without tactile paving",
"de": "Bordsteine mit oder ohne taktilem Pflaster",
"fr": "Bordures avec ou sans revêtement podotactile",
"nl": "Stoepranden met of zonder voelbare bestrating"
}
},
{
"osmTags": "tactile_paving=yes",
"question": {
"en": "Kerb with tactile paving",
"de": "Bordstein mit taktilem Pflaster",
"fr": "Bordure avec revêtement podotactile",
"nl": "Stoeprand met voelbare bestrating"
}
},
{
"osmTags": "tactile_paving=no",
"question": {
"en": "Kerb without tactile paving",
"de": "Bordstein ohne taktilem Pflaster",
"fr": "Bordure sans revêtement podotactile",
"nl": "Stoeprand zonder voelbare bestrating"
}
},
{
"osmTags": "tactile_paving=",
"question": {
"en": "Kerb wihout information about tactile paving",
"de": "Bordstein ohne Informationen über taktiles Pflaster",
"fr": "Bordure sans information sur le revêtement podotactile",
"nl": "Stoeprand zonder informatie over voelbare bestrating"
}
}
]
}
],
"units": [
{
"applicableUnits": [
{
"canonicalDenomination": "cm",
"alternativeDenomination": [
"centimeter",
"centimeters"
],
"human": {
"en": "centimeters",
"nl": "centimeter",
"de": "Zentimeter",
"fr": "centimètres"
},
"humanSingular": {
"en": "centimeter",
"nl": "centimeter",
"de": "Zentimeter",
"fr": "centimètre"
}
},
{
"canonicalDenomination": "m",
"alternativeDenomination": [
"meter",
"meters"
],
"human": {
"en": "meters",
"nl": "meter",
"de": "Meter",
"fr": "mètres"
},
"humanSingular": {
"en": "meter",
"nl": "meter",
"de": "Meter",
"fr": "mètre"
}
}
],
"appliesToKey": [
"kerb:height"
]
}
]
}