X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/56df259055ae541d1f31b8502c549cb84f74778e..33d3964b54662ab6c6aca33a17c177c7ce488bfb:/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..ff82958d2 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 + git_repository "https://github.com/Firefishy/osm-imagery-surrey-aerial-site.git" +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