annotate flys-client/src/main/webapp/WEB-INF/config.yaml @ 4474:bd78d2b0e309

Map print settings can now be configured via settings window. Configurable for now are page layout (A0 or A4), caption text and comment text.
author Christian Lins <christian.lins@intevation.de>
date Sun, 11 Nov 2012 14:44:12 +0100
parents dc7e41efd5ba
children d9e3660fa462
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:
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
99 # - paddingBottom: 5
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:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
120 - !text
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
121 font: Helvetica
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
122 fontSize: 30
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
123 align: right
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
124 text: '${mapTitle}'
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
125 items:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
126 - !map
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
127 spacingAfter: 30
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
128 width: 440
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
129 height: 483
2511
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
130 - !scalebar
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
131 type: bar
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
132 maxSize: 100
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
133 barBgColor: white
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
134 fontSize: 8
1aa6aec70b97 map print: Simplified config.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2510
diff changeset
135 align: right
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
136 - !text
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
137 text: '${comment}'
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
138 spacingAfter: 30
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
139 - !text
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
140 font: Helvetica
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
141 fontSize: 9
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
142 align: right
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
143 text: '1:${scale} ${now MM.dd.yyyy}'
2510
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
144 - !legends
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
145 align: left
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
146 maxIconWidth: 32
4861ab2c28d2 map print: add legend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2508
diff changeset
147 maxIconHeight: 32
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
148 footer: *commonFooter
4474
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
149
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
150 #===========================================================================
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
151 A0 portrait:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
152 #===========================================================================
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
153 metaData:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
154 title: '${title}'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
155 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
156 subject: 'Simple layout'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
157 keywords: 'map,print'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
158 creator: 'MapFish'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
159
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
160 #-------------------------------------------------------------------------
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
161 mainPage:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
162 pageSize: A0
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
163 rotation: true
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
164 header:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
165 height: 50
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
166 items:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
167 - !text
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
168 font: Helvetica
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
169 fontSize: 30
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
170 align: right
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
171 text: '${mapTitle}'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
172 items:
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
173 - !map
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
174 spacingAfter: 30
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
175 width: 1760
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
176 height: 1932
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
177 - !scalebar
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
178 type: bar
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
179 maxSize: 100
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
180 barBgColor: white
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
181 fontSize: 8
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
182 align: right
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
183 - !text
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
184 text: '${comment}'
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
185 spacingAfter: 30
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
186 - !text
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
187 font: Helvetica
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
188 fontSize: 9
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
189 align: right
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
190 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
191 - !legends
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
192 align: left
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
193 maxIconWidth: 32
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
194 maxIconHeight: 32
bd78d2b0e309 Map print settings can now be configured via settings window.
Christian Lins <christian.lins@intevation.de>
parents: 4472
diff changeset
195 footer: *commonFooter

http://dive4elements.wald.intevation.org