]> git.openstreetmap.org Git - chef.git/blob - cookbooks/imagery/recipes/lu_lidar_hillshade.rb
eaf3e76d75099b33fd7928dff8d37f99a6ed2566
[chef.git] / cookbooks / imagery / recipes / lu_lidar_hillshade.rb
1 #
2 # Cookbook:: imagery
3 # Recipe:: lu_lidar_hillshade
4 #
5 # Copyright:: 2016, OpenStreetMap Foundation
6 #
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #     https://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 #
19
20 include_recipe "imagery"
21
22 imagery_site "lidar-hillshade-2019.openstreetmap.lu" do
23   title "OpenStreetMap - Lidar Hillshade 2019"
24   bbox [[49.38, 5.64], [50.2, 6.64]]
25 end
26
27
28 # Delete borken layers like this
29 imagery_layer "lidar_hillshade_2019" do
30   site "lidar-hillshade-2019.openstreetmap.lu"
31   action :delete
32 end
33
34 imagery_layer "mappers_delight_lidar_hillshade_2019" do
35   site "lidar-hillshade-2019.openstreetmap.lu"
36   default_layer true
37   projection "EPSG:3857"
38   source "/data/imagery/lu/lidar-hillshade/lu_hillshade_2019-compress-epsg3857.tif"
39   max_zoom 22
40   title "OpenStreetMap.lu Mapper's Delight 2019 Lidar Hillshading"
41   copyright '&copy; 2019 <a href="https://data.public.lu/fr/datasets/lidar-2019-releve-3d-du-territoire-luxembourgeois">Administration du Cadastre et de la Topographie Luxembourg</a>, CC0'
42 end
43
44 imagery_layer "mappers_delight_lidar_dem_2019" do
45   site "lidar-hillshade-2019.openstreetmap.lu"
46   projection "EPSG:3857"
47   source "/data/imagery/lu/lidar-hillshade/dem-3857.tif"
48   max_zoom 22
49   title "OpenStreetMap.lu Mapper's Delight 2019 Lidar DEM"
50   copyright '&copy; 2019 <a href="https://data.public.lu/fr/datasets/lidar-2019-releve-3d-du-territoire-luxembourgeois">Administration du Cadastre et de la Topographie Luxembourg</a>, CC0'
51 end