]> git.openstreetmap.org Git - chef.git/commitdiff
add city of melbourne imagery
authorAndrew Harvey <andrew@alantgeo.com.au>
Mon, 3 Feb 2025 00:33:14 +0000 (11:33 +1100)
committerGrant <github@firefishy.com>
Mon, 3 Feb 2025 02:01:28 +0000 (02:01 +0000)
cookbooks/imagery/recipes/au_vic_melbourne_aerial.rb [new file with mode: 0644]
roles/imagery.rb

diff --git a/cookbooks/imagery/recipes/au_vic_melbourne_aerial.rb b/cookbooks/imagery/recipes/au_vic_melbourne_aerial.rb
new file mode 100644 (file)
index 0000000..a058235
--- /dev/null
@@ -0,0 +1,60 @@
+#
+# Cookbook:: imagery
+# Recipe:: au_vic_melbourne_aerial
+#
+# Copyright:: 2024, OpenStreetMap Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+include_recipe "imagery::tiler"
+
+imagery_site "au-vic-melbourne-imagery.openstreetmap.org" do
+  title "OpenStreetMap - City of Melbourne - Aerial Imagery"
+  aliases ["au-vic-melbourne-imagery.osm.org"]
+  # https://leafletjs.com/reference.html#latlngbounds format
+  # [[south, west], [north, east]]
+  bbox [[-37.850667, 144.896981], [-37.775451, 144.991351]]
+  uses_tiler true
+end
+
+imagery_layer "melbourne-2020" do
+  site "au-vic-melbourne-imagery.openstreetmap.org"
+  uses_tiler true
+  title "AU City of Melbourne 2020"
+  source "file:///store/imagery/au/city-of-melbourne/CoM_May2020_2cm.cog.tiff"
+  copyright "(c) 2020 City of Melbourne"
+  max_zoom 23
+  extension "jpg"
+  default_layer true
+end
+
+imagery_layer "melbourne-2019" do
+  site "au-vic-melbourne-imagery.openstreetmap.org"
+  uses_tiler true
+  title "AU City of Melbourne 2019"
+  source "file:///store/imagery/au/city-of-melbourne/CoM_03Feb2019.cog.tiff"
+  copyright "(c) 2019 City of Melbourne"
+  max_zoom 21
+  extension "jpg"
+end
+
+imagery_layer "melbourne-2018" do
+  site "au-vic-melbourne-imagery.openstreetmap.org"
+  uses_tiler true
+  title "AU City of Melbourne 2018"
+  source "file:///store/imagery/au/city-of-melbourne/CoM_May2018_10cm.COG.tiff"
+  copyright "(c) 2018 City of Melbourne"
+  max_zoom 21
+  extension "jpg"
+end
index cc4dc454c08eeb4e4a2a4d614f845a1f5f4dab22..f024515a927bdfe43bba7ad9e24456ee3a9d6050 100644 (file)
@@ -36,6 +36,7 @@ default_attributes(
 run_list(
   "recipe[imagery::au_agri]",
   "recipe[imagery::au_act_aerial]",
+  "recipe[imagery::au_vic_melbourne_aerial]",
   "recipe[imagery::gb_ea]",
   "recipe[imagery::gb_hampshire_aerial]",
   "recipe[imagery::gb_os_sv]",