]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/mapserver.map.erb
imagery: add missing quotes
[chef.git] / cookbooks / imagery / templates / default / mapserver.map.erb
index b32f7f6e6e44a2a45cde3caec5199faab6be6f07..84a3803d01256f76d373898d2c189561a72b1341 100644 (file)
@@ -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