]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: add coct aerial
authorGrant Slater <git@firefishy.com>
Thu, 25 Aug 2016 22:15:10 +0000 (23:15 +0100)
committerGrant Slater <git@firefishy.com>
Thu, 25 Aug 2016 22:15:10 +0000 (23:15 +0100)
cookbooks/imagery/recipes/za_coct_aerial.rb [new file with mode: 0644]
roles/imagery.rb

diff --git a/cookbooks/imagery/recipes/za_coct_aerial.rb b/cookbooks/imagery/recipes/za_coct_aerial.rb
new file mode 100644 (file)
index 0000000..12df78b
--- /dev/null
@@ -0,0 +1,43 @@
+#
+# Cookbook Name:: imagery
+# Recipe:: za_coct_aerial
+#
+# Copyright 2016, OpenStreetMap Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+include_recipe "imagery"
+
+imagery_site "coct.aerial.openstreetmap.org.za" do
+  title "OpenStreetMap - City of Cape Town Aerial"
+  aliases ["coct.aerial.osm.org.za"]
+  bbox [[-35.12, 16.23], [-22.1, 33.18]]
+end
+
+imagery_layer "za_coct_aerial_2015" do
+  projection "EPSG:3857"
+  site "coct.aerial.openstreetmap.org.za"
+  title "City of Cape Town Aerial - 2015 (OSM USE ONLY)"
+  source "/data/imagery/za/coct/2015-tif-epsg-3857.vrt"
+  copyright 'Copyright &copy; 2015 <a href="https://www.capetown.gov.za/">City of Cape Town</a>'
+  default_layer true
+end
+
+imagery_layer "za_coct_aerial_2013" do
+  projection "EPSG:3857"
+  site "coct.aerial.openstreetmap.org.za"
+  title "City of Cape Town Aerial - 2013 (OSM USE ONLY)"
+  source "/data/imagery/za/coct/2013-tif-epsg-3857.vrt"
+  copyright 'Copyright &copy; 2013 <a href="https://www.capetown.gov.za/">City of Cape Town</a>'
+end
index 8b2986f61b467d25793a8dfe0bd432a31b329526..c7c0441e026dee37583ac6ea8c6759ab0128675c 100644 (file)
@@ -53,5 +53,6 @@ run_list(
   "recipe[imagery::gb_hampshire_aerial]",
   "recipe[imagery::gb_os_sv]",
   "recipe[imagery::gb_surrey_aerial]",
-  "recipe[imagery::za_ngi_topo]"
+  "recipe[imagery::za_ngi_topo],"
+  "recipe[imagery::za_coct_aerial]"
 )