From f18ae17bba15fc2edcfdb555288d4d7ab2ed69ba Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 10 Jun 2026 12:07:24 +0100 Subject: [PATCH] imagery: Add preview of MW 50k topographic series --- cookbooks/imagery/recipes/mw_dos_topo.rb | 36 ++++++++++++++++++++++++ roles/imagery.rb | 3 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 cookbooks/imagery/recipes/mw_dos_topo.rb diff --git a/cookbooks/imagery/recipes/mw_dos_topo.rb b/cookbooks/imagery/recipes/mw_dos_topo.rb new file mode 100644 index 000000000..5b00d736b --- /dev/null +++ b/cookbooks/imagery/recipes/mw_dos_topo.rb @@ -0,0 +1,36 @@ +# +# Cookbook:: imagery +# Recipe:: mw_dos_topo +# +# Copyright:: 2026, 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 +# +# 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, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +include_recipe "imagery" + +imagery_site "malawi-topo.openstreetmap.org.za" do + title "OpenStreetMap - MW - Topographic Series" + aliases ["malawi-topo.osm.org.za"] + bbox [[-17.123456, 33.123456], [-14.123456, 35.123456]] +end + +imagery_layer "mw_dos_topo_50k" do + site "malawi-topo.openstreetmap.org.za" + title "MW Topo 50k" + projection "EPSG:3857" + source "/store/imagery/mw/50k-topo/combined.webp.google.r_lanczos.bs_256.aligned.cog.tif" + copyright "Directorate of Overseas Surveys (DOS)" + default_layer true + revision 1 +end diff --git a/roles/imagery.rb b/roles/imagery.rb index f602f667f..ebb32a45f 100644 --- a/roles/imagery.rb +++ b/roles/imagery.rb @@ -42,5 +42,6 @@ run_list( "recipe[imagery::lu_lidar_hillshade]", "recipe[imagery::za_ngi_aerial]", "recipe[imagery::us_imagery]", - "recipe[imagery::sz_dos_topo]" + "recipe[imagery::sz_dos_topo]", + "recipe[imagery::mw_dos_topo]" ) -- 2.47.3