bjoern@0: STATUS ON bjoern@0: SIZE 400 400 bjoern@0: EXTENT 3427000 5787000 3444200 5801000 bjoern@0: UNITS meters bjoern@0: IMAGECOLOR -1 -1 -1 #transparent bjoern@0: #FONTSET "../fonts/fonts.txt" bjoern@0: FONTSET "../../ttf-fonts/fonts.txt" bjoern@0: SYMBOLSET "../symbols/symbols.sym" bjoern@0: SHAPEPATH "../../testdata-frida" bjoern@0: IMAGETYPE png bjoern@0: CONFIG "ON_MISSING_DATA" "LOG" # see http://mapserver.org/mapfile/map.html for details bjoern@0: CONFIG "CPL_DEBUG" "ON" # GDAL-debugging on bjoern@5: CONFIG "MS_ERRORFILE" "/home/intevation/mxd-testbed/mapserver/logs/ms_error.log" bjoern@0: DEBUG 5 bjoern@0: bjoern@0: MAXSIZE 2500 # 2500x2500 pixel maximum Site bjoern@0: bjoern@0: # Own PROJECTION-file bjoern@5: #CONFIG "PROJ_LIB" "/home/intevation/mxd-testbed/mapserver/epsg/epsg.txt" bjoern@0: bjoern@0: PROJECTION bjoern@0: "init=epsg:31467" bjoern@0: END bjoern@0: bjoern@0: #8bit png, supports transparency. bjoern@0: OUTPUTFORMAT bjoern@0: NAME aggpng bjoern@0: DRIVER AGG/PNG bjoern@0: MIMETYPE "image/png" bjoern@0: bjoern@0: ## transparency only with RGBA Image Mode bjoern@0: ## mapserver had to be compiled -with-experimental-png bjoern@0: bjoern@0: IMAGEMODE RGBA bjoern@0: EXTENSION "png" bjoern@0: bjoern@0: ## The next options works with transparency, when requesting another bjoern@0: ## layer within the same request. When requesting the layer alone, bjoern@0: ## everything seems black. TODO: Verify if this is a bug or a features. bjoern@0: ## Anyway, it reduces the PNG-filesize by 70% though! bjoern@0: FORMATOPTION "QUANTIZE_FORCE=ON" bjoern@0: FORMATOPTION "QUANTIZE_COLORS=256" bjoern@0: FORMATOPTION "QUANTIZE_NEW=ON" bjoern@0: bjoern@0: bjoern@0: ## The next options will work with transparency but are incompatible bjoern@0: ## with the previous quantization options. bjoern@0: #FORMATOPTION "PALETTE_FORCE=ON" bjoern@0: #FORMATOPTION "PALETTE=/home/geo4/mapserver/palette.txt" #to be defined bjoern@0: bjoern@0: TRANSPARENT ON bjoern@0: END bjoern@0: bjoern@0: #24bit png, supports all colors but does not support transparency. bjoern@0: OUTPUTFORMAT bjoern@0: NAME aggpng24 bjoern@0: DRIVER AGG/PNG bjoern@0: MIMETYPE "image/png; mode=24bit" bjoern@0: IMAGEMODE RGBA bjoern@0: EXTENSION "png" bjoern@0: END bjoern@0: bjoern@0: # 8bit jpeg bjoern@0: OUTPUTFORMAT bjoern@0: NAME jpeg bjoern@0: DRIVER "GD/JPEG" bjoern@0: MIMETYPE "image/jpeg" bjoern@0: IMAGEMODE RGB bjoern@0: EXTENSION "jpg" bjoern@0: FORMATOPTION "QUALITY=80" bjoern@0: FORMATOPTION "INTERLACE=ON" bjoern@0: END