]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/recipes/au_agri.rb
imagery: add html titles
[chef.git] / cookbooks / imagery / recipes / au_agri.rb
index 3474c4cdaec265d84da7cd877d6e6635e8e44db5..921cbe2d2ae63081ffd4507913cb3ff5ca136b28 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Cookbook Name:: imagery
-# Recipe:: au-agri
+# Recipe:: au_agri
 #
 # Copyright 2016, OpenStreetMap Foundation
 #
 include_recipe "imagery"
 
 imagery_site "agri.openstreetmap.org" do
-  # aliases ["agri.openstreetmap.org.au"]
+  title "OpenStreetMap - The Australian Geographic Reference Image"
+  # aliases [ "agri.openstreetmap.org.au" ]
+  bbox [[-44.74673, 111.5332], [-9.75237, 154.6875]]
+end
 
-  imagery_layer "au_ga_agri" do
-    site new_resource.name
-    text "AGRI: The Australian Geographic Reference Image"
-    copyright "Commonwealth of Australia (Geoscience Australia) - Creative Commons Attribution 4.0 International Licence"
-    projection "EPSG:3857"
-    source "/data/imagery/au/agri/combine.vrt"
-  end
+imagery_layer "au_ga_agri" do
+  site "agri.openstreetmap.org"
+  root_layer true
+  text "AGRI: The Australian Geographic Reference Image"
+  copyright "Commonwealth of Australia (Geoscience Australia) - Creative Commons Attribution 4.0 International Licence"
+  background_colour "0 0 0" # Black
+  projection "EPSG:3857"
+  source "/data/imagery/au/agri/combine.vrt"
+  revision 1
 end