view mapserver/mapfile/mapfile_header.include @ 202:1e3a5019c4ed

* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt, doku/source/conf.py, doku/source/functionality.txt, doku/source/index.txt, doku/source/restrictions.txt: Added some formatting, a section about the setup of environment vars needed for runtime, added some more features.
author Stephan Holl <stephan.holl@intevation.de>
date Thu, 21 Jul 2011 09:38:44 +0200
parents cd541e73d523
children 4dc2b9aa3c57
line wrap: on
line source
STATUS ON
SIZE 400 400 
EXTENT 3427000 5787000 3444200 5801000
UNITS meters
IMAGECOLOR -1 -1 -1 #transparent
FONTSET "../../ttf-fonts/fonts.txt"
SYMBOLSET "../symbols/symbols.sym"
SHAPEPATH "../../testdata-frida/"
IMAGETYPE png 
CONFIG "ON_MISSING_DATA" "LOG" # see http://mapserver.org/mapfile/map.html for details
CONFIG "MS_ERRORFILE" "../../logs/ms_error.log"
DEBUG 5

MAXSIZE 2500 # 2500x2500 pixel maximum Site

# Own PROJECTION-file
CONFIG "PROJ_LIB" "../../mapserver/epsg"

PROJECTION
	"init=epsg:31467"
END

#8bit png, supports transparency.
OUTPUTFORMAT
	NAME aggpng
	DRIVER AGG/PNG
	MIMETYPE "image/png"
	
	## transparency only with RGBA Image Mode
	## mapserver had to be compiled -with-experimental-png
	
	IMAGEMODE RGBA
	EXTENSION "png"
	
	## The next options works with transparency, when requesting another
	## layer within the same request. When requesting the layer alone,
	## everything seems black. TODO: Verify if this is a bug or a features.
	## Anyway, it reduces the PNG-filesize by 70% though!
	FORMATOPTION "QUANTIZE_FORCE=ON"
	FORMATOPTION "QUANTIZE_COLORS=256"
	FORMATOPTION "QUANTIZE_NEW=ON"
	
	
	## The next options will work with transparency but are incompatible
	## with the previous quantization options.
	#FORMATOPTION "PALETTE_FORCE=ON"
	#FORMATOPTION "PALETTE=/home/geo4/mapserver/palette.txt" #to be defined
	
	TRANSPARENT ON
END

#24bit png, supports all colors but does not support transparency.
OUTPUTFORMAT
	NAME aggpng24
	DRIVER AGG/PNG
	MIMETYPE "image/png; mode=24bit"
	IMAGEMODE RGBA
	EXTENSION "png"
END
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)