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