#This is the map file for landslide MAP FONTSET "fonts/fonts.list" NAME Georgia IMAGECOLOR 255 255 255 SIZE 600 800 UNITS meters IMAGETYPE PNG24 ## use AGG to for anti-aliassing OUTPUTFORMAT NAME 'AGG' DRIVER AGG/PNG MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" END # outputformat PROJECTION "init=epsg:2467" #Gauss/Kruger projection END EXTENT 159761.890351 4503750.081468 618750.305613 4784554.640338# extents of Georgia (using Gauss/Kruger SRID 2467) WEB IMAGEPATH "/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" METADATA "map" "C:/ms4w/apps/georgia/training.map" "ows_schemas_location" "http://schemas.opengeospatial.net" "ows_title" "Sample WMS" "ows_onlineresource" "http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/georgia/training.map&" "ows_srs" "EPSG:2467" #Gauss "wms_feature_info_mime_type" "text/plain" "wms_feature_info_mime_type" "text/html" "wms_server_version" "1.1.1" "wms_formatlist" "image/png,image/gif,image/jpeg" "wms_format" "image/png" END #metadata END #web LAYER NAME "lakes" TYPE POLYGON STATUS ON CONNECTIONTYPE postgis CONNECTION "user=postgres password=mypassword dbname=withpostgis host=localhost port=5432 options='-c client_encoding=UTF8' " DATA 'the_geom FROM "lakes" USING UNIQUE gid USING srid=2467' METADATA "ows_title" "lakes" "ows_extent" "159761.890351 4503750.081468 618750.305613 4784554.640338" "wms_include_items" "all" END PROJECTION "init=epsg:2467" END CLASS TEMPLATE "query.html" NAME "lakes" STYLE SIZE 22 COLOR 255 0 0 END #style END #class End END #landslide End LAYER NAME "zones" TYPE POLYGON STATUS ON CONNECTIONTYPE postgis CONNECTION "user=postgres password=mypassword dbname=withpostgis host=localhost port=5432 options='-c client_encoding=UTF8' " DATA 'the_geom FROM "zone" USING UNIQUE gid USING srid=2467' METADATA "ows_title" "zones" "ows_extent" "159761.890351 4503750.081468 618750.305613 4784554.640338" END PROJECTION "init=epsg:2467" END CLASS NAME "zones" COLOR 255 0 255 END END #border End LEGEND KEYSIZE 16 12 LABEL COLOR 0 0 0 TYPE TRUETYPE FONT "arial" SIZE 12 END #label STATUS ON POSITION UR END #legend END # Map End