annotate flys-client/src/main/webapp/WEB-INF/config.yaml @ 5753:6f166b8b5eda

Rework layout for issue 767
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 18 Apr 2013 10:43:23 +0200
parents e8b4c69967e2
children b73de25c01b4
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
5716
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
72 host: wsvmapserv.ilmenau.baw.de
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
73 port: 80
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
74 - !dnsMatch
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
75 host: www.pegelonline.wsv.de
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
76 port: 80
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
77 - !dnsMatch
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
78 host: gdz.bkg.bund.de
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
79 port: 80
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
80 - !dnsMatch
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
81 host: ims3.bkg.bund.de
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
82 port: 80
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
83 - !dnsMatch
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
84 host: tile.openstreetmap.org
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
85 port: 80
2508
4aa70825bde1 map print: generate valid url to access service.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2504
diff changeset
86 - !dnsMatch
5716
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
87 host: wsvmapserv.wsv.bund.de
2508
4aa70825bde1 map print: generate valid url to access service.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2504
diff changeset
88 port: 80
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
89 - !dnsMatch
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
90 host: geo4.service24.rlp.de
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
91 port: 80
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
92 # Catch all
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
93 #- !dnsMatch
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
94 # host: #regex that catches host plus path
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
95 # port: 80
4472
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
96 - !dnsMatch
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
97 host: osm.intevation.de
4472
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
98 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
99 - !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
100 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
101 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
102 - !dnsMatch
2fa6da26a142 Add geoportal.bafg.de to whitelist and remove layer names from legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5572
diff changeset
103 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
104 port: 80
5716
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
105 - !dnsMatch
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
106 host: wsvmapserv.wsv.bvbs.bund.de
df330602b1a2 Add some more WMS Services as specified by issue 796
Andre Heinecke <aheinecke@intevation.de>
parents: 5715
diff changeset
107 port: 80
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
108
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
109 # 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
110 # have latin1
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
111 fonts:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
112 - /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
113
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
114 layouts:
5539
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
115 #===========================================================================
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
116 A4 landscape:
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
117 #===========================================================================
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
118 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
119 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
120 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
121 subject: 'Kartendruck'
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
122 keywords: 'map,print'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
123 creator: 'd4e-river'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
124
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
125 #-------------------------------------------------------------------------
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
126 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
127 # 842 * 595
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
128 pageSize: A4
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
129 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
130 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
131 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
132 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
133 marginBottom: 20
5539
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
134 items:
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
135 - !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
136 absoluteX: 20
5539
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
137 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
138 absoluteY: 575
5719
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
139 width: 587
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
140 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
141 spacingAfter: 0
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
142 # The scale text
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 - !columns
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
144 absoluteX: 620
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
145 absoluteY: 30
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
146 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
147 items:
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
148 - !text
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
149 fontSize: 8
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
150 text: '1:${scale}'
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
151 fontEncoding: Identity-H
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
152 font: FreeSans
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
153 backgroundColor: #FFFFFF
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
154 # The north arrow
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
155 - !columns
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
156 absoluteX: 627
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
157 absoluteY: 65
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
158 width: 32
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
159 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
160 - !image
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
161 maxWidth: 20
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
162 maxHeight: 40
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
163 url: '${configDir}/../images/north.png'
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
164 #Flys and BFG Logo
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
165 - !columns
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
166 absoluteX: 760
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
167 absoluteY: 70
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
168 width: 50
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
169 items:
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
170 - !image
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
171 maxWidth: 50
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
172 maxHeight: 50
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
173 url: '${configDir}/../images/FLYS_Logo.png'
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
174 - !columns
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
175 absoluteX: 665
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
176 absoluteY: 70
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
177 width: 75
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
178 items:
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
179 - !image
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
180 maxWidth: 75
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
181 maxHeight: 50
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
182 url: '${configDir}/../${logo}'
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
183 # Scalebar
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
184 - !columns
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
185 absoluteX: 460
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
186 absoluteY: 40
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
187 width: 150
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
188 items:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
189 - !scalebar
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
190 type: bar
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
191 maxSize: 150
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
192 barSize: 5
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
193 barBgColor: white
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
194 fontSize: 8
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
195 backgroundColor: #FFFFFF
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
196 # 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
197 - !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
198 absoluteX: 612
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
199 absoluteY: 390
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
200 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
201 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
202 - !legends
5719
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
203 maxHeight: 325
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
204 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
205 maxIconHeight: 0
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
206 inline: 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
207 classIndentation: 10
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
208 layerSpace: 0
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
209 classSpace: 5
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
210 layerFontSize: 0
5719
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
211 classFontSize: 10
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
212 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
213 classFont: FreeSans
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
214 layerFont: FreeSans
5719
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
215 defaultScale: 0.5
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
216 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
217 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
218 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
219 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
220 borderWidthBottom: 1
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
221 # Title of the map
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
222 - !columns
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
223 absoluteX: 612
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
224 absoluteY: 575
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
225 width: 200
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
226 condition: mapTitle
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
227 items:
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
228 - !text
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
229 text: '${mapTitle}'
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
230 # align: center
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
231 # cells:
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
232 # 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
233 # 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
234 - !columns
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
235 absoluteX: 612
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
236 absoluteY: 555
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
237 width: 200
5719
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
238 # config:
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
239 # borderWidthLeft: 5
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
240 # borderWidthRight: 5
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
241 # borderWidthTop: 5
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
242 # borderWidthBottom: 5
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
243 #padding: 10
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
244 #backgroundColor: #FFFFFF
e8b4c69967e2 Minor layout changes in map print add a margin between map and stamp/legend
Andre Heinecke <aheinecke@intevation.de>
parents: 5716
diff changeset
245 #borderColor: #FFFFFF
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
246 items:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
247 - !attributes
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
248 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
249 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
250 columnDefs:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
251 info:
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
252 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
253 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
254 text: info
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
255 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
256 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
257 config:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
258 cells:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
259 - 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
260 padding: 5
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
261 items:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
262 - !text
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
263 text: '${info}'
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
264 fontSize: 10
5715
37e4073dc0bb Add font settings for info part
Andre Heinecke <aheinecke@intevation.de>
parents: 5678
diff changeset
265 fontEncoding: Identity-H
37e4073dc0bb Add font settings for info part
Andre Heinecke <aheinecke@intevation.de>
parents: 5678
diff changeset
266 font: FreeSans
37e4073dc0bb Add font settings for info part
Andre Heinecke <aheinecke@intevation.de>
parents: 5678
diff changeset
267 fontSize: 10
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
268 backgroundColor: #FFFFFF
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
269 value:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
270 columnWeight: 15
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
271 header: !text
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
272 text: value
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
273 fontSize: 0
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
274 cell: !columns
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
275 config:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
276 cells:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
277 - borderWidth: 1
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
278 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
279 items:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
280 - !text
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
281 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
282 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
283 font: FreeSans
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
284 fontSize: 10
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
285 backgroundColor: #FFFFFF

http://dive4elements.wald.intevation.org