comparison flys-client/src/main/webapp/WEB-INF/config.yaml @ 5777:e95427ed80e5

Merged
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 21 Apr 2013 10:46:59 +0200
parents b73de25c01b4
children
comparison
equal deleted inserted replaced
5776:1126b9e00378 5777:e95427ed80e5
67 #=========================================================================== 67 #===========================================================================
68 hosts: 68 hosts:
69 - !localMatch 69 - !localMatch
70 dummy: true 70 dummy: true
71 - !dnsMatch 71 - !dnsMatch
72 host: wsvmapserv.ilmenau.baw.de
73 port: 80
74 - !dnsMatch
75 host: www.pegelonline.wsv.de
76 port: 80
77 - !dnsMatch
78 host: gdz.bkg.bund.de
79 port: 80
80 - !dnsMatch
81 host: ims3.bkg.bund.de
82 port: 80
83 - !dnsMatch
84 host: tile.openstreetmap.org
85 port: 80
86 - !dnsMatch
72 host: wsvmapserv.wsv.bund.de 87 host: wsvmapserv.wsv.bund.de
73 port: 80
74 - !dnsMatch
75 host: tile.openstreetmap.org
76 port: 80
77 - !dnsMatch
78 host: www.pegelonline.wsv.de
79 port: 80 88 port: 80
80 - !dnsMatch 89 - !dnsMatch
81 host: geo4.service24.rlp.de 90 host: geo4.service24.rlp.de
82 port: 80 91 port: 80
83 # Catch all 92 # Catch all
91 host: osm.wheregroup.com 100 host: osm.wheregroup.com
92 port: 80 101 port: 80
93 - !dnsMatch 102 - !dnsMatch
94 host: geoportal.bafg.de 103 host: geoportal.bafg.de
95 port: 80 104 port: 80
105 - !dnsMatch
106 host: wsvmapserv.wsv.bvbs.bund.de
107 port: 80
108
109 # We need a font with unicode support the defaults only
110 # have latin1
111 fonts:
112 - /usr/share/fonts/truetype/freefont/FreeSans.ttf
96 113
97 layouts: 114 layouts:
98 #=========================================================================== 115 #===========================================================================
99 A4 landscape: 116 A4 landscape:
100 #=========================================================================== 117 #===========================================================================
117 items: 134 items:
118 - !map 135 - !map
119 absoluteX: 20 136 absoluteX: 20
120 align: left 137 align: left
121 absoluteY: 575 138 absoluteY: 575
122 width: 592 139 width: 587
123 height: 555 140 height: 555
124 spacingAfter: 0 141 spacingAfter: 0
142 # The north arrow
143 - !columns
144 absoluteX: 627
145 absoluteY: 65
146 width: 32
147 items:
148 - !image
149 maxWidth: 20
150 maxHeight: 40
151 url: '${configDir}/../images/north.png'
152 # The scale text
153 - !columns
154 absoluteX: 615
155 absoluteY: 30
156 width: 45
157 items:
158 - !text
159 fontSize: 8
160 text: '1:${scale}'
161 align: center
162 fontEncoding: Identity-H
163 font: FreeSans
164 backgroundColor: #FFFFFF
125 #Flys and BFG Logo 165 #Flys and BFG Logo
126 - !columns 166 - !columns
127 absoluteX: 747 167 absoluteX: 760
128 absoluteY: 100 168 absoluteY: 70
129 width: 60 169 width: 50
130 items: 170 items:
131 - !image 171 - !image
132 maxWidth: 60 172 maxWidth: 50
133 maxHeight: 60 173 maxHeight: 50
134 url: '${configDir}/../images/FLYS_Logo.png' 174 url: '${configDir}/../images/FLYS_Logo.png'
135 - !columns 175 - !columns
136 absoluteX: 732 176 absoluteX: 665
137 absoluteY: 160 177 absoluteY: 70
138 width: 90 178 width: 75
139 items: 179 items:
140 - !image 180 - !image
141 maxWidth: 90 181 maxWidth: 75
142 maxHeight: 60 182 maxHeight: 50
143 url: '${configDir}/../images/bfg_logo.gif' 183 url: '${configDir}/../${logo}'
144 # Legend header, a bit hackish with the border 184 # Scalebar
145 # but I don't know how to put two rows in a column and I don't want to 185 - !columns
146 # use tables 186 absoluteX: 460
187 absoluteY: 40
188 width: 150
189 items:
190 - !scalebar
191 type: bar
192 maxSize: 150
193 barSize: 5
194 barBgColor: white
195 fontSize: 8
196 backgroundColor: #FFFFFF
197 # The legend
147 - !columns 198 - !columns
148 absoluteX: 612 199 absoluteX: 612
149 absoluteY: 575 200 absoluteY: 390
150 width: 200 201 width: 200
151 items: 202 items:
152 - !text
153 text: "Legende:"
154 align: center
155 config:
156 borderWidthLeft: 1
157 borderWidthRight: 1
158 borderWidthTop: 1
159 borderWidthBottom: 0
160 # The legend
161 - !columns
162 absoluteX: 612
163 absoluteY: 564
164 width: 200
165 items:
166 - !legends 203 - !legends
167 maxHeight: 400 204 maxHeight: 310
168 maxWidth: 0 205 maxWidth: 0
169 maxIconHeight: 0 206 maxIconHeight: 0
170 inline: false 207 inline: true
171 classIndentation: 10 208 classIndentation: 10
172 layerSpace: 5 209 layerSpace: 0
173 classSpace: 2 210 classSpace: 5
174 layerFont: Helvetica
175 layerFontSize: 0 211 layerFontSize: 0
176 classFont: Helvetica 212 classFontSize: 10
177 classFontSize: 0 213 fontEncoding: Identity-H
178 fontEncoding: Cp1252 214 classFont: FreeSans
179 columnMargin: 2 215 layerFont: FreeSans
180 defaultScale: 0.7 216 defaultScale: 0.5
181 config:
182 borderWidthLeft: 1
183 borderWidthRight: 1
184 borderWidthTop: 0
185 borderWidthBottom: 1
186 # The Stamp
187 - !columns
188 absoluteX: 612
189 absoluteY: 200
190 width: 200
191 config: 217 config:
192 borderWidthLeft: 1 218 borderWidthLeft: 1
193 borderWidthRight: 1 219 borderWidthRight: 1
194 borderWidthTop: 1 220 borderWidthTop: 1
195 borderWidthBottom: 1 221 borderWidthBottom: 1
222 # The stamp background
223 - !columns
224 absoluteX: 557
225 absoluteY: 575
226 width: 260
227 items:
228 - !image
229 maxWidth: 260
230 maxHeight: 184
231 url: '${configDir}/../images/white.png'
232
233 # Title of the map
234 - !columns
235 absoluteX: 562
236 absoluteY: 575
237 width: 250
238 condition: mapTitle
239 items:
240 - !text
241 text: '${mapTitle}'
242
243 # The Stamp
244 - !columns
245 absoluteX: 562
246 absoluteY: 555
247 width: 250
248 # config:
249 # borderWidthLeft: 5
250 # borderWidthRight: 5
251 # borderWidthTop: 5
252 # borderWidthBottom: 5
253 #padding: 10
254 #backgroundColor: #FFFFFF
255 #borderColor: #FFFFFF
196 items: 256 items:
197 - !attributes 257 - !attributes
198 source: data 258 source: data
199 spacingAfter: 30 259 spacingAfter: 0
200 columnDefs: 260 columnDefs:
201 info: 261 info:
202 columnWeight: 2 262 columnWeight: 7
203 header: !text 263 header: !text
204 text: Info 264 text: info
205 backgroundColor: #A0A0A0 265 fontSize: 0
206 cell: !text
207 text: '${info}'
208 value:
209 columnWeight: 5
210 header: !text
211 text: value
212 backgroundColor: #A0A0A0
213 cell: !columns 266 cell: !columns
214 config: 267 config:
215 cells: 268 cells:
216 - borderWidth: 1 269 - borderWidth: 1
270 padding: 5
271 items:
272 - !text
273 text: '${info}'
274 fontSize: 10
275 fontEncoding: Identity-H
276 font: FreeSans
277 fontSize: 10
278 backgroundColor: #FFFFFF
279 value:
280 columnWeight: 15
281 header: !text
282 text: value
283 fontSize: 0
284 cell: !columns
285 config:
286 cells:
287 - borderWidth: 1
288 padding: 5
217 items: 289 items:
218 - !text 290 - !text
219 text: '${value}' 291 text: '${value}'
220 292 fontEncoding: Identity-H
293 font: FreeSans
294 fontSize: 10
295 backgroundColor: #FFFFFF

http://dive4elements.wald.intevation.org