]> git.openstreetmap.org Git - chef.git/blob - cookbooks/imagery/recipes/au_vic_melbourne_aerial.rb
imagery: final melbourne mapserver compatibility fixes
[chef.git] / cookbooks / imagery / recipes / au_vic_melbourne_aerial.rb
1 #
2 # Cookbook:: imagery
3 # Recipe:: au_vic_melbourne_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"
21
22 imagery_site "au-vic-melbourne-imagery.openstreetmap.org" do
23   title "OpenStreetMap - City of Melbourne - Aerial Imagery"
24   aliases ["au-vic-melbourne-imagery.osm.org"]
25   # https://leafletjs.com/reference.html#latlngbounds format
26   # [[south, west], [north, east]]
27   bbox [[-37.850667, 144.896981], [-37.775451, 144.991351]]
28 end
29
30 imagery_layer "melbourne-2020" do
31   site "au-vic-melbourne-imagery.openstreetmap.org"
32   title "City of Melbourne 2020"
33   source "/store/imagery/au/city-of-melbourne/CoM_May2020_2cm.cog.tiff"
34   copyright "(c) 2020 City of Melbourne"
35   max_zoom 23
36   extension "jpeg"
37   revision 2
38   default_layer true
39 end
40
41 imagery_layer "melbourne-2019" do
42   site "au-vic-melbourne-imagery.openstreetmap.org"
43   title "City of Melbourne 2019"
44   source "/store/imagery/au/city-of-melbourne/CoM_03Feb2019.cog.tiff"
45   copyright "(c) 2019 City of Melbourne"
46   max_zoom 21
47   extension "jpeg"
48   revision 2
49 end
50
51 imagery_layer "melbourne-2018" do
52   site "au-vic-melbourne-imagery.openstreetmap.org"
53   title "City of Melbourne 2018"
54   source "/store/imagery/au/city-of-melbourne/CoM_May2018_10cm.COG.tiff"
55   copyright "(c) 2018 City of Melbourne"
56   max_zoom 21
57   extension "jpeg"
58   revision 2
59 end