Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAP
- NAME "QGIS-MAP"
- # Map image size
- SIZE 600 600
- UNITS meters
- EXTENT 22.542467 -35.286152 30.374396 -28.929508
- FONTSET './msfontset.txt'
- #SYMBOLSET './symbols/symbols.txt'
- CONFIG "PROJ_LIB" "C:/proj/nad/"
- PROJECTION
- "init=epsg:4148"
- ##"init=epsg:900913"
- END
- # Background color for the map canvas -- change as desired
- IMAGECOLOR 255 255 255
- IMAGEQUALITY 95
- IMAGETYPE agg
- OUTPUTFORMAT
- NAME agg
- DRIVER AGG/PNG
- IMAGEMODE RGB
- 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 '/tmp/'
- # Set IMAGEURL to the url that points to IMAGEPATH
- # as defined in your web server configuration
- IMAGEURL '/tmp/'
- # WMS server settings
- METADATA
- 'ows_title' 'QGIS-MAP'
- 'ows_onlineresource' 'http://192.168.1.95/cgi-bin/mapserv.exe?map=C:/myprojects/mun.map'
- 'ows_srs' 'EPSG:4148'
- 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
- TEMPLATE 'fooOnlyForWMSGetFeatureInfo'
- END
- LAYER
- NAME 'Municipality'
- TYPE POLYGON
- DUMP true
- TEMPLATE fooOnlyForWMSGetFeatureInfo
- EXTENT 22.542467 -35.286152 30.374396 -28.929508
- DATA './Municipality.shp'
- METADATA
- 'ows_title' 'Municipality'
- END
- STATUS OFF
- TRANSPARENCY 100
- PROJECTION
- "init=epsg:4148"
- END
- CLASS
- NAME 'Municipality'
- STYLE
- WIDTH 0.91
- OUTLINECOLOR 0 0 0
- END
- END
- END
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement