comparison gwt-client/config/mapfish/config.yaml @ 9747:cfc0aab9947f 3.2.x

Enable bind-mounting client configuration in docker container
author Tom Gottfried <tom@intevation.de>
date Mon, 05 Sep 2022 17:55:32 +0200
parents gwt-client/src/main/webapp/WEB-INF/config.yaml@28647fff733b
children
comparison
equal deleted inserted replaced
9746:1a1e627b1483 9747:cfc0aab9947f
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: 'd4e-${date}.pdf'
64
65 #===========================================================================
66 # the list of allowed hosts
67 #===========================================================================
68 hosts:
69 - !localMatch
70 dummy: true
71 - !dnsMatch
72 host: www.pegelonline.wsv.de
73 port: 80
74 - !dnsMatch
75 host: tile.openstreetmap.org
76 port: 80
77 # Catch all
78 #- !dnsMatch
79 # host: #regex that catches host plus path
80 # port: 80
81 - !dnsMatch
82 host: osm.intevation.de
83 port: 80
84
85 # We need a font with unicode support the defaults only
86 # have latin1
87 fonts:
88 - /usr/share/fonts/gnu-free/FreeSans.ttf
89
90 layouts:
91 #===========================================================================
92 A4 landscape:
93 #===========================================================================
94 metaData:
95 title: '${mapTitle}'
96 author: 'Dive4Elements River'
97 subject: 'Kartendruck'
98 keywords: 'map,print'
99 creator: 'd4e-river'
100
101 #-------------------------------------------------------------------------
102 mainPage:
103 # 842 * 595
104 pageSize: A4
105 landscape: true
106 marginLeft: 20
107 marginRight: 20
108 marginTop: 20
109 marginBottom: 20
110 items:
111 - !map
112 absoluteX: 20
113 align: left
114 absoluteY: 575
115 width: 587
116 height: 555
117 spacingAfter: 0
118 # The north arrow
119 - !columns
120 absoluteX: 627
121 absoluteY: 65
122 width: 32
123 items:
124 - !image
125 maxWidth: 20
126 maxHeight: 40
127 url: '${configDir}/images/north.png'
128 # The scale text
129 - !columns
130 absoluteX: 615
131 absoluteY: 30
132 width: 45
133 items:
134 - !text
135 fontSize: 8
136 text: '1:${scale}'
137 align: center
138 fontEncoding: Identity-H
139 font: FreeSans
140 backgroundColor: #FFFFFF
141 #Flys and BFG Logo
142 - !columns
143 absoluteX: 760
144 absoluteY: 70
145 width: 50
146 items:
147 - !image
148 maxWidth: 50
149 maxHeight: 50
150 url: '${configDir}/images/FLYS_Logo.png'
151 - !columns
152 absoluteX: 665
153 absoluteY: 70
154 width: 75
155 items:
156 - !image
157 maxWidth: 75
158 maxHeight: 50
159 url: '${configDir}/${logo}'
160 # Scalebar
161 - !columns
162 absoluteX: 455
163 absoluteY: 40
164 width: 150
165 items:
166 - !scalebar
167 type: bar
168 maxSize: 150
169 barSize: 5
170 barBgColor: white
171 fontSize: 8
172 backgroundColor: #FFFFFF
173 # The legend
174 - !columns
175 absoluteX: 612
176 absoluteY: 385
177 width: 200
178 items:
179 - !legends
180 maxHeight: 350
181 maxWidth: 0
182 maxIconHeight: 0
183 inline: true
184 classIndentation: 10
185 layerSpace: 0
186 classSpace: 5
187 layerFontSize: 0
188 classFontSize: 10
189 fontEncoding: Identity-H
190 classFont: FreeSans
191 layerFont: FreeSans
192 defaultScale: 0.7
193 config:
194 borderWidthLeft: 1
195 borderWidthRight: 1
196 borderWidthTop: 1
197 borderWidthBottom: 1
198 # The stamp background
199 - !columns
200 absoluteX: 557
201 absoluteY: 575
202 width: 260
203 items:
204 - !image
205 maxWidth: 260
206 maxHeight: 190
207 url: '${configDir}/images/white.png'
208
209 # Title of the map
210 - !columns
211 absoluteX: 562
212 absoluteY: 575
213 width: 250
214 condition: mapTitle
215 items:
216 - !text
217 fontSize: 18
218 text: '${mapTitle}'
219
220 # The Stamp
221 - !columns
222 absoluteX: 562
223 absoluteY: 550
224 width: 250
225 config:
226 borderWidth: 1
227 items:
228 - !attributes
229 source: data
230 spacingAfter: 0
231 columnDefs:
232 info:
233 columnWeight: 7
234 header: !text
235 text: info
236 fontSize: 0
237 cell: !columns
238 config:
239 cells:
240 - borderWidth: 0.5
241 padding: 5
242 items:
243 - !text
244 text: '${info}'
245 fontSize: 10
246 fontEncoding: Identity-H
247 font: FreeSans
248 fontSize: 10
249 backgroundColor: #FFFFFF
250 value:
251 columnWeight: 15
252 header: !text
253 text: value
254 fontSize: 0
255 cell: !columns
256 config:
257 cells:
258 - borderWidth: 0.5
259 padding: 5
260 items:
261 - !text
262 text: '${value}'
263 fontEncoding: Identity-H
264 font: FreeSans
265 fontSize: 10
266 backgroundColor: #FFFFFF

http://dive4elements.wald.intevation.org