# # $Id: demo.map,v 1.5 2013-02-27 18:20:37 jmckenna Exp $ # # Start of map file # MAP # all temp files get prefixed with this string NAME ms-ogc-workshop # always returns a map STATUS ON # image format options OUTPUTFORMAT NAME png DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" END # width / height of map image SIZE 500 300 # projection of the INTERFACE that this mapfile supports PROJECTION "init=epsg:4326" END # minx miny maxx maxy EXTENT -180 -90 180 90 # World # units of map/app UNITS DD # def pointers for symbols SYMBOLSET "../../../etc/symbols/symbols.txt" FONTSET "../../../etc/fonts/fonts.txt" # # Start of web interface definition # WEB TEMPLATE "../../../templates/demo.html" HEADER "../../../templates/query_header.html" FOOTER "../../../templates/query_footer.html" # this is set in the form which initializes the page, but can be set here if you want INCLUDE "../../../common/imagepath.inc" # this is set in the form which initializes the page, but can be set here if you want IMAGEURL "/ms_tmp/" END # # Start of reference map # REFERENCE # which image is the base image for refmaps # a area of interest box will be drawn on top of it IMAGE ../../../graphics/refmap_world_4326.gif # extents of ref image (minx miny maxx maxy) EXTENT -180 -90 180 90 # width / height of image SIZE 150 75 # always generated STATUS ON COLOR -1 -1 -1 # color of outline OUTLINECOLOR 255 0 0 END # # Start of legend # LEGEND KEYSIZE 18 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END TEMPLATE "../../../templates/legend.html" STATUS ON END # # Start of scalebar # SCALEBAR IMAGECOLOR 255 0 0 LABEL COLOR 0 0 0 SIZE tiny END STYLE 1 SIZE 80 2 COLOR 0 0 0 UNITS KILOMETERS INTERVALS 1 TRANSPARENT TRUE STATUS TRUE END # start of querymap object QUERYMAP SIZE 200 200 STATUS ON STYLE HILITE COLOR 255 0 0 END # start of layer definitions ###################################################################### # # ADD FAO World Soil WMS LAYER HERE # ###################################################################### LAYER # name of layer NAME rivers GROUP "VECTOR" # projection: if the data is NOT in the same projection as the global # mapfile, you must explicitly give the native projection code of the data # some common projections: # lat/long: epsg:4326 # NRCan LCC: epsg:42304 PROJECTION "init=epsg:4326" END # what type of data is this? TYPE LINE # always returned with interface STATUS ON # actual data pointer DATA ../../../data/rivers # data is queryable DUMP TRUE # query templates for HTML-based queries HEADER ../../../templates/rivers_query_header.html TEMPLATE ../../../templates/rivers_query_body.html TOLERANCE 5 # how will this data look? CLASS NAME "Rivers" COLOR 0 0 255 END END ###################################################################### # # ADD BIRD STUDIES CANADA REMOTE WMS LAYER AND SLD DEF HERE # ###################################################################### END