annotate flys-client/src/main/webapp/WEB-INF/config.yaml @ 5678:57803a199856

Update Layout and add basic UTF-8 support that is still broken for data values in the attributes table
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 12 Apr 2013 13:01:58 +0200
parents b28a6d05e969
children 37e4073dc0bb
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:
5621
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
15 - 500
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
16 - 750
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
17 - 1000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
18 - 1250
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
19 - 1500
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
20 - 1750
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
21 - 2000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
22 - 2250
2515
532c590beb3e Fixed problem with selecting the wrong map scale for printing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2511
diff changeset
23 - 2500
5621
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
24 - 2750
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
25 - 3000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
26 - 3250
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
27 - 3500
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
28 - 3750
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
29 - 4000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
30 - 4250
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
31 - 4500
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
32 - 4750
2515
532c590beb3e Fixed problem with selecting the wrong map scale for printing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2511
diff changeset
33 - 5000
5621
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
34 - 5500
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
35 - 6000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
36 - 6500
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
37 - 7000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
38 - 7500
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
39 - 8000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
40 - 8500
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
41 - 9000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
42 - 9500
2515
532c590beb3e Fixed problem with selecting the wrong map scale for printing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2511
diff changeset
43 - 10000
5621
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
44 - 12500
2515
532c590beb3e Fixed problem with selecting the wrong map scale for printing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2511
diff changeset
45 - 15000
5621
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
46 - 17500
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
47 - 20000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
48 - 22500
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
49 - 25000
5621
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
50 - 30000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
51 - 35000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
52 - 40000
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
53 - 45000
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
54 - 50000
5621
bbc85c8f330a Add some more scales for the map
Andre Heinecke <aheinecke@intevation.de>
parents: 5581
diff changeset
55 - 75000
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
56 - 100000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
57 - 200000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
58 - 500000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
59 - 1000000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
60 - 2000000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
61 - 4000000
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
62
5539
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
63 outputFilename: 'flys-${date}.pdf'
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
64
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
65 #===========================================================================
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
66 # the list of allowed hosts
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 hosts:
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
69 - !localMatch
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
70 dummy: true
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
71 - !dnsMatch
2504
425bc486a40f Generate map print spec dynamically from artifact
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2502
diff changeset
72 host: wsvmapserv.wsv.bund.de
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
73 port: 80
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
74 - !dnsMatch
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
75 host: tile.openstreetmap.org
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
76 port: 80
2508
4aa70825bde1 map print: generate valid url to access service.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2504
diff changeset
77 - !dnsMatch
4aa70825bde1 map print: generate valid url to access service.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2504
diff changeset
78 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
79 port: 80
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
80 - !dnsMatch
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
81 host: geo4.service24.rlp.de
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
82 port: 80
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
83 # Catch all
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
84 #- !dnsMatch
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
85 # host: #regex that catches host plus path
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
86 # port: 80
4472
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
87 - !dnsMatch
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
88 host: osm.intevation.de
4472
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
89 port: 80
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
90 - !dnsMatch
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
91 host: osm.wheregroup.com
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
92 port: 80
5581
2fa6da26a142 Add geoportal.bafg.de to whitelist and remove layer names from legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5572
diff changeset
93 - !dnsMatch
2fa6da26a142 Add geoportal.bafg.de to whitelist and remove layer names from legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5572
diff changeset
94 host: geoportal.bafg.de
2fa6da26a142 Add geoportal.bafg.de to whitelist and remove layer names from legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5572
diff changeset
95 port: 80
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
96
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
97 # We need a font with unicode support the defaults only
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
98 # have latin1
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
99 fonts:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
100 - /usr/share/fonts/truetype/freefont/FreeSans.ttf
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
101
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
102 layouts:
5539
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
103 #===========================================================================
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
104 A4 landscape:
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
105 #===========================================================================
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
106 metaData:
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
107 title: '${mapTitle}'
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
108 author: 'Flusshydrologische Software'
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
109 subject: 'Kartendruck'
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
110 keywords: 'map,print'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
111 creator: 'd4e-river'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
112
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 mainPage:
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
115 # 842 * 595
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
116 pageSize: A4
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
117 landscape: true
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
118 marginLeft: 20
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
119 marginRight: 20
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
120 marginTop: 20
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
121 marginBottom: 20
5539
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
122 items:
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
123 - !map
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
124 absoluteX: 20
5539
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
125 align: left
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
126 absoluteY: 575
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
127 width: 592
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
128 height: 555
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
129 spacingAfter: 0
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
130 #Flys and BFG Logo
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
131 - !columns
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
132 absoluteX: 750
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
133 absoluteY: 110
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
134 width: 60
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
135 items:
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
136 - !image
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
137 maxWidth: 60
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
138 maxHeight: 60
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
139 url: '${configDir}/../images/FLYS_Logo.png'
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
140 - !columns
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
141 absoluteX: 630
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
142 absoluteY: 110
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
143 width: 90
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
144 items:
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
145 - !image
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
146 maxWidth: 90
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
147 maxHeight: 60
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
148 url: '${configDir}/../images/bfg_logo.gif'
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
149 # Legend header, a bit hackish with the border
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
150 # but I don't know how to put two rows in a column and I don't want to
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
151 # use tables
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
152 # - !columns
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
153 # absoluteX: 612
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
154 # absoluteY: 575
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
155 # width: 200
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
156 # items:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
157 # - !text
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
158 # text: "Legende:"
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
159 # align: center
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
160 # config:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
161 # borderWidthLeft: 1
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
162 # borderWidthRight: 1
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
163 # borderWidthTop: 1
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
164 # borderWidthBottom: 0
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
165 # Scalebar
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
166 - !columns
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
167 absoluteX: 620
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
168 absoluteY: 35
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
169 width: 200
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
170 items:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
171 - !scalebar
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
172 type: bar
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
173 maxSize: 200
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
174 barSize: 5
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
175 barBgColor: white
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
176 fontSize: 8
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
177
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
178 # The legend
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
179 - !columns
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
180 absoluteX: 612
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
181 absoluteY: 575
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
182 width: 200
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
183 items:
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
184 - !legends
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
185 maxHeight: 305
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
186 maxWidth: 0
5581
2fa6da26a142 Add geoportal.bafg.de to whitelist and remove layer names from legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5572
diff changeset
187 maxIconHeight: 0
2fa6da26a142 Add geoportal.bafg.de to whitelist and remove layer names from legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5572
diff changeset
188 inline: false
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
189 classIndentation: 10
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
190 layerSpace: 5
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
191 classSpace: 2
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
192 layerFontSize: 0
5581
2fa6da26a142 Add geoportal.bafg.de to whitelist and remove layer names from legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5572
diff changeset
193 classFontSize: 0
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
194 fontEncoding: Identity-H
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
195 classFont: FreeSans
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
196 layerFont: FreeSans
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
197 columnMargin: 2
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
198 defaultScale: 0.7
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
199 config:
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
200 borderWidthLeft: 1
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
201 borderWidthRight: 1
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
202 borderWidthTop: 1
5572
a264244b3d63 Rewrite landscape map layout so that it is more in line with desktop flys
Andre Heinecke <aheinecke@intevation.de>
parents: 5539
diff changeset
203 borderWidthBottom: 1
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
204 # The Stamp
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
205 - !columns
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
206 absoluteX: 612
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
207 absoluteY: 270
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
208 width: 200
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
209 config:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
210 borderWidthLeft: 1
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
211 borderWidthRight: 1
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
212 borderWidthTop: 1
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
213 borderWidthBottom: 1
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
214 items:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
215 - !attributes
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
216 source: data
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
217 spacingAfter: 0
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
218 columnDefs:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
219 info:
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
220 columnWeight: 7
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
221 header: !text
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
222 text: info
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
223 fontSize: 0
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
224 cell: !columns
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
225 config:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
226 cells:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
227 - borderWidth: 1
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
228 padding: 5
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
229 items:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
230 - !text
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
231 text: '${info}'
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
232 fontSize: 10
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
233 backgroundColor: #FFFFFF
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
234 value:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
235 columnWeight: 15
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
236 header: !text
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
237 text: value
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
238 fontSize: 0
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
239 cell: !columns
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
240 config:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
241 cells:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
242 - borderWidth: 1
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
243 padding: 5
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
244 items:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
245 - !text
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
246 text: '${value}'
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
247 fontEncoding: Identity-H
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
248 font: FreeSans
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
249 fontSize: 10
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
250 backgroundColor: #FFFFFF
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
251 # The scale text
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
252 - !columns
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
253 absoluteX: 617
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
254 absoluteY: 55
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
255 width: 200
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
256 items:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
257 - !text
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
258 fontSize: 10
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
259 text: 'Maßstab: 1:${scale}'
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
260 fontEncoding: Identity-H
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
261 font: FreeSans
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
262 config:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
263 cells:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
264 - padding: 5

http://dive4elements.wald.intevation.org