X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e71e016abee9ae32dd357c4765bb7552d5455dde..0a7242618f9444f2d603ab4e92fb23536e919edf:/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..a9e5cd3f0 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,13 @@ 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 +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