mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 13:18:15 +02:00
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:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"key": "camera:direction",
|
||||
"type": "number",
|
||||
"label": "Camera direction",
|
||||
"placeholder": "90 (degrees clockwise)"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"key": "camera:mount",
|
||||
"type": "combo",
|
||||
"label": "Camera mount",
|
||||
"options": [ "pole", "wall", "ceiling", "roof", "gantry" ]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"key": "camera:type",
|
||||
"type": "combo",
|
||||
"label": "Camera type",
|
||||
"options": ["fixed", "panning", "dome"]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"key": "contact:webcam",
|
||||
"type": "url",
|
||||
"icon": "website",
|
||||
"label": "Webcam feed URL",
|
||||
"placeholder": "http://example.com/"
|
||||
}
|
||||
@@ -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"]
|
||||
}
|
||||
Reference in New Issue
Block a user