annotate mapserver/mapfile/mapfile_header.include @ 94:273e49f51cfb

Merged with Stephans commit.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 01 Jun 2011 11:52:53 +0200
parents cd541e73d523
children 4dc2b9aa3c57
rev   line source
0
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
1 STATUS ON
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
2 SIZE 400 400
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
3 EXTENT 3427000 5787000 3444200 5801000
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
4 UNITS meters
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
5 IMAGECOLOR -1 -1 -1 #transparent
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
6 FONTSET "../../ttf-fonts/fonts.txt"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
7 SYMBOLSET "../symbols/symbols.sym"
52
cd541e73d523 * mapserver/rundir/Readme.txt: New. This is a folder containing the
Stephan Holl <stephan.holl@intevation.de>
parents: 51
diff changeset
8 SHAPEPATH "../../testdata-frida/"
0
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
9 IMAGETYPE png
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
10 CONFIG "ON_MISSING_DATA" "LOG" # see http://mapserver.org/mapfile/map.html for details
51
c7c249167817 * mapserver/mapfile/mapfile_header.include, mapserver/mapfile/mxd.map,
Stephan Holl <stephan.holl@intevation.de>
parents: 23
diff changeset
11 CONFIG "MS_ERRORFILE" "../../logs/ms_error.log"
0
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
12 DEBUG 5
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
13
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
14 MAXSIZE 2500 # 2500x2500 pixel maximum Site
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
15
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
16 # Own PROJECTION-file
51
c7c249167817 * mapserver/mapfile/mapfile_header.include, mapserver/mapfile/mxd.map,
Stephan Holl <stephan.holl@intevation.de>
parents: 23
diff changeset
17 CONFIG "PROJ_LIB" "../../mapserver/epsg"
0
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
18
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
19 PROJECTION
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
20 "init=epsg:31467"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
21 END
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
22
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
23 #8bit png, supports transparency.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
24 OUTPUTFORMAT
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
25 NAME aggpng
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
26 DRIVER AGG/PNG
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
27 MIMETYPE "image/png"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
28
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
29 ## transparency only with RGBA Image Mode
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
30 ## mapserver had to be compiled -with-experimental-png
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
31
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
32 IMAGEMODE RGBA
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
33 EXTENSION "png"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
34
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
35 ## The next options works with transparency, when requesting another
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
36 ## layer within the same request. When requesting the layer alone,
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
37 ## everything seems black. TODO: Verify if this is a bug or a features.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
38 ## Anyway, it reduces the PNG-filesize by 70% though!
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
39 FORMATOPTION "QUANTIZE_FORCE=ON"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
40 FORMATOPTION "QUANTIZE_COLORS=256"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
41 FORMATOPTION "QUANTIZE_NEW=ON"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
42
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
43
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
44 ## The next options will work with transparency but are incompatible
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
45 ## with the previous quantization options.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
46 #FORMATOPTION "PALETTE_FORCE=ON"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
47 #FORMATOPTION "PALETTE=/home/geo4/mapserver/palette.txt" #to be defined
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
48
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
49 TRANSPARENT ON
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
50 END
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
51
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
52 #24bit png, supports all colors but does not support transparency.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
53 OUTPUTFORMAT
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
54 NAME aggpng24
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
55 DRIVER AGG/PNG
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
56 MIMETYPE "image/png; mode=24bit"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
57 IMAGEMODE RGBA
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
58 EXTENSION "png"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
59 END
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
60
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)