]> git.openstreetmap.org Git - chef.git/blob - cookbooks/imagery/recipes/lu_ngl_dtm.rb
Merge branch 'patch-2' of https://github.com/Tigerfell/chef into pr257
[chef.git] / cookbooks / imagery / recipes / lu_ngl_dtm.rb
1 #
2 # Cookbook:: imagery
3 # Recipe:: lu_ngl_dtm
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 "ana-dtm-2017.openstreetmap.lu" do
23   title "OpenStreetMap - ANA DTM 2017"
24   bbox [[49.38, 5.64], [50.2, 6.64]]
25 end
26
27 imagery_layer "ana_dtm_2017" do
28   site "ana-dtm-2017.openstreetmap.lu"
29   projection "EPSG:3857"
30   source "/data/imagery/lu/LUREF_NGL/lu_color_relief-epsg3857-compress.tif"
31   max_zoom 21
32   title "DTM"
33   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'
34 end
35
36 imagery_layer "ana_dtm_2017_hillshading" do
37   site "ana-dtm-2017.openstreetmap.lu"
38   projection "EPSG:3857"
39   source "/data/imagery/lu/LUREF_NGL/lu_hillshade_2017-epsg-3857-compress.tif"
40   max_zoom 21
41   title "DTM Hillshading (single light source)"
42   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'
43 end
44
45 imagery_layer "ana_dtm_2017_hillshading_multi" do
46   site "ana-dtm-2017.openstreetmap.lu"
47   default_layer true
48   projection "EPSG:3857"
49   source "/data/imagery/lu/LUREF_NGL/ANA_LUREF_NGL_DTM_hillshade_multi_epsg3857.tif"
50   max_zoom 21
51   title "DTM Hillshading (multidirectional)"
52   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'
53 end