default_layer true
background_colour "0 0 0"
extension "jpeg"
- default_layer true
max_zoom 16
end
+
+imagery_layer "na_aerial" do
+ site "namibia-topo.openstreetmap.org.za"
+ title "Namibia Aerial Demo"
+ projection "namibia_aerial"
+ source "/data/imagery/na/aerial/aerial.vrt"
+ copyright "State Copyright"
+ background_colour "0 0 0"
+ extension "jpeg"
+ max_zoom 21
+end
<% if @projection == "EPSG:27700" -%>
<%# Override EPSG:27700 to use accurate nadgrid %>
"+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36 +units=m +no_defs +nadgrids=/srv/imagery/common/ostn02-ntv2-data/OSTN02_NTv2.gsb"
+ <% elsif @projection == "namibia_aerial" -%>
+ "+proj=tmerc +lat_0=0 +lon_0=17 +k=1 +x_0=600000 +y_0=10000000 +ellps=WGS84 +units=m +no_defs"
<% else -%>
"init=<%= @projection.downcase %>"
<% end -%>