X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e71e016abee9ae32dd357c4765bb7552d5455dde..32ded0c2d4fe1519cbc94a6f4ae70452b6d3d6f3:/cookbooks/imagery/recipes/gb_hampshire_aerial.rb?ds=sidebyside diff --git a/cookbooks/imagery/recipes/gb_hampshire_aerial.rb b/cookbooks/imagery/recipes/gb_hampshire_aerial.rb index 8209c0d28..28dd8e94a 100644 --- a/cookbooks/imagery/recipes/gb_hampshire_aerial.rb +++ b/cookbooks/imagery/recipes/gb_hampshire_aerial.rb @@ -1,6 +1,6 @@ # # Cookbook Name:: imagery -# Recipe:: gb-hampshire-aerial +# Recipe:: gb_hampshire_aerial # # Copyright 2016, OpenStreetMap Foundation # @@ -20,19 +20,25 @@ include_recipe "imagery" imagery_site "hampshire.aerial.openstreetmap.org.uk" do - imagery_layer "gb_hampshire_aerial-rgb" do - site new_resource.name - 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" - end + # 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 new_resource.name - text "Hampshire Aerial - Summer 2013 (FCIR)" - source "/data/imagery/gb/hampshire-aerial/hampshire-aerial-FCIR.tif" - projection "EPSG:27700" - copyright "Hampshire Hub - Open Government Licence (OGL) 2014" - end +imagery_layer "gb_hampshire_aerial_fcir" do + site "hampshire.aerial.openstreetmap.org.uk" + 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