intevation@264: # intevation@264: # Copyright (c) 2011 by Intevation GmbH, Germany intevation@264: # intevation@264: # This file is part of MXD2map. intevation@264: # intevation@264: # This program is free software under the LGPL (>=v2.1) intevation@264: # Read the file LICENCE.txt coming with the software for details intevation@264: # or visit http://www.gnu.org/licenses/ if it does not exist. intevation@264: # intevation@264: # MXD2map has been developed on behalf of the intevation@264: # Bundesamt fuer Seeschifffahrt und Hydrographie (BSH) in Hamburg intevation@264: # by Intevation GmbH. intevation@264: # intevation@264: # Authors: intevation@264: # Raimund Renkert intevation@264: # Bjoern Schilberg intevation@264: # Stephan Holl intevation@264: intevation@264: STATUS ON intevation@264: EXTENT 3427000 5787000 3444200 5801000 intevation@264: UNITS meters intevation@264: IMAGECOLOR -1 -1 -1 #transparent intevation@264: FONTSET "ttf-fonts/fonts.txt" intevation@264: SYMBOLSET "../symbols/symbols.sym" intevation@264: SHAPEPATH "example/testdata-frida/" intevation@264: IMAGETYPE png intevation@264: intevation@264: MAXSIZE 2500 # 2500x2500 pixel maximum Site intevation@264: intevation@264: # Own PROJECTION-file intevation@264: CONFIG "PROJ_LIB" "epsg" intevation@264: intevation@264: PROJECTION intevation@264: "init=epsg:31467" intevation@264: END intevation@264: intevation@264: #8bit png, supports transparency. intevation@264: OUTPUTFORMAT intevation@264: NAME aggpng intevation@264: DRIVER AGG/PNG intevation@264: MIMETYPE "image/png" intevation@264: intevation@264: ## transparency only with RGBA Image Mode intevation@264: ## mapserver had to be compiled -with-experimental-png intevation@264: intevation@264: IMAGEMODE RGBA intevation@264: EXTENSION "png" intevation@264: intevation@264: ## The next options works with transparency, when requesting another intevation@264: ## layer within the same request. When requesting the layer alone, intevation@264: ## everything seems black. TODO: Verify if this is a bug or a features. intevation@264: ## Anyway, it reduces the PNG-filesize by 70% though! intevation@264: FORMATOPTION "QUANTIZE_FORCE=ON" intevation@264: FORMATOPTION "QUANTIZE_COLORS=256" intevation@264: FORMATOPTION "QUANTIZE_NEW=ON" intevation@264: intevation@264: intevation@264: ## The next options will work with transparency but are incompatible intevation@264: ## with the previous quantization options. intevation@264: #FORMATOPTION "PALETTE_FORCE=ON" intevation@264: #FORMATOPTION "PALETTE=/home/geo4/mapserver/palette.txt" #to be defined intevation@264: intevation@264: TRANSPARENT ON intevation@264: END intevation@264: intevation@264: #24bit png, supports all colors but does not support transparency. intevation@264: OUTPUTFORMAT intevation@264: NAME aggpng24 intevation@264: DRIVER AGG/PNG intevation@264: MIMETYPE "image/png; mode=24bit" intevation@264: IMAGEMODE RGBA intevation@264: EXTENSION "png" intevation@264: END intevation@264: