X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/25a27b0ba4f918b8ecf7e3832ccb80f9edb4c7d3..f153bcdc25b7df0778aee101d32487cafa6d292f:/cookbooks/imagery/templates/default/mapserver.map.erb diff --git a/cookbooks/imagery/templates/default/mapserver.map.erb b/cookbooks/imagery/templates/default/mapserver.map.erb index c71b8b9d4..2c271a5fb 100644 --- a/cookbooks/imagery/templates/default/mapserver.map.erb +++ b/cookbooks/imagery/templates/default/mapserver.map.erb @@ -1,19 +1,19 @@ # DO NOT EDIT - This file is being maintained by Chef MAP - NAME "map-<%= @name %>" + NAME "map-<%= @layer %>" STATUS ON SIZE 256 256 UNITS METERS - IMAGETYPE png + IMAGETYPE <%= @extension %> PROJECTION - "init=<%= @projection %>" + "init=<%= @projection.downcase %>" END LAYER - NAME "<%= @name %>" + NAME "<%= @layer %>" DATA "<%= @source %>" PROJECTION - "init=<%= @projection %>" + "init=<%= @projection.downcase %>" END STATUS DEFAULT TYPE RASTER