Imagery - force lowercase epsg in mapserver
authorGrant Slater <git@firefishy.com>
Sun, 31 Jan 2016 20:00:23 +0000 (20:00 +0000)
committerGrant Slater <git@firefishy.com>
Sun, 31 Jan 2016 20:00:23 +0000 (20:00 +0000)
cookbooks/imagery/templates/default/mapserver.map.erb

index 29a83c27c7ab50b8a652cbb007f0ed083319c85e..24889789751e6a971d29d4fcebc4af3a676e2922 100644 (file)
@@ -6,14 +6,14 @@ MAP
   UNITS METERS
   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