# # Start of map file # # ns_wfsserver.map # NAME ns_wfsserver STATUS ON SIZE 400 300 SYMBOLSET ../etc/symbols.sym #EXTENT -2200000 -712631 3072800 3840000 EXTENT 2018000 -73300 3410396 647400 UNITS METERS SHAPEPATH ../data IMAGECOLOR 255 255 255 FONTSET ../etc/fonts.txt # # Start of web interface definition # WEB # MINSCALE 2000000 # MAXSCALE 50000000 # # On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root # of the drive where the .MAP file resides. # IMAGEPATH "/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" # LOG "/tmp/gmap.log" METADATA "wfs_title" "GMap WMS Demo Server" "wfs_onlineresource" "http://localhost/cgi-bin/mapserv.exe?map=D:/DMSG/www/msapps/wfs_filter/htdocs/ns_wfsserver.map&" # "wfs_onlineresource" "http://www2.dmsolutions.ca/cgi-bin/mswfs_filter?" "wfs_srs" "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326" "ows_schemas_location" "http://ogc.dmsolutions.ca" END END PROJECTION "init=epsg:42304" END # # Start of layer definitions # LAYER NAME park METADATA "wfs_title" "Parks" "RESULT_FIELDS" "NAME_E YEAR_EST AREA_KMSQ" END TYPE POLYGON STATUS ON DATA park PROJECTION "init=epsg:42304" END ## DUMP TRUE required for layer to be usable as WFS DUMP TRUE CLASS NAME "Parks" COLOR 200 255 0 OUTLINECOLOR 120 120 120 TEMPLATE "ttt_query.html" END TOLERANCE 5 END # Layer LAYER NAME popplace METADATA "wfs_title" "Cities" "RESULT_FIELDS" "NAME" END TYPE POINT STATUS ON DATA popplace PROJECTION "init=epsg:42304" END ## DUMP TRUE required for layer to be usable as WFS DUMP TRUE # CLASSITEM "Capital" # CLASSITEM "NAME" CLASS EXPRESSION /./ TEMPLATE "ttt_query.html" SYMBOL 2 SIZE 8 NAME "Cities" LABEL COLOR 255 0 0 FONT fritqat-italic TYPE truetype SIZE 8 POSITION AUTO PARTIALS FALSE OUTLINECOLOR 255 255 255 END COLOR 0 0 0 END TOLERANCE 5 END # Layer LAYER NAME road METADATA "DESCRIPTION" "Roads" END TYPE LINE STATUS ON DATA road template ttt PROJECTION "init=epsg:42304" END ## DUMP TRUE required for layer to be usable as WFS DUMP TRUE CLASSITEM "Name_e" CLASS NAME "Roads" SYMBOL 0 COLOR 220 0 0 END END # Layer END # Map File