forked from MapComplete/MapComplete
Themes: move width filter to entrance.json
This commit is contained in:
parent
8ace44bf87
commit
9a04ae75b5
2 changed files with 83 additions and 41 deletions
|
@ -578,6 +578,43 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"filter": [
|
||||||
|
{
|
||||||
|
"id": "width",
|
||||||
|
"options": [
|
||||||
|
{
|
||||||
|
"question": {
|
||||||
|
"en": "Any/No width info",
|
||||||
|
"de": "Beliebig/Keine Breiteninformationen",
|
||||||
|
"nl": "All kerbs",
|
||||||
|
"fr": "Toute/aucune information sur la largeur",
|
||||||
|
"da": "Eventuelle/ingen bredde info",
|
||||||
|
"cs": "Jakékoliv/žádné informace o šířce",
|
||||||
|
"es": "Información de ancho/sin información de ancho",
|
||||||
|
"ca": "Qualsevol/Sense informació d'amplada",
|
||||||
|
"pl": "Dowolna/brak informacji o szerokości",
|
||||||
|
"ko": "폭 정보 있음/없음"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"osmTags": "width=",
|
||||||
|
"question": {
|
||||||
|
"en": "Without width info",
|
||||||
|
"de": "Beliebige Breiteninformationen",
|
||||||
|
"nl": "Geen breedtes gekend",
|
||||||
|
"fr": "Pas d’information sur la largeur",
|
||||||
|
"da": "Uden bredde info",
|
||||||
|
"cs": "Bez informací o šířce",
|
||||||
|
"nb_NO": "Uten breddeinfo",
|
||||||
|
"ca": "Sense informació de l'amplada",
|
||||||
|
"es": "Sin información de ancho",
|
||||||
|
"pl": "Bez informacji o szerokości",
|
||||||
|
"ko": "폭 정보 없음"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"allowMove": {
|
"allowMove": {
|
||||||
"enableImproveAccuracy": true,
|
"enableImproveAccuracy": true,
|
||||||
"enableRelocation": false
|
"enableRelocation": false
|
||||||
|
|
|
@ -36,6 +36,42 @@
|
||||||
"startLon": 4.350103,
|
"startLon": 4.350103,
|
||||||
"hideFromOverview": false,
|
"hideFromOverview": false,
|
||||||
"layers": [
|
"layers": [
|
||||||
|
{
|
||||||
|
"id": "onwheels_entrance_data",
|
||||||
|
"passAllFeatures": true,
|
||||||
|
"pointRendering": null,
|
||||||
|
"title": null,
|
||||||
|
"tagRenderings": [],
|
||||||
|
"allowMove": false,
|
||||||
|
"lineRendering": [
|
||||||
|
{
|
||||||
|
"color": "black",
|
||||||
|
"width": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"shownByDefault": false,
|
||||||
|
"name": null,
|
||||||
|
"description": {
|
||||||
|
"en": "All objects which have entrance data mapped on the amenity instead of the entrance object"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"osmTags": {
|
||||||
|
"and": [
|
||||||
|
"entrance=",
|
||||||
|
"indoor!=door",
|
||||||
|
"door=",
|
||||||
|
{
|
||||||
|
"or": [
|
||||||
|
"entrance:width~*",
|
||||||
|
"entrance:kerb:height~*",
|
||||||
|
"entrance:step_count~*",
|
||||||
|
"entrance:width~*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"builtin": "indoors",
|
"builtin": "indoors",
|
||||||
"override": {
|
"override": {
|
||||||
|
@ -96,44 +132,7 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"syncSelection": "theme-only",
|
"syncSelection": "theme-only"
|
||||||
"filter": [
|
|
||||||
{
|
|
||||||
"id": "width",
|
|
||||||
"options": [
|
|
||||||
{
|
|
||||||
"question": {
|
|
||||||
"en": "Any/No width info",
|
|
||||||
"de": "Beliebig/Keine Breiteninformationen",
|
|
||||||
"nl": "All kerbs",
|
|
||||||
"fr": "Toute/aucune information sur la largeur",
|
|
||||||
"da": "Eventuelle/ingen bredde info",
|
|
||||||
"cs": "Jakékoliv/žádné informace o šířce",
|
|
||||||
"es": "Información de ancho/sin información de ancho",
|
|
||||||
"ca": "Qualsevol/Sense informació d'amplada",
|
|
||||||
"pl": "Dowolna/brak informacji o szerokości",
|
|
||||||
"ko": "폭 정보 있음/없음"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"osmTags": "width=",
|
|
||||||
"question": {
|
|
||||||
"en": "Without width info",
|
|
||||||
"de": "Beliebige Breiteninformationen",
|
|
||||||
"nl": "Geen breedtes gekend",
|
|
||||||
"fr": "Pas d’information sur la largeur",
|
|
||||||
"da": "Uden bredde info",
|
|
||||||
"cs": "Bez informací o šířce",
|
|
||||||
"nb_NO": "Uten breddeinfo",
|
|
||||||
"ca": "Sense informació de l'amplada",
|
|
||||||
"es": "Sin información de ancho",
|
|
||||||
"pl": "Bez informacji o szerokości",
|
|
||||||
"ko": "폭 정보 없음"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -410,7 +409,14 @@
|
||||||
"syncSelection": "theme-only"
|
"syncSelection": "theme-only"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"walls_and_buildings",
|
{
|
||||||
|
"builtin": "walls_and_buildings",
|
||||||
|
"override": {
|
||||||
|
"calculatedTags+": [
|
||||||
|
"_entrance_data_within=overlapWith(feat)('onwheels_entrance_data').map(f => f.properties.id)"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"builtin": "elevator",
|
"builtin": "elevator",
|
||||||
"override": {
|
"override": {
|
||||||
|
@ -538,6 +544,5 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"enableDownload": true,
|
"enableDownload": true
|
||||||
"widenFactor": 2
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue