X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e0ae732703cef05e40ba41513cb9070c661cb5bc..da3e292dc325b96df2c805d729427c8bf6741b81:/cookbooks/imagery/recipes/gb_os_sv.rb?ds=inline diff --git a/cookbooks/imagery/recipes/gb_os_sv.rb b/cookbooks/imagery/recipes/gb_os_sv.rb index 6dd2e9861..0a084db8a 100644 --- a/cookbooks/imagery/recipes/gb_os_sv.rb +++ b/cookbooks/imagery/recipes/gb_os_sv.rb @@ -1,15 +1,14 @@ -# coding: utf-8 # -# Cookbook Name:: imagery +# Cookbook:: imagery # Recipe:: gb_os_sv # -# 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, @@ -27,6 +26,13 @@ cookbook_file "/srv/imagery/common/ossv-palette.txt" do mode "0644" end +cookbook_file "/srv/imagery/common/os-openmap-local-palette.txt" do + source "os-openmap-local-palette.txt" + owner "root" + group "root" + mode "0644" +end + cookbook_file "/srv/imagery/common/osstvw_process" do source "osstvw_process" owner "root" @@ -182,13 +188,12 @@ end imagery_layer "gb_os_sv_2016_04" do site "os.openstreetmap.org" title "April 2016" - default_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 + url_aliases ["/sv-2016-04"] end # ======= Diff layers ======= @@ -317,7 +322,6 @@ end imagery_layer "gb_os_sv_diff_2010_04_2016_04" do site "os.openstreetmap.org" title "Changes April 2010 to April 2016" - default_layer true projection "EPSG:27700" source "/data/imagery/gb/os-sv/ossv-diff-2010-04-2016-04-combined.vrt" copyright "Contains Ordnance Survey data © Crown copyright and database right 2016" @@ -1051,3 +1055,166 @@ imagery_layer "gb_os_sv_diff_2015_11_2016_04" do url_aliases ["/sv-diff-2015-11-2016-04"] overlay true end + +imagery_layer "gb_os_om_local_2016_10" do + site "os.openstreetmap.org" + title "OS OpenMap Local - October 2016" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2016-10/os-openmap-local-2016-10.vrt" + copyright "Contains OS data © Crown copyright and database right 2016" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2017_04" do + site "os.openstreetmap.org" + title "OS OpenMap Local - April 2017" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2017-04/os-openmap-local-2017-04.vrt" + copyright "Contains OS data © Crown copyright and database right 2017" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2017_10" do + site "os.openstreetmap.org" + title "OS OpenMap Local - October 2017" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2017-10/os-openmap-local-2017-10.vrt" + copyright "Contains OS data © Crown copyright and database right 2017" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2018_04" do + site "os.openstreetmap.org" + title "OS OpenMap Local - April 2018" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2018-04/os-openmap-local-2018-04.vrt" + copyright "Contains OS data © Crown copyright and database right 2018" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2018_05" do + site "os.openstreetmap.org" + title "OS OpenMap Local - May 2018" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2018-05/os-openmap-local-2018-05.vrt" + copyright "Contains OS data © Crown copyright and database right 2018" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2019_04" do + site "os.openstreetmap.org" + title "OS OpenMap Local - April 2019" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2019-04/os-openmap-local-2019-04.vrt" + copyright "Contains OS data © Crown copyright and database right 2019" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2020_04" do + site "os.openstreetmap.org" + title "OS OpenMap Local - April 2020" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2020-04/os-openmap-local-2020-04-combined-sea-average-zstd22.vrt" + copyright "Contains OS data © Crown copyright and database right 2020" + revision 2 + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2020_10" do + site "os.openstreetmap.org" + title "OS OpenMap Local - October 2020" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2020-10/os-openmap-local-2020-10.vrt" + copyright "Contains OS data © Crown copyright and database right 2020" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2021_04" do + site "os.openstreetmap.org" + title "OS OpenMap Local - April 2021" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2021-04/os-openmap-local-2021-04.vrt" + copyright "Contains OS data © Crown copyright and database right 2021" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2021_10" do + site "os.openstreetmap.org" + title "OS OpenMap Local - October 2021" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2021-10/os-openmap-local-2021-10.vrt" + copyright "Contains OS data © Crown copyright and database right 2021" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2022_04" do + site "os.openstreetmap.org" + title "OS OpenMap Local - April 2022" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2022-04/os-openmap-local-2022-04.vrt" + copyright "Contains OS data © Crown copyright and database right 2022" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2022_10" do + site "os.openstreetmap.org" + title "OS OpenMap Local - October 2022" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2022-10/os-openmap-local-2022-10.vrt" + copyright "Contains OS data © Crown copyright and database right 2022" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2023_04" do + site "os.openstreetmap.org" + title "OS OpenMap Local - April 2023" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2023-04/os-openmap-local-2023-04.vrt" + copyright "Contains OS data © Crown copyright and database right 2023" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2023_10" do + site "os.openstreetmap.org" + title "OS OpenMap Local - October 2023" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2023-10/os-openmap-local-2023-10.vrt" + copyright "Contains OS data © Crown copyright and database right 2023" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2024_04" do + site "os.openstreetmap.org" + title "OS OpenMap Local - April 2024" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2024-04/os-openmap-local-2024-04.vrt" + copyright "Contains OS data © Crown copyright and database right 2024" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" +end + +imagery_layer "gb_os_om_local_2024_10" do + site "os.openstreetmap.org" + title "OS OpenMap Local - October 2024" + projection "EPSG:27700" + source "/data/imagery/gb/openmap-local/2024-10/os-openmap-local-2024-10.vrt" + copyright "Contains OS data © Crown copyright and database right 2024" + background_colour "213 244 248" # OS OpenMap Local Water Blue + extension "os_om_local_png" + url_aliases ["/om-local-2024-10", "/om-local", "/sv"] + default_layer true +end