]> git.openstreetmap.org Git - chef.git/blob - cookbooks/imagery/recipes/au_vic_melbourne_aerial.rb
imagery: make au melbourne file paths mapserver compatible
[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 "jpg"
37   default_layer true
38 end
39
40 imagery_layer "melbourne-2019" do
41   site "au-vic-melbourne-imagery.openstreetmap.org"
42   title "City of Melbourne 2019"
43   source "/store/imagery/au/city-of-melbourne/CoM_03Feb2019.cog.tiff"
44   copyright "(c) 2019 City of Melbourne"
45   max_zoom 21
46   extension "jpg"
47 end
48
49 imagery_layer "melbourne-2018" do
50   site "au-vic-melbourne-imagery.openstreetmap.org"
51   title "City of Melbourne 2018"
52   source "/store/imagery/au/city-of-melbourne/CoM_May2018_10cm.COG.tiff"
53   copyright "(c) 2018 City of Melbourne"
54   max_zoom 21
55   extension "jpg"
56 end