X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/90a349e0bc558441e65156eabb585c578d93fbfd..0f561d8864be5a3f2e212bc434a3f3afe28ee275:/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 4dcf0bd0b..67056ce3d 100644 --- a/cookbooks/imagery/recipes/gb_os_sv.rb +++ b/cookbooks/imagery/recipes/gb_os_sv.rb @@ -1,16 +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, @@ -28,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" @@ -318,7 +323,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" @@ -1052,3 +1056,13 @@ 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_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.vrt" + copyright "Contains OS data © Crown copyright and database right 2020" + extension "os_om_local_png" + url_aliases ["/om-local-2020-04"] +end