# example map file for creating image maps with mapserver
MAP
  NAME 'basic'
  SIZE 600 600
  EXTENT -100 10  -60 30
  IMAGECOLOR 167 200 255
  SHAPEPATH "/data/shp"
  UNITS DD
  
  PROJECTION
    "init=epsg:4326"
  END

  IMAGETYPE "AGG"
  
  OUTPUTFORMAT
    NAME 'AGG'
    DRIVER AGG/PNG
    IMAGEMODE RGB
  END
  
  OUTPUTFORMAT
    NAME 'html'
    DRIVER 'TEMPLATE'
    MIMETYPE 'text/html'
    FORMATOPTION 'FILE=/data/www/html/test/testmap.html'
  END


  QUERYMAP
    STATUS ON
    STYLE NORMAL
  END

  WEB
    QUERYFORMAT 'html'  
  END

  WEB
    IMAGEPATH "/tmp/"
    IMAGEURL "/tmp/"
    MAXSCALE 15500000
  END

LAYER
  NAME "mypoints"
  STATUS DEFAULT
    CONNECTIONTYPE OGR
    CONNECTION "test.ovf"
    DATA "mypoints"
  TYPE POINT
  TEMPLATE "/data/www/html/test/testmap.html"
    CLASS 
       NAME "None"
	   STYLE
	       SYMBOL 'circle'
           SIZE 14
	       COLOR 0 255 0
	   END
    END

END

# Symbols ###################

SYMBOL
  NAME 'circle'
  TYPE ELLIPSE
  POINTS 1 1 END
  FILLED TRUE
END

END