From f22bc72767f40ccd7b323c5c642d8cf9d55d7e67 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 4 Jun 2026 17:40:01 +0100 Subject: [PATCH] imagery: Add eSwatini topographic map series --- cookbooks/imagery/recipes/sz_dos_topo.rb | 36 ++++++++++++++++++++++++ roles/imagery.rb | 3 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 cookbooks/imagery/recipes/sz_dos_topo.rb diff --git a/cookbooks/imagery/recipes/sz_dos_topo.rb b/cookbooks/imagery/recipes/sz_dos_topo.rb new file mode 100644 index 000000000..d2595a7b3 --- /dev/null +++ b/cookbooks/imagery/recipes/sz_dos_topo.rb @@ -0,0 +1,36 @@ +# +# Cookbook:: imagery +# Recipe:: sz_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 "eswatini-topo.openstreetmap.org.za" do + title "OpenStreetMap - SZ - Topographic Series" + aliases ["eswatini-topo.osm.org.za"] + bbox [[-27.3338596, 30.7497124], [-25.7172326, 32.2498455]] +end + +imagery_layer "za_ngi_topo_50k" do + site "eswatini-topo.openstreetmap.org.za" + title "SZ Topo 50k" + projection "EPSG:3857" + source "/store/imagery/sz/50k-topo/mosaic_webp.tif" + copyright 'Directorate of Overseas Surveys (DOS)' + default_layer true + revision 1 +end diff --git a/roles/imagery.rb b/roles/imagery.rb index 024878d08..f602f667f 100644 --- a/roles/imagery.rb +++ b/roles/imagery.rb @@ -41,5 +41,6 @@ run_list( "recipe[imagery::lu_ngl_dtm]", "recipe[imagery::lu_lidar_hillshade]", "recipe[imagery::za_ngi_aerial]", - "recipe[imagery::us_imagery]" + "recipe[imagery::us_imagery]", + "recipe[imagery::sz_dos_topo]" ) -- 2.47.3