annotate mapserver/mapfile/mapfile_header.include @ 0:109e10c76841

Initial commit.
author Bjoern Schilberg <bjoern@intevation.de>
date Thu, 03 Mar 2011 13:59:08 +0100
parents
children f1b0559df700
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 "../fonts/fonts.txt"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
7 FONTSET "../../ttf-fonts/fonts.txt"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
8 SYMBOLSET "../symbols/symbols.sym"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
9 SHAPEPATH "../../testdata-frida"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
10 IMAGETYPE png
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
11 CONFIG "ON_MISSING_DATA" "LOG" # see http://mapserver.org/mapfile/map.html for details
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
12 CONFIG "CPL_DEBUG" "ON" # GDAL-debugging on
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
13 CONFIG "MS_ERRORFILE" "../logs/ms_error.log"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
14 DEBUG 5
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
15
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
16 MAXSIZE 2500 # 2500x2500 pixel maximum Site
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
17
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
18 # Own PROJECTION-file
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
19 CONFIG "PROJ_LIB" "../epsg/epsg.txt"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
20
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
21 PROJECTION
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
22 "init=epsg:31467"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
23 END
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
24
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
25 #8bit png, supports transparency.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
26 OUTPUTFORMAT
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
27 NAME aggpng
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
28 DRIVER AGG/PNG
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
29 MIMETYPE "image/png"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
30
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
31 ## transparency only with RGBA Image Mode
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
32 ## mapserver had to be compiled -with-experimental-png
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
33
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
34 IMAGEMODE RGBA
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
35 EXTENSION "png"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
36
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
37 ## The next options works with transparency, when requesting another
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
38 ## layer within the same request. When requesting the layer alone,
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
39 ## everything seems black. TODO: Verify if this is a bug or a features.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
40 ## Anyway, it reduces the PNG-filesize by 70% though!
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
41 FORMATOPTION "QUANTIZE_FORCE=ON"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
42 FORMATOPTION "QUANTIZE_COLORS=256"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
43 FORMATOPTION "QUANTIZE_NEW=ON"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
44
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
45
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
46 ## The next options will work with transparency but are incompatible
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
47 ## with the previous quantization options.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
48 #FORMATOPTION "PALETTE_FORCE=ON"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
49 #FORMATOPTION "PALETTE=/home/geo4/mapserver/palette.txt" #to be defined
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
50
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
51 TRANSPARENT ON
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
52 END
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
53
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
54 #24bit png, supports all colors but does not support transparency.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
55 OUTPUTFORMAT
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
56 NAME aggpng24
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
57 DRIVER AGG/PNG
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
58 MIMETYPE "image/png; mode=24bit"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
59 IMAGEMODE RGBA
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
60 EXTENSION "png"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
61 END
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
62
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
63 # 8bit jpeg
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
64 OUTPUTFORMAT
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
65 NAME jpeg
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
66 DRIVER "GD/JPEG"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
67 MIMETYPE "image/jpeg"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
68 IMAGEMODE RGB
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
69 EXTENSION "jpg"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
70 FORMATOPTION "QUALITY=80"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
71 FORMATOPTION "INTERLACE=ON"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
72 END
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)