]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/recipes/lu_ngl_dtm.rb
Make sure database backups abort on error
[chef.git] / cookbooks / imagery / recipes / lu_ngl_dtm.rb
index e161794c2bd49d6dccf8b338024417564671ca06..528c408e02a48b09287c2d932fe0299e35ef71ab 100644 (file)
 
 include_recipe "imagery"
 
-# Remove old incorrectly named site
-imagery_site "ana_dtm_2017.openstreetmap.lu" do
-  action :delete
-end
-
 imagery_site "ana-dtm-2017.openstreetmap.lu" do
   title "OpenStreetMap - ANA DTM 2017"
   bbox [[49.38, 5.64], [50.2, 6.64]]
@@ -40,10 +35,19 @@ end
 
 imagery_layer "ana_dtm_2017_hillshading" do
   site "ana-dtm-2017.openstreetmap.lu"
-  default_layer true
   projection "EPSG:3857"
   source "/data/imagery/lu/LUREF_NGL/lu_hillshade_2017-epsg-3857-compress.tif"
   max_zoom 21
-  title "DTM Hillshading"
+  title "DTM Hillshading (single light source)"
   copyright '&copy; 2017 <a href="https://data.public.lu/fr/datasets/digital-terrain-model-high-dem-resolution/">Administration de la Navigation A&eacute;rienne Luxembourg</a>, CC0'
 end
+
+imagery_layer "ana_dtm_2017_hillshading_multi" do
+  site "ana-dtm-2017.openstreetmap.lu"
+  default_layer true
+  projection "EPSG:3857"
+  source "/data/imagery/lu/LUREF_NGL/ANA_LUREF_NGL_DTM_hillshade_multi_epsg3857.tif"
+  max_zoom 21
+  title "DTM Hillshading (multidirectional)"
+  copyright 'DEM 2017 <a href="https://data.public.lu/fr/datasets/digital-terrain-model-high-dem-resolution/">Administration de la Navigation A&eacute;rienne Luxembourg</a>, hillshading <a href="https://twitter.com/dmoraisferreira">David Morais Ferreira</a> &amp; <a href="https://twitter.com/grischard">Guillaume Rischard</a> CC0'
+end