annotate flys-client/src/main/webapp/WEB-INF/config.yaml @ 4490:82cc03e5f1c4

Add stack trace if authentication was not successfull
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 14 Nov 2012 10:37:51 +0100
parents d9e3660fa462
children f8ed8114f415
rev   line source
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2 # allowed DPIs
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4 dpis: [254, 190, 127, 56]
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
5
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
6 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
7 # allowed Formats
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
8 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
9 formats: ['*']
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
10
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
11 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
12 # the allowed scales
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
13 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
14 scales:
2515
532c590beb3e Fixed problem with selecting the wrong map scale for printing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2511
diff changeset
15 - 2500
532c590beb3e Fixed problem with selecting the wrong map scale for printing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2511
diff changeset
16 - 5000
532c590beb3e Fixed problem with selecting the wrong map scale for printing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2511
diff changeset
17 - 10000
532c590beb3e Fixed problem with selecting the wrong map scale for printing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2511
diff changeset
18 - 15000
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
19 - 25000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
20 - 50000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
21 - 100000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
22 - 200000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
23 - 500000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
24 - 1000000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
25 - 2000000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
26 - 4000000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
27
2504
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
28 outputFilename: 'flys-${date}.pdf'
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
29
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
30 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
31 # the list of allowed hosts
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
32 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
33 hosts:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
34 - !localMatch
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
35 dummy: true
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
36 - !dnsMatch
2504
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
37 host: wsvmapserv.wsv.bund.de
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
38 port: 80
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
39 - !dnsMatch
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
40 host: tile.openstreetmap.org
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
41 port: 80
2508
4aa70825bde1 map print: generate valid url to access service.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2504
diff changeset
42 - !dnsMatch
4aa70825bde1 map print: generate valid url to access service.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2504
diff changeset
43 host: www.pegelonline.wsv.de
4aa70825bde1 map print: generate valid url to access service.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2504
diff changeset
44 port: 80
4472
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
45 - !dnsMatch
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
46 host: osm.wheregroup.com
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
47 port: 80
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
48
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
49 layouts:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
50 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
51 A4 portrait:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
52 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
53 metaData:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
54 title: '${title}'
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
55 author: 'MapFish print module'
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
56 subject: 'Simple layout'
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
57 keywords: 'map,print'
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
58 creator: 'MapFish'
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
59
2504
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
60 # titlePage:
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
61 # pageSize: A4
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
62 # items:
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
63 # - !text
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
64 # spacingAfter: 150
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
65 # - !text
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
66 # font: Helvetica
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
67 # fontSize: 40
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
68 # spacingAfter: 100
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
69 # align: center
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
70 # text: '${title}'
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
71 # - !image
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
72 # maxWidth: 160
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
73 # maxHeight: 160
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
74 # spacingAfter: 100
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
75 # align: center
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
76 # url: http://trac.mapfish.org/trac/mapfish/attachment/ticket/3/logo_v8_sphere.svg?format=raw
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
77 # - !image
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
78 # maxWidth: 160
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
79 # maxHeight: 160
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
80 # spacingAfter: 100
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
81 # align: center
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
82 # url: 'file://${configDir}/../images/flys_logo.gif'
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
83 # - !text
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
84 # font: Helvetica
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
85 # fontSize: 14
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
86 # align: left
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
87 # text: |
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
88 # Two layers are asked by the client:
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
89 # - a base layer from Metacarta
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
90 # - a transparent layer from Camptocamp.org (routes)
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
91 # .
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
92 # Some text is added over the map, just to demonstrate the absolute positionning.
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
93 # footer: &commonFooter
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
94 # height: 30
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
95 # items:
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
96 # - !columns
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
97 # config:
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
98 # cells:
4481
d9e3660fa462 Add new FLYS logo.
Christian Lins <christian.lins@intevation.de>
parents: 4474
diff changeset
99 # - paddingBottom: 5
2504
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
100 # items:
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
101 # - !image
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
102 # maxWidth: 40
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
103 # backgroundColor: #FF0000
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
104 # align: left
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
105 # url: '${configDir}/../images/properties.gif'
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
106 # - !text
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
107 # backgroundColor: #FF0000
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
108 # text: ©Camptocamp SA
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
109 # - !text
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
110 # align: right
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
111 # text: 'Page ${pageNum}'
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
112
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
113 #-------------------------------------------------------------------------
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
114 mainPage:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
115 pageSize: A4
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
116 rotation: true
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
117 header:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
118 height: 50
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
119 items:
4481
d9e3660fa462 Add new FLYS logo.
Christian Lins <christian.lins@intevation.de>
parents: 4474
diff changeset
120 - !image
d9e3660fa462 Add new FLYS logo.
Christian Lins <christian.lins@intevation.de>
parents: 4474
diff changeset
121 align: left
d9e3660fa462 Add new FLYS logo.
Christian Lins <christian.lins@intevation.de>
parents: 4474
diff changeset
122 # Fixme: Replace with local file or self-hosted link...
d9e3660fa462 Add new FLYS logo.
Christian Lins <christian.lins@intevation.de>
parents: 4474
diff changeset
123 url: http://ubuntuone.com/7hTz3YznHfMciAUj6FSle4
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
124 - !text
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
125 font: Helvetica
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
126 fontSize: 30
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
127 align: right
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
128 text: '${mapTitle}'
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
129 items:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
130 - !map
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
131 spacingAfter: 30
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
132 width: 440
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
133 height: 483
2511
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
134 - !scalebar
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
135 type: bar
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
136 maxSize: 100
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
137 barBgColor: white
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
138 fontSize: 8
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
139 align: right
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
140 - !text
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
141 text: '${comment}'
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
142 spacingAfter: 30
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
143 - !text
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
144 font: Helvetica
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
145 fontSize: 9
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
146 align: right
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
147 text: '1:${scale} ${now MM.dd.yyyy}'
2510
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
148 - !legends
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
149 align: left
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
150 maxIconWidth: 32
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
151 maxIconHeight: 32
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
152 footer: *commonFooter
4481
d9e3660fa462 Add new FLYS logo.
Christian Lins <christian.lins@intevation.de>
parents: 4474
diff changeset
153
4474
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
154 #===========================================================================
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
155 A0 portrait:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
156 #===========================================================================
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
157 metaData:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
158 title: '${title}'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
159 author: 'MapFish print module'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
160 subject: 'Simple layout'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
161 keywords: 'map,print'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
162 creator: 'MapFish'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
163
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
164 #-------------------------------------------------------------------------
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
165 mainPage:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
166 pageSize: A0
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
167 rotation: true
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
168 header:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
169 height: 50
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
170 items:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
171 - !text
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
172 font: Helvetica
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
173 fontSize: 30
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
174 align: right
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
175 text: '${mapTitle}'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
176 items:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
177 - !map
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
178 spacingAfter: 30
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
179 width: 1760
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
180 height: 1932
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
181 - !scalebar
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
182 type: bar
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
183 maxSize: 100
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
184 barBgColor: white
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
185 fontSize: 8
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
186 align: right
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
187 - !text
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
188 text: '${comment}'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
189 spacingAfter: 30
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
190 - !text
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
191 font: Helvetica
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
192 fontSize: 9
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
193 align: right
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
194 text: '1:${scale} ${now MM.dd.yyyy}'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
195 - !legends
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
196 align: left
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
197 maxIconWidth: 32
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
198 maxIconHeight: 32
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
199 footer: *commonFooter

http://dive4elements.wald.intevation.org