]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/recipes/za_ngi_topo.rb
Merge remote-tracking branch 'github/pull/715'
[chef.git] / cookbooks / imagery / recipes / za_ngi_topo.rb
index 9bfac98c8a0182efdf74be75d646ddb4c54c9e7f..a1fd92c619c7e55d97bc816571124c9dbab3c9a6 100644 (file)
@@ -1,14 +1,14 @@
 #
-# Cookbook Name:: imagery
-# Recipe:: za-ngi-topo
+# Cookbook:: imagery
+# Recipe:: za_ngi_topo
 #
-# Copyright 2016, OpenStreetMap Foundation
+# 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
+#     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,
@@ -22,21 +22,22 @@ include_recipe "imagery"
 imagery_site "topo.openstreetmap.org.za" do
   title "OpenStreetMap - NGI - Topographic Series"
   aliases ["topo.osm.org.za"]
-  bbox [[16.23, -35.12], [,33.18, -22.1]]
+  bbox [[-35.12, 16.23], [-22.1, 33.18]]
 end
 
 imagery_layer "za_ngi_topo_250k" do
   site "topo.openstreetmap.org.za"
   title "NGI Topo 250k"
   projection "EPSG:3857"
-  source "/data/imagery/za/ngi-250k/ngi-topo-250k-combined.vrt"
-  copyright "State Copyright &copy; 1996&ndash;2010 <a href="http://www.ngi.gov.za/">Chief Directorate: National Geo-spatial Information</a>"
+  source "/store/imagery/za/ngi-topo-250k/ngi-topo-250k-combined.vrt"
+  copyright 'State Copyright &copy; 1996&ndash;2010 <a href="https://ngi.dalrrd.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
+  default_layer true
 end
 
 imagery_layer "za_ngi_topo_50k" do
   site "topo.openstreetmap.org.za"
   title "NGI Topo 50k"
   projection "EPSG:3857"
-  source "/data/imagery/za/ngi-50k/ngi-topo-50k-combined.vrt"
-  copyright "State Copyright &copy; 1996&ndash;2013 <a href="http://www.ngi.gov.za/">Chief Directorate: National Geo-spatial Information</a>"
+  source "/store/imagery/za/ngi-topo-50k/ngi-topo-50k-combined.vrt"
+  copyright 'State Copyright &copy; 1996&ndash;2013 <a href="https://ngi.dalrrd.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
 end