Mercurial > dive4elements > river
comparison gwt-client/src/main/webapp/WEB-INF/config.yaml @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-client/src/main/webapp/WEB-INF/config.yaml@b73de25c01b4 |
children | 25925b87a74b |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
1 #=========================================================================== | |
2 # allowed DPIs | |
3 #=========================================================================== | |
4 dpis: [254, 190, 127, 72, 56] | |
5 | |
6 #=========================================================================== | |
7 # allowed Formats | |
8 #=========================================================================== | |
9 formats: ['*'] | |
10 | |
11 #=========================================================================== | |
12 # the allowed scales | |
13 #=========================================================================== | |
14 scales: | |
15 - 500 | |
16 - 750 | |
17 - 1000 | |
18 - 1250 | |
19 - 1500 | |
20 - 1750 | |
21 - 2000 | |
22 - 2250 | |
23 - 2500 | |
24 - 2750 | |
25 - 3000 | |
26 - 3250 | |
27 - 3500 | |
28 - 3750 | |
29 - 4000 | |
30 - 4250 | |
31 - 4500 | |
32 - 4750 | |
33 - 5000 | |
34 - 5500 | |
35 - 6000 | |
36 - 6500 | |
37 - 7000 | |
38 - 7500 | |
39 - 8000 | |
40 - 8500 | |
41 - 9000 | |
42 - 9500 | |
43 - 10000 | |
44 - 12500 | |
45 - 15000 | |
46 - 17500 | |
47 - 20000 | |
48 - 22500 | |
49 - 25000 | |
50 - 30000 | |
51 - 35000 | |
52 - 40000 | |
53 - 45000 | |
54 - 50000 | |
55 - 75000 | |
56 - 100000 | |
57 - 200000 | |
58 - 500000 | |
59 - 1000000 | |
60 - 2000000 | |
61 - 4000000 | |
62 | |
63 outputFilename: 'flys-${date}.pdf' | |
64 | |
65 #=========================================================================== | |
66 # the list of allowed hosts | |
67 #=========================================================================== | |
68 hosts: | |
69 - !localMatch | |
70 dummy: true | |
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 | |
87 host: wsvmapserv.wsv.bund.de | |
88 port: 80 | |
89 - !dnsMatch | |
90 host: geo4.service24.rlp.de | |
91 port: 80 | |
92 # Catch all | |
93 #- !dnsMatch | |
94 # host: #regex that catches host plus path | |
95 # port: 80 | |
96 - !dnsMatch | |
97 host: osm.intevation.de | |
98 port: 80 | |
99 - !dnsMatch | |
100 host: osm.wheregroup.com | |
101 port: 80 | |
102 - !dnsMatch | |
103 host: geoportal.bafg.de | |
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 | |
113 | |
114 layouts: | |
115 #=========================================================================== | |
116 A4 landscape: | |
117 #=========================================================================== | |
118 metaData: | |
119 title: '${mapTitle}' | |
120 author: 'Flusshydrologische Software' | |
121 subject: 'Kartendruck' | |
122 keywords: 'map,print' | |
123 creator: 'd4e-river' | |
124 | |
125 #------------------------------------------------------------------------- | |
126 mainPage: | |
127 # 842 * 595 | |
128 pageSize: A4 | |
129 landscape: true | |
130 marginLeft: 20 | |
131 marginRight: 20 | |
132 marginTop: 20 | |
133 marginBottom: 20 | |
134 items: | |
135 - !map | |
136 absoluteX: 20 | |
137 align: left | |
138 absoluteY: 575 | |
139 width: 587 | |
140 height: 555 | |
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 | |
165 #Flys and BFG Logo | |
166 - !columns | |
167 absoluteX: 760 | |
168 absoluteY: 70 | |
169 width: 50 | |
170 items: | |
171 - !image | |
172 maxWidth: 50 | |
173 maxHeight: 50 | |
174 url: '${configDir}/../images/FLYS_Logo.png' | |
175 - !columns | |
176 absoluteX: 665 | |
177 absoluteY: 70 | |
178 width: 75 | |
179 items: | |
180 - !image | |
181 maxWidth: 75 | |
182 maxHeight: 50 | |
183 url: '${configDir}/../${logo}' | |
184 # Scalebar | |
185 - !columns | |
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 | |
198 - !columns | |
199 absoluteX: 612 | |
200 absoluteY: 390 | |
201 width: 200 | |
202 items: | |
203 - !legends | |
204 maxHeight: 310 | |
205 maxWidth: 0 | |
206 maxIconHeight: 0 | |
207 inline: true | |
208 classIndentation: 10 | |
209 layerSpace: 0 | |
210 classSpace: 5 | |
211 layerFontSize: 0 | |
212 classFontSize: 10 | |
213 fontEncoding: Identity-H | |
214 classFont: FreeSans | |
215 layerFont: FreeSans | |
216 defaultScale: 0.5 | |
217 config: | |
218 borderWidthLeft: 1 | |
219 borderWidthRight: 1 | |
220 borderWidthTop: 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 | |
256 items: | |
257 - !attributes | |
258 source: data | |
259 spacingAfter: 0 | |
260 columnDefs: | |
261 info: | |
262 columnWeight: 7 | |
263 header: !text | |
264 text: info | |
265 fontSize: 0 | |
266 cell: !columns | |
267 config: | |
268 cells: | |
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 | |
289 items: | |
290 - !text | |
291 text: '${value}' | |
292 fontEncoding: Identity-H | |
293 font: FreeSans | |
294 fontSize: 10 | |
295 backgroundColor: #FFFFFF |