annotate gwt-client/src/main/webapp/WEB-INF/config.yaml @ 8716:b5ac17a10d22

(issue1754) Only create new Recommendations I belive that this was the original intent of this function otherwise why create a list of newRecommendations at all if we always recreate all Recommendations again. With the side effect that old recommendations had no master artifact the created artifacts of already existing artifacts did not have enough information to live and were not shown in the client so this problem was hidden.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 27 Apr 2015 11:45:31 +0200
parents 35a7c05b5cd4
children 28647fff733b
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
7778
35a7c05b5cd4 Remove FLYS-specific stuff from config.yaml and allow to give a custom file in release script.
Tom Gottfried <tom@intevation.de>
parents: 6247
diff changeset
63 outputFilename: 'd4e-${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: www.pegelonline.wsv.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
2496
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
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
77 # Catch all
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
78 #- !dnsMatch
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
79 # host: #regex that catches host plus path
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
80 # port: 80
4472
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
81 - !dnsMatch
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
82 host: osm.intevation.de
4472
dc7e41efd5ba Work (in progress) on a print settings dialog.
Christian Lins <christian.lins@intevation.de>
parents: 2515
diff changeset
83 port: 80
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
84
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
85 # 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
86 # have latin1
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
87 fonts:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
88 - /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
89
2496
7e077899e259 Added dependency to MapFish Print
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
90 layouts:
5539
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
91 #===========================================================================
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
92 A4 landscape:
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
93 #===========================================================================
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
94 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
95 title: '${mapTitle}'
7778
35a7c05b5cd4 Remove FLYS-specific stuff from config.yaml and allow to give a custom file in release script.
Tom Gottfried <tom@intevation.de>
parents: 6247
diff changeset
96 author: 'Dive4Elements River'
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
97 subject: 'Kartendruck'
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
98 keywords: 'map,print'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
99 creator: 'd4e-river'
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
100
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
101 #-------------------------------------------------------------------------
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
102 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
103 # 842 * 595
4965
8af500d62098 Editing Map print config.
Christian Lins <christian.lins@intevation.de>
parents: 4571
diff changeset
104 pageSize: A4
4969
555fa2774d3c Map printing in landscape mode. Layout still buggy.
Christian Lins <christian.lins@intevation.de>
parents: 4965
diff changeset
105 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
106 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
107 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
108 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
109 marginBottom: 20
5539
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
110 items:
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
111 - !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
112 absoluteX: 20
5539
8d0af912351c Revert config.yaml to usable version.
Christian Lins <christian.lins@intevation.de>
parents: 5008
diff changeset
113 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
114 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
115 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
116 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
117 spacingAfter: 0
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
118 # 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
119 - !columns
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
120 absoluteX: 627
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
121 absoluteY: 65
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
122 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
123 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
124 - !image
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
125 maxWidth: 20
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
126 maxHeight: 40
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
127 url: '${configDir}/../images/north.png'
5756
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
128 # The scale text
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
129 - !columns
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
130 absoluteX: 615
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
131 absoluteY: 30
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
132 width: 45
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
133 items:
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
134 - !text
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
135 fontSize: 8
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
136 text: '1:${scale}'
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
137 align: center
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
138 fontEncoding: Identity-H
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
139 font: FreeSans
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
140 backgroundColor: #FFFFFF
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
141 #Flys and BFG Logo
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
142 - !columns
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
143 absoluteX: 760
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
144 absoluteY: 70
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
145 width: 50
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
146 items:
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
147 - !image
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
148 maxWidth: 50
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
149 maxHeight: 50
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
150 url: '${configDir}/../images/FLYS_Logo.png'
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
151 - !columns
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
152 absoluteX: 665
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
153 absoluteY: 70
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
154 width: 75
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
155 items:
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
156 - !image
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
157 maxWidth: 75
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
158 maxHeight: 50
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
159 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
160 # Scalebar
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
161 - !columns
6247
0e474548a2f9 Enlarge white background so that it overlays correctly as
Andre Heinecke <aheinecke@intevation.de>
parents: 6246
diff changeset
162 absoluteX: 455
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
163 absoluteY: 40
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
164 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
165 items:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
166 - !scalebar
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
167 type: bar
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
168 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
169 barSize: 5
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
170 barBgColor: white
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
171 fontSize: 8
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
172 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
173 # 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
174 - !columns
6246
06cedd3783d5 Refit PDF map legend (#767).
Christian Lins <christian.lins@intevation.de>
parents: 6160
diff changeset
175 absoluteX: 612
6154
25925b87a74b Increase map title size for map print PDF (#767).
Christian Lins <christian.lins@intevation.de>
parents: 5838
diff changeset
176 absoluteY: 385
6246
06cedd3783d5 Refit PDF map legend (#767).
Christian Lins <christian.lins@intevation.de>
parents: 6160
diff changeset
177 width: 200
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
178 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
179 - !legends
6155
36433dc06a40 Increase legend size of map print PDF (#767).
Christian Lins <christian.lins@intevation.de>
parents: 6154
diff changeset
180 maxHeight: 350
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
181 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
182 maxIconHeight: 0
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
183 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
184 classIndentation: 10
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
185 layerSpace: 0
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
186 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
187 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
188 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
189 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
190 classFont: FreeSans
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
191 layerFont: FreeSans
6157
1a5ecc53b9cb Increase legend scale of map print PDF (#767).
Christian Lins <christian.lins@intevation.de>
parents: 6155
diff changeset
192 defaultScale: 0.7
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
193 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
194 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
195 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
196 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
197 borderWidthBottom: 1
5756
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
198 # The stamp background
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
199 - !columns
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
200 absoluteX: 557
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
201 absoluteY: 575
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
202 width: 260
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
203 items:
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
204 - !image
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
205 maxWidth: 260
6247
0e474548a2f9 Enlarge white background so that it overlays correctly as
Andre Heinecke <aheinecke@intevation.de>
parents: 6246
diff changeset
206 maxHeight: 190
5756
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
207 url: '${configDir}/../images/white.png'
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
208
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
209 # Title of the map
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
210 - !columns
5756
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
211 absoluteX: 562
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
212 absoluteY: 575
5756
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
213 width: 250
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
214 condition: mapTitle
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
215 items:
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
216 - !text
6154
25925b87a74b Increase map title size for map print PDF (#767).
Christian Lins <christian.lins@intevation.de>
parents: 5838
diff changeset
217 fontSize: 18
5753
6f166b8b5eda Rework layout for issue 767
Andre Heinecke <aheinecke@intevation.de>
parents: 5719
diff changeset
218 text: '${mapTitle}'
5756
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
219
5622
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
220 # 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
221 - !columns
5756
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
222 absoluteX: 562
6154
25925b87a74b Increase map title size for map print PDF (#767).
Christian Lins <christian.lins@intevation.de>
parents: 5838
diff changeset
223 absoluteY: 550
5756
b73de25c01b4 Draw stamp on white background and some layout improvements
Andre Heinecke <aheinecke@intevation.de>
parents: 5753
diff changeset
224 width: 250
6160
938d0ce85b33 Stamp border thinkness of map print PDF fitted (#767).
Christian Lins <christian.lins@intevation.de>
parents: 6157
diff changeset
225 config:
938d0ce85b33 Stamp border thinkness of map print PDF fitted (#767).
Christian Lins <christian.lins@intevation.de>
parents: 6157
diff changeset
226 borderWidth: 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
227 items:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
228 - !attributes
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
229 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
230 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
231 columnDefs:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
232 info:
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
233 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
234 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
235 text: info
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
236 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
237 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
238 config:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
239 cells:
6160
938d0ce85b33 Stamp border thinkness of map print PDF fitted (#767).
Christian Lins <christian.lins@intevation.de>
parents: 6157
diff changeset
240 - borderWidth: 0.5
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
241 padding: 5
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
242 items:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
243 - !text
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
244 text: '${info}'
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
245 fontSize: 10
5715
37e4073dc0bb Add font settings for info part
Andre Heinecke <aheinecke@intevation.de>
parents: 5678
diff changeset
246 fontEncoding: Identity-H
37e4073dc0bb Add font settings for info part
Andre Heinecke <aheinecke@intevation.de>
parents: 5678
diff changeset
247 font: FreeSans
37e4073dc0bb Add font settings for info part
Andre Heinecke <aheinecke@intevation.de>
parents: 5678
diff changeset
248 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
249 backgroundColor: #FFFFFF
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
250 value:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
251 columnWeight: 15
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
252 header: !text
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
253 text: value
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
254 fontSize: 0
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
255 cell: !columns
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
256 config:
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
257 cells:
6160
938d0ce85b33 Stamp border thinkness of map print PDF fitted (#767).
Christian Lins <christian.lins@intevation.de>
parents: 6157
diff changeset
258 - borderWidth: 0.5
5678
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
259 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
260 items:
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
261 - !text
b28a6d05e969 Add a new mechanism in mapfish print call to add arbitary data maps
Andre Heinecke <aheinecke@intevation.de>
parents: 5621
diff changeset
262 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
263 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
264 font: FreeSans
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
265 fontSize: 10
57803a199856 Update Layout and add basic UTF-8 support that is still broken
Andre Heinecke <aheinecke@intevation.de>
parents: 5622
diff changeset
266 backgroundColor: #FFFFFF

http://dive4elements.wald.intevation.org