X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/cc3497871e61ab679624b47f54348b0694741357..32ded0c2d4fe1519cbc94a6f4ae70452b6d3d6f3:/cookbooks/imagery/recipes/gb_os_sv.rb?ds=sidebyside diff --git a/cookbooks/imagery/recipes/gb_os_sv.rb b/cookbooks/imagery/recipes/gb_os_sv.rb index 0817029e7..1710a8909 100644 --- a/cookbooks/imagery/recipes/gb_os_sv.rb +++ b/cookbooks/imagery/recipes/gb_os_sv.rb @@ -1,6 +1,7 @@ +# coding: utf-8 # # Cookbook Name:: imagery -# Recipe:: gb-ossv +# Recipe:: gb_os_sv # # Copyright 2016, OpenStreetMap Foundation # @@ -26,138 +27,153 @@ cookbook_file "/srv/imagery/common/ossv-palette.txt" do mode "0644" end +cookbook_file "/srv/imagery/common/osstvw_process" do + source "osstvw_process" + owner "root" + group "root" + mode "0755" +end + +cookbook_file "/srv/imagery/common/osstvw_make_diffs" do + source "osstvw_make_diffs" + owner "root" + group "root" + mode "0755" +end + imagery_site "os.openstreetmap.org" do aliases ["os.openstreetmap.org.uk"] + bbox [[49.85, -10.5], [58.75, 1.9]] +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 "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 "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 "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 "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 "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 "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 "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 "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 "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 "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 "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"] +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_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_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_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_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_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_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_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_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_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_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_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_2016_04" do + site "os.openstreetmap.org" + root_layer true + projection "EPSG:27700" + source "/data/imagery/gb/os-sv/ossv-2016-04-combined.vrt" + copyright "Contains Ordnance Survey data © Crown copyright and database right 2016" + background_colour "230 246 255" # OSSV Water Blue + extension "os_sv_png" + url_aliases ["/sv-2016-04", "/sv"] # Add "/sv" to current edition for backward compatibility end