diff --git a/Docs/CalculatedTags.md b/Docs/CalculatedTags.md index a7ffb8d20..d04b32a63 100644 --- a/Docs/CalculatedTags.md +++ b/Docs/CalculatedTags.md @@ -31,9 +31,9 @@ If 'opening\_hours' is present, it will add the current state of the feature (be Legacy for a specific project calculating the needed width for safe traffic on a road. Only activated if 'width:carriageway' is present -### \_direction:simplified, \_direction:leftright +### \_direction:numerical, \_direction:leftright -\_direction:simplified turns 'camera:direction' and 'direction' into either 0, 45, 90, 135, 180, 225, 270 or 315, whichever is closest. \_direction:leftright is either 'left' or 'right', which is left-looking on the map or 'right-looking' on the map +\_direction:numerical is a normalized, numerical direction based on 'camera:direction' or on 'direction'; it is only present if a valid direction is found (e.g. 38.5 or NE). \_direction:leftright is either 'left' or 'right', which is left-looking on the map or 'right-looking' on the map ### \_now:date, \_now:datetime, \_loaded:date, \_loaded:\_datetime diff --git a/Docs/TagInfo/mapcomplete_surveillance.json b/Docs/TagInfo/mapcomplete_surveillance.json index 47c4d9203..6f81c35e2 100644 --- a/Docs/TagInfo/mapcomplete_surveillance.json +++ b/Docs/TagInfo/mapcomplete_surveillance.json @@ -57,6 +57,15 @@ "key": "camera:direction", "description": "Layer 'Surveillance camera's' shows and asks freeform values for key 'camera:direction' (in the MapComplete.osm.be theme 'Surveillance under Surveillance')" }, + { + "key": "camera:direction", + "description": "Layer 'Surveillance camera's' shows camera:direction=&direction~^..*$ with a fixed text, namely 'Films to a compass heading of {direction}' (in the MapComplete.osm.be theme 'Surveillance under Surveillance') Picking this answer will delete the key camera:direction.", + "value": "" + }, + { + "key": "direction", + "description": "Layer 'Surveillance camera's' shows camera:direction=&direction~^..*$ with a fixed text, namely 'Films to a compass heading of {direction}' (in the MapComplete.osm.be theme 'Surveillance under Surveillance')" + }, { "key": "operator", "description": "Layer 'Surveillance camera's' shows and asks freeform values for key 'operator' (in the MapComplete.osm.be theme 'Surveillance under Surveillance')" diff --git a/assets/themes/hailhydrant/license_info.json b/assets/themes/hailhydrant/license_info.json index 29b3c3183..32ad3549d 100644 --- a/assets/themes/hailhydrant/license_info.json +++ b/assets/themes/hailhydrant/license_info.json @@ -106,4 +106,4 @@ "https://wiki.openstreetmap.org/wiki/File:Hailhydrant-logo.svg" ] } -] +] \ No newline at end of file diff --git a/index.manifest b/index.manifest index bc3ffa9fb..1eeee8c99 100644 --- a/index.manifest +++ b/index.manifest @@ -4,7 +4,7 @@ "start_url": "/index.html", "display": "standalone", "background_color": "#fff", - "description": "An easy to use OpenStreetMap viewer and editor", + "description": "A thematic map viewer and editor based on OpenStreetMap", "orientation": "portrait-primary, landscape-primary", "icons": [ {