# Map file created from QGIS project file C:/ms4w/apps/ka-map-1.0/htdocs/map/stand.qgs # Edit this file to customize for your map interface # (Created with PyQgis MapServer Export plugin) MAP NAME standard # Map image size SIZE 800 600 UNITS dd EXTENT 1503788.280426 5028376.396782 1522013.448574 5044175.137218 PROJECTION 'proj=longlat' 'ellps=WGS84' 'datum=WGS84' 'no_defs' '' END # Background color for the map canvas -- change as desired IMAGECOLOR 192 192 192 IMAGEQUALITY 95 IMAGETYPE png OUTPUTFORMAT NAME png DRIVER 'GD/PNG' MIMETYPE 'image/png' #IMAGEMODE PC256 EXTENSION 'png' END # Legend LEGEND IMAGECOLOR 255 255 255 STATUS ON KEYSIZE 18 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END END # Web interface definition. Only the template parameter # is required to display a map. See MapServer documentation WEB # Set IMAGEPATH to the path where MapServer should # write its output. IMAGEPATH 'C:\ms4w\apps\ka-map-1.0\htdocs\map\tmp\' # Set IMAGEURL to the url that points to IMAGEPATH # as defined in your web server configuration IMAGEURL 'C:\ms4w\apps\ka-map-1.0\htdocs\map\tmp\' # WMS server settings METADATA 'wms_title' 'standard' 'wms_onlineresource' 'http://my.host.com/cgi-bin/mapserv?map=wms.map&' 'wms_srs' 'EPSG:4326' END #Scale range at which web interface will operate # Template and header/footer settings # Only the template parameter is required to display a map. See MapServer documentation END LAYER NAME 'confini' TYPE POLYGON DATA 'C:\ms4w\apps\ka-map-1.0\htdocs\map\confini.shp' METADATA 'wms_title' 'confini' END STATUS DEFAULT TRANSPARENCY 100 PROJECTION 'proj=longlat' 'ellps=WGS84' 'datum=WGS84' 'no_defs' '' END CLASS NAME 'confini' STYLE SYMBOL 0 SIZE 3 OUTLINECOLOR 0 0 0 COLOR 205 133 77 END END END LAYER NAME '1' TYPE POLYGON DATA 'C:\ms4w\apps\ka-map-1.0\htdocs\map\1.shp' METADATA 'wms_title' '1' END STATUS DEFAULT TRANSPARENCY 100 PROJECTION 'proj=longlat' 'ellps=WGS84' 'datum=WGS84' 'no_defs' '' END CLASS NAME '1' STYLE SYMBOL 0 SIZE 3 OUTLINECOLOR 0 0 0 COLOR 170 115 90 END END END LAYER NAME '2' TYPE POLYGON DATA 'C:\ms4w\apps\ka-map-1.0\htdocs\map\2.shp' METADATA imageformat "PNG" "QUERYABLE" "true" "DESCRIPTION" "2" "RESULT_FIELDS" "DET_FINE,NOTEDF" "RESULT_HEADERS" "det_fine,notedf" "RESULT_HYPERLINK" "CITY_NAME, CNTRY_NAME||Link on detail" "LAYER_ENCODING" "UTF-8" END STATUS DEFAULT TRANSPARENCY 100 PROJECTION 'proj=longlat' 'ellps=WGS84' 'datum=WGS84' 'no_defs' '' END CLASS NAME '2' STYLE SYMBOL 0 SIZE 3 OUTLINECOLOR 0 0 0 COLOR 15 155 200 END END END END