]> git.openstreetmap.org Git - chef.git/blob - cookbooks/imagery/templates/default/mapserver.map.erb
Imagery - add root layer support
[chef.git] / cookbooks / imagery / templates / default / mapserver.map.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2 MAP
3   NAME "map-<%= @layer %>"
4   STATUS ON
5   SIZE 256 256
6   UNITS METERS
7   IMAGETYPE <%= @extension %>
8     PROJECTION
9     "init=<%= @projection.downcase %>"
10   END
11
12   LAYER
13     NAME "<%= @layer %>"
14     DATA "<%= @source %>"
15     PROJECTION
16       "init=<%= @projection.downcase %>"
17     END
18     STATUS       DEFAULT
19     TYPE         RASTER
20     PROCESSING "RESAMPLE=AVERAGE"
21     PROCESSING "CLOSE_CONNECTION=DEFER"
22   END # layer
23 END