From 9624adf7d7b57952b4bba023188bde37c0c4730a Mon Sep 17 00:00:00 2001 From: Guillaume RISCHARD Date: Thu, 26 Mar 2020 12:49:55 +0100 Subject: [PATCH] Added Luxembourg 2019 lidar hillshade --- .../imagery/recipes/lu_lidar_hillshade.rb | 35 +++++++++++++++++++ roles/imagery.rb | 3 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 cookbooks/imagery/recipes/lu_lidar_hillshade.rb diff --git a/cookbooks/imagery/recipes/lu_lidar_hillshade.rb b/cookbooks/imagery/recipes/lu_lidar_hillshade.rb new file mode 100644 index 000000000..a2c122393 --- /dev/null +++ b/cookbooks/imagery/recipes/lu_lidar_hillshade.rb @@ -0,0 +1,35 @@ +# +# Cookbook:: imagery +# Recipe:: lu_lidar_hillshade +# +# 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 "lidar-hillshade-2019.openstreetmap.lu" do + title "OpenStreetMap - Lidar Hillshade 2019" + bbox [[49.38, 5.64], [50.2, 6.64]] +end + +imagery_layer "lidar-hillshade-2019" do + site "lidar-hillshade-2019.openstreetmap.lu" + default_layer true + projection "EPSG:3857" + source "/data/imagery/lu/lidar-hillshade/lu-lidar-2019-epsg3857.tif" + max_zoom 21 + title "Lidar Hillshading" + copyright '© 2019 Administration du Cadastre et de la Topographie Luxembourg, CC0' +end diff --git a/roles/imagery.rb b/roles/imagery.rb index 246f83cd1..898e0dcdf 100644 --- a/roles/imagery.rb +++ b/roles/imagery.rb @@ -58,5 +58,6 @@ run_list( "recipe[imagery::za_ngi_topo]", "recipe[imagery::za_coct_aerial]", "recipe[imagery::na_sgswa_topo]", - "recipe[imagery::lu_ngl_dtm]" + "recipe[imagery::lu_ngl_dtm]", + "recipe[imagery::lu_lidar_hillshade]" ) -- 2.39.5