]> git.openstreetmap.org Git - chef.git/blob - cookbooks/imagery/recipes/za_ngi_aerial.rb
nominatim: install secondary importance file
[chef.git] / cookbooks / imagery / recipes / za_ngi_aerial.rb
1 #
2 # Cookbook:: imagery
3 # Recipe:: za_ngi_aerial
4 #
5 # Copyright:: 2024, 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::tiler"
21
22 imagery_site "aerial.openstreetmap.org.za" do
23   title "OpenStreetMap - NGI - Aerial Imagery"
24   aliases ["aerial.osm.org.za"]
25   bbox [[-35.12, 16.23], [-22.1, 33.18]]
26   uses_tiler true
27 end
28
29 imagery_layer "ngi-aerial" do
30   site "aerial.openstreetmap.org.za"
31   uses_tiler true
32   title "NGI Aerial 25cm/50cm"
33   source "file:///store/imagery/za/za-25cm/mosaic-tiler-file.json"
34   copyright 'State Copyright &copy; 2024 <a href="http://www.ngi.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
35   max_zoom 20
36   extension "jpg"
37   default_layer true
38   url_aliases ["/ngi-aerial"]
39 end