]> git.openstreetmap.org Git - chef.git/blob - cookbooks/imagery/recipes/au_act_aerial.rb
Only try and create standby.signal if the cluster exists
[chef.git] / cookbooks / imagery / recipes / au_act_aerial.rb
1 #
2 # Cookbook:: imagery
3 # Recipe:: au_act_aerial
4 #
5 # Copyright:: 2025, 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 "act-imagery.openstreetmap.org" do
23   title "OpenStreetMap - ACT Imagery"
24   aliases ["act-imagery.osm.org"]
25   # https://leafletjs.com/reference.html#latlngbounds format
26   # [[south, west], [north, east]]
27   bbox [[-35.942, 148.729], [-35.117, 149.430]]
28 end
29
30 imagery_layer "act_aerial_imagery_latest" do
31   site "act-imagery.openstreetmap.org"
32   title "ACT Aerial Imagery latest"
33   projection "EPSG:7855"
34   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_Current/MapServer/WMTS/1.0.0/WMTSCapabilities.xml"
35   # attribution per https://www.actmapi.act.gov.au/terms-and-conditions and https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_Current/MapServer/
36   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
37   background_colour "0 0 0"
38   extension "jpeg"
39   max_zoom 22
40   default_layer true
41 end
42
43 imagery_layer "act_aerial_imagery_202505" do
44   site "act-imagery.openstreetmap.org"
45   title "ACT Aerial Imagery 202505"
46   projection "EPSG:7855"
47   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/2025_05_urban_75mm/MapServer/WMTS/1.0.0/WMTSCapabilities.xml"
48   # attribution per https://www.actmapi.act.gov.au/terms-and-conditions and https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_202411/MapServer/
49   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
50   background_colour "0 0 0"
51   extension "jpeg"
52   max_zoom 22
53 end
54
55 imagery_layer "act_aerial_imagery_202503" do
56   site "act-imagery.openstreetmap.org"
57   title "ACT Aerial Imagery 202503"
58   projection "EPSG:7855"
59   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/2025_03_urban_75mm/MapServer/WMTS/1.0.0/WMTSCapabilities.xml"
60   # attribution per https://www.actmapi.act.gov.au/terms-and-conditions and https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_202411/MapServer/
61   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
62   background_colour "0 0 0"
63   extension "jpeg"
64   max_zoom 22
65 end
66
67 imagery_layer "act_aerial_imagery_202411" do
68   site "act-imagery.openstreetmap.org"
69   title "ACT Aerial Imagery 202411"
70   projection "EPSG:7855"
71   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/2024_11_full_75mm/MapServer/WMTS/1.0.0/WMTSCapabilities.xml"
72   # attribution per https://www.actmapi.act.gov.au/terms-and-conditions and https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_202411/MapServer/
73   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
74   background_colour "0 0 0"
75   extension "jpeg"
76   max_zoom 22
77 end
78
79 imagery_layer "act_aerial_imagery_202409" do
80   site "act-imagery.openstreetmap.org"
81   title "ACT Aerial Imagery 202409"
82   projection "EPSG:7855"
83   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/2024_09_urban_75mm/MapServer/WMTS/1.0.0/WMTSCapabilities.xml"
84   # attribution per https://www.actmapi.act.gov.au/terms-and-conditions and https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/2024_09_urban_75mm/MapServer/
85   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
86   background_colour "0 0 0"
87   extension "jpeg"
88   max_zoom 22
89 end
90
91 imagery_layer "act_aerial_imagery_202402" do
92   site "act-imagery.openstreetmap.org"
93   title "ACT Aerial Imagery 202402"
94   projection "EPSG:7855"
95   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/2024_02_urban_75mm/MapServer/WMTS/1.0.0/WMTSCapabilities.xml"
96   # attribution per https://www.actmapi.act.gov.au/terms-and-conditions and https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/2024_09_urban_75mm/MapServer/
97   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
98   background_colour "0 0 0"
99   extension "jpeg"
100   max_zoom 22
101 end
102
103 imagery_layer "act_aerial_imagery_202311" do
104   site "act-imagery.openstreetmap.org"
105   title "ACT Aerial Imagery 202311"
106   projection "EPSG:7855"
107   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/2023_11_full_75mm/MapServer/WMTS/1.0.0/WMTSCapabilities.xml"
108   # attribution per https://www.actmapi.act.gov.au/terms-and-conditions and https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_202311/MapServer/
109   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
110   background_colour "0 0 0"
111   extension "jpeg"
112   max_zoom 22
113 end
114
115 # 2025 August - No longer available - appears password protected
116 imagery_layer "act_aerial_imagery_202305" do
117   action :delete
118   site "act-imagery.openstreetmap.org"
119   title "ACT Aerial Imagery 202305"
120   projection "EPSG:7855"
121   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_202305/MapServer/WMTS/1.0.0/WMTSCapabilities.xml"
122   # attribution per https://www.actmapi.act.gov.au/terms-and-conditions and https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_202305/MapServer/
123   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
124   background_colour "0 0 0"
125   extension "jpeg"
126   max_zoom 22
127 end