From e40d75853638f093d52f9c7d82e9a73d670e2035 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 25 Aug 2016 23:15:10 +0100 Subject: [PATCH 1/1] imagery: add coct aerial --- cookbooks/imagery/recipes/za_coct_aerial.rb | 43 +++++++++++++++++++++ roles/imagery.rb | 3 +- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 cookbooks/imagery/recipes/za_coct_aerial.rb diff --git a/cookbooks/imagery/recipes/za_coct_aerial.rb b/cookbooks/imagery/recipes/za_coct_aerial.rb new file mode 100644 index 000000000..12df78b3e --- /dev/null +++ b/cookbooks/imagery/recipes/za_coct_aerial.rb @@ -0,0 +1,43 @@ +# +# Cookbook Name:: imagery +# Recipe:: za_coct_aerial +# +# 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 +# +# 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 "coct.aerial.openstreetmap.org.za" do + title "OpenStreetMap - City of Cape Town Aerial" + aliases ["coct.aerial.osm.org.za"] + bbox [[-35.12, 16.23], [-22.1, 33.18]] +end + +imagery_layer "za_coct_aerial_2015" do + projection "EPSG:3857" + site "coct.aerial.openstreetmap.org.za" + title "City of Cape Town Aerial - 2015 (OSM USE ONLY)" + source "/data/imagery/za/coct/2015-tif-epsg-3857.vrt" + copyright 'Copyright © 2015 City of Cape Town' + default_layer true +end + +imagery_layer "za_coct_aerial_2013" do + projection "EPSG:3857" + site "coct.aerial.openstreetmap.org.za" + title "City of Cape Town Aerial - 2013 (OSM USE ONLY)" + source "/data/imagery/za/coct/2013-tif-epsg-3857.vrt" + copyright 'Copyright © 2013 City of Cape Town' +end diff --git a/roles/imagery.rb b/roles/imagery.rb index 8b2986f61..c7c0441e0 100644 --- a/roles/imagery.rb +++ b/roles/imagery.rb @@ -53,5 +53,6 @@ run_list( "recipe[imagery::gb_hampshire_aerial]", "recipe[imagery::gb_os_sv]", "recipe[imagery::gb_surrey_aerial]", - "recipe[imagery::za_ngi_topo]" + "recipe[imagery::za_ngi_topo]," + "recipe[imagery::za_coct_aerial]" ) -- 2.43.2