X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/97d128e6fd3d8f1ad3a52da652b2a29b02e3d304..e570463e89162092ecc75effcccd31c543366fa7:/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 a6fe8a878..7711fd2ac 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 # @@ -26,6 +26,13 @@ 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 + imagery_site "os.openstreetmap.org" do aliases ["os.openstreetmap.org.uk"] end @@ -36,9 +43,8 @@ imagery_layer "gb_os_sv_2010_04" do 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" + extension "os_sv_png" + url_aliases ["/sv-2010-04"] end imagery_layer "gb_os_sv_2010_11" do @@ -47,9 +53,8 @@ imagery_layer "gb_os_sv_2010_11" do 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" + extension "os_sv_png" + url_aliases ["/sv-2010-11"] end imagery_layer "gb_os_sv_2011_05" do @@ -58,9 +63,8 @@ imagery_layer "gb_os_sv_2011_05" do 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" + extension "os_sv_png" + url_aliases ["/sv-2011-05"] end imagery_layer "gb_os_sv_2011_11" do @@ -69,9 +73,8 @@ imagery_layer "gb_os_sv_2011_11" do 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" + extension "os_sv_png" + url_aliases ["/sv-2011-11"] end imagery_layer "gb_os_sv_2012_05" do @@ -80,9 +83,8 @@ imagery_layer "gb_os_sv_2012_05" do 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" + extension "os_sv_png" + url_aliases ["/sv-2012-05"] end imagery_layer "gb_os_sv_2012_11" do @@ -91,9 +93,8 @@ imagery_layer "gb_os_sv_2012_11" do 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" + extension "os_sv_png" + url_aliases ["/sv-2012-11"] end imagery_layer "gb_os_sv_2013_05" do @@ -102,9 +103,8 @@ imagery_layer "gb_os_sv_2013_05" do 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" + extension "os_sv_png" + url_aliases ["/sv-2013-05"] end imagery_layer "gb_os_sv_2013_11" do @@ -113,9 +113,8 @@ imagery_layer "gb_os_sv_2013_11" do 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" + extension "os_sv_png" + url_aliases ["/sv-2013-11"] end imagery_layer "gb_os_sv_2014_04" do @@ -124,9 +123,8 @@ imagery_layer "gb_os_sv_2014_04" do 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" + extension "os_sv_png" + url_aliases ["/sv-2014-04"] end imagery_layer "gb_os_sv_2014_10" do @@ -135,29 +133,38 @@ imagery_layer "gb_os_sv_2014_10" do 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" + extension "os_sv_png" + url_aliases ["/sv-2014-10"] end -imagery_layer "gb_os_sv_2015-05" do +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 "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" + 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 "png" - palette "/srv/imagery/common/ossv-palette.txt" - extent "5000 5000 660000 1225000" + extension "os_sv_png" + url_aliases ["/sv-2015-11"] +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 2015" + 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