]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/recipes/gb_hampshire_aerial.rb
Generate HTML and javascript for imagery sites
[chef.git] / cookbooks / imagery / recipes / gb_hampshire_aerial.rb
index 5132f1b44e0360a54600c54e9b95e8b0522e2d84..28dd8e94a66a9a6875b48f772c76d922a83458d2 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Cookbook Name:: imagery
-# Recipe:: gb-hampshire-aerial
+# Recipe:: gb_hampshire_aerial
 #
 # Copyright 2016, OpenStreetMap Foundation
 #
@@ -21,20 +21,24 @@ include_recipe "imagery"
 
 imagery_site "hampshire.aerial.openstreetmap.org.uk" do
   # aliases
+  bbox [[50.564, -1.9899], [51.3606, -0.712738]]
 end
 
 imagery_layer "gb_hampshire_aerial_rgb" do
   site "hampshire.aerial.openstreetmap.org.uk"
+  root_layer true
   text "Hampshire Aerial - Summer 2013"
   source "/data/imagery/gb/hampshire-aerial/hampshire-aerial-RGB.tif"
   projection "EPSG:27700"
   copyright "Hampshire Hub - Open Government Licence (OGL) 2014"
+  url_aliases ["/hampshire-rgb"]
 end
 
 imagery_layer "gb_hampshire_aerial_fcir" do
   site "hampshire.aerial.openstreetmap.org.uk"
-  text "Hampshire Aerial - Summer 2013 (FCIR)"
+  text "Hampshire Aerial - Summer 2013 (False Colour IR)"
   source "/data/imagery/gb/hampshire-aerial/hampshire-aerial-FCIR.tif"
   projection "EPSG:27700"
   copyright "Hampshire Hub - Open Government Licence (OGL) 2014"
+  url_aliases ["/hampshire-fcir"]
 end