From e7db69a4c74ce9e98992d538a552524880eb85a2 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 19 Dec 2018 13:07:51 +0000 Subject: [PATCH 1/1] imagery: Add Namibian topo (pending GoFundMe target) --- cookbooks/imagery/recipes/na_sgswa_topo.rb | 34 ++++++++++++++++++++++ roles/imagery.rb | 3 +- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 cookbooks/imagery/recipes/na_sgswa_topo.rb diff --git a/cookbooks/imagery/recipes/na_sgswa_topo.rb b/cookbooks/imagery/recipes/na_sgswa_topo.rb new file mode 100644 index 000000000..718c0f85c --- /dev/null +++ b/cookbooks/imagery/recipes/na_sgswa_topo.rb @@ -0,0 +1,34 @@ +# +# Cookbook Name:: imagery +# Recipe:: za_ngi_topo +# +# 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 +# +# 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 "namibia-topo.openstreetmap.org.za" do + title "OpenStreetMap - Namibia / South West Africa - Topographic Series" + aliases ["namibia-topo.osm.org.za"] + bbox [[-35.12, 16.23], [-22.1, 33.18]] +end + +imagery_layer "na_sgswa_topo_50k" do + site "namibia-topo.openstreetmap.org.za" + title "Namibia Topo 50k" + projection "EPSG:4326" + source "/data/imagery/na/topo-50k/namibia-50k-topo.vrt" + copyright 'State Copyright © 1958 - 1991; Surveyor-General, Windhoek, SWA; CDSM: Chief Directorate Surveys & Mapping, Mowbray, RSA' +end diff --git a/roles/imagery.rb b/roles/imagery.rb index e1d4881a9..2f4663447 100644 --- a/roles/imagery.rb +++ b/roles/imagery.rb @@ -54,5 +54,6 @@ run_list( "recipe[imagery::gb_os_sv]", "recipe[imagery::gb_surrey_aerial]", "recipe[imagery::za_ngi_topo]", - "recipe[imagery::za_coct_aerial]" + "recipe[imagery::za_coct_aerial]", + "recipe[imagery::na_sgswa_topo.rb]" ) -- 2.43.2