]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/mapserver.map.erb
Imagery - force lowercase epsg in mapserver
[chef.git] / cookbooks / imagery / templates / default / mapserver.map.erb
index c71b8b9d4d5883a61c1aff6c7f8d1203f6b51873..24889789751e6a971d29d4fcebc4af3a676e2922 100644 (file)
@@ -4,16 +4,16 @@ MAP
   STATUS ON
   SIZE 256 256
   UNITS METERS
-  IMAGETYPE png
+  IMAGETYPE <%= @extension %>
     PROJECTION
-    "init=<%= @projection %>"
+    "init=<%= @projection.downcase %>"
   END
 
   LAYER
     NAME "<%= @name %>"
     DATA "<%= @source %>"
     PROJECTION
-      "init=<%= @projection %>"
+      "init=<%= @projection.downcase %>"
     END
     STATUS       DEFAULT
     TYPE         RASTER