From 25a27b0ba4f918b8ecf7e3832ccb80f9edb4c7d3 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 31 Jan 2016 15:22:00 +0000 Subject: [PATCH] Imagery - handle mapserver projection --- cookbooks/imagery/templates/default/mapserver.map.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cookbooks/imagery/templates/default/mapserver.map.erb b/cookbooks/imagery/templates/default/mapserver.map.erb index b3f93c726..c71b8b9d4 100644 --- a/cookbooks/imagery/templates/default/mapserver.map.erb +++ b/cookbooks/imagery/templates/default/mapserver.map.erb @@ -6,16 +6,16 @@ MAP UNITS METERS IMAGETYPE png PROJECTION - "+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" + "init=<%= @projection %>" END LAYER NAME "<%= @name %>" DATA "<%= @source %>" PROJECTION - "+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" + "init=<%= @projection %>" END - STATUS ON + STATUS DEFAULT TYPE RASTER PROCESSING "RESAMPLE=AVERAGE" PROCESSING "CLOSE_CONNECTION=DEFER" -- 2.39.5