forked from MapComplete/MapComplete
Themes(surveillance): Also show disused cameras (#1177)
This commit is contained in:
parent
87ba09322e
commit
5c2677ecb6
1 changed files with 52 additions and 4 deletions
|
@ -26,7 +26,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"osmTags": {
|
"osmTags": {
|
||||||
"and": [
|
"and": [
|
||||||
"man_made=surveillance",
|
{
|
||||||
|
"or": [
|
||||||
|
"man_made=surveillance",
|
||||||
|
"disused:man_made=surveillance"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"or": [
|
"or": [
|
||||||
"surveillance:type=camera",
|
"surveillance:type=camera",
|
||||||
|
@ -51,7 +56,15 @@
|
||||||
"es": "Cámara de vigilancia",
|
"es": "Cámara de vigilancia",
|
||||||
"cs": "Bezpečnostní kamera",
|
"cs": "Bezpečnostní kamera",
|
||||||
"sl": "Nadzorna kamera"
|
"sl": "Nadzorna kamera"
|
||||||
}
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "disused:man_made=surveillance",
|
||||||
|
"then": {
|
||||||
|
"en": "Disused surveillance camera"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"pointRendering": [
|
"pointRendering": [
|
||||||
{
|
{
|
||||||
|
@ -121,7 +134,13 @@
|
||||||
"then": "calc({_direction:numerical}deg - 90deg)"
|
"then": "calc({_direction:numerical}deg - 90deg)"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"iconBadges": [
|
||||||
|
{
|
||||||
|
"if": "disused:man_made=surveillance",
|
||||||
|
"then": "close:red"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"lineRendering": [
|
"lineRendering": [
|
||||||
|
@ -232,6 +251,35 @@
|
||||||
],
|
],
|
||||||
"tagRenderings": [
|
"tagRenderings": [
|
||||||
"images",
|
"images",
|
||||||
|
{
|
||||||
|
"id": "active",
|
||||||
|
"question": {
|
||||||
|
"en": "Is this camera currently in use?",
|
||||||
|
"nl": "Is deze camera momenteel in gebruik?"
|
||||||
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "man_made=surveillance",
|
||||||
|
"then": {
|
||||||
|
"en": "This camera is currently in use.",
|
||||||
|
"nl": "Deze camera is momenteel in gebruik."
|
||||||
|
},
|
||||||
|
"addExtraTags": [
|
||||||
|
"disused:man_made="
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "disused:man_made=surveillance",
|
||||||
|
"then": {
|
||||||
|
"en": "This camera is not used anymore",
|
||||||
|
"nl": "Deze camera is niet meer in gebruik"
|
||||||
|
},
|
||||||
|
"addExtraTags": [
|
||||||
|
"man_made="
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "has_alpr",
|
"id": "has_alpr",
|
||||||
"question": {
|
"question": {
|
||||||
|
@ -896,4 +944,4 @@
|
||||||
"enableRelocation": false
|
"enableRelocation": false
|
||||||
},
|
},
|
||||||
"enableMorePrivacy": true
|
"enableMorePrivacy": true
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue