Mercurial > mxd2map
annotate mapserver/mapfile/mapfile_header.include @ 248:191b7d18c79e
Minor fixes for metadata information.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 10 Aug 2011 14:39:31 +0200 |
parents | cd541e73d523 |
children | 4dc2b9aa3c57 |
rev | line source |
---|---|
0 | 1 STATUS ON |
2 SIZE 400 400 | |
3 EXTENT 3427000 5787000 3444200 5801000 | |
4 UNITS meters | |
5 IMAGECOLOR -1 -1 -1 #transparent | |
6 FONTSET "../../ttf-fonts/fonts.txt" | |
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 | 9 IMAGETYPE png |
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 | 12 DEBUG 5 |
13 | |
14 MAXSIZE 2500 # 2500x2500 pixel maximum Site | |
15 | |
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 | 18 |
19 PROJECTION | |
20 "init=epsg:31467" | |
21 END | |
22 | |
23 #8bit png, supports transparency. | |
24 OUTPUTFORMAT | |
25 NAME aggpng | |
26 DRIVER AGG/PNG | |
27 MIMETYPE "image/png" | |
28 | |
29 ## transparency only with RGBA Image Mode | |
30 ## mapserver had to be compiled -with-experimental-png | |
31 | |
32 IMAGEMODE RGBA | |
33 EXTENSION "png" | |
34 | |
35 ## The next options works with transparency, when requesting another | |
36 ## layer within the same request. When requesting the layer alone, | |
37 ## everything seems black. TODO: Verify if this is a bug or a features. | |
38 ## Anyway, it reduces the PNG-filesize by 70% though! | |
39 FORMATOPTION "QUANTIZE_FORCE=ON" | |
40 FORMATOPTION "QUANTIZE_COLORS=256" | |
41 FORMATOPTION "QUANTIZE_NEW=ON" | |
42 | |
43 | |
44 ## The next options will work with transparency but are incompatible | |
45 ## with the previous quantization options. | |
46 #FORMATOPTION "PALETTE_FORCE=ON" | |
47 #FORMATOPTION "PALETTE=/home/geo4/mapserver/palette.txt" #to be defined | |
48 | |
49 TRANSPARENT ON | |
50 END | |
51 | |
52 #24bit png, supports all colors but does not support transparency. | |
53 OUTPUTFORMAT | |
54 NAME aggpng24 | |
55 DRIVER AGG/PNG | |
56 MIMETYPE "image/png; mode=24bit" | |
57 IMAGEMODE RGBA | |
58 EXTENSION "png" | |
59 END | |
60 |