]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/recipes/za_coct_aerial.rb
imagery: remove old coct layers
[chef.git] / cookbooks / imagery / recipes / za_coct_aerial.rb
index 12df78b3e43b28583e19aab5437a909deed909d8..d22704d47bb8a8bf6a761982bcfa690b2d335114 100644 (file)
@@ -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"
+imagery_layer "za_coct_aerial_2015_drift" do
+  site "coct.aerial.openstreetmap.org.za"
+  source "/data/imagery/za/coct/2015-drift1-epsg-3857.tif"
+  action :delete
+end
+
+imagery_layer "za_coct_aerial_2015_hart94" do
   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>'
+  source "/data/imagery/za/coct/2015-drift1-epsg-3857.tif"
+  action :delete
 end