annotate mapserver/mapfile/mapfile_header.include @ 23:e9c10558ee6d

Fixed epsg problem with own epsg file.
author Bjoern Schilberg <bjoern@intevation.de>
date Mon, 07 Mar 2011 14:47:30 +0100
parents f1b0559df700
children c7c249167817
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
5
f1b0559df700 Adjusted CONFIG "MS_ERRORFILE". Commented out CONFIG "PROJ_LIB", because it doesn' work.
Bjoern Schilberg <bjoern@intevation.de>
parents: 0
diff changeset
13 CONFIG "MS_ERRORFILE" "/home/intevation/mxd-testbed/mapserver/logs/ms_error.log"
0
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
23
e9c10558ee6d Fixed epsg problem with own epsg file.
Bjoern Schilberg <bjoern@intevation.de>
parents: 5
diff changeset
19 CONFIG "PROJ_LIB" "/home/intevation/mxd-testbed/mapserver/epsg"
0
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)