view contrib/installer/example/mapfile_header.include @ 273:5161c64e237a

* website/about-de.htm4, website/about.htm4, website/img/arcgis_example-image.png, website/img/arcgis_example-image_small.png, website/img/mapserver_example-image.png, website/img/mapserver_example-image_small.png: Added two screenshots to the website (the example of the installer).
author Stephan Holl <stephan.holl@intevation.de>
date Fri, 09 Sep 2011 11:45:45 +0200
parents 42c89821a868
children
line wrap: on
line source
#
# Copyright (c) 2011 by Intevation GmbH, Germany <info@intevation.de>
# 
# This file is part of MXD2map.
#
# This program is free software under the LGPL (>=v2.1)
# Read the file LICENCE.txt coming with the software for details
# or visit http://www.gnu.org/licenses/ if it does not exist.
#
# MXD2map has been developed on behalf of the
# Bundesamt fuer Seeschifffahrt und Hydrographie (BSH) in Hamburg
# by Intevation GmbH.
#
# Authors:
# Raimund Renkert <raimund.renkert@intevation.de>
# Bjoern Schilberg <bjoern.schilberg@intevation.de>
# Stephan Holl <stephan.holl@intevation.de>

STATUS ON
EXTENT 3427000 5787000 3444200 5801000
UNITS meters
IMAGECOLOR -1 -1 -1 #transparent
FONTSET "ttf-fonts/fonts.txt"
SYMBOLSET "../symbols/symbols.sym"
SHAPEPATH "example/testdata-frida/"
IMAGETYPE png

MAXSIZE 2500 # 2500x2500 pixel maximum Site

# Own PROJECTION-file
CONFIG "PROJ_LIB" "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)