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 "init=<%= @projection.downcase %>"
42 <% if @projection == "EPSG:27700" -%>
43 <%# Override EPSG:27700 to use accurate nadgrid %>
44 "+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"
46 "init=<%= @projection.downcase %>"
51 PROCESSING "RESAMPLE=AVERAGE"
52 PROCESSING "CLOSE_CONNECTION=DEFER"