X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/f31ba7e2c98ff3c1ccab81c17bfec79cd7a9065a..1531b1dad652db402fbf1618d059c8533319e312:/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..fd30b0763 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