X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e71e016abee9ae32dd357c4765bb7552d5455dde..d176083465b51e2e5d6a9b65d1964cb739f3c56a:/cookbooks/imagery/recipes/gb_surrey_aerial.rb diff --git a/cookbooks/imagery/recipes/gb_surrey_aerial.rb b/cookbooks/imagery/recipes/gb_surrey_aerial.rb index 97bc879c9..1495c2060 100644 --- a/cookbooks/imagery/recipes/gb_surrey_aerial.rb +++ b/cookbooks/imagery/recipes/gb_surrey_aerial.rb @@ -1,6 +1,6 @@ # # Cookbook Name:: imagery -# Recipe:: gb-surrey-aerial +# Recipe:: gb_surrey_aerial # # Copyright 2016, OpenStreetMap Foundation # @@ -20,9 +20,14 @@ 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 + # aliases + bbox [[51.0595, -0.873413], [51.466, 0.0617981]] +end + +imagery_layer "gb_surrey_aerial" do + site "surrey.aerial.openstreetmap.org.uk" + root_layer true + projection "EPSG:27700" + source "/data/imagery/gb/surrey-aerial/SurreyMosaicECW.tif" + url_aliases ["/sas"] end