#
# Cookbook Name:: imagery
-# Recipe:: gb-surrey-aerial
+# Recipe:: gb_surrey_aerial
#
# Copyright 2016, OpenStreetMap Foundation
#
include_recipe "imagery"
imagery_site "surrey.aerial.openstreetmap.org.uk" do
- imagery_layer "gb-surrey-aerial" do
- site new_resource.name
- projection "EPSG:27700"
- source "/data/imagery/gb/surrey-aerial/SurreyMosaicECW.tif"
- end
+ # aliases
+ bbox [[51.0595, -0.873413], [51.466, 0.0617981]]
+end
+
+imagery_layer "gb_surrey_aerial" do
+ site "surrey.aerial.openstreetmap.org.uk"
+ root_layer true
+ projection "EPSG:27700"
+ source "/data/imagery/gb/surrey-aerial/SurreyMosaicECW.tif"
+ url_aliases ["/sas"]
end