Fixed small bugs, add documentation to query parameters, draft of surveillance cams
This commit is contained in:
parent
eb3e2a6c58
commit
5b59d7dbd0
6 changed files with 246 additions and 11 deletions
228
assets/layers/surveillance_cameras.json
Normal file
228
assets/layers/surveillance_cameras.json
Normal file
|
@ -0,0 +1,228 @@
|
|||
{
|
||||
"id": "surveillance",
|
||||
"title": {
|
||||
"en": "Surveillance under Surveillance",
|
||||
"nl": "Surveillance under Surveillance"
|
||||
},
|
||||
"shortDescription": {
|
||||
"en": "Surveillance cameras and other means of surveillance",
|
||||
"nl": "Bewakingscameras en dergelijke"
|
||||
},
|
||||
"description": {
|
||||
"en": "On this open map, you can find surveillance cameras.",
|
||||
"nl": "Op deze open kaart kan je bewakingscamera's vinden."
|
||||
},
|
||||
"language": [
|
||||
"en",
|
||||
"nl"
|
||||
],
|
||||
"maintainer": "",
|
||||
"icon": "https://upload.wikimedia.org/wikipedia/commons/b/b7/Video_surveillance_logo.svg",
|
||||
"version": "0",
|
||||
"startLat": 0,
|
||||
"startLon": 0,
|
||||
"startZoom": 1,
|
||||
"widenFactor": 0.05,
|
||||
"socialImage": "",
|
||||
"layers": [
|
||||
{
|
||||
"id": "cameras",
|
||||
"name": {
|
||||
"en": "Surveillance camera's",
|
||||
"nl": "Bewakingscamera's"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"overpassTags": {
|
||||
"and": [
|
||||
"man_made=surveillance",
|
||||
{
|
||||
"or": [
|
||||
"surveillance:type=camera",
|
||||
"surveillance:type=ALPR",
|
||||
"surveillance:type=ANPR"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Surveillance Camera",
|
||||
"nl": "Bewakingscamera"
|
||||
}
|
||||
},
|
||||
"description": {},
|
||||
"tagRenderings": [
|
||||
{
|
||||
"question": {
|
||||
"en": "What kind of camera is this?",
|
||||
"nl": "Wat voor soort camera is dit?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"camera:type=fixed"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "A fixed (non-moving) camera",
|
||||
"nl": "Een vaste camera"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"camera:type=dome"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "A dome camera (which can turn)",
|
||||
"nl": "Een dome (bolvormige camera die kan draaien)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"camera:type=panning"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "A panning camera",
|
||||
"nl": "Een camera die (met een motor) van links naar rechts kan draaien"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"freeform": {
|
||||
"key": "operator"
|
||||
},
|
||||
"question": {
|
||||
"en": "Who operates this CCTV?",
|
||||
"nl": "Wie beheert deze bewakingscamera?"
|
||||
},
|
||||
"render": {
|
||||
"en": "Operated by {operator}",
|
||||
"nl": "Beheer door {operator}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"question": {
|
||||
"en": "What k ind of surveillance is this camera",
|
||||
"nl": "Wat soort bewaking wordt hier uitgevoerd?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"surveillance=public"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "A public area is surveilled, such as a street, a bridge, a square, a park, a train station...",
|
||||
"nl": "Bewaking van de publieke ruilmte, dus een straat, een brug, een park, een plein, een stationsgebouw..."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"surveillance=outdoor"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "An outdoor, yet private area is surveilled (e.g. a parking lot, a fuel station, courtyard, entrance, private driveway, ...)",
|
||||
"nl": "Een buitenruimte met privaat karakter (zoals een privé-oprit, een parking, tankstation, ...)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"surveillance=indoor"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Een private binnenruimte wordt bewaakt, bv. een wiinkel, een parkeergarage, ...",
|
||||
"en": "A private indoor area is surveilled, e.g. a shop, a private underground parking, ..."
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": {
|
||||
"en": "What exactly is surveilled here?",
|
||||
"nl": "Wat wordt hier precies bewaakt?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "surveillance:type"
|
||||
},
|
||||
"render": {
|
||||
"en": " Surveills a {surveillance:type}",
|
||||
"nl": "Bewaakt een {surveillance:type}"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"surveillance:zone=parking"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "Surveills a parking",
|
||||
"nl": "Bewaakt een parking"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"surveillance:zone=traffic"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "Surveills the traffic",
|
||||
"nl": "Bewaakt het verkeer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"surveillance:zone=entrance"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "Surveills an entrance",
|
||||
"nl": "Bewaakt een ingang"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"surveillance:zone=shop"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "Surveills a shop",
|
||||
"nl": "Bewaakt een winkel"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"hideUnderlayingFeaturesMinPercentage": 0,
|
||||
"icon": {
|
||||
"render": "https://upload.wikimedia.org/wikipedia/commons/b/b7/Video_surveillance_logo.svg"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "30,30,center"
|
||||
},
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"presets": [],
|
||||
"wayHandling": 2
|
||||
}
|
||||
],
|
||||
"roamingRenderings": []
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue