MAP NAME "prova_wms_map" STATUS ON EXTENT 270897 4032089 529005 4250087 # Map image size. Change size as desired SIZE 480 480 SYMBOLSET "C:\ms4w\apps\gmap\etc\symbols.txt" FONTSET "C:\ms4w\apps\gmap\etc\fonts.txt" # IMAGETYPE PNG IMAGECOLOR 255 255 255 # SHAPEPATH "../data" UNITS METERS # # Start of web interface definition. Only the TEMPLATE parameter # must be specified to display a map. See Mapserver documentation # WEB # Set IMAGEPATH to the path where mapserver should # write its output IMAGEPATH "/tmp/" # Set IMAGEURL to the url that points to IMAGEPATH IMAGEURL "/tmp/" METADATA "wms_title" "WMS Irriguo Sicilia Server" ##required "wms_onlineresource" "http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/wms_prova/map/prova_wms.map&" ##required "wms_srs" "EPSG:32633" ##recommended END END # Projection definition, consult the PROJ.4 documentation for parameter discussion PROJECTION "init=epsg:32633" END # wgs_comprensori ------------------------------------------------------------------------------ LAYER NAME "wgs_compr" STATUS ON CONNECTIONTYPE POSTGIS CONNECTION "user=postgres password=genovesi dbname=irrisicdb host=localhost port=5432" DATA "the_geom from wgs_compr using unique gid" EXTENT 12 36 16 39 TYPE POLYGON METADATA "WMS_NAME" "wgs_compr" "WMS_TITLE" "wgs_compr" "wms_srs" "EPSG:4326 EPSG:32633" ## recommended END PROJECTION "init=epsg:4326" END CLASS NAME "Comprensori" STYLE COLOR 10 121 175 OUTLINECOLOR 100 100 100 END END END # fine wgs_comprensori -------------------------------------------------------------------------- END