annotate mapserver/mapfile/mapfile_header.include @ 260:10e0aa283217

Updated documentation and added ant task for javadoc generation.
author raimund renkert <raimund.renkert@intevation.de>
date Tue, 16 Aug 2011 14:32:06 +0200
parents 4dc2b9aa3c57
children 10a0bf9a47ab
rev   line source
256
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
1 #
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
2 # Copyright (c) 2011 by Intevation GmbH, Germany <info@intevation.de>
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
3 #
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
4 # This file is part of MXD2map.
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
5 #
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
6 # This program is free software under the LGPL (>=v2.1)
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
7 # Read the file LICENCE.txt coming with the software for details
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
8 # or visit http://www.gnu.org/licenses/ if it does not exist.
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
9 #
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
10 # MXD2map has been developed on behalf of the
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
11 # Bundesamt fuer Seeschifffahrt und Hydrographie (BSH) in Hamburg
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
12 # by Intevation GmbH.
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
13 #
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
14 # Authors:
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
15 # Raimund Renkert <raimund.renkert@intevation.de>
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
16 # Bjoern Schilberg <bjoern.schilberg@intevation.de>
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
17 # Stephan Holl <stephan.holl@intevation.de>
4dc2b9aa3c57 Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents: 52
diff changeset
18
0
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
19 STATUS ON
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
20 SIZE 400 400
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
21 EXTENT 3427000 5787000 3444200 5801000
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
22 UNITS meters
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
23 IMAGECOLOR -1 -1 -1 #transparent
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
24 FONTSET "../../ttf-fonts/fonts.txt"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
25 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
26 SHAPEPATH "../../testdata-frida/"
0
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
27 IMAGETYPE png
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
28 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
29 CONFIG "MS_ERRORFILE" "../../logs/ms_error.log"
0
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
30 DEBUG 5
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
31
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
32 MAXSIZE 2500 # 2500x2500 pixel maximum Site
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
33
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
34 # Own PROJECTION-file
51
c7c249167817 * mapserver/mapfile/mapfile_header.include, mapserver/mapfile/mxd.map,
Stephan Holl <stephan.holl@intevation.de>
parents: 23
diff changeset
35 CONFIG "PROJ_LIB" "../../mapserver/epsg"
0
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
36
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
37 PROJECTION
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
38 "init=epsg:31467"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
39 END
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
40
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
41 #8bit png, supports transparency.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
42 OUTPUTFORMAT
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
43 NAME aggpng
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
44 DRIVER AGG/PNG
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
45 MIMETYPE "image/png"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
46
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
47 ## transparency only with RGBA Image Mode
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
48 ## mapserver had to be compiled -with-experimental-png
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
49
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
50 IMAGEMODE RGBA
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
51 EXTENSION "png"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
52
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
53 ## The next options works with transparency, when requesting another
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
54 ## layer within the same request. When requesting the layer alone,
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
55 ## everything seems black. TODO: Verify if this is a bug or a features.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
56 ## Anyway, it reduces the PNG-filesize by 70% though!
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
57 FORMATOPTION "QUANTIZE_FORCE=ON"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
58 FORMATOPTION "QUANTIZE_COLORS=256"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
59 FORMATOPTION "QUANTIZE_NEW=ON"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
60
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
61
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
62 ## The next options will work with transparency but are incompatible
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
63 ## with the previous quantization options.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
64 #FORMATOPTION "PALETTE_FORCE=ON"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
65 #FORMATOPTION "PALETTE=/home/geo4/mapserver/palette.txt" #to be defined
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
66
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
67 TRANSPARENT ON
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
68 END
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
69
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
70 #24bit png, supports all colors but does not support transparency.
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
71 OUTPUTFORMAT
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
72 NAME aggpng24
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
73 DRIVER AGG/PNG
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
74 MIMETYPE "image/png; mode=24bit"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
75 IMAGEMODE RGBA
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
76 EXTENSION "png"
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
77 END
109e10c76841 Initial commit.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff changeset
78
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)