Mercurial > mxd2map
comparison contrib/installer/example/mapfile_header.include @ 264:42c89821a868
Added installer files.
author | intevation@vbox-server2003.hq.intevation.de |
---|---|
date | Thu, 08 Sep 2011 13:02:04 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
262:2cb2f26d0d54 | 264:42c89821a868 |
---|---|
1 # | |
2 # Copyright (c) 2011 by Intevation GmbH, Germany <info@intevation.de> | |
3 # | |
4 # This file is part of MXD2map. | |
5 # | |
6 # This program is free software under the LGPL (>=v2.1) | |
7 # Read the file LICENCE.txt coming with the software for details | |
8 # or visit http://www.gnu.org/licenses/ if it does not exist. | |
9 # | |
10 # MXD2map has been developed on behalf of the | |
11 # Bundesamt fuer Seeschifffahrt und Hydrographie (BSH) in Hamburg | |
12 # by Intevation GmbH. | |
13 # | |
14 # Authors: | |
15 # Raimund Renkert <raimund.renkert@intevation.de> | |
16 # Bjoern Schilberg <bjoern.schilberg@intevation.de> | |
17 # Stephan Holl <stephan.holl@intevation.de> | |
18 | |
19 STATUS ON | |
20 EXTENT 3427000 5787000 3444200 5801000 | |
21 UNITS meters | |
22 IMAGECOLOR -1 -1 -1 #transparent | |
23 FONTSET "ttf-fonts/fonts.txt" | |
24 SYMBOLSET "../symbols/symbols.sym" | |
25 SHAPEPATH "example/testdata-frida/" | |
26 IMAGETYPE png | |
27 | |
28 MAXSIZE 2500 # 2500x2500 pixel maximum Site | |
29 | |
30 # Own PROJECTION-file | |
31 CONFIG "PROJ_LIB" "epsg" | |
32 | |
33 PROJECTION | |
34 "init=epsg:31467" | |
35 END | |
36 | |
37 #8bit png, supports transparency. | |
38 OUTPUTFORMAT | |
39 NAME aggpng | |
40 DRIVER AGG/PNG | |
41 MIMETYPE "image/png" | |
42 | |
43 ## transparency only with RGBA Image Mode | |
44 ## mapserver had to be compiled -with-experimental-png | |
45 | |
46 IMAGEMODE RGBA | |
47 EXTENSION "png" | |
48 | |
49 ## The next options works with transparency, when requesting another | |
50 ## layer within the same request. When requesting the layer alone, | |
51 ## everything seems black. TODO: Verify if this is a bug or a features. | |
52 ## Anyway, it reduces the PNG-filesize by 70% though! | |
53 FORMATOPTION "QUANTIZE_FORCE=ON" | |
54 FORMATOPTION "QUANTIZE_COLORS=256" | |
55 FORMATOPTION "QUANTIZE_NEW=ON" | |
56 | |
57 | |
58 ## The next options will work with transparency but are incompatible | |
59 ## with the previous quantization options. | |
60 #FORMATOPTION "PALETTE_FORCE=ON" | |
61 #FORMATOPTION "PALETTE=/home/geo4/mapserver/palette.txt" #to be defined | |
62 | |
63 TRANSPARENT ON | |
64 END | |
65 | |
66 #24bit png, supports all colors but does not support transparency. | |
67 OUTPUTFORMAT | |
68 NAME aggpng24 | |
69 DRIVER AGG/PNG | |
70 MIMETYPE "image/png; mode=24bit" | |
71 IMAGEMODE RGBA | |
72 EXTENSION "png" | |
73 END | |
74 |