From 1d36533c01e8c1b3248268c8f41d2b4a8b0b4e9c Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 10 Jun 2026 17:46:05 +0100 Subject: [PATCH] imagery: Add preview of ZW topo --- cookbooks/imagery/recipes/zw_topo.rb | 36 ++++++++++++++++++++++++++++ roles/imagery.rb | 3 ++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 cookbooks/imagery/recipes/zw_topo.rb diff --git a/cookbooks/imagery/recipes/zw_topo.rb b/cookbooks/imagery/recipes/zw_topo.rb new file mode 100644 index 000000000..5ac39f24b --- /dev/null +++ b/cookbooks/imagery/recipes/zw_topo.rb @@ -0,0 +1,36 @@ +# +# Cookbook:: imagery +# Recipe:: zimbabwe_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 "zimbabwe-topo.openstreetmap.org.za" do + title "OpenStreetMap - Zimbabwe - Topographic Series" + aliases ["zimbabwe-topo.osm.org.za"] + bbox [[-22.2696370, 25.1997352], [-15.5013261, 33.0666986]] +end + +imagery_layer "zw_topo_50k" do + site "zimbabwe-topo.openstreetmap.org.za" + title "Zimbabwe Topo 50k" + projection "EPSG:3857" + source "/store/imagery/zw/50k-topo/combined.webp.google.r_lanczos.bs_256.aligned.cog.tif" + copyright "Surveyor-General, Zimbabwe" + default_layer true + revision 1 +end diff --git a/roles/imagery.rb b/roles/imagery.rb index ebb32a45f..351c4d4e5 100644 --- a/roles/imagery.rb +++ b/roles/imagery.rb @@ -43,5 +43,6 @@ run_list( "recipe[imagery::za_ngi_aerial]", "recipe[imagery::us_imagery]", "recipe[imagery::sz_dos_topo]", - "recipe[imagery::mw_dos_topo]" + "recipe[imagery::mw_dos_topo]", + "recipe[imagery::zw_topo]" ) -- 2.47.3