X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/f31ba7e2c98ff3c1ccab81c17bfec79cd7a9065a..d10be359036b13007080d965d45d70da0011a999:/cookbooks/imagery/templates/default/mapserver.map.erb diff --git a/cookbooks/imagery/templates/default/mapserver.map.erb b/cookbooks/imagery/templates/default/mapserver.map.erb index b32f7f6e6..d44f3ec78 100644 --- a/cookbooks/imagery/templates/default/mapserver.map.erb +++ b/cookbooks/imagery/templates/default/mapserver.map.erb @@ -12,6 +12,16 @@ MAP FORMATOPTION "PALETTE=/srv/imagery/common/ossv-palette.txt" END <% end -%> +<% if @extension == "os_sv_diff_png" -%> + OUTPUTFORMAT + NAME "os_sv_diff_png" + DRIVER AGG/PNG + MIMETYPE "image/png" + IMAGEMODE RGBA + EXTENSION "png" + FORMATOPTION "COMPRESSION=9" + END +<% end -%> NAME "map-<%= @layer %>" STATUS ON @@ -38,7 +48,7 @@ MAP END STATUS DEFAULT TYPE RASTER - PROCESSING "RESAMPLE=AVERAGE" - PROCESSING "CLOSE_CONNECTION=DEFER" + PROCESSING "RESAMPLE=AVERAGE" + PROCESSING "CLOSE_CONNECTION=NORMAL" END # layer END