X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/56df259055ae541d1f31b8502c549cb84f74778e..c3eaabdeabe865ec028693cbb4d77a0f7a88a90a:/cookbooks/imagery/recipes/gb_os_sv.rb diff --git a/cookbooks/imagery/recipes/gb_os_sv.rb b/cookbooks/imagery/recipes/gb_os_sv.rb index 0817029e7..7553e2a15 100644 --- a/cookbooks/imagery/recipes/gb_os_sv.rb +++ b/cookbooks/imagery/recipes/gb_os_sv.rb @@ -1,6 +1,6 @@ # # Cookbook Name:: imagery -# Recipe:: gb-ossv +# Recipe:: gb_os_sv # # Copyright 2016, OpenStreetMap Foundation # @@ -28,136 +28,125 @@ end imagery_site "os.openstreetmap.org" do aliases ["os.openstreetmap.org.uk"] +end - imagery_layer "gb_os_sv_2010_04" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2010-04-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2010" # FIXME: Correct Copyright? - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2010_04" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2010-04-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2010" # FIXME: Correct Copyright? + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2010-04"] +end - imagery_layer "gb_os_sv_2010_11" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2010-11-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2010" # FIXME: Correct Copyright? - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2010_11" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2010-11-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2010" # FIXME: Correct Copyright? + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2010-11"] +end - imagery_layer "gb_os_sv_2011_05" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2011-05-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2011" # FIXME: Correct Copyright? - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2011_05" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2011-05-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2011" # FIXME: Correct Copyright? + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2011-05"] +end - imagery_layer "gb_os_sv_2011_11" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2011-11-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2011" # FIXME: Correct Copyright? - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2011_11" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2011-11-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2011" # FIXME: Correct Copyright? + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2011-11"] +end - imagery_layer "gb_os_sv_2012_05" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2012-05-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2012" - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2012_05" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2012-05-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2012" + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2012-05"] +end - imagery_layer "gb_os_sv_2012_11" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2012-11-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2012" - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2012_11" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2012-11-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2012" + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2012-11"] +end - imagery_layer "gb_os_sv_2013_05" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2013-05-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2013" - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2013_05" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2013-05-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2013" + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2013-05"] +end - imagery_layer "gb_os_sv_2013_11" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2013-11-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2013" - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2013_11" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2013-11-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2013" + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2013-11"] +end - imagery_layer "gb_os_sv_2014_04" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2014-04-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2014" - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2014_04" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2014-04-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2014" + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2014-04"] +end - imagery_layer "gb_os_sv_2014_10" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2014-10-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2014" - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2014_10" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2014-10-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2014" + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2014-10"] +end - imagery_layer "gb_os_sv_2015-05" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2015-05-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2015" - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2015_05" do + site "os.openstreetmap.org" + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2015-05-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2015" + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2015-05"] +end - imagery_layer "gb_os_sv_2015_11" do - site new_resource.name - projection "EPSG:27700" - source "/data/imagery/gb/os-sv/ossv-2015-11-combined.vrt" - copyright "Contains Ordnance Survey data © Crown copyright and database right 2015" - background_colour "230 246 255" # OSSV Water Blue - extension "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" - end +imagery_layer "gb_os_sv_2015_11" do + site "os.openstreetmap.org" + root_layer true + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2015-11-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2015" + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2015-11", "/sv"] end