]> git.openstreetmap.org Git - chef.git/blob - cookbooks/imagery/recipes/au_act_aerial.rb
990e80788d21821a71e02fea95035d6b7e032718
[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_202409" do
31   site "act-imagery.openstreetmap.org"
32   title "ACT Aerial Imagery 202409"
33   projection "EPSG:7855"
34   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_202409/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_202409/MapServer/
36   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
37   default_layer true
38   background_colour "0 0 0"
39   extension "jpeg"
40   max_zoom 22
41 end
42
43 imagery_layer "act_aerial_imagery_202311" do
44   site "act-imagery.openstreetmap.org"
45   title "ACT Aerial Imagery 202311"
46   projection "EPSG:7855"
47   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_202311/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_202311/MapServer/
49   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
50   default_layer true
51   background_colour "0 0 0"
52   extension "jpeg"
53   max_zoom 22
54 end
55
56 imagery_layer "act_aerial_imagery_202305" do
57   site "act-imagery.openstreetmap.org"
58   title "ACT Aerial Imagery 202305"
59   projection "EPSG:7855"
60   source "https://tiles.arcgis.com/tiles/E5n4f1VY84i0xSjy/arcgis/rest/services/ACT_Aerial_Imagery_202305/MapServer/WMTS/1.0.0/WMTSCapabilities.xml"
61   # 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/
62   copyright "ACT Imagery from <a href='https://www.actmapi.act.gov.au/home'>ACTmapi</a> (c) Australian Capital Territory and MetroMap. "
63   default_layer true
64   background_colour "0 0 0"
65   extension "jpeg"
66   max_zoom 22
67 end