1 # DO NOT EDIT - This file is being maintained by Chef
3 <% if @extension == "os_sv_png" -%>
10 FORMATOPTION "COMPRESSION=9"
11 FORMATOPTION "PALETTE_FORCE=on"
12 FORMATOPTION "PALETTE=/srv/imagery/common/ossv-palette.txt"
15 <% if @extension == "os_sv_diff_png" -%>
22 FORMATOPTION "COMPRESSION=9"
26 NAME "map-<%= @layer %>"
30 <% if @background_colour -%>
31 IMAGECOLOR <%= @background_colour %>
33 IMAGETYPE <%= @extension %>
35 <% if @projection == "EPSG:27700" -%>
36 <%# Override EPSG:27700 to use accurate nadgrid %>
37 "+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"
38 <% elsif @projection == "namibia_aerial" -%>
39 "+proj=tmerc +lat_0=0 +lon_0=17 +k=1 +x_0=600000 +y_0=10000000 +ellps=WGS84 +units=m +no_defs"
41 "init=<%= @projection.downcase %>"
49 <% if @projection == "EPSG:27700" -%>
50 <%# Override EPSG:27700 to use accurate nadgrid %>
51 "+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"
52 <% elsif @projection == "namibia_aerial" -%>
53 "+proj=tmerc +lat_0=0 +lon_0=17 +k=1 +x_0=600000 +y_0=10000000 +ellps=WGS84 +units=m +no_defs"
55 "init=<%= @projection.downcase %>"
60 PROCESSING "RESAMPLE=AVERAGE"
61 PROCESSING "CLOSE_CONNECTION=DEFER"