]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/mapserver.map.erb
Imagery - add root layer support
[chef.git] / cookbooks / imagery / templates / default / mapserver.map.erb
index 24889789751e6a971d29d4fcebc4af3a676e2922..2c271a5fb90c8f3047d028c69e4bfe8afa997433 100644 (file)
@@ -1,6 +1,6 @@
 # DO NOT EDIT - This file is being maintained by Chef
 MAP
 # DO NOT EDIT - This file is being maintained by Chef
 MAP
-  NAME "map-<%= @name %>"
+  NAME "map-<%= @layer %>"
   STATUS ON
   SIZE 256 256
   UNITS METERS
   STATUS ON
   SIZE 256 256
   UNITS METERS
@@ -10,7 +10,7 @@ MAP
   END
 
   LAYER
   END
 
   LAYER
-    NAME "<%= @name %>"
+    NAME "<%= @layer %>"
     DATA "<%= @source %>"
     PROJECTION
       "init=<%= @projection.downcase %>"
     DATA "<%= @source %>"
     PROJECTION
       "init=<%= @projection.downcase %>"