]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/recipes/za_coct_aerial.rb
blogs: fix build in test
[chef.git] / cookbooks / imagery / recipes / za_coct_aerial.rb
index 12df78b3e43b28583e19aab5437a909deed909d8..70463798f2bda0cdaf321b8fd18d65fae8228538 100644 (file)
@@ -1,14 +1,14 @@
 #
-# Cookbook Name:: imagery
+# Cookbook:: imagery
 # Recipe:: za_coct_aerial
 #
-# Copyright 2016, OpenStreetMap Foundation
+# 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
+#     https://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,
@@ -22,22 +22,29 @@ 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]]
+  bbox [[-34.365, 18.290], [-33.465, 19.015]]
 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"
+  source "/data/imagery/za/coct/2015-epsg-3857.tif"
   copyright 'Copyright &copy; 2015 <a href="https://www.capetown.gov.za/">City of Cape Town</a>'
+  background_colour "0 0 0"
+  extension "jpeg"
   default_layer true
+  max_zoom 21
 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"
+  source "/data/imagery/za/coct/2013-epsg-3857.tif"
   copyright 'Copyright &copy; 2013 <a href="https://www.capetown.gov.za/">City of Cape Town</a>'
+  background_colour "0 0 0"
+  extension "jpeg"
+  max_zoom 21
+  revision 2
 end