X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f31ba7e2c98ff3c1ccab81c17bfec79cd7a9065a..c622106f2aae13e82e096dee5512b9ba68311456:/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..84a3803d0 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=DEFER" END # layer END