MAP #This formats the output (image type, map extents, background colour) IMAGETYPE JPEG OUTPUTFORMAT NAME jpeg DRIVER "GD/JPEG" MIMETYPE "image/jpeg" IMAGEMODE RGB EXTENSION "jpg" END EXTENT 2290000.0 7260000.0 2720000.0 7720000.0 SIZE 1680 1740 IMAGECOLOR 240 240 240 PROJECTION # Projection parameters can be defined in two ways... # This is the traditional Proj.4 definition of Lambert Azimuthal Equal-Area # projection for the Continental U.S. # "proj=laea" # "ellps=clrk66" # "lat_0=45" # "lon_0=-100" # # Alternatively, you can specify an EPSG code. # This is the EPSG code for NB Stereographic Double Projection "init=epsg:2036" END # This is the ending of the output projection # Layer objects are defined beneath the map object. You need at least one # layer defined in your map file before you can display a map... You can # define as many layers as you'd like although a limit is typically hard-coded # in map.h in the MapServer source. The default limit is set at 100. You'd # have to have a very specialized application to need more than 100 layers in # your application. # Start of LAYER DEFINITIONS --------------------------------------------- #The Projection stuff really is optional #A .tfw file is required in the same directory as the .tif image #which is the same directory as the .map file. LAYER NAME NBdtm DATA "NB_dtm.tif" STATUS OFF TYPE RASTER PROJECTION "init=epsg:2036" END END LAYER NAME M4466_840 DATA "map4466_840_Deer2005.tif" STATUS OFF TYPE RASTER PROJECTION "init=epsg:2036" END END END