]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/recipes/gb_surrey_aerial.rb
Fix new rubocop warnings
[chef.git] / cookbooks / imagery / recipes / gb_surrey_aerial.rb
index 97bc879c9e2d216ceb32e29540ec2aff23f69a28..13cd84239b9e0ac19e384595278db3ebde79eb36 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Cookbook Name:: imagery
-# Recipe:: gb-surrey-aerial
+# Recipe:: gb_surrey_aerial
 #
 # Copyright 2016, OpenStreetMap Foundation
 #
 include_recipe "imagery"
 
 imagery_site "surrey.aerial.openstreetmap.org.uk" do
-  imagery_layer "gb-surrey-aerial" do
-    site new_resource.name
-    projection "EPSG:27700"
-    source "/data/imagery/gb/surrey-aerial/SurreyMosaicECW.tif"
-  end
+  title "OpenStreetMap - Surrey Air Survey - 2009"
+  bbox [[51.06686, -0.85762], [51.47753, 0.06592]]
+end
+
+imagery_layer "gb_surrey_aerial" do
+  site "surrey.aerial.openstreetmap.org.uk"
+  root_layer true
+  default_layer true
+  projection "EPSG:27700"
+  source "/data/imagery/gb/surrey-aerial/SurreyMosaicECW.tif"
+  max_zoom 21
+  title "Surrey Air Survey - 2008/2009"
+  copyright "ODC Open Database License (ODbL) - Surrey Heath Borough Council"
+  url_aliases ["/sas"]
 end