X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e71e016abee9ae32dd357c4765bb7552d5455dde..002e934c3f9d818e59b74fdb021f93766799ea9c:/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..c3c871231 100644 --- a/cookbooks/imagery/recipes/gb_surrey_aerial.rb +++ b/cookbooks/imagery/recipes/gb_surrey_aerial.rb @@ -1,14 +1,14 @@ # -# Cookbook Name:: imagery -# Recipe:: gb-surrey-aerial +# Cookbook:: imagery +# Recipe:: gb_surrey_aerial # -# Copyright 2016, OpenStreetMap Foundation +# Copyright:: 2016, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -20,9 +20,18 @@ 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 + title "OpenStreetMap - Surrey Air Survey - 2009" + bbox [[51.06686, -0.85762], [51.47753, 0.06592]] +end + +imagery_layer "gb_surrey_aerial" do + site "surrey.aerial.openstreetmap.org.uk" + root_layer true + default_layer true + projection "EPSG:27700" + source "/data/imagery/gb/surrey-aerial/SurreyMosaicECW.tif" + max_zoom 21 + title "Surrey Air Survey - 2008/2009" + copyright "ODC Open Database License (ODbL) - Surrey Heath Borough Council" + url_aliases ["/sas"] end