]> git.openstreetmap.org Git - chef.git/blob - cookbooks/imagery/recipes/lu_lidar_hillshade.rb
nominatim: install secondary importance file
[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 # Delete borken layers like this
28
29 imagery_layer "classy_mappers_delight_lidar_hillshade_2019" do
30   site "lidar-hillshade-2019.openstreetmap.lu"
31   action :delete
32 end
33
34 imagery_layer "mappers_delight_lidar_dem_2019" do
35   site "lidar-hillshade-2019.openstreetmap.lu"
36   action :delete
37 end
38
39 imagery_layer "mappers_delight_lidar_hillshade_2019_reprojected" do
40   site "lidar-hillshade-2019.openstreetmap.lu"
41   default_layer true
42   projection "EPSG:3857"
43   source "/data/imagery/lu/lidar-hillshade/lu_hillshade_2019-3857.tif"
44   max_zoom 20
45   title "OpenStreetMap.lu Mapper's Delight 2019 Lidar Hillshading"
46   copyright 'Lidar data 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>, DEM and hillshading <a href="https://twitter.com/grischard">Guillaume Rischard</a>, CC0'
47 end
48
49 imagery_layer "mappers_delight_lidar_hillshade_2019_withunclassified" do
50   site "lidar-hillshade-2019.openstreetmap.lu"
51   projection "EPSG:3857"
52   source "/data/imagery/lu/lidar-hillshade/classy-hillshade.tif"
53   max_zoom 20
54   title "OpenStreetMap.lu Mapper's Delight 2019 Lidar Hillshading with unclassified points"
55   copyright 'Lidar data 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>, DEM and hillshading <a href="https://twitter.com/grischard">Guillaume Rischard</a>, CC0'
56 end