116 lines
No EOL
2.2 KiB
JSON
116 lines
No EOL
2.2 KiB
JSON
{
|
|
"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": [
|
|
"point"
|
|
],
|
|
"icon": "./assets/layers/kerbs/KerbIcon.svg",
|
|
"iconSize": "25,23,center",
|
|
"iconBadges": [
|
|
{
|
|
"if": "kerb=raised",
|
|
"then": "square:#f44e42"
|
|
},
|
|
{
|
|
"if": "kerb=lowered",
|
|
"then": "triangle:#11ff00"
|
|
},
|
|
{
|
|
"if": "kerb=flush",
|
|
"then": "circle:#11ff00"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"color": "#f44e42",
|
|
"width": "8"
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
{
|
|
"id": "kerb-type",
|
|
"question": {
|
|
"en": "What is the height of this kerb?",
|
|
"nl": "Hoe hoog is deze stoeprand?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "kerb=raised",
|
|
"then": {
|
|
"en": "Raised (>3 cm)",
|
|
"nl": "Hoog (>3 cm)"
|
|
}
|
|
},
|
|
{
|
|
"if": "kerb=lowered",
|
|
"then": {
|
|
"en": "Lowered (~3 cm)",
|
|
"nl": "Verlaagd (~3 cm)"
|
|
}
|
|
},
|
|
{
|
|
"if": "kerb=flush",
|
|
"then": {
|
|
"en": "Flush (0cm)",
|
|
"nl": "Vlak (0cm)"
|
|
}
|
|
},
|
|
{
|
|
"if": "kerb=no",
|
|
"then": {
|
|
"en": "None",
|
|
"nl": "Geen"
|
|
},
|
|
"hideInAnswer": true
|
|
},
|
|
{
|
|
"if": "kerb=yes",
|
|
"then": {
|
|
"en": "Yes",
|
|
"nl": "Ja"
|
|
},
|
|
"hideInAnswer": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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"]
|
|
}
|
|
}
|
|
]
|
|
} |