annotate flys-client/src/main/webapp/WEB-INF/config.yaml @ 4969:555fa2774d3c

Map printing in landscape mode. Layout still buggy.
author Christian Lins <christian.lins@intevation.de>
date Thu, 07 Feb 2013 22:43:30 +0100
parents 8af500d62098
children 04ccec566689
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 #===========================================================================
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
4 dpis: [254, 190, 127, 72, 56]
2496
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
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
45 - !dnsMatch
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
46 host: geo4.service24.rlp.de
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
47 port: 80
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
48 # Catch all
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
49 #- !dnsMatch
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
50 # host: #regex that catches host plus path
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
51 # port: 80
4472
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
52 - !dnsMatch
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
53 host: osm.intevation.de
4472
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
54 port: 80
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
55
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
56 layouts:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
57 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
58 A4 portrait:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
59 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
60 metaData:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
61 title: '${title}'
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
62 author: 'Flys'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
63 subject: 'Kartendruck A4 Portrait'
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
64 keywords: 'map,print'
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
65 creator: 'd4e-river'
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
66
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
67 #-------------------------------------------------------------------------
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
68 mainPage:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
69 pageSize: A4
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
70 landscape: false
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
71 header:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
72 height: 50
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
73 items:
4481
d9e3660fa462 Add new FLYS logo.
Christian Lins <christian.lins@intevation.de>
parents: 4474
diff changeset
74 - !image
d9e3660fa462 Add new FLYS logo.
Christian Lins <christian.lins@intevation.de>
parents: 4474
diff changeset
75 align: left
4525
f8ed8114f415 Fix MapFish print config and add FLYS logo to print output (DIN A4 only).
Christian Lins <christian.lins@intevation.de>
parents: 4481
diff changeset
76 maxWidth: 60
f8ed8114f415 Fix MapFish print config and add FLYS logo to print output (DIN A4 only).
Christian Lins <christian.lins@intevation.de>
parents: 4481
diff changeset
77 maxHeight: 60
4571
95e23bcf6a50 Fix FLYS logo URL for printing.
Christian Lins <christian.lins@intevation.de>
parents: 4525
diff changeset
78 url: '${configDir}/../images/FLYS_Logo.png'
4525
f8ed8114f415 Fix MapFish print config and add FLYS logo to print output (DIN A4 only).
Christian Lins <christian.lins@intevation.de>
parents: 4481
diff changeset
79 items:
f8ed8114f415 Fix MapFish print config and add FLYS logo to print output (DIN A4 only).
Christian Lins <christian.lins@intevation.de>
parents: 4481
diff changeset
80 - !text
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
81 font: Helvetica
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
82 fontSize: 30
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
83 align: right
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
84 text: '${mapTitle}'
4525
f8ed8114f415 Fix MapFish print config and add FLYS logo to print output (DIN A4 only).
Christian Lins <christian.lins@intevation.de>
parents: 4481
diff changeset
85 spacingAfter: 30
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
86 - !map
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
87 spacingAfter: 30
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
88 width: 440
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
89 height: 483
2511
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
90 - !scalebar
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
91 type: bar
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
92 maxSize: 100
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
93 barBgColor: white
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
94 fontSize: 8
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
95 align: right
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
96 - !text
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
97 text: '${comment}'
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
98 spacingAfter: 30
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
99 - !text
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
100 font: Helvetica
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
101 fontSize: 9
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
102 align: right
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
103 text: '1:${scale} ${now MM.dd.yyyy}'
2510
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
104 - !legends
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
105 align: left
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
106 maxIconWidth: 32
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
107 maxIconHeight: 32
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
108 footer: *commonFooter
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
109
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
110
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
111 #===========================================================================
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
112 A4 landscape:
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
113 #===========================================================================
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
114 metaData:
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
115 title: '${title}'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
116 author: 'Flys'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
117 subject: 'Kartendruck A4 Quer'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
118 keywords: 'map,print'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
119 creator: 'd4e-river'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
120
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
121 #-------------------------------------------------------------------------
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
122 mainPage:
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
123 pageSize: A4
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
124 landscape: true
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
125 header:
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
126 height: 50
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
127 items:
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
128 - !image
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
129 align: left
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
130 maxWidth: 60
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
131 maxHeight: 60
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
132 url: '${configDir}/../images/FLYS_Logo.png'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
133 items:
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
134 - !text
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
135 font: Helvetica
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
136 fontSize: 30
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
137 align: right
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
138 text: '${mapTitle}'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
139 spacingAfter: 30
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
140 - !map
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
141 absoluteX: 45
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
142 absoluteY: 510
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
143 #spacingAfter: 30
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
144 width: 540
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
145 height: 480
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
146 align: left
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
147 - !scalebar
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
148 type: bar
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
149 maxSize: 100
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
150 barBgColor: white
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
151 fontSize: 8
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
152 align: right
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
153 - !text
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
154 text: '${comment}'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
155 spacingAfter: 30
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
156 - !text
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
157 font: Helvetica
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
158 fontSize: 9
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
159 align: right
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
160 text: '1:${scale} ${now MM.dd.yyyy}'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
161 - !legends
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
162 align: right
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
163 maxIconWidth: 32
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
164 maxIconHeight: 32
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
165 # - !columns
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
166 # widths: [500, 200]
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
167 # items:
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
168 # - !map
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
169 # width: 500
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
170 # height: 500
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
171 # - !legends
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
172 footer: *commonFooter
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
173
4481
d9e3660fa462 Add new FLYS logo.
Christian Lins <christian.lins@intevation.de>
parents: 4474
diff changeset
174
4474
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
175 #===========================================================================
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
176 A0 portrait:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
177 #===========================================================================
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
178 metaData:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
179 title: '${title}'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
180 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
181 subject: 'Simple layout'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
182 keywords: 'map,print'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
183 creator: 'MapFish'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
184
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
185 #-------------------------------------------------------------------------
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
186 mainPage:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
187 pageSize: A0
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
188 rotation: true
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
189 header:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
190 height: 50
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
191 items:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
192 - !text
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
193 font: Helvetica
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
194 fontSize: 30
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
195 align: right
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
196 text: '${mapTitle}'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
197 items:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
198 - !map
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
199 spacingAfter: 30
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
200 width: 1760
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
201 height: 1932
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
202 - !scalebar
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
203 type: bar
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
204 maxSize: 100
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
205 barBgColor: white
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
206 fontSize: 8
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
207 align: right
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
208 - !text
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
209 text: '${comment}'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
210 spacingAfter: 30
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
211 - !text
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
212 font: Helvetica
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
213 fontSize: 9
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
214 align: right
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
215 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
216 - !legends
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
217 align: left
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
218 maxIconWidth: 32
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
219 maxIconHeight: 32
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
220 footer: *commonFooter

http://dive4elements.wald.intevation.org