+<% if @extension == "os_sv_png" -%>
+ OUTPUTFORMAT
+ NAME "os_sv_png"
+ DRIVER AGG/PNG
+ MIMETYPE "image/png"
+ IMAGEMODE RGB
+ EXTENSION "png"
+ FORMATOPTION "COMPRESSION=9"
+ FORMATOPTION "PALETTE_FORCE=on"
+ 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 %>"