comparison flys-client/src/main/webapp/WEB-INF/config.yaml @ 5008:04ccec566689

flys/#657: Shapefile upload now reports success or failure to client.
author Christian Lins <christian.lins@intevation.de>
date Mon, 18 Feb 2013 16:29:37 +0100
parents 555fa2774d3c
children 8d0af912351c
comparison
equal deleted inserted replaced
5000:99b452967737 5008:04ccec566689
23 - 500000 23 - 500000
24 - 1000000 24 - 1000000
25 - 2000000 25 - 2000000
26 - 4000000 26 - 4000000
27 27
28 outputFilename: 'flys-${date}.pdf' 28 outputFilename: "flys-${date}.pdf"
29 29
30 #=========================================================================== 30 #===========================================================================
31 # the list of allowed hosts 31 # the list of allowed hosts
32 #=========================================================================== 32 #===========================================================================
33 hosts: 33 hosts:
52 - !dnsMatch 52 - !dnsMatch
53 host: osm.intevation.de 53 host: osm.intevation.de
54 port: 80 54 port: 80
55 55
56 layouts: 56 layouts:
57 #===========================================================================
58 A4 portrait:
59 #===========================================================================
60 metaData:
61 title: '${title}'
62 author: 'Flys'
63 subject: 'Kartendruck A4 Portrait'
64 keywords: 'map,print'
65 creator: 'd4e-river'
66
67 #-------------------------------------------------------------------------
68 mainPage:
69 pageSize: A4
70 landscape: false
71 header:
72 height: 50
73 items:
74 - !image
75 align: left
76 maxWidth: 60
77 maxHeight: 60
78 url: '${configDir}/../images/FLYS_Logo.png'
79 items:
80 - !text
81 font: Helvetica
82 fontSize: 30
83 align: right
84 text: '${mapTitle}'
85 spacingAfter: 30
86 - !map
87 spacingAfter: 30
88 width: 440
89 height: 483
90 - !scalebar
91 type: bar
92 maxSize: 100
93 barBgColor: white
94 fontSize: 8
95 align: right
96 - !text
97 text: '${comment}'
98 spacingAfter: 30
99 - !text
100 font: Helvetica
101 fontSize: 9
102 align: right
103 text: '1:${scale} ${now MM.dd.yyyy}'
104 - !legends
105 align: left
106 maxIconWidth: 32
107 maxIconHeight: 32
108 footer: *commonFooter
109
110 57
111 #=========================================================================== 58 #===========================================================================
112 A4 landscape: 59 A4 landscape:
113 #=========================================================================== 60 #===========================================================================
114 metaData: 61 metaData:
115 title: '${title}' 62 title: "${title}"
116 author: 'Flys' 63 author: 'Flys'
117 subject: 'Kartendruck A4 Quer' 64 subject: 'Kartendruck A4 Quer'
118 keywords: 'map,print' 65 keywords: 'map,print'
119 creator: 'd4e-river' 66 creator: 'd4e-river'
120 67
123 pageSize: A4 70 pageSize: A4
124 landscape: true 71 landscape: true
125 header: 72 header:
126 height: 50 73 height: 50
127 items: 74 items:
128 - !image 75 - !columns
129 align: left 76 config:
130 maxWidth: 60 77 cells:
131 maxHeight: 60 78 - paddingBottom: 5
132 url: '${configDir}/../images/FLYS_Logo.png' 79 items:
80 - !image
81 align: left
82 maxWidth: 50
83 maxHeight: 50
84 url: "${configDir}/../images/FLYS_Logo.png"
85 - !text
86 font: Helvetica
87 fontSize: 30
88 align: right
89 text: "${mapTitle}"
90
133 items: 91 items:
134 - !text 92 - !map
135 font: Helvetica 93 absoluteX: 45
136 fontSize: 30 94 absoluteY: 510
137 align: right 95 spacingAfter: 200
138 text: '${mapTitle}' 96 width: 540
139 spacingAfter: 30 97 height: 480
140 - !map 98 align: left
141 absoluteX: 45
142 absoluteY: 510
143 #spacingAfter: 30
144 width: 540
145 height: 480
146 align: left
147 - !scalebar
148 type: bar
149 maxSize: 100
150 barBgColor: white
151 fontSize: 8
152 align: right
153 - !text
154 text: '${comment}'
155 spacingAfter: 30
156 - !text
157 font: Helvetica
158 fontSize: 9
159 align: right
160 text: '1:${scale} ${now MM.dd.yyyy}'
161 - !legends
162 align: right
163 maxIconWidth: 32
164 maxIconHeight: 32
165 # - !columns
166 # widths: [500, 200]
167 # items:
168 # - !map
169 # width: 500
170 # height: 500
171 # - !legends
172 footer: *commonFooter
173
174
175 #===========================================================================
176 A0 portrait:
177 #===========================================================================
178 metaData:
179 title: '${title}'
180 author: 'MapFish print module'
181 subject: 'Simple layout'
182 keywords: 'map,print'
183 creator: 'MapFish'
184
185 #-------------------------------------------------------------------------
186 mainPage:
187 pageSize: A0
188 rotation: true
189 header:
190 height: 50
191 items:
192 - !text
193 font: Helvetica
194 fontSize: 30
195 align: right
196 text: '${mapTitle}'
197 items:
198 - !map
199 spacingAfter: 30
200 width: 1760
201 height: 1932
202 - !scalebar
203 type: bar
204 maxSize: 100
205 barBgColor: white
206 fontSize: 8
207 align: right
208 - !text
209 text: '${comment}'
210 spacingAfter: 30
211 - !text
212 font: Helvetica
213 fontSize: 9
214 align: right
215 text: '1:${scale} ${now MM.dd.yyyy}'
216 - !legends
217 align: left
218 maxIconWidth: 32
219 maxIconHeight: 32
220 footer: *commonFooter

http://dive4elements.wald.intevation.org