
MAP
    # The geographic extent (the rectangular area covered by the map) is 
    # defined by the keyword EXTENT. The rectangular area is specified by
    # the coordinates of the opposite corners (the lower left and the upper 
    # right). These are coordinates of the southwest and the northeast corners 
    # EX:
    # EXTENT -125.00 20.00 -65.00 50.00
    # The geographic extent stretches from 125° west, 20° north to 65° west, 
    # 50° north.
    
    CONFIG 'ON_MISSING_DATA' 'IGNORE'
    CONFIG 'PROJ_LIB' './conf/'
    CONFIG      "MS_ERRORFILE" "/home/xmn/alerta_dengue_ms.log"
    CONFIG      "CPL_DEBUG" "ON"
    CONFIG      "PROJ_DEBUG" "ON"
    DEBUG       5
    
    NAME        "MAP_NDVI"
    
    IMAGETYPE   png
    IMAGECOLOR  0 0 0
    MAXSIZE     4000
    SIZE        800 800
    UNITS       meters
    EXTENT -44.8893205505 -23.3689319629 -40.9585185182 -20.763205462
       
    OUTPUTFORMAT
      NAME      "png"
      DRIVER    AGG/PNG
      MIMETYPE  "image/png"
      IMAGEMODE RGBA
      EXTENSION "png"
      FORMATOPTION "GAMMA=0.75"
    END
    
    # OUTPUTFORMAT
    #   NAME "GTiff"
    #   DRIVER GDAL/GTiff
    #   MIMETYPE "image/tiff"
    #   IMAGEMODE RGBA
    #   EXTENSION "tif"
    # END
    
    # OUTPUTFORMAT
    #   NAME "kml"
    #   DRIVER KML
    #   MIMETYPE "application/vnd.google-earth.kml.xml"
    #   IMAGEMODE RGBA
    #   EXTENSION "kml"
    # END

    PROJECTION
        "init=epsg:4326"
    END
    
    SHAPEPATH '/home/xmn/dev/AlertaDengue/AlertaDengue/tiffs'

    WEB
      METADATA
        "wms_title" "Alerta Dengue"
        "wms_onlineresource" "http://localhost:81/cgi-bin/mapserv?map=/home/xmn/dev/AlertaDengue/AlertaDengue/mapfiles/NDVI.map&"
        "wms_enable_request" "*"
        "wms_srs" "EPSG:4326 EPSG:3857"
        "labelcache_map_edge_buffer" "-10"
        # "wms_feature_info_mime_type" "text/html"
        # "wms_format" "image/png"
      END
      
      IMAGEPATH '/tmp/map/'
      IMAGEURL '/mapimg/'

    END
 
INCLUDE "layers/meteorological/NDVI/3304557.map"
 
END
