data/presets/fields: add surveillance and camera related properties

https://wiki.openstreetmap.org/wiki/Tag:man_made%3Dsurveillance
https://wiki.openstreetmap.org/wiki/Proposed_features/Extended_tags_for_Key:Surveillance

These are mandatory tags:
* `surveillance`
* `surveillance:type`

I do not feel that the following are important, they can be selected from
the drop down manually anyway:
* `operator`
* `name`

These tags are well established:

* `camera:type` has 15k users
* `camera:mount` has 13k users
* `surveillance:zone` has 17k users (mostly traffic is noted)
* `camera:direction` has 6k users

These tags are in the proposed status:
* `contact:webcam` usage is only starting
* `height`

People used various tags instead of `contact:webcam` in the past
because of it being a recent tag, and/or a lack of knowledge or being
mislead by the dropdown.

Thus it is difficult to quote an exact number, but by using complex
regexp queries, I could find thousands of usages for webcam links
when properly combining man_made/surveillance/camera and various
(sometimes invalid) keywords in the key or value part of a tag:

* `website`
* `image`
* `uri`, `url`, `link`, `http`, `contact`
* `stream`
* `webcam`
This commit is contained in:
bkil
2016-11-08 11:59:10 +01:00
parent 27228c3019
commit ad1b6998a4
7 changed files with 43 additions and 0 deletions
@@ -0,0 +1,6 @@
{
"key": "camera:direction",
"type": "number",
"label": "Camera direction",
"placeholder": "90 (degrees clockwise)"
}
+6
View File
@@ -0,0 +1,6 @@
{
"key": "camera:mount",
"type": "combo",
"label": "Camera mount",
"options": [ "pole", "wall", "ceiling", "roof", "gantry" ]
}
+6
View File
@@ -0,0 +1,6 @@
{
"key": "camera:type",
"type": "combo",
"label": "Camera type",
"options": ["fixed", "panning", "dome"]
}
+7
View File
@@ -0,0 +1,7 @@
{
"key": "contact:webcam",
"type": "url",
"icon": "website",
"label": "Webcam feed URL",
"placeholder": "http://example.com/"
}
+6
View File
@@ -0,0 +1,6 @@
{
"key": "surveillance",
"type": "combo",
"label": "Surveillance kind",
"options": ["outdoor", "public", "indoor"]
}
@@ -0,0 +1,6 @@
{
"key": "surveillance:type",
"type": "combo",
"label": "What is watching",
"options": ["camera", "guard", "alpr"]
}
@@ -0,0 +1,6 @@
{
"key": "surveillance:zone",
"type": "combo",
"label": "Zone",
"options": ["traffic", "building", "town", "parking", "shop", "bank"]
}