comparison flys-artifacts/ChangeLog @ 3938:c0cab28ba1ea

merged flys-artifacts
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:15:03 +0200
parents c254939fae52
children 7391c79669f3
comparison
equal deleted inserted replaced
3865:436eec3be6ff 3938:c0cab28ba1ea
1 2012-09-29 Björn Ricks <bjoern.ricks@intevation.de>
2
3 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
4 Also add the artifact name to the artifact description.
5
6 2012-09-29 Björn Ricks <bjoern.ricks@intevation.de>
7
8 * doc/conf/conf.xml,
9 src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java,
10 src/main/java/de/intevation/flys/artifacts/AbstractStaticStateArtifact.java,
11 src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeCurveFacet.java:
12 Implement new Artifacts and State for displaying discharge curves at a
13 gauge.
14
15 2012-09-29 Björn Ricks <bjoern.ricks@intevation.de>
16
17 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
18 Make addOuput public. Allow StaticArtifacts to add static outputs to the
19 state.
20
21 2012-09-29 Björn Ricks <bjoern.ricks@intevation.de>
22
23 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
24 Add protected method addFacets to allow child classes to add facets
25 without accessing the member variable.
26
27 2012-09-28 Ingo Weinzierl <ingo@intevation.de>
28
29 * doc/conf/meta-data.xml: Added 'info' column to the dem section of the
30 datacage.
31
32 2012-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
33
34 Work on issue724 (i18n in minfo).
35
36 * src/main/resources/messages.properties,
37 src/main/resources/messages_de_DE.properties,
38 src/main/resources/messages_en.properties,
39 src/main/resources/messages_de.properties:
40 i18n strings.
41
42 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
43
44 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
45 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
46 Whitespace-cosmetics.
47
48 * src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java:
49 Doc.
50
51 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
52
53 Work on issue724 (i18n in minfo).
54
55 * src/main/resources/messages.properties,
56 src/main/resources/messages_de_DE.properties,
57 src/main/resources/messages_en.properties,
58 src/main/resources/messages_de.properties:
59 i18n strings.
60
61 * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java:
62 Fix typo.
63
64 2012-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
65
66 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
67 Removed invalid entries of the SQL projection.
68
69 2012-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
70
71 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java,
72 Added more data fields from SedDB to calculate the fraction parts.
73
74 src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
75 Have now previous and next Measurement attached.
76
77 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
78
79 Fix part of issue871 (selected flow-veloc- parameter shown wrong).
80
81 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
82 Fix conditional.
83
84 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
85
86 Fix issue863 (gaps in middle height bed data).
87
88 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
89 Handle missing data.
90
91 2012-09-27 Ingo Weinzierl <ingo@intevation.de>
92
93 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Set
94 missing 'originalExtent' attribute of the WSPLGEN layer.
95
96 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
97
98 Towards fix issue863 (gaps in middle height bed data).
99
100 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java
101 (addAll): Do not expose single add*-Methods, instead always add a full
102 set of data.
103 Added new isEmpty-data and query it before exporting data as
104 double[][] to e.g. ChartGenerator.
105
106 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
107 Do not use single add()*-Methods, instead call new addAll method.
108 Find out whether a gap-value is present.
109
110 * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java:
111 Prevent skipping of NaNs (gaps).
112
113 2012-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
114
115 * src/main/java/de/intevation/flys/artifacts/model/map/WMSLayerFacet.java,
116 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
117 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
118 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
119 Removed trailing whitespace.
120
121 2012-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
122
123 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java
124 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
125 Add more symbols.
126
127 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
128 Adjust symbols.
129
130 2012-09-26 Björn Ricks <bjoern.ricks@intevation.de>
131
132 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
133 Change createOutputModes method to be private. It is not used in a child
134 class.
135
136 2012-09-26 Björn Ricks <bjoern.ricks@intevation.de>
137
138 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
139 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
140 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
141 Mark FLYSArtifact data member as private and add setter method.
142
143 2012-09-26 Christian Lins <christian.lins@intevation.de>
144
145 * doc/conf/second-themes.xml,
146 doc/conf/default-themes.xml:
147 Enable line labels for Delta W/t sector average lines (#896).
148
149 2012-09-26 Ingo Weinzierl <ingo@intevation.de>
150
151 * doc/conf/mapserver/db_layer.vm: Set initial projection of the database
152 to "epsg:31467".
153
154 * doc/conf/mapserver/mapfile.vm: Set initial projection of the database to
155 "epsg:31467". Set the max extent to the extent of the river Saar.
156
157 TODO: Set the max extent to the extent of germany!
158
159 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
160 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
161 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
162 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
163 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
164 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
165 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
166 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
167 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
168 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
169 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
170 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
171 src/main/java/de/intevation/flys/artifacts/MapArtifact.java,
172 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
173 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
174 Added a parameter "reproject" to the getExtent() method. If reproject is
175 set, the method should return the extent of the layer in the projection
176 that is specified for the relevant river in the configuration.
177 Otherwise, this method should return the extent in the projection that
178 is used by the database.
179
180 * src/main/java/de/intevation/flys/artifacts/model/map/WMSLayerFacet.java:
181 Added new attributes and methods for the original extent of a layer. The
182 original extent is used in the XML document that is generated by
183 toXML().
184
185 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Use the
186 getOriginalExtent() method of WMSLayerFacet to determine the max extent
187 for the map (maps should be in the river projection specified in the
188 configuration).
189
190 2012-09-26 Christian Lins <christian.lins@intevation.de>
191
192 * doc/conf/artifacts/fixanalysis.xml,
193 doc/conf/artifacts/manualpoints.xml,
194 doc/conf/themes.xml,
195 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
196 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
197 src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java,
198 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
199 Rename fix_derivate facet to enable manual points in the derived curve chart.
200
201 2012-09-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
202
203 * doc/conf/artifacts/manualpoints.xml: Re-enable manualpoints
204 compatibility.
205
206 2012-09-24 Christian Lins <christian.lins@intevation.de>
207
208 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
209 Fix for #825 ?
210
211 2012-09-24 Raimund Renkert <raimund.renkert@intevation.de>
212
213 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadOverview.java:
214 Fixed SQL statement. Exclude data where km is null.
215
216 2012-09-24 Christian Lins <christian.lins@intevation.de>
217
218 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
219 Fixing analysis longitudinal section chart has now initially
220 deactivated A1/B facets. W/Q and W(t) has activated facets. (#874)
221
222 2012-09-24 Björn Ricks <bjoern.ricks@intevation.de>
223
224 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
225 Remove info-url from gauge and river in the response and add official
226 number to the river.
227
228 2012-09-23 Christian Lins <christian.lins@intevation.de>
229
230 * doc/conf/default-themes.xml,
231 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
232 W(Q) chart: q sectors are now black and labeled by default (#875).
233
234 2012-09-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
235
236 * src/main/java/de/intevation/flys/artifacts/services/GaugeInfoService.java:
237 Cosmetics.
238
239 2012-09-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
240
241 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
242 Removed trailing whitespace.
243
244 2012-09-23 Christian Lins <christian.lins@intevation.de>
245
246 * doc/conf/second-themes.xml,
247 doc/conf/default-themes.xml,
248 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
249 Themes and i18n of Delta W/t's A1/B facets (#876).
250
251 2012-09-23 Christian Lins <christian.lins@intevation.de>
252
253 * doc/conf/artifacts/fixanalysis.xml,
254 doc/conf/themes.xml,
255 doc/conf/second-themes.xml,
256 doc/conf/default-themes.xml,
257 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
258 src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java,
259 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
260 Add reference period facet to delta W/t chart (#877).
261
262 2012-09-22 Christian Lins <christian.lins@intevation.de>
263
264 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java,
265 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
266 Longitudinal section chart does now respect the bounds of the drawn
267 areas, so that no clipping occurs (#878).
268
269 * src/main/resources/messages.properties,
270 src/main/resources/messages_de_DE.properties,
271 src/main/resources/messages_en.properties,
272 src/main/resources/messages_de.properties:
273 i18n corrections.
274
275 2012-09-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
276
277 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
278 src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
279 Cosmetics, doc.
280
281 2012-09-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
282
283 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
284 Prevent ArrayIndexOutOfBounds.
285
286 2012-09-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
287
288 Document issue880 (extrapolation of wkms).
289
290 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
291 Do not extrapolate, mention further issues with the code.
292
293 2012-09-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
294
295 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffYearResult.java,
296 src/main/java/de/intevation/flys/artifacts/states/minfo/DifferencesState.java,
297 src/main/java/de/intevation/flys/exports/minfo/BedDifferenceEpochGenerator.java,
298 src/main/java/de/intevation/flys/exports/minfo/BedDifferenceYearGenerator.java:
299 Removed trailing whitespace.
300
301 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de>
302
303 * src/main/resources/messages.properties,
304 src/main/resources/messages_de_DE.properties,
305 src/main/resources/messages_en.properties,
306 src/main/resources/messages_de.properties:
307 Added i18n strings for bedheight difference charts.
308
309 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de>
310
311 * doc/conf/themes.xml,
312 doc/conf/second-themes.xml,
313 doc/conf/default-themes.xml:
314 Added themes for bedheight difference charts.
315
316 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de>
317
318 * doc/conf/meta-data.xml:
319 Add river annotations to bedheight difference charts.
320
321 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de>
322
323 * src/main/java/de/intevation/flys/exports/minfo/BedDiffHeightYearInfoGenerator.java,
324 src/main/java/de/intevation/flys/exports/minfo/BedDiffHeightYearGenerator.java,
325 src/main/java/de/intevation/flys/exports/minfo/BedDiffEpochInfoGenerator.java,
326 src/main/java/de/intevation/flys/exports/minfo/BedDiffYearInfoGenerator.java,
327 src/main/java/de/intevation/flys/exports/minfo/BedDifferenceEpochGenerator.java,
328 src/main/java/de/intevation/flys/exports/minfo/BedDifferenceYearGenerator.java:
329 New. Chart generators for bedheight diff calculation charts.
330
331 * src/main/java/de/intevation/flys/artifacts/states/minfo/DifferencesState.java:
332 Add facets to generate outputs.
333
334 * src/main/java/de/intevation/flys/artifacts/access/BedDifferencesAccess.java:
335 Extract calculation relevant data.
336
337 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDifferencesResult.java,
338 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffYearResult.java,
339 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffEpochResult.java:
340 Updated result set data fields.
341
342 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffCalculation.java:
343 Updated the bedheight difference calculation.
344
345 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
346 Added new facet types.
347
348 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffEpochFacet.java,
349 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffYearFacet.java:
350 New facets for bedheight differences.
351
352 * doc/conf/conf.xml:
353 Added ouput generators.
354
355 * doc/conf/artifacts/minfo.xml:
356 Added facets to outputmodes.
357
358 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de>
359
360 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeight.java,
361 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightSingle.java,
362 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightEpoch.java,
363 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFactory.java:
364 Updated data fields to fit the needs of bedheight difference calculation.
365
366 2012-09-21 Björn Ricks <bjoern.ricks@intevation.de>
367
368 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
369 Return also the gauge official number in a service response.
370
371 2012-09-21 Björn Ricks <bjoern.ricks@intevation.de>
372
373 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
374 Use Gauge and River fetchInfoURL instead of getInfoURL until the URLs are
375 fetched from the db.
376
377 2012-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
378
379 Fix issue887 (HYKs in New Chart).
380
381 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
382 Lower the Casting requirement to FLYSArtifact instead of
383 WINFOArtifact.
384
385 2012-09-21 Björn Ricks <bjoern.ricks@intevation.de>
386
387 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
388 Return also the gauge and river info-url in a service response.
389
390 2012-09-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
391
392 Fix issue886 (do not show waterline if out of range).
393
394 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
395 Do not extrapolate waterlines.
396
397 2012-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
398
399 Better Partial issue880 (diverse DC).
400
401 * doc/conf/meta-data.xml: Remove double entry for annotations in
402 longitudinal section case but keep recommending it.
403
404 2012-09-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
405
406 Partial issue880 (diverse DC).
407
408 * doc/conf/meta-data.xml: Remove double entry for annotations in
409 longitudinal section case.
410
411 2012-09-20 Christian Lins <christian.lins@intevation.de>
412
413 * doc/conf/second-themes.xml,
414 doc/conf/default-themes.xml,
415 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
416 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
417 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
418 Theme area transparency fixed for longitudinal section chart (#879).
419
420 2012-09-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
421
422 Improvements for manual points in fixation diags.
423
424 * doc/conf/artifacts/fixanalysis.xml: Add LS-manual points.
425
426 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
427 Add missing ChartTypes.
428
429 2012-09-20 Raimund Renkert <raimund.renkert@intevation.de>
430
431 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffCalculation.java:
432 New. Calcuation for bed height differences.
433
434 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDifferencesResult.java,
435 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffEpochResult.java,
436 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffYearResult.java:
437 New. Bed height calculation results.
438
439 * src/main/java/de/intevation/flys/artifacts/access/BedDifferencesAccess.java:
440 New. Access object to get bed height difference parameters from artifact.
441
442 2012-09-20 Raimund Renkert <raimund.renkert@intevation.de>
443
444 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFactory.java:
445 Create separate objects for bed height epochs and single bed heights.
446
447 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeight.java:
448 Added morph. width.
449
450 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightEpoch.java,
451 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightSingle.java:
452 New. Separate classes for bed height epochs and single bed heights.
453
454 2012-09-20 Raimund Renkert <raimund.renkert@intevation.de>
455
456 * src/main/java/de/intevation/flys/exports/minfo/BedQualityExporter.java:
457 Add dates to csv header.
458
459 2012-09-20 Raimund Renkert <raimund.renkert@intevation.de>
460
461 * src/main/resources/messages.properties,
462 src/main/resources/messages_de_DE.properties,
463 src/main/resources/messages_en.properties,
464 src/main/resources/messages_de.properties:
465 Added i18n string for bed quality CSV export.
466
467 2012-09-20 Christian Lins <christian.lins@intevation.de>
468
469 * doc/conf/artifacts/fixanalysis.xml,
470 doc/conf/artifacts/manualpoints.xml,
471 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
472 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
473 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
474 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
475 Work on manual points in fix analysis charts (not yet working).
476
477 2012-09-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
478
479 * src/main/java/de/intevation/flys/exports/minfo/BedQualityExporter.java:
480 Removed superfluous imports.
481
482 2012-09-19 Raimund Renkert <raimund.renkert@intevation.de>
483
484 * src/main/java/de/intevation/flys/exports/minfo/BedQualityExporter.java:
485 New. CSV exporter for bed quality calculation result.
486
487 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterResult.java,
488 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiameterResult.java,
489 src/main/java/de/intevation/flys/artifacts/model/minfo/BedParametersResult.java:
490 Added getter with km as parameter.
491
492 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
493 Added facet for csv export.
494
495 * doc/conf/artifacts/minfo.xml:
496 Added output mode.
497
498 * doc/conf/conf.xml:
499 Added export generator.
500
501 2012-09-19 Björn Ricks <bjoern.ricks@intevation.de>
502
503 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
504 Return also the station in a service response.
505
506 2012-09-18 Christian Lins <christian.lins@intevation.de>
507
508 * src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java:
509 Cosmetics.
510
511 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
512 A and B facets of fix analysis are now deactivated by default (#717).
513
514 2012-09-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
515
516 * src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeCalculation.java:
517 Extract parameters needed for calculation from access.
518
519 * src/main/java/de/intevation/flys/utils/DoubleUtil.java(isValid):
520 Added method to check if 2d double array is valid.
521
522 2012-09-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
523
524 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java,
525 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java,
526 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
527 Use generics aware Collections.emptyList().
528
529 2012-09-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
530
531 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java,
532 src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java,
533 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
534 src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java,
535 src/main/java/de/intevation/flys/exports/OutputHelper.java,
536 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
537 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
538 src/main/java/de/intevation/flys/themes/ThemeMapping.java,
539 src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
540 The usual whitespace and import cleanups.
541
542 2012-09-18 Raimund Renkert <raimund.renkert@intevation.de>
543
544 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurementFactory.java:
545 Avoid loading empty data sets.
546
547 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java:
548 Load bedload data sets...
549
550 2012-09-18 Raimund Renkert <raimund.renkert@intevation.de>
551
552 * src/main/java/de/intevation/flys/artifacts/states/minfo/CharDiameter.java:
553 Removed incorrect characteristic diameter.
554
555 2012-09-18 Christian Lins <christian.lins@intevation.de>
556
557 * doc/conf/default-themes.xml:
558 Update point themes of fixing W/Q chart to show point descriptions
559 per default (#685).
560
561 2012-09-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
562
563 i18n for area label (fix issue487).
564
565 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java,
566 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
567 Get internationalized label and numberformat, pass it to renderer,
568 where its used.
569
570 * src/main/resources/messages.properties,
571 src/main/resources/messages_de_DE.properties,
572 src/main/resources/messages_en.properties,
573 src/main/resources/messages_de.properties: Area label translations.
574
575 2012-09-18 Christian Lins <christian.lins@intevation.de>
576
577 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java,
578 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
579 Add robustness checks to prevent NPEs (#859).
580
581 2012-09-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
582
583 Brought showarea-theme setting back (fix issue865).
584
585 * doc/conf/default-themes.xml, doc/conf/second-themes.xml:
586 Define showarea theme prop where its needed.
587
588 2012-09-17 Raimund Renkert <raimund.renkert@intevation.de>
589
590 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java:
591 Added setter for date range.
592
593 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java
594 Set correct date range for result.
595
596 2012-09-17 Raimund Renkert <raimund.renkert@intevation.de>
597
598 Refactor MINFO bed quality resultsets and facets.
599
600 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedLoadBedQualityResult.java,
601 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedBedQualityResult.java:
602 Removed.
603
604 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java:
605 Container wrapping the single calculation results.
606
607 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiameterResult.java,
608 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterResult.java,
609 src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityDiameterResult.java,
610 src/main/java/de/intevation/flys/artifacts/model/minfo/BedParametersResult.java:
611 New. Results containing calculated average diameter, porosity and density.
612
613 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedPorosityFacet.java,
614 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterFacet.java,
615 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiameterFacet.java,
616 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDensityFacet.java:
617 Facets now return the concrete datatype using the facet index.
618
619 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
620 Create a facet for each resultset.
621
622 * src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java:
623 Use the classes containing the results.
624
625 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java:
626 Use new classes for results and calculate porosity and density once
627 each period.
628
629 2012-09-17 Ingo Weinzierl <ingo@intevation.de>
630
631 Tagged RELEASE 2.9.1
632
633 2012-09-17 Ingo Weinzierl <ingo@intevation.de>
634
635 * src/main/resources/messages.properties,
636 src/main/resources/messages_de_DE.properties,
637 src/main/resources/messages_en.properties,
638 src/main/resources/messages_de.properties: Added still missing
639 translations for state.
640
641 2012-09-17 Ingo Weinzierl <ingo@intevation.de>
642
643 * src/main/resources/messages.properties,
644 src/main/resources/messages_de_DE.properties,
645 src/main/resources/messages_en.properties,
646 src/main/resources/messages_de.properties: Added missing translations
647 for state to select soundings.
648
649 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
650 Added more debug output to find out how many single and epochs where
651 found.
652
653 2012-09-17 Ingo Weinzierl <ingo@intevation.de>
654
655 * doc/conf/second-themes.xml,
656 doc/conf/default-themes.xml: Defined initial colors.
657
658 * src/main/java/de/intevation/flys/exports/OutputHelper.java,
659 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
660 src/main/java/de/intevation/flys/themes/ThemeMapping.java: Added more
661 debug output to understand why theme mappings don't match to facets.
662
663 2012-09-17 Raimund Renkert <raimund.renkert@intevation.de>
664
665 * src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java:
666 Extract characteristic diameter only if the user selected a diameter.
667
668 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java:
669 Calculate for selected diameter only.
670
671 2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
672
673 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
674 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
675 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadOverview.java,
676 src/main/java/de/intevation/flys/artifacts/model/SQOverview.java,
677 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
678 src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
679 Fixed wrong assigned loggers.
680
681 2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
682
683 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java:
684 Please _DO NOT_ use FLYSUtils in new code based on Access*!
685 Now the river name is fetch via access.getRiver().
686
687 * src/main/java/de/intevation/flys/artifacts/access/RiverAccess.java:
688 New. Almost all calculations need accessing the river name.
689
690 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java,
691 src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java,
692 src/main/java/de/intevation/flys/artifacts/access/FixAccess.java,
693 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
694 src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java:
695 Now extend RiverAccess.
696
697 2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
698
699 * src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java:
700 Implemented the access methods needed for
701 "Auslagerung extremer Wasserspiegellagen".
702
703 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
704 Move segment parsing to DoubleUtil to be usable with more data types.
705 The wire protocol should be the same for:
706 - "WINFO: W fuer ungleichwertige Abfluesse",
707 - "WINFO: Auslagerung extremer Wasserspiegellagen"
708 - "Fixierungsanalyse: Auslagerung von Wasserspiegellagen"
709
710 * src/main/java/de/intevation/flys/utils/DoubleUtil.java:
711 Now contains the the code to parse segments. Found segments
712 are propagated back with a callback.
713
714 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java:
715 Added toString() method.
716
717 2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
718
719 More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
720
721 * src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeCalculation.java:
722 New. Stub for "Auslagerung extremer Wasserspiegellagen" calculation.
723
724 * src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeResult.java:
725 New. Stub for the cacheable results of the calculation.
726
727 * src/main/java/de/intevation/flys/artifacts/states/extreme/ExtremeCompute.java:
728 New. Stub compute state for the calculation.
729
730 * src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java:
731 New. Sub access to the artifact to extract the relevant data.
732
733 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
734 A little code reordering to keep related stuff together more closely.
735
736 2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
737
738 * src/main/java/de/intevation/flys/artifacts/BedHeightsArtifact.java,
739 src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
740 src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java,
741 src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java,
742 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
743 Removed some superfluous implementations of FacetTypes.
744 TODO: FacetTypes should be broken into smaller pieces.
745 ATM a lof of class implement it and share a lot of unnecessary
746 stuff.
747
748 2012-09-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
749
750 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
751 src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
752 Deleted. Some nice code from the early days of the cross sections
753 but its unused nowadays.
754
755 2012-09-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
756
757 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedBedQualityResult.java:
758 Removed superfluous imports.
759
760 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java,
761 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiameterFacet.java,
762 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterFacet.java,
763 src/main/java/de/intevation/flys/artifacts/model/minfo/BedLoadBedQualityResult.java,
764 src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java,
765 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDensityFacet.java,
766 src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java,
767 src/main/java/de/intevation/flys/artifacts/model/minfo/BedPorosityFacet.java,
768 src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java,
769 src/main/java/de/intevation/flys/exports/minfo/BedQualityInfoGenerator.java,
770 src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java:
771 Removed trailing whitespace.
772
773 2012-09-15 Christian Lins <christian.lins@intevation.de>
774
775 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java,
776 src/main/java/de/intevation/flys/utils/Formatter.java,
777 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
778 i18n messages are now formatted with correct (client) locale, not
779 server VM locale (#852)..
780
781 2012-09-15 Christian Lins <christian.lins@intevation.de>
782
783 * doc/conf/artifacts/fixanalysis.xml,
784 doc/conf/artifacts/manualpoints.xml,
785 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
786 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
787 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
788 Try to add support for ManualPoints in fixing charts (not working yet).
789
790 2012-09-14 Raimund Renkert <raimund.renkert@intevation.de>
791
792 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurementFactory.java:
793 Fixed SQL-statement.
794
795 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurements.java:
796 Added getter for all kms.
797
798 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java:
799 Implemented the bed quality calculation. There are still some fixes to do,
800 e.g. extract a single result object for porosity and density.
801
802 2012-09-14 Raimund Renkert <raimund.renkert@intevation.de>
803
804 * src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java:
805 Getter for characteristic diameter.
806
807 2012-09-14 Ingo Weinzierl <ingo@intevation.de>
808
809 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
810 Create i18n facet descriptions.
811
812 * src/main/resources/messages.properties,
813 src/main/resources/messages_de_DE.properties,
814 src/main/resources/messages_en.properties,
815 src/main/resources/messages_de.properties: New i18n strings for facets
816 in bed quality calculation.
817
818 2012-09-14 Ingo Weinzierl <ingo@intevation.de>
819
820 * doc/conf/artifacts/minfo.xml: Splitted facets for diameter of bed into
821 two facets: diameter for sublayer and toplayer.
822
823 * doc/conf/themes.xml,
824 doc/conf/second-themes.xml,
825 doc/conf/default-themes.xml: Splitted themes for diameter of bed into
826 two themes.
827
828 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
829 Splitted facets for diameter of bed into two facets.
830
831 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java:
832 New method to retrieve the diameter data.
833
834 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedBedQualityResult.java:
835 New methods to retrieve the porosity, density and diameter data.
836
837 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
838 Create two facets for bed diameter instead of a single one.
839
840 * src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java:
841 Insert data supported by facets into chart.
842
843 2012-09-14 Ingo Weinzierl <ingo@intevation.de>
844
845 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java: Added function to
846 generate a randomized line.
847
848 2012-09-14 Ingo Weinzierl <ingo@intevation.de>
849
850 * doc/conf/themes.xml: Defined new mappings for the six bed quality
851 facets.
852
853 * doc/conf/second-themes.xml,
854 doc/conf/default-themes.xml: Added themes for new mappings in
855 themes.xml. The themes in second-themes are the same as in
856 default-themss.
857
858 2012-09-14 Raimund Renkert <raimund.renkert@intevation.de>
859
860 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java,
861 src/main/java/de/intevation/flys/artifacts/model/minfo/BedBedQualityResult.java,
862 src/main/java/de/intevation/flys/artifacts/model/minfo/BedLoadBedQualityResult.java:
863 Updated bed quality result objects.
864
865 2012-09-14 Ingo Weinzierl <ingo@intevation.de>
866
867 * doc/conf/artifacts/minfo.xml: Splitted porosity and density facets into
868 two facets: a toplayer and a sublayer facet for each.
869
870 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
871 the new facets for toplayer and sublayer for porosity and density.
872
873 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
874 Create Facets based on the calculation results.
875
876 * src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java:
877 Use concrete result types in doXXXOut().
878
879 2012-09-13 Christian Lins <christian.lins@intevation.de>
880
881 * doc/conf/artifacts/fixanalysis.xml,
882 doc/conf/themes.xml,
883 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
884 src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
885 Work on ManualPoints integration in fix analysis charts (wip).
886
887 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
888 Fix missing import.
889
890 2012-09-13 Raimund Renkert <raimund.renkert@intevation.de>
891
892 * src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java:
893 Added getter for calculation parameters.
894
895 * src/main/java/de/intevation/flys/artifacts/model/BedQualityCalculation.java:
896 Removed. Moved to package de.intevation.flys.artifacts.model.minfo.
897
898 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java,
899 src/main/java/de/intevation/flys/artifacts/model/minfo/BedLoadBedQualityResult.java,
900 src/main/java/de/intevation/flys/artifacts/model/minfo/BedBedQualityResult.java,
901 src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java:
902 New. Calculation results and some more calculation stub.
903
904 2012-09-13 Ingo Weinzierl <ingo@intevation.de>
905
906 * doc/conf/artifacts/minfo.xml,
907 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
908 src/main/java/de/intevation/flys/artifacts/states/DischargeState.java,
909 src/main/resources/messages.properties,
910 src/main/resources/messages_de_DE.properties,
911 src/main/resources/messages_en.properties,
912 src/main/resources/messages_de.properties: Renamed MINFO parameter
913 'main.channel' -> 'main_channel' and 'total.channel' -> 'total_channel'.
914
915 2012-09-13 Raimund Renkert <raimund.renkert@intevation.de>
916
917 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurementFactory.java,
918 src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurement.java:
919 Added depth parameter to bed quality data.
920
921 2012-09-13 Ingo Weinzierl <ingo@intevation.de>
922
923 * doc/conf/conf.xml: Registered new OutGenerators BedQualityGenerator and
924 BedQualityInfoGenerator.
925
926 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedPorosityFacet.java,
927 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiameterFacet.java,
928 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterFacet.java,
929 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDensityFacet.java:
930 New Facets for serving data for bed quality exports/charts.
931
932 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
933 Add some dummy Facets to force chart creation.
934
935 * src/main/java/de/intevation/flys/exports/minfo/BedQualityInfoGenerator.java,
936 src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java:
937 New OutGenerators for bed quality charts.
938
939 * src/main/resources/messages.properties,
940 src/main/resources/messages_de_DE.properties,
941 src/main/resources/messages_en.properties,
942 src/main/resources/messages_de.properties: New I18N strings for bed
943 quality charts.
944
945 2012-09-13 Raimund Renkert <raimund.renkert@intevation.de>
946
947 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurementFactory.java:
948 The factory can load bedload and bed data from seddb now.
949
950 2012-09-13 Raimund Renkert <raimund.renkert@intevation.de>
951
952 Objects and factory for minfo bedquality calculation data.
953
954 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurementFactory.java,
955 src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurements.java,
956 src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurement.java:
957 New. Data objects and factory for minfo bed quality calculation.
958
959 2012-09-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
960
961 Added missing images for datacage config manual doc.
962
963 * doc/datacage-config-manual/figures/bsh_logo.png,
964 doc/datacage-config-manual/figures/intevation-logo.eps,
965 doc/datacage-config-manual/figures/intevation-logo.pdf:
966 Logos for DC conf doc.
967
968 2012-09-13 Björn Ricks <bjoern.ricks@intevation.de>
969
970 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
971 Add also min and max q values to the river info.
972
973 2012-09-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
974
975 * src/main/java/de/intevation/flys/artifacts/services/BedloadKMChartService.java,
976 src/main/java/de/intevation/flys/artifacts/services/BedKMChartService.java:
977 Removed trailing whitespace.
978
979 2012-09-12 Raimund Renkert <raimund.renkert@intevation.de>
980
981 * src/main/java/de/intevation/flys/artifacts/services/BedloadKMChartService.java,
982 src/main/java/de/intevation/flys/artifacts/services/BedKMChartService.java,
983 src/main/java/de/intevation/flys/artifacts/model/minfo/BedOverview.java,
984 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadOverview.java,
985 src/main/java/de/intevation/flys/artifacts/model/minfo/BedOverviewFactory.java,
986 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadOverviewFactory.java:
987 New. Services, data structures and factories for overview charts in minfo
988 bed quality calculation.
989
990 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityPeriodsSelect.java:
991 New. State for period input in minfo bed quality that displays the overview
992 charts.
993
994 * doc/conf/artifacts/minfo.xml:
995 Added states and transitions for minfo bed quality calculation.
996
997 * doc/conf/conf.xml:
998 Added services.
999
1000 2012-09-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1001
1002 * src/main/java/de/intevation/flys/artifacts/model/BedQualityCalculation.java,
1003 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
1004 src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java,
1005 src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1006 Removed trailing whitespace.
1007
1008 2012-09-12 Ingo Weinzierl <ingo@intevation.de>
1009
1010 * doc/conf/artifacts/minfo.xml: Defined facets for bed quality chart.
1011
1012 * src/main/java/de/intevation/flys/artifacts/model/BedQualityCalculation.java:
1013 Calculation stub for bed quality.
1014
1015 * src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java:
1016 Access stub for bed quality data.
1017
1018 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
1019 facets defined in minfo.xml.
1020
1021 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1022 Override computeAdvance; no calculation and facet creation takes place
1023 yet.
1024
1025 2012-09-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1026
1027 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
1028 Made AEo and datum attributes NPE proof.
1029
1030 2012-09-11 Björn Ricks <bjoern.ricks@intevation.de>
1031
1032 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
1033 Use getGaugeValue method also for aeo and datum. Also add some javadoc for
1034 the getGaugeValue method.
1035
1036 2012-09-11 Christian Lins <christian.lins@intevation.de>
1037
1038 * doc/conf/second-themes.xml,
1039 doc/conf/default-themes.xml,
1040 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1041 Fix for line text annotations in Delta W(t) charts (#837).
1042
1043 2012-09-10 Christian Lins <christian.lins@intevation.de>
1044
1045 * src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
1046 Add additional check to prevent NPE (fix for #844)
1047
1048 2012-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1049
1050 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java:
1051 Extends Range now.
1052
1053 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
1054 Adjusted to use slightly different method names of Range.
1055
1056 2012-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1057
1058 * src/main/java/de/intevation/flys/artifacts/model/Range.java:
1059 Added disjoint method.
1060
1061 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
1062 Find a list of segments intersecting a given range.
1063
1064 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1065 Generate a list of ranges needed for the input of Qs
1066 in the "Auslagerung extremer Wasserspiegellagen.".
1067
1068 2012-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1069
1070 * src/main/java/de/intevation/flys/artifacts/model/extreme/Curve.java:
1071 Added type safety.
1072
1073 2012-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1074
1075 * pom.xml: Java 1.5 -> 1.6
1076
1077 2012-09-10 Christian Lins <christian.lins@intevation.de>
1078
1079 * doc/conf/second-themes.xml,
1080 doc/conf/default-themes.xml:
1081 Remove unnecessary attributes for fixation derived curve (#836).
1082
1083 2012-09-10 Björn Ricks <bjoern.ricks@intevation.de>
1084
1085 * doc/conf/conf.xml,
1086 src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
1087 Add new artifact service for the gauge overview
1088
1089 2012-09-09 Christian Lins <christian.lins@intevation.de>
1090
1091 * doc/conf/second-themes.xml,
1092 doc/conf/default-themes.xml,
1093 doc/conf/virtual-themes.xml,
1094 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1095 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
1096 Theme transparency attribute support (part of #840).
1097
1098 2012-09-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1099
1100 * src/main/java/de/intevation/flys/artifacts/model/extreme/Curve.java:
1101 Store Ws and Qs in double arrays instead of WQ objects (as
1102 they are return from WstValueTable.interpolateTabular()).
1103 This simplifies the code and should be more memory effective.
1104
1105 2012-09-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1106
1107 * src/main/java/de/intevation/flys/artifacts/math/Linear.java:
1108 Added a vectorwise weighting.
1109
1110 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1111 Added methods to interpolate tabulated values only.
1112 Need in "Auslagerung extremer Wasserspiegellagen".
1113
1114 2012-09-09 Christian Lins <christian.lins@intevation.de>
1115
1116 * doc/conf/second-themes.xml,
1117 doc/conf/default-themes.xml,
1118 doc/conf/virtual-themes.xml:
1119 Updating themes for issue #840 (wip).
1120
1121 2012-09-09 Christian Lins <christian.lins@intevation.de>
1122
1123 * doc/conf/second-themes.xml:
1124 Modify every theme to differ from default theme (#835).
1125
1126 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
1127 Use gauge.getMainValues() instead of gauge.fetchMainValues() which fixes
1128 a compiling issue on my setup.
1129
1130 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1131
1132 Some models for representing results for the upcoming
1133 "Auslagerung extremer Wasserspiegellagen". Work im progress.
1134
1135 * src/main/java/de/intevation/flys/artifacts/math/NaNFunction.java:
1136 New. Function always return NaNs.
1137
1138 * src/main/java/de/intevation/flys/artifacts/math/UnivariateRealFunctionFunction.java:
1139 New. Adapter to bridge between our Functions and UnivariateRealFunctions
1140 of Apache Common Math.
1141
1142 * src/main/java/de/intevation/flys/artifacts/model/extreme/Curve.java:
1143 New. Part of the result model of "Auslagerung extremer Wasserspiegellagen".
1144 Its a function for a given km that uses a spline interpolation
1145 for the tabulated Q range (which is effectively the same as the
1146 calculated discharge curve for this km) and an extrapolated
1147 function beyond the tabulated values.
1148
1149 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1150
1151 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
1152 src/main/java/de/intevation/flys/themes/DefaultTheme.java:
1153 More iterator code simplification.
1154
1155 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1156
1157 * src/main/java/de/intevation/flys/themes/DefaultThemeField.java:
1158 Simplified code.
1159
1160 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1161
1162 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
1163 Simplified code.
1164
1165 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java:
1166 Improved robustness and performance.
1167 Only expose date events as Collections not TreeSets.
1168
1169 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1170
1171 * src/main/java/de/intevation/flys/artifacts/model/QW.java:
1172 New. a pure model for discharge and waterlevel. No extras.
1173
1174 Makes reuse in upcoming "Auslagerung extremer Wasserspiegellagen"
1175 a lot easier.
1176
1177 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java:
1178 Removed.
1179
1180 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWI.java:
1181 Re-inserted here. Extends the new QW and adds all the extra bells
1182 and whistles needed in the fixings analysis.
1183
1184 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java,
1185 src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java,
1186 src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java,
1187 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
1188 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
1189 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java,
1190 src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingResult.java,
1191 src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java,
1192 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
1193 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1194 Adjusted QW to QWI.
1195
1196 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1197
1198 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java;
1199 Removed because code is found in backend already.
1200
1201 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
1202 Simplified. Please _DO_NOT_ use NullPointerExceptions for regular flow control!
1203 This hides unintended errors.
1204
1205 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1206
1207 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java,
1208 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1209 Removed code duplication.
1210
1211 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1212
1213 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1214 Removed trailing whitespace.
1215
1216 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1217
1218 * src/main/java/de/intevation/flys/artifacts/states/minfo/CharDiameter.java:
1219 Removed superfluous imports.
1220
1221 2012-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1222
1223 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java,
1224 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
1225 src/main/java/de/intevation/flys/artifacts/ChartArtifact.java,
1226 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
1227 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1228 src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java,
1229 src/main/java/de/intevation/flys/exports/fixings/FixATExport.java,
1230 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1231 src/main/java/de/intevation/flys/exports/TypeSection.java,
1232 src/main/java/de/intevation/flys/jfree/DoubleBounds.java,
1233 src/main/java/de/intevation/flys/jfree/Bounds.java:
1234 Cosmetics, docs.
1235
1236 2012-09-07 Raimund Renkert <raimund.renkert@intevation.de>
1237
1238 * doc/conf/artifacts/minfo.xml:
1239 Add data fields for characteristic bed and bedload diameter.
1240
1241 * src/main/java/de/intevation/flys/artifacts/states/minfo/CharDiameter.java:
1242 Use parametermatrix as UI provider and set the correct data.
1243
1244 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
1245 src/main/java/de/intevation/flys/artifacts/states/MultiStringArrayState.java:
1246 Updated method parameter.
1247
1248 * src/main/resources/messages.properties,
1249 src/main/resources/messages_de_DE.properties,
1250 src/main/resources/messages_en.properties,
1251 src/main/resources/messages_de.properties:
1252 Added i18n strings.
1253
1254 2012-09-07 Raimund Renkert <raimund.renkert@intevation.de>
1255
1256 Issue 791.
1257
1258 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
1259 Add start km to data to compare reference and target km in next state.
1260
1261 2012-09-07 Ingo Weinzierl <ingo@intevation.de>
1262
1263 Tagged RELEASE 2.9
1264
1265 2012-09-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1266
1267 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
1268 src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
1269 Removed superfluous imports.
1270
1271 2012-09-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1272
1273 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
1274 Removed the deprecated method.
1275
1276 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1277 Call the new Gauge model method fetchDurationCurveData().
1278
1279 2012-09-06 Björn Ricks <bjoern.ricks@intevation.de>
1280
1281 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
1282 Mark getDurationCurveData as deprecated. The instance method of Gauge with
1283 the same name should be used instead.
1284
1285 2012-09-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1286
1287 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
1288 Revert accidentally committed experiment.
1289
1290 2012-09-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1291
1292 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
1293 Comments, changed order of columns as requested in issue825.
1294
1295 2012-09-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1296
1297 * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
1298 Only goto down to Q = 0.0001 to circumvent some numerial issues
1299 with steep functions around zero.
1300
1301 2012-09-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1302
1303 * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
1304 Increase Q max about 5% (as it should be).
1305
1306 2012-09-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1307
1308 Fix for issue687
1309
1310 * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
1311 Rewrote AT export to fix it.
1312
1313 2012-09-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1314
1315 Fix for issue820.
1316
1317 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
1318 Changed label for middle height/depth.
1319
1320 2012-09-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1321
1322 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1323 Default horizontal and vertical placement of logo to "center" and
1324 "top" instead of "none."
1325
1326 2012-09-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1327
1328 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1329 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1330 Improved comment regarding image placement.
1331
1332 2012-09-03 Raimund Renkert <raimund.renkert@intevation.de>
1333
1334 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1335 Fixed URLs for logos.
1336
1337 2012-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1338
1339 Fix issue744 (wrong ranges for w/q input).
1340
1341 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
1342 Do not add items for gauges that do not intersect with given range.
1343
1344 2012-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1345
1346 Fix issue829 (wrong fixation names).
1347
1348 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
1349 Fix check, column indices start with 0.
1350
1351 2012-09-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1352
1353 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeight.java,
1354 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFacet.java,
1355 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
1356 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1357 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1358 src/main/java/de/intevation/flys/exports/ChoiceStringAttribute.java:
1359 Removed trailing whitespace.
1360
1361 2012-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1362
1363 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1364 Fix cast.
1365
1366 2012-08-31 Raimund Renkert <raimund.renkert@intevation.de>
1367
1368 * src/main/resources/messages.properties,
1369 src/main/resources/messages_de_DE.properties,
1370 src/main/resources/messages_en.properties,
1371 src/main/resources/messages_de.properties:
1372 Added i18n strings for minfo bed quality parameters.
1373
1374 2012-08-31 Björn Ricks <bjoern.ricks@intevation.de>
1375
1376 * src/main/java/de/intevation/flys/artifacts/services/ModuleService.java,
1377 src/main/java/de/intevation/flys/artifacts/model/Module.java,
1378 src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java,
1379 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
1380 src/main/resources/messages.properties,
1381 src/main/resources/messages_de_DE.properties,
1382 src/main/resources/messages_en.properties,
1383 src/main/resources/messages_de.properties,
1384 doc/conf/conf.xml:
1385 Add a module service. It's now possible to configure the modules which are
1386 available for a client. With the selected attribute it is possible to give
1387 a hint for the client which module should be pre selected by default.
1388
1389 2012-08-31 Raimund Renkert <raimund.renkert@intevation.de>
1390
1391 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java,
1392 src/main/java/de/intevation/flys/artifacts/states/minfo/CharDiameter.java:
1393 New. States for minfo bed quality calculation.
1394
1395 * doc/conf/artifacts/minfo.xml:
1396 Added states and transitions for minfo bed quality calculation.
1397
1398 2012-08-31 Raimund Renkert <raimund.renkert@intevation.de>
1399
1400 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
1401 Refactored state to use FLYSArtifact instead of WINFOArtifact.
1402
1403 2012-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1404
1405 Fix issue817 (double datacage entries).
1406
1407 * doc/conf/meta-data.xml: removed double entries.
1408
1409 2012-08-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1410
1411 issue729, default line labels for waterlines in cross sections.
1412
1413 * doc/conf/default-themes.xml: Default line label and level label
1414 to true for lines in crossections..
1415
1416 2012-08-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1417
1418 issue814, line labels do not follow zoom.
1419
1420 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
1421 Move line label into visible area if otherwise outside.
1422
1423 2012-08-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1424
1425 issue695, show waterlevel as line label.
1426
1427 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
1428 Fix path to showlevel style property.
1429
1430 2012-08-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1431
1432 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1433 Mention how/where to change predefined logos in comment.
1434
1435 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1436 Mention how/where to change predefined logos in comment,
1437 Use resource for images.
1438
1439 * src/main/resources/images/bfg_logo.gif,
1440 src/main/resources/images/intevation.png:
1441 Added sample logos of intevation and bfg.
1442
1443 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1444
1445 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1446 Copy and slightly modified XYChartGenerators logo mechanism.
1447
1448 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1449
1450 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
1451 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1452 (getLeftX, getRightX): New and overridden to deal with inverted axis
1453 for logo placement in longitudinalsection charts.
1454
1455 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1456
1457 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1458 Use RectangleAnchor to set anchor of logo.
1459
1460 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1461
1462 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
1463 Add Logo settings to CrossSection ChartSettings.
1464
1465 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1466
1467 Split logo-placement property in two, one for horizontal, one for
1468 vertical placement.
1469
1470 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
1471 src/main/java/de/intevation/flys/exports/ChartSection.java:
1472 Accessors for split property.
1473
1474 * src/main/java/de/intevation/flys/exports/ChartGenerator.java
1475 (logoHPlace,logoVPlace,logoPlace): Use split properties for vertical
1476 and horizontal placement of logo.
1477
1478 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1479 Use split properties, respect in placement.
1480
1481 2012-08-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1482
1483 Sloppy logo placement property implementation.
1484
1485 * src/main/java/de/intevation/flys/exports/ChartSettings.java:
1486 Parse and set logo placement property value.
1487
1488 * src/main/java/de/intevation/flys/exports/ChartSection.java:
1489 Accessors for Logo placement property.
1490
1491 * src/main/java/de/intevation/flys/exports/ChartGenerator.java
1492 (logoPlace): New, get logo placement property value.
1493 (showLogo): Default to "none".
1494
1495 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1496 Sloppy interpretation of the logo placement property.
1497
1498 2012-08-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1499
1500 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1501 (addLogo): New, add an image annotation to plot, very stubby,
1502 use hard-coded paths for now.
1503
1504 2012-08-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1505
1506 Preparations for logo-inclusion in charts.
1507
1508 * src/main/java/de/intevation/flys/exports/ChoiceStringAttribute.java:
1509 New string attribute type to trigger different UI (selectboxes)
1510 in client.
1511
1512 * src/main/java/de/intevation/flys/exports/TypeSection.java
1513 (setChoiceStringValue): Create new ChoiceStringAttribute.
1514
1515
1516 * src/main/java/de/intevation/flys/exports/ChartSection.java,
1517 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1518 src/main/java/de/intevation/flys/exports/ChartSettings.java:
1519 Accessors to show logo-property.
1520
1521 2012-08-28 Raimund Renkert <raimund.renkert@intevation.de>
1522
1523 MINFO: Implemented UI and facet/artifact stack for bed height differences.
1524
1525 * src/main/java/de/intevation/flys/artifacts/model/minfo,
1526 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeight.java,
1527 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFacet.java,
1528 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFactory.java,
1529 src/main/java/de/intevation/flys/artifacts/model/StaticBedHeightCacheKey.java:
1530 New. Facet and data object incl. factory for bed heights.
1531
1532 * src/main/java/de/intevation/flys/artifacts/states/minfo,
1533 src/main/java/de/intevation/flys/artifacts/states/minfo/YearEpochSelect.java,
1534 src/main/java/de/intevation/flys/artifacts/states/minfo/DifferenceSelect.java,
1535 src/main/java/de/intevation/flys/artifacts/states/minfo/DifferencesState.java,
1536 src/main/java/de/intevation/flys/artifacts/BedHeightsArtifact.java:
1537 New. States for difference calculation mode and new artifact for difference
1538 selection.
1539
1540 * src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java:
1541 Added getter for time (year or epoch).
1542
1543 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1544 Added new facet type.
1545
1546 * doc/conf/meta-data.xml:
1547 Datacage config for minfo bed heights.
1548
1549 * doc/conf/artifacts/minfo.xml:
1550 Added transitions and states for minfo difference calculation.
1551
1552 * doc/conf/conf.xml:
1553 Added artifact factory.
1554
1555 * src/main/resources/messages.properties,
1556 src/main/resources/messages_de_DE.properties,
1557 src/main/resources/messages_en.properties,
1558 src/main/resources/messages_de.properties:
1559 Added i18n strings.
1560
1561 2012-08-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1562
1563 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
1564 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1565 src/main/java/de/intevation/flys/exports/ChartSettings.java:
1566 (setDisplayGird, setDisplayGrid): Fixed typos.
1567
1568 2012-08-23 Raimund Renkert <raimund.renkert@intevation.de>
1569
1570 FixA: Changed sector average form point to line in delta W(t) chart.
1571
1572 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1573 Add data points for sector average and changed time unit for analysis period
1574 from month to day.
1575
1576 * doc/conf/default-themes.xml:
1577 Changed theme for sector average to color line.
1578
1579 2012-08-23 Raimund Renkert <raimund.renkert@intevation.de>
1580
1581 Issue 716. FixA: Spilt reference and analysis period themes into one theme for each event.
1582
1583 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
1584 Create a facet for each event and use new facet for sector average in
1585 longitudinal section chart.
1586
1587 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
1588 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
1589 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
1590 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java:
1591 The facets now return data for a single event.
1592
1593 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAvSectorFacet.java:
1594 New. This facet returns an analysis period containing the calculated
1595 average.
1596
1597 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java:
1598 Added methods to get the dates for all reference and analysis period events.
1599
1600 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1601 Fixed range combining.
1602
1603 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
1604 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
1605 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
1606 Adjusted generators to use the data returned by the facets.
1607
1608 * src/main/resources/messages.properties,
1609 src/main/resources/messages_de_DE.properties,
1610 src/main/resources/messages_en.properties,
1611 src/main/resources/messages_de.properties:
1612 Added i18n strings.
1613
1614 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1615
1616 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
1617 Using trove to map int->int instead of bloated generics.
1618
1619 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1620
1621 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1622 Prevent another NPE. Removed dead code.
1623
1624 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1625
1626 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
1627 Each analysis period has its own index scheme now.
1628
1629 2012-08-22 Christian Lins <christian.lins@intevation.de>
1630
1631 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1632 Fix for NullPointerException.
1633
1634 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1635
1636 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
1637 Made indices of analysis periods QWs zero based.
1638
1639 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1640
1641 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java:
1642 Store index, too.
1643
1644 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
1645 Adjusted to keep constructors in sync.
1646
1647 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java,
1648 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
1649 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
1650 Set QD index to the values of the column cache columns.
1651
1652 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1653
1654 Use the column cache to establish a consistent index scheme.
1655 TODO: Store the index values in the created QWDs.
1656
1657 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
1658 doFitting() fetches the columns from column cache, too.
1659
1660 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
1661 Reuse same column cache from fitting to have the same index scheme.
1662
1663 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
1664 Adjusted to use the column cache.
1665
1666 2012-08-22 Christian Lins <christian.lins@intevation.de>
1667
1668 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java,
1669 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
1670 Fix NullPointerExceptions in cross section diagrams that occurred when
1671 no HYKs are available for the selected kms.
1672
1673 * src/main/resources/messages_de_DE.properties,
1674 src/main/resources/messages_de.properties:
1675 Typo, see issue #806
1676
1677 2012-08-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1678
1679 * src/main/java/de/intevation/flys/exports/fixings/FixATExport.java:
1680 Removed superfluous import. s/Double.valueOf/Double.parseDouble/.
1681
1682 2012-08-17 Raimund Renkert <raimund.renkert@intevation.de>
1683
1684 * src/main/java/de/intevation/flys/exports/fixings/FixATExport.java:
1685 Removed debug outputs.
1686
1687 2012-08-17 Raimund Renkert <raimund.renkert@intevation.de>
1688
1689 * src/main/java/de/intevation/flys/exports/fixings/FixATExport.java:
1690 New. Exporter for FixAnaylsis AT files.
1691
1692 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
1693 Add facet for AT export.
1694
1695 * doc/conf/conf.xml:
1696 Added out generator for fix AT export.
1697
1698 * doc/conf/artifacts/fixanalysis.xml:
1699 Added outputmode for AT export.
1700
1701 2012-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1702
1703 * doc/conf/artifacts/fixanalysis.xml: Add more facets to
1704 compat list, removed doubled wq output.
1705
1706 2012-08-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1707
1708 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
1709 Shorten overlong lines. Simplified code.
1710
1711 2012-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1712
1713 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
1714 Interpolate and reduce WQKms if currentKm found in context.
1715
1716 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1717 Handle WQKms in WQOuts.
1718
1719 2012-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1720
1721 * doc/conf/artifacts/fixanalysis.xml: Add longitudinal section
1722 facet type to compatibility list of W/Q diags.
1723
1724 2012-08-16 Raimund Renkert <raimund.renkert@intevation.de>
1725
1726 * src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java:
1727 Added getter for ui provider.
1728
1729 2012-08-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1730
1731 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1732 BasicStroke constructor takes an float as first argument
1733 so there is no need to blow up an 'int' to an Integer
1734 which is auto-unboxed to int which is implicitly cast to float.
1735
1736 2012-08-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1737
1738 * doc/conf/meta-data.xml: Do not hard-recommend gauge-dis. for fixwq.
1739
1740 2012-08-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1741
1742 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java:
1743 Fail more gracefully.
1744
1745 2012-08-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1746
1747 * doc/conf/meta-data.xml: More former calculations in fixA (dwt) DC.
1748
1749 2012-08-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1750
1751 * doc/conf/meta-data.xml: More former calculations in fixA DC.
1752
1753 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1754
1755 * doc/conf/artifacts/fixanalysis.xml: Add discharge curve facet to
1756 compat. list.
1757
1758 * doc/conf/meta-data.xml: Show discharge curves for FixA WQ DC.
1759
1760 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1761 Handle discharge curve data.
1762
1763 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1764
1765 * doc/conf/artifacts/fixanalysis.xml: Add more facets to compat. list.
1766
1767 * doc/conf/meta-data.xml: Show more additional data in FixA w/q-diag.
1768
1769 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1770 Handle new, annotation-type facets.
1771
1772 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1773
1774 * doc/conf/artifacts/fixanalysis.xml: Added wqkms facets to comp. list.
1775
1776 * doc/conf/meta-data.xml: Add wq-basedata and other stubs to fixA dc.
1777
1778 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java
1779 (getWQAtKm): Adjusted behaviour such that passed km can be
1780 respected.
1781
1782 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1783 Handle WQFacets.
1784
1785 * src/main/java/de/intevation/flys/artifacts/model/WQFacet.java:
1786 Pass contexts current_km if available.
1787
1788 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1789
1790 * doc/conf/artifacts/fixanalysis.xml: Added deltawt-out.
1791
1792 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1793
1794 * doc/conf/meta-data.xml: Show former calculations in FixA WQ-DC.
1795
1796 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1797
1798 * doc/conf/meta-data.xml: Show more former calculations in DeltaWTs
1799 and fix query (and/or/() precedences).
1800
1801 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1802
1803 * doc/conf/meta-data.xml: Show more former calculations in fixA LS.
1804
1805 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1806
1807 * doc/conf/conf.xml: Renamed qsector(s) factory.
1808
1809 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1810
1811 * doc/conf/meta-data.xml: Load annotations for fixA long.sections.
1812 Add stubs for "old calculations"-dc-conf for various FixA outs.
1813
1814 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
1815 Handle annotation outs.
1816
1817 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1818
1819 * doc/conf/themes.xml, doc/conf/default-themes.xml:
1820 Added theme fields for qsectors label.
1821
1822 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1823 Add markers for the qsectors.
1824
1825 2012-08-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1826
1827 * doc/conf/themes.xml, doc/conf/default-themes.xml:
1828 Fix some typos, correct defaults and add mapping for qsector-theme.
1829
1830 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1831 Cosmetics.
1832
1833 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1834 Add accidentally omitted change, stub for style-handling.
1835
1836 2012-08-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1837
1838 * src/main/java/de/intevation/flys/artifacts/model/QSectorFacet.java,
1839 src/main/java/de/intevation/flys/artifacts/states/QSectorSingleState.java,
1840 src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java:
1841 Wording and i18n of qsectors.
1842
1843 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1844 Add Markers to plot for qsectors.
1845
1846 * src/main/resources/messages.properties,
1847 src/main/resources/messages_de_DE.properties,
1848 src/main/resources/messages_en.properties,
1849 src/main/resources/messages_de.properties:
1850 i18n for qsectors.
1851
1852 2012-08-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1853
1854 * src/main/java/de/intevation/flys/artifacts/states/QSectorSingleState.java:
1855 New, accidentally omitted single state of a qsector-artifact.
1856
1857 2012-08-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1858
1859 * doc/conf/artifacts/fixanalysis.xml: Add qsectors-facet to
1860 compatibility list.
1861
1862 * doc/conf/conf.xml: Register qsector artifact and its factory.
1863
1864 * doc/conf/meta-data.xml: Recommend qsectors in fix w/q settings.
1865
1866 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1867 Add qsector facet type.
1868
1869 2012-08-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1870
1871 * doc/conf/artifacts/qsector.xml:
1872 Trivial state model for qsector artifact.
1873
1874 * src/main/java/de/intevation/flys/artifacts/model/QSectorFacet.java:
1875 Rather trivial facet to get QSectors from QSectorArtifact.
1876
1877 * src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java:
1878 New QSectorArtifact.
1879
1880 2012-08-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1881
1882 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java,
1883 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
1884 Cosmetics.
1885
1886 2012-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1887
1888 * src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java,
1889 src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
1890 Removed superfluous imports.
1891
1892 2012-08-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1893
1894 * doc/conf/meta-data.xml: Set info attribute (will evaluate as tooltip
1895 in GUI.
1896
1897 2012-08-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1898
1899 * src/main/resources/messages.properties,
1900 src/main/resources/messages_de_DE.properties,
1901 src/main/resources/messages_en.properties,
1902 src/main/resources/messages_de.properties:
1903 Reflect fact that there can be only one reference station.
1904
1905 2012-08-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1906
1907 Fix issue798.
1908
1909 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
1910 Set Tick Units dependant on cm/m scale on X axis.
1911
1912 2012-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1913
1914 Fix for flys/issue748
1915
1916 * src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java,
1917 src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
1918 Only remove one data point per outlier removal iteration.
1919
1920 2012-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1921
1922 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
1923 Only evict only one(!) data point as outlier.
1924
1925 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
1926 Recalculate the function when one point is removed.
1927
1928 2012-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1929
1930 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
1931 Corrected the formulas of Grubbs' test for outliers.
1932 TODO: Remove only one(!) data point. Currently it removes
1933 more than on point without recalculating the fitting curve.
1934 This leads to too much removed points.
1935
1936 2012-07-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1937
1938 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
1939 Setup better initial activity for the facets of the S/Q results.
1940
1941 2012-07-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1942
1943 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1944 Use getCurrentKmFromRequest().doubleValue() in i18n formatting.
1945
1946 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1947
1948 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1949 getCurrentKmFromRequest returns Double(!) not double.
1950
1951 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
1952 Use Double.parseDouble() instead od Double.valueOf().
1953
1954 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1955
1956 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
1957 Initially activate/deactivate facets.
1958
1959 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1960
1961 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
1962 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
1963 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
1964 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
1965 Refactored to use the new Chain-of-responsibility pattern in facet
1966 activation.
1967
1968 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1969
1970 * src/main/java/de/intevation/flys/artifacts/services/GaugeInfoService.java:
1971 Made expensive XMLUtils.toString() debug output conditional.
1972
1973 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1974
1975 Use the new infrastructure to figure out if a facet should
1976 be initially active or not.
1977
1978 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
1979 Uses the FacetActivity.Registry to look up the initial acitiviy.
1980
1981 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
1982 Do not use sub classing any more.
1983
1984 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
1985 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
1986 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
1987 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
1988 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
1989 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
1990 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
1991 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
1992 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
1993 src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
1994 Register to FacetActivity.Registry now. TODO: Make it configurable.
1995
1996 2012-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1997
1998 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
1999 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2000 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
2001 src/main/java/de/intevation/flys/collections/CollectionAttribute.java,
2002 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java,
2003 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
2004 src/main/java/de/intevation/flys/artifacts/ChartArtifact.java,
2005 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
2006 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
2007 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
2008 s/container.size() == 0/container.isEmpty()/
2009
2010 2012-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2011
2012 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2013 Lowered logging output level from info to debug.
2014 Made some more debug outputs conditional.
2015
2016 2012-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2017
2018 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2019 Some code simplifications.
2020
2021 2012-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2022
2023 Extented the result data model of the S/Q calculation to
2024 store the curve coefficients for each iteration step
2025 of the outlier elimination. The starting data set of S/Qs
2026 is stored as well.
2027
2028 TODOs:
2029 - Create the new facets as inactive.
2030 - Repair the facet to style mapping.
2031
2032 * doc/conf/themes.xml: Added mappings for new facets.
2033
2034 * doc/conf/artifacts/minfo.xml: Configured the new facets.
2035
2036 * src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java:
2037 Adjusted to new data model.
2038
2039 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
2040 Generate facets for outlier curves and measurements. Simplified code.
2041
2042 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2043 New facet types for outlier curves and meassurements.
2044
2045 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2046 New set() method to set an array of values by their names.
2047
2048 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
2049 Removed trailing whitespace.
2050
2051 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java,
2052 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java,
2053 src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
2054 Adjusted to new data model. Curves are drawn over the whole length of the
2055 starting S/Q dataset.
2056
2057 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierCurveFacet.java:
2058 New. Facet for the curves of the outlier test iterations.
2059
2060 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierMeasurementFacet.java
2061 New. Facet for the meassurement data remainind after outlier test iteration.
2062
2063 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2064 Now creates the new data model.
2065
2066 * src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java,
2067 src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
2068 Refactorted to have more control over the data structures to be generated.
2069
2070 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
2071 The new data model to represnt a fraction result. Each outlier test iteration
2072 results in a different iteration object.
2073
2074 * src/main/resources/messages.properties,
2075 src/main/resources/messages_de_DE.properties,
2076 src/main/resources/messages_en.properties,
2077 src/main/resources/messages_de.properties:
2078 Added i18n strings for new facets.
2079
2080 2012-07-27 Ingo Weinzierl <ingo@intevation.de>
2081
2082 * src/main/java/de/intevation/flys/artifacts/model/QWDDateRange.java:
2083 Added method getQWD() to retrieve the QWD property.
2084
2085 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2086 Avoid class cast exceptions; a QWDDateRange object is returned by WQ
2087 sector average Facet - not a QWD object. Use new getter method to
2088 retrieve the required data object.
2089
2090 2012-07-27 Ingo Weinzierl <ingo@intevation.de>
2091
2092 Tagged module as '2.8.1'.
2093
2094 2012-07-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2095
2096 * src/main/java/de/intevation/flys/artifacts/model/QWDDateRange.java:
2097 New class. QWD and a DateRange.
2098
2099 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
2100 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
2101 Produce QWDDateRanges in state, consume in generator.
2102
2103 2012-07-26 Ingo Weinzierl <ingo@intevation.de>
2104
2105 * doc/conf/artifacts/fixanalysis.xml: Registered new Output
2106 'fix_vollmer_wq_curve'.
2107
2108 * doc/conf/conf.xml: Registered new FixWQCurveGenerator for
2109 'fix_vollmer_wq_curve'.
2110
2111 * src/main/resources/messages.properties,
2112 src/main/resources/messages_de_DE.properties,
2113 src/main/resources/messages_en.properties,
2114 src/main/resources/messages_de.properties: Added new names for Facets
2115 used in 'fix_vollmer_wq_curve' Output.
2116
2117 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2118 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
2119 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
2120 Make use of FitResult (parent of FixAnalysisResult) which is enough for
2121 these Facets instead of casting the calculation result to
2122 FixAnalysisResult.
2123
2124 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java:
2125 Fixed potential NullpointerException.
2126
2127 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2128 Create new Facets for WQ curve, fix events and outliers.
2129
2130 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2131 Add subtitles only if the required data (date period and referenence
2132 period) are existing. Otherwise do not add a subtitle.
2133
2134 2012-07-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2135
2136 * src/main/resources/messages.properties,
2137 src/main/resources/messages_de_DE.properties,
2138 src/main/resources/messages_en.properties,
2139 src/main/resources/messages_de.properties:
2140 Adjusted i18n strings (vollmer).
2141
2142 2012-07-26 Christian Lins <christian.lins@intevation.de>
2143
2144 * doc/conf/virtual-themes.xml,
2145 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
2146 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
2147 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2148 src/main/java/de/intevation/flys/themes/ThemeAccess.java,
2149 src/main/java/de/intevation/flys/themes/TextStyle.java,
2150 src/main/java/de/intevation/flys/themes/LineStyle.java,
2151 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
2152 src/main/java/de/intevation/flys/themes/PointStyle.java,
2153 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java,
2154 src/main/java/de/intevation/flys/jfree/XYStyle.java,
2155 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
2156 Line labels and point labels share same styles and code.
2157 Point labels can have a background color.
2158
2159 2012-07-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2160
2161 * src/main/resources/messages.properties,
2162 src/main/resources/messages_de_DE.properties,
2163 src/main/resources/messages_en.properties,
2164 src/main/resources/messages_de.properties:
2165 Adjusted i18n strings (vollmer).
2166
2167 2012-07-26 Ingo Weinzierl <ingo@intevation.de>
2168
2169 * doc/conf/artifacts/fixanalysis.xml: Registered new Output
2170 'fix_waterlevel_export' for FixRealizingCompute State.
2171
2172 * doc/conf/conf.xml: Registered new WaterlevelExport Generator for
2173 'fix_waterlevel_export'.
2174
2175 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2176 Create proper CSV, WST and PDF Facets with hash and State id.
2177
2178 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Made
2179 WaterlevelExporter support FixRealizingResult objects.
2180
2181 2012-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2182
2183 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWaterlevelFacet.java:
2184 Removed instanceof hack to fetch the WQKms of the fix realizations.
2185
2186 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWaterlevelFacet.java:
2187 New. Subclass of WaterlevelFacet. Used to fetch the WQKms the fix realization way.
2188
2189 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2190 Create the subclassed waterlevel facets.
2191
2192 2012-07-25 Ingo Weinzierl <ingo@intevation.de>
2193
2194 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2195 Create proper facets for Ws and Qs.
2196
2197 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2198
2199 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2200 Also add Q-Facet.
2201
2202 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2203
2204 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2205 Add WaterlevelFacet.
2206
2207 * doc/conf/artifacts/fixanalysis.xml:
2208 Add output and facet compability.
2209
2210 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2211
2212 * src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
2213 Fix data names in FixRealizingAccess.
2214
2215 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2216
2217 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
2218 Handle slightly different access to Fixation-WQKms.
2219
2220 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2221
2222 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
2223 Handle slightly different access to Fixation-WQKms.
2224
2225 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2226
2227 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java:
2228 Fix (last?) vol(l)mer naming issue.
2229
2230 2012-07-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2231
2232 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java,
2233 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java
2234 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
2235 src/main/java/de/intevation/flys/themes/ThemeMapping.java:
2236 s/.equals("")/.length() == 0/
2237
2238 2012-07-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2239
2240 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java,
2241 src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java,
2242 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
2243 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
2244 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2245 Removed some superfluous casts.
2246
2247 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2248
2249 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2250 Removed some inner whitespace.
2251
2252 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2253
2254 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
2255 New base class for fixing analysis results.
2256
2257 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java,
2258 src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingResult.java:
2259 Inherits from FixResult.
2260
2261 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
2262 Calculation returns FixRealizingResult.
2263
2264 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
2265 Remove superfluous import.
2266
2267 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
2268 Cosmetics.
2269
2270 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2271
2272 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
2273 Broke over long line.
2274
2275 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
2276 Added some getters.
2277
2278 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
2279 Calculated the Q -> Ws. TODO: Produce result.
2280
2281 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2282
2283 * src/main/resources/messages.properties,
2284 src/main/resources/messages_de_DE.properties,
2285 src/main/resources/messages_en.properties,
2286 src/main/resources/messages_de.properties:
2287 Adjusted i18n strings (vollmer).
2288
2289 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2290
2291 * src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java:
2292 Set ld_mode so that FLYSUtils can use it.
2293
2294 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2295
2296 * src/main/resources/messages.properties,
2297 src/main/resources/messages_de_DE.properties,
2298 src/main/resources/messages_en.properties,
2299 src/main/resources/messages_de.properties:
2300 Adjusted i18n strings (vollmer).
2301
2302 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2303
2304 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
2305 Handle FixationArtifacts with as much care as WINFOArtifacts,
2306 by using refactore FLYSUtils.
2307
2308 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2309
2310 Towards per-Gauge-input of W/Q values for FixationArtifact.
2311
2312 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2313 src/main/java/de/intevation/flys/utils/FLYSUtils.java:
2314 (getGauges): Refactored, moved from WINFOArtifact to FLYSUtils.
2315
2316 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
2317 Handle unlucky differences in names of data for
2318 WINFOArtifact/FixationArtifact.
2319
2320 * doc/conf/artifacts/fixanalysis.xml:
2321 (Re-)use WQAdapted State for fix.analysis.
2322
2323 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2324
2325 * doc/conf/artifacts/winfo.xml,
2326 src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java,
2327 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
2328 src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java,
2329 src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java,
2330 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
2331 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
2332 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
2333 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2334 Cosmetics, docs.
2335
2336 2012-07-23 Christian Lins <christian.lins@intevation.de>
2337
2338 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
2339 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
2340 Moved code to convert W to Q at gauge to segments to be reusable.
2341
2342 2012-07-23 Christian Lins <christian.lins@intevation.de>
2343
2344 * doc/conf/themes.xml,
2345 doc/conf/second-themes.xml,
2346 doc/conf/default-themes.xml:
2347 Remove line style attributes from FixingReferenceEvents theme.
2348
2349 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2350
2351 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java
2352 src/main/java/de/intevation/flys/artifacts/model/Segment.java:
2353 Moved reference point comparator to segment class be be reusable
2354 in FixA 'ausgelagerte Wasserspiegellagen'.
2355
2356 2012-07-23 Christian Lins <christian.lins@intevation.de>
2357
2358 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
2359 Simplify annotation code.
2360
2361 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2362
2363 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2364 Made abstract. Sub classes have to overwrite innerCalculate()
2365 calculate() now figures out the fixings overview and the function
2366 to fit and passes it to innerCalculate()
2367
2368 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java,
2369 src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
2370 Overrides innerCalculate() now.
2371
2372 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2373
2374 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2375 Prevent NPE in getOutputForState(). Why does this happen?
2376
2377 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2378
2379 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java,
2380 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2381 Made curve fitting over the given calculation range reusable. Removed dead code.
2382
2383 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2384
2385 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
2386 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
2387 Moved more common code into base class.
2388
2389 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2390
2391 * contrib/fixoverview2html.xsl: Clip the displayed from/to ranges
2392 of the gauges to the max extent of the events.
2393
2394 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2395
2396 * contrib/fixoverview2html.xsl: Embed german and english translations
2397 into the stylesheet. This should be better done by importing
2398 an external resource depending on the choosen locale!
2399
2400 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2401
2402 * contrib/fixoverview2html.xsl: Introduced i18n to transformation.
2403
2404 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2405
2406 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2407 Wrong epsilon was taken so sector aggregation was not working
2408 leading to too large result documents and wrong range display
2409 on client side.
2410
2411 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2412
2413 * contrib/fixoverview2html.xsl: Render the names of the gauges into
2414 the header line. Full name and spread is displayed as a tooltip.
2415
2416 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
2417
2418 * doc/conf/artifacts/minfo.xml: Use SQPeriodSelect state for the input of
2419 a time range. The difference to PeriodSelect is the UI provider desired
2420 by this state.
2421
2422 * src/main/java/de/intevation/flys/artifacts/states/sq/SQPeriodSelect.java:
2423 New subclass of PeriodSelect; this state wants to be rendered in a
2424 'sq.period.select' UI provider.
2425
2426 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2427
2428 * contrib/fixoverview2html.xsl: To help developing the
2429 HTML overview stylsheet more quickly bring back in sync with
2430 version of the flys-client.
2431
2432 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
2433
2434 * doc/conf/artifacts/minfo.xml: Changed the parameters for SQ relation
2435 period selection; only a single period is allowed now.
2436
2437 * src/main/java/de/intevation/flys/artifacts/states/PeriodSelect.java: New
2438 class that allows the selection of a time period.
2439
2440 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
2441 Reduced support of time periods to a single period.
2442
2443 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2444 Adapted the usage of SQRelationAccess which method signature has
2445 changed; it returns a single DateRange instance only.
2446
2447 * src/main/resources/messages.properties,
2448 src/main/resources/messages_de_DE.properties,
2449 src/main/resources/messages_en.properties,
2450 src/main/resources/messages_de.properties: Modified the keys of the
2451 state for SQ relation time period input.
2452
2453 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
2454
2455 * src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
2456 Disabled legends in this overview.
2457
2458 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2459
2460 * src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
2461 Removed superfluous imports.
2462
2463 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2464
2465 * src/main/resources/messages_de.properties,
2466 src/main/resources/messages.properties,
2467 src/main/resources/messages_de_DE.properties,
2468 src/main/resources/messages_en.properties:
2469 Fixed anomalies.
2470
2471 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
2472
2473 * src/main/java/de/intevation/flys/exports/ReportGenerator.java,
2474 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
2475 src/main/java/de/intevation/flys/exports/ATExporter.java,
2476 src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java,
2477 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2478 src/main/java/de/intevation/flys/exports/MapGenerator.java,
2479 src/main/java/de/intevation/flys/exports/OutGenerator.java,
2480 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
2481 Added a setCollection() method that allows the caller of OutGenerators
2482 to set a reference to a FLYSArtifactCollection.
2483
2484 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2485 Use setCollection() to set the reference to the current
2486 FLYSArtifactCollection before using OutGenerators.
2487
2488 * doc/conf/conf.xml: Registered the SQOverviewGenerator.
2489
2490 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2491
2492 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2493 Add a list of gauges which intersect the range of the selected columns:
2494
2495 <fixings>
2496 <gauges from="..." to="..." name="..."/>
2497 ...
2498 <gauges from="..." to="..." name="..."/>
2499 </fixings>
2500
2501 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
2502 Store the name of the gauge, too.
2503
2504 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java:
2505 Load the names of the gauges from database, too.
2506
2507 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2508
2509 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
2510 Some minor refactoring.
2511
2512 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
2513 Call super constructor to retrieve the common data from the artifact.
2514
2515 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2516
2517 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2518 New. Common base class for Fix*Calculations.
2519
2520 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
2521 Moved common stuff to base class FixCalculation.
2522
2523 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
2524 Inherit from FixCalculation.
2525
2526 * src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
2527 Extract parameters that are only relevant for the
2528 'Ausgelagerte Wasserspiegellagen' calculation.
2529
2530 isQ(): Must we convert the given values from W to Q first?
2531 Used data field: 'fix_isq'
2532 getSegments(): Segments same semantics as WINFO's
2533 'W fuer ungleichwertige Abfluesse.'
2534 Used data field: 'fix_segments'
2535
2536 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
2537 src/main/java/de/intevation/flys/artifacts/access/FixAccess.java:
2538 Cosmetics.
2539
2540 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2541
2542 * src/main/java/de/intevation/flys/artifacts/access/FixAccess.java:
2543 New. Common base class for the Fix*Access.
2544
2545 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java,
2546 src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
2547 Now inherit from FixAccess.
2548
2549 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2550
2551 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
2552 Prevent NPE.
2553
2554 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2555
2556 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
2557 Use constant to lookup column instead of dynamically allocated array.
2558
2559 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2560
2561 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
2562 Removed.
2563
2564 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java:
2565 Re-added here.
2566
2567 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
2568 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
2569 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2570 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
2571 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java,
2572 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
2573 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
2574 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2575 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
2576 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
2577 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
2578 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
2579 src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java,
2580 src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java,
2581 src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
2582 Adjusted.
2583
2584 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2585
2586 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
2587 New. Stub for 'Ausgelagerte Wasserspiegellagen' calculation.
2588
2589 * src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
2590 New. Stub for accessing the artifact to extract the relevant parameters
2591 for the 'ausgelagerte Wasserspiegellagen' calculation.
2592
2593 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2594 Call the calculation if the state is reached.
2595
2596 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2597 Removed trailing whitespace.
2598
2599 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2600
2601 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java:
2602 Deleted.
2603
2604 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2605 Re-added here.
2606
2607 * doc/conf/artifacts/fixanalysis.xml: Adjusted. BTW: Vollmer is spelled with two 'l's.
2608
2609 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2610
2611 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2612 Removed.
2613
2614 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
2615 Re-added.
2616
2617 * doc/conf/artifacts/fixanalysis.xml: Adjusted.
2618
2619 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2620
2621 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2622 Deleted
2623
2624 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
2625 Re-added.
2626
2627 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java,
2628 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2629 Adjusted class name usage.
2630
2631 2012-07-19 Christian Lins <christian.lins@intevation.de>
2632
2633 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
2634 src/main/resources/messages.properties,
2635 src/main/resources/messages_de_DE.properties,
2636 src/main/resources/messages_en.properties,
2637 src/main/resources/messages_de.properties:
2638 native2ascii with properties files.
2639 Show analysis periods as subtitle in W/Q chart.
2640
2641 2012-07-19 Christian Lins <christian.lins@intevation.de>
2642
2643 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
2644 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
2645 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
2646 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
2647 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java,
2648 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
2649 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2650 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
2651 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
2652 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
2653 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
2654 src/main/resources/messages.properties,
2655 src/main/resources/messages_de_DE.properties,
2656 src/main/resources/messages_en.properties,
2657 src/main/resources/messages_de.properties:
2658 Add subtitle to Fix W/Q chart.
2659 Move addSubtitle() code from generators up to ChartGenerate which saves
2660 a lot of duplicate code.
2661
2662 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2663
2664 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
2665 Deleted.
2666
2667 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java:
2668 Re-added.
2669
2670 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
2671 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
2672 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
2673 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2674 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
2675 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
2676 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
2677 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2678 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
2679 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
2680 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
2681 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
2682 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
2683 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
2684 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2685 Adjusted class name usage.
2686
2687 2012-07-19 Ingo Weinzierl <ingo@intevation.de>
2688
2689 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2690 Sourced code to set default values of a parameter to an own method.
2691 Subclasses should override this method.
2692
2693 * src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java:
2694 Set default value for outliers to "3".
2695
2696 2012-07-19 Christian Lins <christian.lins@intevation.de>
2697
2698 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java,
2699 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
2700 src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
2701 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
2702 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java,
2703 src/main/resources/messages.properties,
2704 src/main/resources/messages_de_DE.properties,
2705 src/main/resources/messages_en.properties,
2706 src/main/resources/messages_de.properties:
2707 Add kilometer info to chart titles.
2708
2709 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2710
2711 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
2712 src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
2713 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
2714 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
2715 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
2716 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
2717 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
2718 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
2719 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
2720 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
2721 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java,
2722 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
2723 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
2724 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
2725 src/main/java/de/intevation/flys/exports/ChartSettings.java,
2726 src/main/java/de/intevation/flys/jfree/XYStyle.java:
2727 Use Integer.parseInt() instead of Integer.valueOf() + Autounboxing.
2728
2729 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2730
2731 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
2732 Replaced "string -> object -> native -> object" by simple "string -> object".
2733 Removed stupid duplicate XPathing.
2734
2735 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2736
2737 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
2738 Use only blue as point color.
2739
2740 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2741
2742 Adjusted Delta W(t) CSV exporter to customers wishes.
2743
2744 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
2745 Reordered columns, removed description, added W and formatted date
2746 via i18n.
2747
2748 * src/main/java/de/intevation/flys/utils/Formatter.java:
2749 Added method to get a formatter based on pattern and locale.
2750
2751 * src/main/resources/messages.properties,
2752 src/main/resources/messages_de_DE.properties,
2753 src/main/resources/messages_en.properties,
2754 src/main/resources/messages_de.properties:
2755 Adjusted i18n strings.
2756
2757 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2758
2759 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2760 Classify each discharge range by the gauges which intersect it.
2761
2762 * src/main/java/de/intevation/flys/artifacts/model/Range.java:
2763 Added convinience constructor.
2764
2765 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
2766 Added method to return all gauges.
2767
2768 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2769
2770 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
2771 Use bandwidth parameter for width of band, adjusted name to be
2772 displayed in legend.
2773
2774 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2775
2776 * doc/conf/default-themes.xml,
2777 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
2778 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
2779 Change bandwidth type to double (still bugged, round integers still
2780 work, though).
2781
2782 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2783
2784 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
2785 Added column for time range.
2786
2787 * src/main/resources/messages.properties,
2788 src/main/resources/messages_de_DE.properties
2789 src/main/resources/messages_en.properties
2790 src/main/resources/messages_de.properties:
2791 Added i18n strings.
2792
2793 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
2794 Fixed stupid formatting bug.
2795
2796 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2797
2798 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
2799 Added discharge column.
2800
2801 * src/main/resources/messages.properties,
2802 src/main/resources/messages_de_DE.properties,
2803 src/main/resources/messages_en.properties,
2804 src/main/resources/messages_de.properties:
2805 Added missing strings.
2806
2807 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2808
2809 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
2810 Removed trailing whitespace.
2811
2812 2012-07-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2813
2814 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
2815 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
2816 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
2817 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java,
2818 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
2819 src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java,
2820 src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
2821 Cosmetics, doc.
2822
2823 2012-07-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2824
2825 Partial implementation of issue720 (bandwith for curves), in
2826 longitudinal section ws only, no styling, integer-based.
2827
2828 * doc/conf/default-themes.xml: Add bandwidth to fields of longitudinal
2829 section facets.
2830
2831 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Add bandwidth
2832 theme parsing.
2833
2834 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
2835 If bandwidth is set, add an area data series with datapoints
2836 above/under the actual data points.
2837
2838 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
2839 Helper for adding points with offset.
2840
2841 2012-07-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2842
2843 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
2844 Use Q_BPEGEL as symbolic name for Q
2845
2846 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
2847 Out commented the LEFT JOINs which produce a lot of empty and
2848 redundant data. Bring them back in when we treat subsamples right.
2849
2850 2012-07-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2851
2852 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2853 Added getValue() method.
2854
2855 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2856 Store location of calculation in result, too.
2857
2858 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
2859 Added method getTotalCount() to return the number of used S/Q pairs.
2860
2861 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java:
2862 Store location of result, too.
2863
2864 * src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java:
2865 Write parameters as export result.
2866
2867 2012-07-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2868
2869 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
2870 Bit of doc.
2871
2872 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
2873 TODO for automatic official lines added.
2874
2875 2012-07-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2876
2877 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2878 Out commented debug output which caused OOM errors.
2879
2880 2012-07-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2881
2882 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java,
2883 src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
2884 Q is not taken from MESSUNG.Q but from MESSUNG.Q_BPEGEL
2885
2886 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
2887 Fixed indentation. More macros.
2888
2889 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2890 Removed trailing whitespace.
2891
2892 2012-07-16 Ingo Weinzierl <ingo@intevation.de>
2893
2894 * Tagged module as '2.8'.
2895
2896 2012-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2897
2898 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java,
2899 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java,
2900 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java,
2901 src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java,
2902 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
2903 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java,
2904 src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java,
2905 src/main/java/de/intevation/flys/artifacts/states/PeriodsSelect.java,
2906 src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
2907 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
2908 src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java,
2909 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
2910 src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java,
2911 src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java,
2912 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
2913 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java,
2914 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
2915 src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java,
2916 src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java,
2917 src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java,
2918 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2919 src/main/java/de/intevation/flys/artifacts/model/WQFacet.java:
2920 Removed same package imports.
2921
2922 2012-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2923
2924 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2925 Lowered log level.
2926
2927 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2928
2929 * doc/conf/meta-data.xml: Allow manual loading of official lines in
2930 longitudinal_discharge diagrams.
2931
2932 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2933
2934 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
2935 Prevent nasty NPE (hidden by autobox).
2936
2937 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2938
2939 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
2940 Suppress data points with values <= 0 because they kill JFreeChart's
2941 log/log diagrams.
2942
2943 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2944
2945 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
2946 Fixed more SQL syntax errors.
2947
2948 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2949 Generate more than one SQResult (To my big suprise it's possible).
2950
2951 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java,
2952 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java.
2953 src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
2954 Made more NPE bullet proof.
2955
2956 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2957
2958 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
2959 Fixed problem with string operation precedence.
2960
2961 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2962
2963 * doc/conf/meta-data.xml: very basic official lines matching the current
2964 artifact (for this it is wrongly placed in previous calc.-part, for
2965 now.
2966
2967 2012-07-13 Christian Lins <christian.lins@intevation.de>
2968
2969 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java:
2970 Create shapefile directory instead of shapefile 'file'.
2971
2972 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2973
2974 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
2975 src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java,
2976 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
2977 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
2978 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
2979 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
2980 Removed translation whitespace.
2981
2982 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2983
2984 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
2985 src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
2986 Finally! SQResult is build and should be ready for display. :-)
2987
2988 2012-07-13 Christian Lins <christian.lins@intevation.de>
2989
2990 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
2991 src/main/java/de/intevation/flys/utils/GeometryUtils.java:
2992 Fix and workaround NullPointerExceptions.
2993
2994 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
2995
2996 * src/main/java/de/intevation/flys/wsplgen/WSPLGENCallable.java,
2997 src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
2998 src/main/java/de/intevation/flys/wsplgen/JobObserver.java,
2999 src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java,
3000 src/main/java/de/intevation/flys/wsplgen/Scheduler.java,
3001 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
3002 src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
3003 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
3004 src/main/java/de/intevation/flys/artifacts/MapArtifact.java,
3005 src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
3006 src/main/java/de/intevation/flys/exports/MapGenerator.java:
3007 Organized and added missing imports.
3008
3009 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
3010
3011 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new
3012 functions to reproject an Envelope from one CoordinateReferenceSystem to
3013 antoher.
3014
3015 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
3016 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
3017 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
3018 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
3019 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
3020 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
3021 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
3022 src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
3023 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
3024 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
3025 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
3026 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
3027 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
3028 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
3029 The getExtent() method will now return the extent of the layer in the
3030 coordinate reference system that is configured for the specific river.
3031
3032 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
3033
3034 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java,
3035 src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java,
3036 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java,
3037 src/main/java/de/intevation/flys/artifacts/model/WSPLGENLayerFacet.java,
3038 src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java,
3039 src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java:
3040 Moved to subpackage map.
3041
3042 * src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENLayerFacet.java,
3043 src/main/java/de/intevation/flys/artifacts/model/map/WMSLayerFacet.java,
3044 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENJob.java,
3045 src/main/java/de/intevation/flys/artifacts/model/map/WMSDBLayerFacet.java,
3046 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENCalculation.java,
3047 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENReportFacet.java:
3048 Moved from upper package.
3049
3050 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3051
3052 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
3053 src/main/java/de/intevation/flys/exports/OutputHelper.java,
3054 src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
3055 Added missing vim lines.
3056
3057 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3058
3059 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
3060 src/main/java/de/intevation/flys/exports/OutputHelper.java:
3061 Removed trailing whitespace.
3062
3063 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3064
3065 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
3066 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3067 Removed superfluous imports.
3068
3069 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3070
3071 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3072 Only use first period of the time periods given by the UI.
3073
3074 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java:
3075 Added some more index checking.
3076
3077 2012-07-13 Raimund Renkert <raimund.renkert@intevation.de>
3078
3079 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java:
3080 New. Facet for chart overview in sq relation.
3081
3082 * src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
3083 New. Generator for chart overview. This generator is not used jet.
3084 Currently we generate the overview on client side by putting all charts in a
3085 simple grid, cause the charts rendered by this generator are empty.
3086
3087 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
3088 Added new Facet type.
3089
3090 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
3091 Add facets for overview.
3092
3093 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
3094 Avoid a NPE in legend entry aggregation.
3095
3096 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3097 Moved log output to avoid NPE.
3098
3099 * doc/conf/artifacts/minfo.xml:
3100 Added new output for chart overview.
3101
3102 2012-07-13 Raimund Renkert <raimund.renkert@intevation.de>
3103
3104 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3105 Refactored. Moved some functionality to FLYSContext and OutputHelper.
3106
3107 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
3108 Added 'getOutGenerator' to get a concrete generator. Moved from
3109 FLYSArtifactCollection.
3110
3111 * src/main/java/de/intevation/flys/exports/OutputHelper.java:
3112 New. Provides the 'doOut' functionality for FYLSArtifactCollection.
3113
3114 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3115
3116 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
3117 Handle the error case of accessing wrong indexed SQ relation
3118 more smoothly.
3119
3120 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3121
3122 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
3123 Added access to the data of GSIEBSATZ and SSIEBUNG.
3124
3125 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3126
3127 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3128 Added the left joins to the GSIEBSATZ and SSIEBUNG tables.
3129
3130 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3131
3132 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3133 Do not store null values from database.
3134
3135 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3136
3137 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
3138 New. Container for measurements. Helps to extract the S/Q fractions.
3139
3140 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3141 Now uses the measurements container.
3142
3143 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
3144 Added convenience methods to extract the different fractions.
3145 DONE: Q, S_SS, S_SF
3146 TODO: S_BL_S, S_BL_FG, S_BL_CG, S_BL
3147
3148 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java,
3149 src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3150 Relax existence of SIEBSATZID.
3151 We have to use a left join during data extraction anyway.
3152 We force the existence of Q because we cannot do the fitting if
3153 we don't have them.
3154
3155 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3156
3157 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
3158 New. Access to the data from the SedDB.
3159
3160 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3161 Load measurements from SedDB.
3162
3163 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
3164 Force NOT NULL for discharge values, too.
3165
3166 * src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
3167 Indentation fix.
3168
3169 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3170 Iterate over all given periods.
3171
3172 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3173
3174 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java:
3175 Fixed wrong logger class.
3176
3177 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3178
3179 src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
3180 Filter out the meassures which don't have a related 'Siebsatz'.
3181
3182 doc/conf/cache.xml: Added forgotten cache for sq-overview.
3183
3184 src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
3185 Added vim line.
3186
3187 2012-07-12 Christian Lins <christian.lins@intevation.de>
3188
3189 * doc/conf/default-themes.xml,
3190 doc/conf/virtual-themes.xml,
3191 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
3192 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
3193 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
3194 src/main/java/de/intevation/flys/themes/ThemeAccess.java:
3195 Add showpointlabel style attribute. Refactor some styles to make use of
3196 general attributes in the virtual themes.
3197
3198 * src/main/java/de/intevation/flys/utils/GeometryUtils.java,
3199 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
3200 Suppress or fix some warnings.
3201
3202 2012-07-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3203
3204 * doc/conf/conf.xml: Fix class name.
3205
3206 2012-07-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3207
3208 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
3209 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
3210 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
3211 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
3212 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
3213 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
3214 src/main/java/de/intevation/flys/exports/ChartExportHelper.java,
3215 src/main/java/de/intevation/flys/exports/WstWriter.java,
3216 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
3217 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
3218 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
3219 Various cosmetic doc fixes.
3220
3221 2012-07-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3222
3223 * doc/conf/meta-data.xml: Make official lines available in dc for
3224 manual loading in longitudinal sections.
3225
3226 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3227
3228 * src/main/java/de/intevation/flys/artifacts/model/sq/Sieve.java:
3229 Simulates a sieve to separate the differen fractions from each other.
3230
3231 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3232
3233 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java,
3234 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
3235 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
3236 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
3237 Removed trailing whitespace.
3238
3239 2012-07-11 Christian Lins <christian.lins@intevation.de>
3240
3241 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java,
3242 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
3243 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
3244 src/main/resources/messages.properties,
3245 src/main/resources/messages_de_DE.properties,
3246 src/main/resources/messages_en.properties,
3247 src/main/resources/messages_de.properties:
3248 Delta W(t) chart subtitle now with real values and correct i18n.
3249
3250
3251 2012-07-11 Christian Lins <christian.lins@intevation.de>
3252
3253 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
3254 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
3255 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
3256 Re-add HYK rendering code again to CrossSectionGenerator (fix for #712).
3257
3258
3259 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3260
3261 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java,
3262 src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
3263 Removed superfluous imports.
3264
3265 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3266
3267 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
3268 Made km separating of dates epsilon tolerant and avoid empty date lists.
3269
3270 2012-07-10 Raimund Renkert <raimund.renkert@intevation.de>
3271
3272 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java:
3273 New. Service that generates an overview chart for measuring points.
3274
3275 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
3276 New. Instance of measuring points overview data.
3277
3278 * src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
3279 New. Foctory for overview data objects.
3280
3281 * doc/conf/conf.xml:
3282 Added new service to config.
3283
3284 * src/main/resources/messages.properties,
3285 src/main/resources/messages_de_DE.properties,
3286 src/main/resources/messages_en.properties,
3287 src/main/resources/messages_de.properties:
3288 Added i18n strings.
3289
3290 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3291
3292 Fix for issue694.
3293
3294 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
3295 Also resolve edge cases (last/first cross section km).
3296
3297 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3298
3299 Partial fix for issue694 (Heightmarks snap to nearest cross section
3300 line).
3301
3302 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
3303 Extended signature of getWaterLines to allow behaviour of only
3304 delivering data if it snaps to the km (is closest).
3305
3306 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
3307 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
3308 Documentation, updated signature of getWaterLines().
3309
3310 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
3311 Remember if Heightmarks are displayed, if so deliver data
3312 only if cross-section is closest (snap).
3313
3314 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
3315 Make next and previous km of cross-sections available as data.
3316
3317 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
3318 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
3319 Provide next and previous cross-section km via blackboard, adjusted
3320 call to getWaterLines.
3321
3322 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3323
3324 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
3325 Removed trailing whitespace.
3326
3327 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3328
3329 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
3330 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
3331 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java,
3332 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
3333 src/main/java/de/intevation/flys/exports/ChartExportHelper.java,
3334 src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java,
3335 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
3336 src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java,
3337 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3338 src/main/java/de/intevation/flys/exports/OutGenerator.java,
3339 src/main/java/de/intevation/flys/exports/FlowVelocityGenerator.java:
3340 Fix various documentation issues.
3341
3342 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3343
3344 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
3345 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
3346 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
3347 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java,
3348 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
3349 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java,
3350 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
3351 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java,
3352 src/main/java/de/intevation/flys/exports/ChartHelper.java,
3353 src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java,
3354 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
3355 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
3356 Fix various issues in the hard-to-find documentation.
3357
3358 2012-07-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3359
3360 * pom.xml: Configure javadoc mojo to include doc for protected/private.
3361
3362 2012-07-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3363
3364 * contrib/themes2html.xsl: Create a list of direct sub themes
3365 of a theme.
3366
3367 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3368
3369 * doc/datacage-config-manual/Makefile: New, added Makefile.
3370
3371 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3372
3373 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
3374 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
3375 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
3376 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
3377 src/main/java/de/intevation/flys/jfree/HasLabel.java:
3378 Cosmetics, docs.
3379
3380 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3381
3382 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
3383 Fixed XPath typo.
3384
3385 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3386
3387 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3388 Removed dynamic XPaths to pervent potential XPath injections.
3389
3390 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3391
3392 * contrib/themes2html.xsl: New. Transformation to get a better
3393 overview of themes.xml. Usage:
3394
3395 $ xsltproc --path doc/conf \
3396 contrib/themes2html.xsl \
3397 doc/conf/themes.xml \
3398 > themes.xhtml
3399
3400 Use browser to view the resulting file.
3401
3402 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3403
3404 * doc/conf/second-themes.xml: Name the second themegroup 'second'
3405 instead of 'default' to avoid clashes with the real 'default'
3406 themegroup.
3407
3408 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3409
3410 * doc/conf/default-themes.xml,
3411 doc/conf/virtual-themes.xml,
3412 doc/conf/themes.xml,
3413 doc/conf/second-themes.xml:
3414 Added xml processing instruction.
3415
3416 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3417
3418 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLog.java,
3419 src/main/java/de/intevation/flys/artifacts/access/Access.java,
3420 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
3421 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
3422 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorA.java,
3423 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorB.java,
3424 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorC.java,
3425 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorD.java,
3426 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorE.java,
3427 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorF.java,
3428 src/main/java/de/intevation/flys/exports/ChartArea.java,
3429 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
3430 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
3431 Added vim lines.
3432
3433 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3434
3435 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
3436 src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
3437 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
3438 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
3439 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
3440 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java:
3441 Replaced tabs with four spaces each.
3442
3443 2012-07-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3444
3445 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3446 src/main/java/de/intevation/flys/exports/ChartArea.java,
3447 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
3448 Removed superfluous imports.
3449
3450 2012-07-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3451
3452 * src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java,
3453 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
3454 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
3455 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
3456 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
3457 Removed trailing whitespace.
3458
3459 2012-07-06 Christian Lins <christian.lins@intevation.de>
3460
3461 * doc/conf/*-themes.xml,
3462 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
3463 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
3464 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
3465 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
3466 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java,
3467 src/main/resources/messages.properties,
3468 src/main/resources/messages_de_DE.properties,
3469 src/main/resources/messages_en.properties,
3470 src/main/resources/messages_de.properties:
3471 Add styles for W(t) domain markers.
3472
3473 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
3474 Remove false @override.
3475
3476 2012-07-06 Christian Lins <christian.lins@intevation.de>
3477
3478 * doc/conf/themes.xml,
3479 doc/conf/second-themes.xml,
3480 doc/conf/default-themes.xml:
3481 Add missing themes for fixation charts.
3482
3483 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3484
3485 Fix issue705 (names for mainvalues in export).
3486
3487 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
3488 Documentation and use NamedMainValues irrespective of WQ-type (
3489 single vs range).
3490
3491 2012-07-06 Christian Lins <christian.lins@intevation.de>
3492
3493 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
3494 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
3495 W(t) chart label rotation now working (see #684)
3496
3497 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3498
3499 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
3500 Removed solved TODO.
3501
3502 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3503
3504 Fix issue710 (crashing diagrams with only one point).
3505
3506 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3507 Expand the range/bounds where its added.
3508
3509 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3510
3511 * src/main/java/de/intevation/flys/exports/ChartGenerator.java
3512 (expandPointRange): Fix weird code with help of new ChartHelper
3513 method.
3514
3515 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3516
3517 * src/main/java/de/intevation/flys/exports/ChartHelper.java
3518 (expandBounds): New, expand bounds by given percentage.
3519
3520 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3521
3522 * src/main/java/de/intevation/flys/artifacts/math/Distance.java:
3523 New distance helper module.
3524
3525 2012-07-06 Christian Lins <christian.lins@intevation.de>
3526
3527 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3528 Remove debugging code.
3529
3530 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
3531 Remove HYK references and code.
3532
3533 2012-07-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3534
3535 * doc/datacage-config-manual/datacage-config-manual.tex:
3536 Changed inclusions to include new content file.
3537
3538 * doc/datacage-config-manual/content.tex: Content from doc/datacage.txt,
3539 xml formatted.
3540
3541 2012-07-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3542
3543 * doc/datacage-config-manual/datacage-config-manual.tex,
3544 doc/datacage-config-manual/README,
3545 doc/datacage-config-manual/title.tex:
3546 Added stub of tex-version of datacage config documentation.
3547
3548 2012-07-05 Christian Lins <christian.lins@intevation.de>
3549
3550 * doc/*-themes.xml:
3551 Add textorientation field.
3552
3553 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
3554 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
3555 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3556 src/main/java/de/intevation/flys/exports/ChartArea.java:
3557 Move annotation related code to base class ChartGenerator.
3558
3559 2012-07-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3560
3561 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
3562 Prevent casting exception.
3563
3564 2012-07-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3565
3566 issue487 (wrong area calculation).
3567
3568 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
3569 Fix area calculation.
3570
3571 2012-07-04 Ingo Weinzierl <ingo@intevation.de>
3572
3573 * doc/conf/themes.xml: Moved theme groups to own XML files to improve the
3574 structure.
3575
3576 * doc/conf/second-themes.xml,
3577 doc/conf/default-themes.xml,
3578 doc/conf/virtual-themes.xml: New XML files for themes / theme groups; each
3579 theme group in one single file.
3580
3581 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
3582 Improved logging; print number of theme groups and themes in it as INFO.
3583
3584 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3585
3586 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
3587 Only show labels if enabled in theme. Commented (failed) trials to get the
3588 text rotation right.
3589
3590 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3591
3592 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
3593 Fix certain AIOOBs that were caused by the fact that QWDs can end up in two
3594 different series.
3595
3596 2012-07-03 Raimund Renkert <raimund.renkert@intevation.de>
3597
3598 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
3599 Implemented mergeRanges to combine y bounds in timeseries charts.
3600
3601 2012-07-03 Raimund Renkert <raimund.renkert@intevation.de>
3602
3603 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveInfoGenerator.java,
3604 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtInfoGenerator.java:
3605 New. Added chart info generator for WQ and delta W(t) chart.
3606
3607 * doc/conf/conf.xml:
3608 Added info generators to config.
3609
3610 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3611
3612 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
3613 Very basic, unstyled, always-on labels of points in DeltaWt-Diagrams.
3614
3615 2012-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3616
3617 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
3618 Replaced Arrays.asList(new String[] { "a", "b" }).contains("a") code.
3619
3620 2012-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3621
3622 * doc/conf/themes.xml,
3623 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
3624 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
3625 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
3626 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
3627 src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java,
3628 src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
3629 Removed trailing whitespace.
3630
3631 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
3632
3633 * doc/conf/themes.xml: Added missing themes for middle bed height curves.
3634
3635 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
3636
3637 * src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
3638 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java:
3639 New Access objects to access relevant information of Artifacts specific
3640 to bed heights and flow velocity calculations.
3641
3642 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
3643 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
3644 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
3645 src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java,
3646 src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
3647 Use *Access objects to get required information from Artifact.
3648
3649 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Moved
3650 methods to access specific information for calculations to *Access
3651 objects.
3652
3653 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3654
3655 Fix issue695 (labeling of waterlines).
3656
3657 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
3658 (doCrossSectionWaterLineOut): Handle labels more individually.
3659
3660 * src/main/java/de/intevation/flys/jfree/XYStyle.java
3661 (applyShowLineLabel): Tell renderer that there is something to do in case
3662 any label is switched on.
3663
3664 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
3665
3666 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
3667 src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java,
3668 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
3669 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
3670 src/main/java/de/intevation/flys/artifacts/model/DifferenceCurveFacet.java,
3671 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
3672 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
3673 src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java,
3674 src/main/java/de/intevation/flys/artifacts/geom/Lines.java,
3675 src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
3676 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
3677 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
3678 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
3679 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
3680 src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java,
3681 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
3682 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3683 src/main/java/de/intevation/flys/themes/ThemeAccess.java,
3684 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
3685 Fixed various bugs (package declarations, moved classes to correct
3686 places).
3687
3688 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
3689
3690 * doc/conf/themes.xml: Removed line properties from fixation point themes
3691 and added missing point properties.
3692
3693 2012-07-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3694
3695 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
3696 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
3697 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
3698 Cosmetics.
3699
3700 2012-07-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3701
3702 issue654.
3703
3704 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
3705 Do not include type in hash for legend item.
3706
3707 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3708
3709 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
3710 Generate CSV for facet 'fix_parameters'.
3711
3712 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
3713 Be more eloquent on which kind of facet the exporter does not
3714 like.
3715
3716 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3717
3718 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
3719 Made it more symmetrical to FixationCompute.
3720
3721 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3722 Removed fake result stuff. Fetch parameters from SQRelationAccess.
3723
3724 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3725
3726 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java:
3727 Remove some evidence that the authors of this software
3728 do not know Java at all.
3729
3730 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3731
3732 Part of flys/issue687
3733
3734 * src/main/java/de/intevation/flys/exports/ATWriter.java:
3735 New. Samples fitting function to AT files.
3736
3737 !!! Untested and expected to be slightly broken. !!!
3738
3739 * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
3740 Made some formatting things public to be reusable.
3741
3742 * src/main/resources/messages.properties,
3743 src/main/resources/messages_de_DE.properties,
3744 src/main/resources/messages_en.properties,
3745 src/main/resources/messages_de.properties:
3746 Added i18n strings for AT headers.
3747
3748 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3749
3750 * doc/conf/artifact-db.xml,
3751 doc/conf/cache.xml,
3752 doc/conf/meta-data.xml: Removed trailing whitespace.
3753
3754 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3755
3756 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3757 Removed embedded class IdGenerator.
3758
3759 * src/main/java/de/intevation/flys/utils/IdGenerator.java:
3760 New. Re-added the id generator as top level class.
3761
3762 2012-06-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3763
3764 Added parameter exporter for fixings analysis.
3765 Part of flys/issue689
3766
3767 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
3768 New. Exports the contents of the parameters of the fix analysis.
3769
3770 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3771 Added visitor interface to visit all rows of the parameters.
3772
3773 * doc/conf/artifacts/fixanalysis.xml: Added new facet for
3774 parameter export.
3775
3776 * doc/conf/conf.xml: Register the new parameter exporter.
3777
3778 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
3779 Added facet type.
3780
3781 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3782 Fixed indentation.
3783 Removed some programming oddities.
3784 Create facet for parameter export.
3785
3786 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
3787 Removed code which is already contained in the base class.
3788
3789 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
3790 Cleaned up code.
3791
3792 2012-06-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3793
3794 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
3795 Deleted
3796
3797 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
3798 Re-added here
3799
3800 * doc/conf/conf.xml: Adjusted package name of DeltaWtExporter.
3801
3802 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3803
3804 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveInfoGenerator.java:
3805 New. Added chart info companion for FixDerivedCurveGenerator.
3806
3807 * doc/conf/conf.xml: Added to configuration.
3808
3809 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
3810 Code clean up.
3811
3812 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFunction.java:
3813 Simplified. Not Serializable any more because its only a transient object.
3814
3815 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
3816 Clean up. Simplified. Removed dependency from Function2DAdapter because
3817 we are doing our own sampling.
3818
3819 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionInfoGenerator.java:
3820 Removed empty last line.
3821
3822 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
3823 Small cosmetics.
3824
3825 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
3826 Do not notify listeners when add data series.
3827
3828 * src/main/java/de/intevation/flys/jfree/Function2DAdapter.java:
3829 Removed. Obsolete.
3830
3831 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3832
3833 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
3834 Removed superfluous import.
3835
3836 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3837
3838 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionInfoGenerator.java:
3839 New. Added chart info companion for FixLongitudinalSectionGenerator.
3840
3841 * doc/conf/conf.xml: Added to configuration.
3842
3843 2012-06-29 Christian Lins <christian.lins@intevation.de>
3844
3845 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
3846 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
3847 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
3848 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
3849 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
3850 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3851 Unfinished work on generalizing annotations in ChartGenerators.
3852
3853 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3854
3855 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
3856 Fixed parameter name.
3857
3858 * src/main/resources/messages_de_DE.properties,
3859 src/main/resources/messages_de.properties:
3860 Fixed typo.
3861
3862 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3863
3864 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
3865 Finished the access to the S/Q relation stuff.
3866
3867 * doc/conf/artifacts/minfo.xml:
3868 State "state.minfo.sq.periods" returns the value as string
3869 symmetrical to state "state.fix.analysisperiods".
3870
3871 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java:
3872 Deleted.
3873
3874 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java:
3875 Re-added here because its of use not only in the fix analysis
3876 but also in the S/Q relation.
3877
3878 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
3879 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
3880 src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java,
3881 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
3882 src/main/java/de/intevation/flys/artifacts/access/Access.java,
3883 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
3884 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
3885 Adjusted the imports for the moved DateRange.
3886
3887 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3888
3889 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
3890 New. Artifact access for the S/Q relation. TODO: Add more parameters.
3891
3892 * src/main/java/de/intevation/flys/artifacts/access/Access.java:
3893 Remove trailing whitespace.
3894
3895 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
3896 Added more debug output.
3897
3898 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3899
3900 * src/main/java/de/intevation/flys/artifacts/access/Access.java: New.
3901 Base class for *Access of FLYSArtifacts.
3902
3903 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
3904 Extends Access now.
3905
3906 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3907
3908 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
3909 Removed dead code.
3910
3911 2012-06-28 Christian Lins <christian.lins@intevation.de>
3912
3913 * doc/conf/themes.xml,
3914 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
3915 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
3916 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3917 src/main/java/de/intevation/flys/themes/ThemeAccess.java:
3918 Set text orientation to horizontal for points in Fixation W/Q curve.
3919
3920 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3921 Fix overlapping indices of facets.
3922
3923 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3924
3925 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
3926 Added method to figure out which discharge sectors of the
3927 the analysis periods really contains data.
3928
3929 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3930 Only emit analysis period / discharge sectors which really contain data.
3931
3932 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3933
3934 Moved FixationArtifactAccess into own package access because there are
3935 more *Access to come e.g. SQRelationAccess.
3936
3937 TODO: Refactor the code for WINFO to use this *Access pattern. This
3938 results in much cleaner, better scaling and better understandable code.
3939
3940 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java: Deleted.
3941 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java: New.
3942
3943 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
3944 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
3945 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
3946 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
3947 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
3948 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
3949 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
3950 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
3951 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
3952 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
3953 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
3954 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
3955 src/main/java/de/intevation/flys/artifacts/access,
3956 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
3957 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3958 Adjusted imports.
3959
3960 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
3961 Removed superfluous imports.
3962
3963 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3964
3965 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
3966 If fitting fails for tolerance of 1e-10 increase it incremental
3967 by factor of 10 to 1e-3 and only bail out if it fails on this level.
3968
3969 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3970
3971 * src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java:
3972 Fixed da/dQ but the fitting still does not work for the function. :-/
3973
3974 2012-06-27 Christian Lins <christian.lins@intevation.de>
3975
3976 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
3977 Show only dates as point labels.
3978
3979 2012-06-27 Christian Lins <christian.lins@intevation.de>
3980
3981 * doc/conf/conf.xml:
3982 Fix typo in generator class for fix_longitudinal_section_curve
3983
3984 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3985
3986 Create and handle new manual line facets.
3987
3988 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
3989 Added new constructor to play nice with upcoming facet-type.
3990
3991 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
3992 Added functionality to serve as WaterLineFacet (calculate water
3993 line against cross section profile).
3994
3995 * src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
3996 Extended to generate cross section water line facets, too.
3997
3998 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
3999 Handle new Facet Type.
4000
4001 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4002
4003 FacetType for upcoming cross_section.manualline facet.
4004
4005 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4006 Added Facet Type and IS-helper dor upcoming facet.
4007
4008 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4009
4010 Configure Themes and compatibility of upcoming
4011 cross_section.manualline facet.
4012
4013 * doc/conf/artifacts/winfo.xml,
4014 doc/conf/artifacts/manualpoint.xml:
4015 Add upcoming facet to compatibility lists.
4016
4017 * doc/conf/themes.xml: Register theme for upcoming facet.
4018
4019 2012-06-27 Christian Lins <christian.lins@intevation.de>
4020
4021 * doc/conf/conf.xml:
4022 Add output generator for 'fix_derived_curve'
4023
4024 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4025 Add some ugly formatted point labels.
4026
4027 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4028
4029 Moved describe() and the generating of output into FLYSArtifact.
4030
4031 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
4032 This the base class so it should contain common code!
4033
4034 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
4035 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
4036 src/main/java/de/intevation/flys/artifacts/ChartArtifact.java,
4037 src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java,
4038 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
4039 Moved common code into base class.
4040
4041 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4042 Removed superfluous imports.
4043
4044 2012-06-27 Christian Lins <christian.lins@intevation.de>
4045
4046 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4047 Use JFreeUtil.sampleFunction2D() to sample a StyledXYSeries.
4048
4049 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
4050 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
4051 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
4052 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
4053 Add ctor with addtional custom facet index parameter.
4054
4055 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4056 Introduce IdGenerator to generate unique facets IDs within an output,
4057 so themes can now be applied properly to points and lines.
4058
4059 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4060
4061 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
4062 Removed some expensive XPath usage. Some quick profiling
4063 showed that up to 7% of our code (excluding Hibernate, H2, Restlet, etc.)
4064 were spend in these XPaths. A lot of time
4065
4066 !!! Please, please, dear fellow programmers do not use XPath for fetching
4067 !!! trivial things that are easily accessible via DOM, too!
4068
4069 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4070
4071 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java,
4072 src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java:
4073 Refactored to better fit the data types of SQResult.
4074
4075 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4076
4077 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
4078 Removed trailing whitespace.
4079
4080 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4081
4082 * src/main/java/de/intevation/flys/artifacts/model/sq/SQ.java:
4083 Added method to validate point.
4084
4085 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
4086 Added method to callback to re-initialize the function to fit.
4087
4088 * src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java:
4089 New. Shell for fitting of one SQ fraction.
4090
4091 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4092 Removed superfluous import.
4093
4094 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4095
4096 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
4097 New. Specialized outlier test for the S/Q relation.
4098 Outliers are accepted in multiples of the standard deviation.
4099
4100 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4101
4102 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4103 Only generate outlier facet when we done the prepocessing.
4104
4105 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4106
4107 Enable legend aggregation in time series charts.
4108
4109 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4110 Call super.aggregateLegendEntries.
4111
4112 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4113
4114 Legend Item Aggregation refactoring.
4115
4116 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
4117 src/main/java/de/intevation/flys/exports/ChartGenerator.java
4118 (aggregateLegendEntries): Moved up from XYChartGenerator to ChartGenerator.
4119
4120 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4121
4122 Legend Item Aggregation refactoring.
4123
4124 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
4125 New (extracted from XYChartGenerator).
4126
4127 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4128 Extracted legend item aggregation to LegendProcessor.
4129
4130 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4131
4132 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4133 Removed trailing whitespace.
4134
4135 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4136
4137 Minor polish for LegendItem-Aggregation.
4138
4139 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4140  Define and use static SPACE Shape.
4141
4142 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4143
4144 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
4145 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
4146 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
4147 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
4148 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
4149 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java:
4150 Completed inverse stubs.
4151
4152 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4153
4154 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
4155 Register the singletons instead of new objects.
4156
4157 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
4158 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
4159 src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java,
4160 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java,
4161 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
4162 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
4163 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
4164 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java:
4165 Link the functions to there inverses via getInverse().
4166
4167 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4168
4169 Implemenation of the inverses of the fitting functions. Needed
4170 for the AT export of the calculated curves.
4171
4172 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
4173 Added abstract method getInverse() to get the inverse of the
4174 function.
4175
4176 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
4177 src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java,
4178 src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java,
4179 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java,
4180 src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
4181 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java,
4182 src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java:
4183 Implements the getInverse() method.
4184
4185 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLog.java,
4186 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
4187 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
4188 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
4189 src/main/java/de/intevation/flys/artifacts/math/fitting/InvExp.java,
4190 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
4191 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLinear.java:
4192 Implements the inverses of the function above. Some are still
4193 stubs.
4194
4195 2012-06-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4196
4197 Fix issue663 ("step" curves for Q).
4198
4199 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
4200 (addStepPointsKmQ): New, add "step" points for series.
4201
4202 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
4203 Use new StyledSeriesBuilder function.
4204
4205 2012-06-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4206
4207 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4208 Fix LegendAggregation; prevent single aggregated legend item to
4209 overflow by splitting it into many, but iconless legenditems.
4210
4211 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4212
4213 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4214 Fixed typo in I18N key.
4215
4216 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4217
4218 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4219 Finished I18N.
4220
4221 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
4222 Accept callback to label legend items.
4223
4224 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: Added interface
4225 LabelGenerator to create labels for entries.
4226
4227 * src/main/resources/messages.properties,
4228 src/main/resources/messages_de_DE.properties,
4229 src/main/resources/messages_en.properties,
4230 src/main/resources/messages_de.properties:
4231 Added strings.
4232
4233 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4234
4235 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java:
4236 Removed trailing whitespace.
4237
4238 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4239
4240 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
4241 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
4242 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
4243 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
4244 Removed superfluous imports.
4245
4246 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4247
4248 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4249 Uses I18N now.
4250
4251 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
4252 Added convenience constructor for creating date formatters with strings.
4253
4254 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
4255 Added variadic method format().
4256
4257 * src/main/resources/messages.properties,
4258 src/main/resources/messages_de_DE.properties,
4259 src/main/resources/messages_en.properties,
4260 src/main/resources/messages_de.properties:
4261 Added strings.
4262
4263 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
4264
4265 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
4266 New. Generator for longitudinal sections in fix analysis.
4267
4268 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
4269 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
4270 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java:
4271 New. Facets for longitudinal sections chart in fix analysis.
4272
4273 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4274 Added new facet types.
4275
4276 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4277 Add facets for new chart.
4278
4279 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4280 Fixed NPE.
4281
4282 * doc/conf/artifacts/fixanalysis.xml:
4283 Added facets to config.
4284
4285 * doc/conf/themes.xml:
4286 Added new themes.
4287
4288 * doc/conf/conf.xml:
4289 Added new chart generator.
4290
4291 * src/main/resources/messages.properties,
4292 src/main/resources/messages_de_DE.properties,
4293 src/main/resources/messages_en.properties,
4294 src/main/resources/messages_de.properties:
4295 Added i18n strings.
4296
4297 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
4298
4299 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4300 Look for the attribut "outline" to render shape outlines in charts.
4301
4302 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
4303 Add the "outline" attribute.
4304
4305 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
4306
4307 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4308 Do not add entries ending with " " to legend.
4309
4310 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4311
4312 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4313 Prevent that the plot becomes to small if only one point is drawn.
4314
4315 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4316
4317 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4318 Added debug output about the concrete coeffs found by the fitting.
4319
4320 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
4321 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java:
4322 Re-checked the partial deviations to the coeffs. Write the formulas
4323 more human readable.
4324
4325 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4326
4327 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: If a label collides
4328 with a other labels try to draw it on the other side of the point.
4329 This results in more labeled points which is useful because you cannot zoom
4330 in for details in the fixings km chart.
4331
4332 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
4333 Paint measured points blue and interpolated green.
4334
4335 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4336 Set background color to white.
4337
4338 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4339
4340 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4341 Interpolated and measured values where switched.
4342
4343 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4344
4345 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4346 Label the points in diagram and show if they are interpolated or not.
4347
4348 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
4349 New. Extended XYSeriesCollection to cope with QWs
4350
4351 * src/main/java/de/intevation/flys/utils/Formatter.java: Added formatters
4352 to be fetched only over CallMeta. CallContext are not present in services.
4353
4354 * src/main/java/de/intevation/flys/java2d/ShapeUtils.java: New. Some code
4355 to handle Shapes.
4356
4357 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: New. Shape
4358 renderer. This is a simplified version of the shape renderer
4359 from fixings analysis in desktop FLYS.
4360
4361 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4362
4363 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4364 Re-added accidentially removed code.
4365
4366 2012-06-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4367
4368 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
4369 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
4370 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
4371 src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
4372 Removed trailing whitespace.
4373
4374 2012-06-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4375
4376 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4377 Removed TODOs about I18N
4378
4379 * src/main/resources/messages.properties,
4380 src/main/resources/messages_de_DE.properties,
4381 src/main/resources/messages_en.properties,
4382 src/main/resources/messages_de.properties:
4383 Added strings for fixing analysis.
4384
4385 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4386
4387 * src/main/java/de/intevation/flys/utils/KMIndex.java:
4388 OpenJDK javac 1.6.0_24 seems to be more picky about
4389 correct usage of generics.
4390
4391 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4392
4393 * contrib/add-i18n-numbers.py: New. Script to prefix
4394 the values of property files with a small number to
4395 make the keys identifiable even through the UI.
4396
4397 Apply in the same manner as contrib/check-i18n-properties.py
4398
4399 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4400
4401 * src/main/resources/messages_de.properties,
4402 src/main/resources/messages.properties,
4403 src/main/resources/messages_de_DE.properties:
4404 Repaired inconsistencies.
4405
4406 2012-06-24 Christian Lins <christian.lins@intevation.de>
4407
4408 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
4409 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
4410 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
4411 src/main/java/de/intevation/flys/jfree/XYStyle.java:
4412 Add debug logs.
4413
4414 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
4415 src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
4416 Draw the W/Q function as StyledXYSeries.
4417
4418 2012-06-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4419
4420 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4421 Re-enable legend entry aggregation, take the threshold from
4422 settings.
4423
4424 2012-06-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4425
4426 * src/main/java/de/intevation/flys/exports/ChartSettings.java:
4427 Parse and set legend aggregation value.
4428
4429 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4430
4431 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java,
4432 src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java,
4433 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
4434 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
4435 Removed trailing whitespace.
4436
4437 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4438
4439 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4440 Added bug output when creating Q sector markers.
4441
4442 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
4443 Added toString() method.
4444
4445 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4446
4447 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4448 Set the aggregation threshold value.
4449
4450 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4451
4452 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java,
4453 src/main/java/de/intevation/flys/collections/OutputParser.java:
4454 Cosmetics, doc.
4455
4456 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4457
4458 * src/main/java/de/intevation/flys/exports/WstWriter.java:
4459 Cosmetics.
4460
4461 2012-06-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4462
4463 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4464 Draw domain markers for borders of Q sectors. There is some kind of glitch
4465 in in the Q sector classifaction code or the db data is strange.
4466
4467 Because of the common code basis this affects the fixings calculations, too. :-(
4468
4469 2012-06-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4470
4471 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4472 Calculate the standard deviation of the Q sector delta Ws, too.
4473
4474 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
4475 Store the standard deviation of the Q sector delta Ws, too.
4476 Indexed 0..3; NaN means the std dev for this sector is not existing.
4477
4478 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4479
4480 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
4481 added method getSectorBorder(int). With this method you can figure
4482 the three discharge sector borders. Returns NaN if border is
4483 not there. Usage:
4484
4485 GaugeFinderFactory ggf = GaugeFinderFactory.getInstance();
4486 GaugeFinder gf = ggf.getGaugeFinder("Elbe");
4487 if (gf == null) { /* FAIL */ }
4488 GaugeRange gr = gf.find(km); // km is the km where you are.
4489 if (gr == null) { /* FAIL */ }
4490
4491 double m0 = gr.getSectorBorder(0); // Draw as marker if not NaN
4492 double m1 = gr.getSectorBorder(1); // Draw as marker if not NaN
4493 double m2 = gr.getSectorBorder(2); // Draw as marker if not NaN
4494
4495 Labels should be:
4496 '(MNQ+MQ)/2' for m0
4497 '(MQ+MHQ)/2' for m1
4498 'HQ5' for m2
4499
4500 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4501
4502 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java:
4503 New. Cache access to per river gauge finders. This very useful
4504 if you want to draw the discharge sectors of river at a given
4505 km into a diagram.
4506
4507 * doc/conf/cache.xml: Added cache 'gauge-finders'.
4508
4509 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
4510 Added find(double km) method to find GaugeRange by km.
4511
4512 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
4513 Uses the instance of the GaugeFinderFactory to access the
4514 gauge ranges.
4515
4516 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
4517 Simplified code.
4518
4519 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4520
4521 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
4522 New. Moved out of FixingsOverview.
4523
4524 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
4525 Moved GaugeFinder into top level class.
4526
4527 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4528
4529 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
4530 New. Moved out of FixingsOverview.
4531
4532 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
4533 Moved GaugeRange into top level class.
4534
4535 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4536
4537 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4538 Prevent some NPEs.
4539 !!! This is not a fix for the real problem !!!
4540
4541 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4542
4543 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
4544 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
4545 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
4546 Removed superfluous imports.
4547
4548 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4549
4550 * src/main/java/de/intevation/flys/artifacts/model/Range.java:
4551 New. Moved out of FixingsOverview.
4552
4553 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
4554 Moved Range into top level class.
4555
4556 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
4557 src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java,
4558 src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
4559 Adjusted imports.
4560
4561 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4562
4563 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4564 Fixed problem with select the wrong meta data (date, descriptions, etc.)
4565 for a data column.
4566
4567 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4568
4569 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
4570 Fixed stupid i/j switch bug.
4571
4572 2012-06-21 Raimund Renkert <raimund.renkert@intevation.de>
4573
4574 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4575 Updated i18n.
4576
4577 * src/main/resources/messages.properties,
4578 src/main/resources/messages_de_DE.properties,
4579 src/main/resources/messages_en.properties,
4580 src/main/resources/messages_de.properties:
4581 Added i18n string for delta W(t) chart.
4582
4583 2012-06-21 Raimund Renkert <raimund.renkert@intevation.de>
4584
4585 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4586 Added attribution for single series styling.
4587
4588 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4589 Skip legend items for interpolated point series.
4590
4591 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
4592 Split analysis and reference points into two chart series. Added attribute
4593 for interpolated points for different styling.
4594
4595 * src/main/java/de/intevation/flys/jfree/Style.java:
4596 Added getter for renderer.
4597
4598 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
4599 Implemented getter for renderer.
4600
4601 2012-06-21 Christian Lins <christian.lins@intevation.de>
4602
4603 * doc/conf/artifacts/fixanalysis.xml,
4604 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4605 Split fix_sector_average_wq in four facet types, one for each class (_0, _1, ..)
4606
4607 * doc/conf/themes.xml:
4608 Update themes for WQ curve
4609
4610 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4611 Fix for small issue with sector average points
4612
4613 2012-06-21 Christian Lins <christian.lins@intevation.de>
4614
4615 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4616 Adapt doAverageSectorOut() to reflect changes in Facet.
4617
4618 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
4619
4620 Added delta W(t) chart in fix analysis.
4621
4622 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4623 Added facet types for deta W(t) chart.
4624
4625 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
4626 Changed facet index to determine the sector index and the analysis period
4627 index.
4628
4629 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4630 Calculate a facet index including the sector index and the analysis period
4631 index.
4632 Added new facet for delta W(t) chart.
4633
4634 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java:
4635 New. Facet to display the standard deviation in delta W(t) chart.
4636
4637 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
4638 New. Generator for the delta W(t) chart.
4639
4640 * doc/conf/artifacts/fixanalysis.xml:
4641 Updated facets in outputmodes.
4642
4643 * doc/conf/conf.xml:
4644 Added output generator to config.
4645
4646 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
4647
4648 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4649 New methods to add domain and value axis markers to the plot.
4650
4651 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
4652
4653 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
4654 Added reference events to CSV export.
4655
4656 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
4657
4658 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
4659 Changed data type from QW[] to QWD[] to have delta Ws in reference events.
4660
4661 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
4662
4663 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
4664 Moved function instantiation to alway have a valid function instance.
4665
4666 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
4667
4668 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
4669 Fixed binary search.
4670
4671 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4672
4673 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
4674 Bring binarySearch with epsilon more to source of binarySearch of Collections.
4675 Still not working properly. Why?
4676
4677 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4678
4679 Avoid problems with corrected Ws in cross-sections; hacky solution,
4680 issue680.
4681
4682 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
4683 (waterLineC): New, get corrected W.
4684
4685 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
4686 Create C-facet with other index.
4687
4688 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4689
4690 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
4691 Cosmetics, doc.
4692
4693 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4694
4695 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
4696 Cosmetics, doc.
4697
4698 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4699
4700 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4701 Now respects the selected events and reference period correctly.
4702
4703 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
4704 referenceStart and referenceEnd are now melted into referencePeriod.
4705
4706 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
4707 Add a new filter IdsFilter which is more efficent to check than a
4708 OrFilter with a list of IdFilters inside.
4709
4710 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
4711 Expose the new IdsFilter to the XML representation in form of
4712 <columns cids="<list of whitespace separated ids"/>
4713
4714 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
4715
4716 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
4717 Fixed broken naming of chart curves.
4718
4719 * src/main/resources/messages.properties,
4720 src/main/resources/messages_de_DE.properties,
4721 src/main/resources/messages_en.properties,
4722 src/main/resources/messages_de.properties: Renamed facets for SQ
4723 relation chart curves.
4724
4725 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
4726
4727 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
4728 Create a compound index value for SQOutlierFacets. This index is based
4729 on the index of the result object (to get the correct data) and the
4730 iteration of the outliers. This compound index is used to make
4731 SQOutlierFacets unique to FLYSCollection's DESCRIBE document.
4732
4733 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java:
4734 Parse the index of the result object and the iteration number from index
4735 property.
4736
4737 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
4738 Added some more debug output.
4739
4740 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
4741
4742 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
4743 Create only SQ objects with values > 0. Otherwise JFreeChart will break
4744 during chart creation (values for logarithmic axes have to be > 0).
4745
4746 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
4747
4748 * doc/conf/themes.xml: Adjusted the color of SQ Facets (lines and points)
4749 as shown in examples.
4750
4751 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
4752
4753 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
4754 Create new Facets with proper i18n label.
4755
4756 * src/main/resources/messages.properties,
4757 src/main/resources/messages_de_DE.properties,
4758 src/main/resources/messages_en.properties,
4759 src/main/resources/messages_de.properties: Added i18n strings for facet
4760 names.
4761
4762 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
4763
4764 * src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorA.java,
4765 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorB.java,
4766 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorC.java,
4767 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorD.java,
4768 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorE.java,
4769 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorF.java:
4770 New concrete chart generators. Each fraction of the SQ relation
4771 calculation has its own generator now. This is because they all have
4772 different chart titles and labels.
4773
4774 * doc/conf/conf.xml: Let SQ relation charts use more concrete generators.
4775
4776 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
4777 Implemented getDefaultXAxisLabel() getDefaultYAxisLabel().
4778
4779 * src/main/resources/messages.properties,
4780 src/main/resources/messages_de_DE.properties,
4781 src/main/resources/messages_en.properties,
4782 src/main/resources/messages_de.properties: Added i18n strings for chart
4783 titles and axes labels.
4784
4785 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4786
4787 Fix issue681 (wrong vertical lines in duration curve q-mainvalues on
4788 second y-axis).
4789
4790 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4791 Fix vertical line if on second y-axis.
4792
4793 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4794
4795 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
4796 Restrict q-filter facet to the differences case.
4797
4798 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4799
4800 * doc/conf/artifacts/waterlevel.xml: Add Q-facets to compatibility list.
4801
4802 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
4803 Add Q-facets to filter facet list.
4804
4805 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4806
4807 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java,
4808 src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
4809 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4810 Removed trailing whitespace.
4811
4812 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4813
4814 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java: Directly
4815 sample "our" Function objects instead of JFreeChart Function2Ds.
4816
4817 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
4818 Removed JFreeChart Function2D wrapper and directly use our Function
4819 objects.
4820
4821 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4822
4823 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
4824 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4825 Removed superfluous imports.
4826
4827 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4828
4829 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
4830 Calculate the standard deviation of the delta Ws of the referencen points, too.
4831
4832 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4833 Store the standard deviation of delta Ws of reference points into
4834 a parameters column "std-dev".
4835
4836 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
4837
4838 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java: New function to
4839 sample a Function2D. This method is used, because JFreeChart's
4840 DataUtilities.sampleFunction2D() returns an instance of XYSeries but we
4841 need StyledXYSeries.
4842
4843 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java: Added a
4844 method to retrieve parameter values for a list of parameter names.
4845
4846 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
4847 Create a fake Parameters object for the SQ curve.
4848
4849 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
4850 Added getMinQ() and getMaxQ() to determine the Q range.
4851
4852 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFunction.java: New
4853 model class that stores a Function and a min and max Q value.
4854
4855 * src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java:
4856 Return a SQFunction instance based on the parameters and Q range of the
4857 SQFractionResult.
4858
4859 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java: Use
4860 JFreeUtil's new function sampleFunction2D to create a StyledXYSeries for
4861 the SQ curve.
4862
4863 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4864
4865 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4866 Store into QWs if they are interpolated.
4867
4868 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java,
4869 src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
4870 Stores boolean if the values are interpolated.
4871
4872 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4873
4874 * src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java:
4875 Name derivative S'(Q).
4876
4877 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4878
4879 * doc/conf/artifacts/winfo.xml: Add Q-Facets to compatibility list of dis-c.
4880
4881 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
4882
4883 * doc/conf/themes.xml: Added theme mappings for sq relation fractions b - f.
4884
4885 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
4886
4887 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java: Renamed
4888 the former SQResult to SQFractionResult. This class is now used to store a
4889 set of SQFractionResults for each SQ calculation.
4890
4891 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
4892 Former SQResult.
4893
4894 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
4895 Create new fake SQFractionResults for fraction A, B and C (used for
4896 testing).
4897
4898 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java,
4899 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java,
4900 src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
4901 Added the 'fractionIdx' property to get to know which fraction should be
4902 represented.
4903
4904 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java: Create
4905 Facets for each SQResult and SQFractionResult.
4906
4907 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4908
4909 * src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java:
4910 New. S(Q) = a*Q^b
4911
4912 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
4913 Registered new function.
4914
4915 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
4916
4917 * src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
4918 Implemented getData(). It returns the SQ[] of
4919 SQResult.getMeasurements().
4920
4921 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java: Create
4922 proper facet for sq measurements and corrected constructor call of
4923 SQOutlierFacet.
4924
4925 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
4926 Generalized doSQMeasurementsOut() and doSQOutliersOut() to one single
4927 method doSQOut() which is able to handle SQ[] data.
4928
4929 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
4930
4931 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Changed the
4932 default behavior: line labels are not visible if no config option is set!
4933
4934 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4935
4936 * doc/conf/conf.xml: Load config of rest server and floodmap over
4937 external entities, too.
4938
4939 * doc/conf/floodmap.xml, doc/conf/rest-server.xml: New.
4940 External config.
4941
4942 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4943
4944 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
4945 The reference points are now wrapped in QWDs. This enables the
4946 plotting of Delta W(t) data for the reference points.
4947
4948 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
4949 Added convenience constructor.
4950
4951 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
4952 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
4953 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4954 Adjusted.
4955
4956 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
4957 Cosmetics.
4958
4959 2012-06-18 Christian Lins <christian.lins@intevation.de>
4960
4961 * doc/conf/artifacts/fixanalysis.xml:
4962 Remove fix_analysis_periods_wq from fix_wq_curve facet.
4963
4964 * doc/conf/themes.xml:
4965 Add fixing themes for other theme groups.
4966
4967 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
4968 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java:
4969 Debug output added.
4970
4971 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4972
4973 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
4974 Added vim line, made class public.
4975
4976 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4977
4978 * doc/conf/conf.xml: Using external system entities to configure databases.
4979 !!!
4980 !!! FROM NOW ON YOU CAN YOUR conf.xml FROM TRUNK.
4981 !!! Adjust the database credentials via the *-db.xml files
4982 !!! which are included.
4983 !!!
4984
4985 * doc/conf/artifact-db.xml: New. Configuration for the artifact database.
4986 * doc/conf/seddb-db.xml: New. Configuration for the SedDB
4987 * doc/conf/backend-db.xml: New. Configuration for the FLYS3 database.
4988 * doc/conf/datacage-db.xml: Configuration for the datacage datacage.
4989
4990 2012-06-18 Raimund Renkert <raimund.renkert@intevation.de>
4991
4992 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
4993 Fixed constructor.
4994
4995 2012-06-18 Christian Lins <christian.lins@intevation.de>
4996
4997 * doc/conf/themes.xml:
4998 Add themes for fixing facets.
4999
5000 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
5001 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
5002 Use FixFacetUtils.getMaxQ() to retrieve max Q.
5003 Interpolate km values instead of strict binary search.
5004
5005 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
5006 Added, contains static getMaxQ() method.
5007
5008 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
5009 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5010 Some issues fixed.
5011
5012 2012-06-18 Ingo Weinzierl <ingo@intevation.de>
5013
5014 * doc/conf/themes.xml: Fixed broken color strings.
5015
5016 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added new functions
5017 that return colors for points.
5018
5019 * src/main/java/de/intevation/flys/themes/ThemeAccess.java: Added new
5020 function that returns the color for points.
5021
5022 * src/main/java/de/intevation/flys/jfree/XYStyle.java: Added new method to
5023 apply the color of points (independent of the specified line color).
5024
5025 2012-06-18 Ingo Weinzierl <ingo@intevation.de>
5026
5027 * doc/conf/themes.xml: Added themes for SQ relation charts
5028 ('sq_a_measurement', sq_a_outlier' and 'sq_a_curve').
5029
5030 2012-06-18 Raimund Renkert <raimund.renkert@intevation.de>
5031
5032 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java:
5033 New. Abstract chart generator for fix analysis. This generator adds the
5034 current km to the context.
5035
5036 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
5037 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5038 Generators now extend the FixCahrtGenerator.
5039
5040 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
5041 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
5042 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
5043 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
5044 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
5045 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
5046 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
5047 Get the current km from context.
5048
5049 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
5050 Removed getter for current km.
5051
5052 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5053
5054 * src/main/java/de/intevation/flys/artifacts/map/PrintMap.java,
5055 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
5056 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java,
5057 src/main/java/de/intevation/flys/artifacts/states/DischargeState.java,
5058 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
5059 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
5060 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
5061 src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
5062 Removed repeated x.size() calls from for loops.
5063
5064 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5065
5066 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
5067 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5068 Removed superfluous imports.
5069
5070 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5071
5072 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java,
5073 src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java,
5074 src/main/java/de/intevation/flys/artifacts/model/WQTJRDataSource.java:
5075 Added missing 'else's in if/else ladders.
5076
5077 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5078
5079 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
5080 Fixed string comparision for identity.
5081
5082 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5083
5084 * src/main/java/de/intevation/flys/**/*.java: Added missing vim lines.
5085
5086 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5087
5088 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5089 Removed tabs. Set log level from INFO to DEBUG because this case
5090 is much too common.
5091
5092 2012-06-17 Christian Lins <christian.lins@intevation.de>
5093
5094 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5095 Comments added.
5096
5097 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
5098 Logging output added.
5099
5100 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
5101 Max Q is now determined by parameter.interpolate().
5102
5103 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
5104 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5105 Use getCurrentKmFromRequest() in output generation.
5106
5107 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
5108 Typo in method description.
5109
5110 2012-06-15 Raimund Renkert <raimund.renkert@intevation.de>
5111
5112 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
5113 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
5114 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
5115 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
5116 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
5117 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
5118 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
5119 The getData() method now takes a km parameter to get the data at a specific
5120 km.
5121
5122 2012-06-15 Ingo Weinzierl <ingo@intevation.de>
5123
5124 * src/main/java/de/intevation/flys/artifacts/model/sq/SQ.java: New model to
5125 store values for S/Q.
5126
5127 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java: New
5128 model class that should be used to store calculation results of SQ
5129 relation.
5130
5131 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
5132 Create a fake SQResult.
5133
5134 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java:
5135 Set missing required properties, so that this facet will be able to
5136 re-calculate results again if the results are not in cache.
5137
5138 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
5139 Create correct number of facets for parameter A for outliers Facet.
5140
5141 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
5142 Create a JFreeChart XYSeries from SQResult's outliers Facet.
5143
5144 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
5145 method to create X axes. The SQRelationGenerator overrides this method,
5146 because it requires a logarithmic axis.
5147
5148 2012-06-15 Raimund Renkert <raimund.renkert@intevation.de>
5149
5150 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
5151 Added getter for current km.
5152
5153 2012-06-15 Ingo Weinzierl <ingo@intevation.de>
5154
5155 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
5156 new functions to determine if a Facet is a SQ curve, measurement or
5157 outlier independend of their parameter.
5158
5159 * src/main/java/de/intevation/flys/exports/sq/SQRelationInfoGenerator.java,
5160 src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java,
5161 src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java:
5162 Stubs for chart and export generators.
5163
5164 * doc/conf/conf.xml: Registered new output-generators for SQ relation
5165 charts and exports.
5166
5167 * src/main/resources/messages.properties,
5168 src/main/resources/messages_de_DE.properties,
5169 src/main/resources/messages_en.properties,
5170 src/main/resources/messages_de.properties: Added i18n strings for CSV
5171 export of SQ relations.
5172
5173 2012-06-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5174
5175 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace.
5176
5177 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5178
5179 * doc/conf/conf.xml: Added out commented block for SedDB configuration.
5180
5181 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5182
5183 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
5184 Some code cleanup.
5185
5186 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5187
5188 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
5189 Added more debug output.
5190
5191 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
5192 Interpolate the coeffs for the function to be drawn.
5193
5194 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5195 Made code more robust for none existing data.
5196
5197 2012-06-14 Ingo Weinzierl <ingo@intevation.de>
5198
5199 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
5200 new Facets for MINFO SQ relation calculation.
5201
5202 * doc/conf/artifacts/minfo.xml: Added output for chart and data export for
5203 sq relation calculation. Registered new facets.
5204
5205 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
5206 src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java,
5207 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java,
5208 src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
5209 Stubs for calculation and Facets used for SQ relation calculation.
5210
5211 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
5212 Override computeAdvance() and implemented a stub for calculation and
5213 Facet creation.
5214
5215 2012-06-11 Raimund Renkert <raimund.renkert@intevation.de>
5216
5217 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
5218 Changed filter string to 'Messstelle'.
5219
5220 2012-06-14 Ingo Weinzierl <ingo@intevation.de>
5221
5222 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
5223 Fetch only cross section tracks that have a name 'qps' set for WSPLGEN
5224 calculation.
5225
5226 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5227
5228 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
5229 Use binary search again.
5230
5231 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5232
5233 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
5234 Removed superfluous import.
5235
5236 2012-06-13 Christian Lins <christian.lins@intevation.de>
5237
5238 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
5239 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
5240 Workaround for IndexOutOfBoundsException.
5241
5242 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
5243 Output generator for fixing derived curve.
5244
5245 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
5246 Use binary search with epsilon again.
5247
5248 2012-06-13 Ingo Weinzierl <ingo@intevation.de>
5249
5250 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
5251 Added more debug/warn log statements.
5252
5253 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java: Do
5254 not add empty objects into the calculation result.
5255
5256 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5257 Take care on empty QWD objects.
5258
5259 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5260
5261 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java,
5262 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
5263 src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
5264 Max Q is store in column "max_q" in Parameters now. So function can be plotted
5265 bewtween calculated kms, too.
5266 For function sampling use something like this.:
5267
5268 double [] maxQ = parameters.interpolate("km", 42.3", new String [] { "max_q" });
5269 double maxSampleQ = 10000d;
5270
5271 if (maxQ != null) {
5272 maxSampleQ = Math.min(2000d, Math.abs(maxQ[0]));
5273 maxSampleQ += 0.05*maxSampleQ;
5274 }
5275
5276 2012-06-13 Christian Lins <christian.lins@intevation.de>
5277
5278 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5279 Add missing imports and correct coding issues.
5280
5281 2012-06-12 Christian Lins <christian.lins@intevation.de>
5282
5283 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
5284 Use KMIndex.search() (with epsilon) instead of KMIndex.binarySearch().
5285
5286 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
5287 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5288 Move marker generation to XYChartGenerator.
5289
5290 2012-06-12 Christian Lins <christian.lins@intevation.de>
5291
5292 * doc/conf/conf.xml:
5293 Add fix_wq_curve output generator.
5294
5295 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
5296 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
5297 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
5298 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
5299 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
5300 Add additional null-checks to prevent NullPointerExceptions when accessing empty
5301 facets.
5302
5303 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
5304 getMaxQ() now returns constant '1000' until it is properly fixed.
5305
5306 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5307 Code for generating charts more or less complete but untested due to bugs in facets.
5308
5309 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5310
5311 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5312 Added method double [] interpolate(keyName, key, columnNames).
5313 This construct is better suited for the extraction of
5314 coefficients for building functions. In pseudo code:
5315
5316 fitting.Function function =
5317 FunctionFactory.getInstance().getFunction("log");
5318
5319 double km = 42.35;
5320
5321 double [] coeffs = parameters.interpolate(
5322 "km", km, function.getParamterNames());
5323
5324 math.Function f = function.instantiate(coeffs);
5325
5326 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5327
5328 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
5329 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
5330 Removed superfluous imports.
5331
5332 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5333
5334 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5335 Added interpolate methods that return an array of linear interpolated
5336 values for a given key. Say you have a column named "km" you can call
5337 'values = parameters.interpolate("km", 12)' to fetch a set
5338 of proportional interpolated parameters even if there are only
5339 "km": 10 and "km": 15 in the data structure. Returns null if out of bounds.
5340
5341 2012-06-11 Raimund Renkert <raimund.renkert@intevation.de>
5342
5343 * doc/conf/artifacts/minfo.xml:
5344 Added states and transitions for S-Q-relation.
5345
5346 * src/main/java/de/intevation/flys/artifacts/states/PeriodsSelect.java,
5347 src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java,
5348 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
5349 New. States for multiple periods input, outliers input and final
5350 S-Q-relation.
5351
5352 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
5353 Added name filter for locations.
5354
5355 * src/main/resources/messages.properties,
5356 src/main/resources/messages_de_DE.properties,
5357 src/main/resources/messages_en.properties,
5358 src/main/resources/messages_de.properties:
5359 Added i18n strings for states.
5360
5361 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5362
5363 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5364 Fixed broken logger class.
5365
5366 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5367 Re-establish old indentation.
5368
5369 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5370
5371 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
5372 (doWOut): Interpolate values from WKms.
5373
5374 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5375
5376 * src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
5377 Enable caching.
5378
5379 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5380
5381 * doc/conf/meta-data.xml: Simplified choice of gauges for discharge c.
5382
5383 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
5384 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
5385 Create better name for facets, minor refactoring, polishing.
5386
5387 * src/main/resources/messages.properties,
5388 src/main/resources/messages_de_DE.properties,
5389 src/main/resources/messages_en.properties,
5390 src/main/resources/messages_de.properties:
5391 Added i18n strings.
5392
5393 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5394
5395 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
5396 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
5397 Cosmetics, docs
5398
5399 2012-06-07 Raimund Renkert <raimund.renkert@intevation.de>
5400
5401 * src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
5402 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5403 Use i18n strings.
5404
5405 * src/main/resources/messages.properties,
5406 src/main/resources/messages_de_DE.properties,
5407 src/main/resources/messages_en.properties,
5408 src/main/resources/messages_de.properties:
5409 Added i18n strings.
5410
5411 2012-06-07 Raimund Renkert <raimund.renkert@intevation.de>
5412
5413 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5414 Changed facet description.
5415
5416 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5417
5418 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java,
5419 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
5420 src/main/java/de/intevation/flys/utils/FLYSUtils.java:
5421 Cosmetics, doc.
5422
5423 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5424
5425 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java:
5426 Fix issues, import river, documentation, more debug.
5427
5428 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5429
5430 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java:
5431 Hard-code state id, instruct computation to result in facets.
5432
5433 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5434
5435 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
5436 Doc.
5437
5438 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
5439
5440 Added facet for derivate curve and fixed facet names.
5441
5442 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
5443 New. Facet for derivate curve.
5444
5445 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
5446 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
5447 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
5448 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
5449 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
5450 Added name for facet to constructor.
5451
5452 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5453 Add one facet for each output using a different name.
5454
5455 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5456 Added facet names.
5457
5458 * doc/conf/artifacts/fixanalysis.xml:
5459 Changed facet names.
5460
5461 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5462
5463 * src/main/java/de/intevation/flys/exports/MiddleBedHeightExporter.java:
5464 Trivial doc.
5465
5466 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5467
5468 * doc/datacage.txt: More documentation of datacage conf.
5469
5470 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
5471
5472 Added new facet for analysis periods and updated facet names.
5473
5474 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java:
5475 New. Facet for analysis periods. Returns the date ranges for the analysis
5476 periods.
5477
5478 * doc/conf/artifacts/fixanalysis.xml,
5479 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5480 Added new facet and updated facet names.
5481
5482 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
5483 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
5484 Updated facet names.
5485
5486 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5487
5488 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
5489 Minor doc.
5490
5491 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5492
5493 * doc/datacage.txt: More documentation of datacage conf.
5494
5495 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
5496
5497 Implemented facets and splitted up the event facet.
5498
5499 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixEventsFacet.java:
5500 Removed.
5501
5502 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
5503 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
5504 New. Facets for events.
5505
5506 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
5507 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
5508 Implemented getData().
5509
5510 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5511 Add new event facets.
5512
5513 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
5514 Fixed return value.
5515
5516 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5517
5518 * src/main/java/de/intevation/flys/jfree/Function2DAdapter.java:
5519 New. Adapter class to brigde de.intevation.flys.artifacts.math.Function
5520 to org.jfree.data.function.Function2D.
5521
5522 Function2D objects can be used by org.jfree.data.general.DatasetUtilities
5523 to sample functions into XYDatasets.
5524 See DatasetUtilities.sampleFunction2D()
5525
5526 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5527
5528 * doc/datacage.txt: New file that will contain datacage configuration
5529 documentation.
5530
5531 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
5532
5533 * doc/conf/artifacts/fixanalysis.xml:
5534 Fixed outputmodes.
5535
5536 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5537
5538 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
5539 Local variable shadowed instance variable.
5540
5541 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5542
5543 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5544 Fixed index problem with name of chi^2.
5545
5546 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
5547
5548 Added facets for fix analysis.
5549
5550 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
5551 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
5552 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
5553 src/main/java/de/intevation/flys/artifacts/model/fixings/FixEventsFacet.java:
5554 New. Facets for W/Q-Chart in fix analysis. FixAvSectorFacet is implemented,
5555 the others are just stubs.
5556
5557 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5558 Add facets to artifact after calculation.
5559
5560 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
5561 Added method to get the current km for charts. The km is used for
5562 synchronous navigation in fix analysis charts.
5563
5564 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5565 Added new facet types.
5566
5567 * doc/conf/artifacts/fixanalysis.xml:
5568 Added facets to config.
5569
5570 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5571
5572 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5573 Added some binary search methods. TODO: Sort by column.
5574
5575 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5576
5577 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
5578 Use new data structures for export.
5579
5580 * src/main/java/de/intevation/flys/utils/KMIndex.java:
5581 Implements java.lang.Iterable now.
5582
5583 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWT.java,
5584 src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
5585 Removed. Obsolete.
5586
5587 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
5588 Removed superfluous import.
5589
5590 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5591
5592 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
5593 Prevent duplicates in analysis periods.
5594
5595 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java:
5596 Added equals.
5597
5598 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5599
5600 * src/main/java/de/intevation/flys/utils/EpsilonComparator.java:
5601 Removed. Obsolete now.
5602
5603 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5604
5605 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java:
5606 Improved collision detection.
5607
5608 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
5609 Avoid collisions of line labels, documentation.
5610
5611 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
5612 Use JFreeUtil.
5613
5614 * src/main/java/de/intevation/flys/jfree/CollisionFreeLineLabelEntity.java:
5615 New, ChartEntity class for Line labels.
5616
5617 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5618
5619 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
5620 Store the QWs that are actually used in the fitting as referenced.
5621
5622 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5623 Store the referenced QWs for each km. TODO: Use same index structure.
5624
5625 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
5626 Store the referenced QWs, too.
5627
5628 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5629
5630 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResults.java:
5631 Removed. Obsolete.
5632
5633 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5634
5635 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriodsKM.java:
5636 Removed. Not needed any longer.
5637
5638 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5639 Store the AnalysisPeriod per km into FixResult.
5640
5641 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
5642 Uses KMIndex<AnalysisPeriod []> instead of DeltaWTsKM now.
5643
5644 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
5645 Commented out old code.
5646 TODO: Rewrite exporter to use AnalysisPeriods.
5647
5648 2012-06-05 Ingo Weinzierl <ingo@intevation.de>
5649
5650 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Override
5651 endOfLife() to remove files and directories produced for WMS output.
5652
5653 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5654
5655 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java:
5656 New jfreechart-related utility class.
5657
5658 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5659
5660 * src/main/java/de/intevation/flys/utils/Formatter.java:
5661 (getMeterFormat): New.
5662 Doc.
5663
5664 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
5665 i18n and formatting for line labels.
5666
5667 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5668
5669 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
5670 Added better doc and TODO.
5671
5672 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5673
5674 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
5675 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
5676 Now uses the KMIndex for outliers.
5677 TODO: Use KMIndex for DeltaWTs, too.
5678
5679 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5680
5681 * src/main/java/de/intevation/flys/utils/KMIndex.java: New.
5682 Serializable index structure to find objects by there km.
5683 TODO: Use in fixings analysis.
5684
5685 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5686
5687 * src/main/java/de/intevation/flys/utils/EpsilonComparator.java:
5688 Fixed sign problem in comparison.
5689
5690 2012-06-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5691
5692 Implemented outlier checks in fixings analysis. Expected to be
5693 still broken, but the code is in the right place now and has the
5694 right structure.
5695
5696 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
5697 Fixed endless loop.
5698
5699 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5700 Added further set methods for indexed access.
5701
5702 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
5703 New. Out factored fitting code from FixCalculation. Checks for outliers, too.
5704
5705 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5706 Moved fitting code out to separate class. Streamlined code a bit.
5707
5708 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
5709 Store the outliers from fitting in separate data structure, too.
5710
5711 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java: New.
5712 Base class for delta W/t data. Used as storage for outliers.
5713
5714 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
5715 Is a sub class of QW now.
5716
5717 2012-06-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5718
5719 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5720 Store Chi^2 of fitting into result, too.
5721
5722 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5723 Added indexed set method.
5724
5725 2012-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5726
5727 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
5728 Added inner class Derivative representing the first derivative of the
5729 function. Can be instantiated with a given set of parameters.
5730
5731 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
5732 src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
5733 src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java,
5734 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java,
5735 src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java,
5736 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java:
5737 Added the derivatives of all fitting functions.
5738
5739 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5740
5741 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5742 Calculate the Delta W/ts +
5743 the average Delta W/ts per Q sector per analysis period.
5744 !!! Very complicated stuff !!!
5745 TODO:
5746 - Store results into the new data structures AnalysisPeriod and
5747 AnalysisPeriods.
5748 - Remove the old DeltaWTsKM and DeltaWT.
5749 - Adjust the facets and the export.
5750
5751 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
5752 Added convinience constructor.
5753
5754 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5755 Added sector filter.
5756
5757 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
5758 Expose the new sector filter to the fixing overview service. Syntax:
5759 <sector value="<value>"/>
5760
5761 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5762
5763 * src/main/java/de/intevation/flys/utils/DateAverager.java:
5764 New. Averages a list of dates preventing overflows.
5765
5766 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5767
5768 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5769 Added a km filter to find columns which touches a given km.
5770
5771 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
5772 Expose the new km filter to the fixing overview service. Syntax:
5773 <position km="<value>"/>
5774
5775 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5776
5777 Better persistence model for delta w/t calculations. Supports
5778 storage of Q sector averages, too. TODO: Use the new model.
5779
5780 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
5781 New. Will be used as a replacement for DeltaWT.
5782
5783 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
5784 New. Will be used as a replacement for DeltaWTsKM.KM.
5785
5786 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriodsKM.java:
5787 New. List<AnalysisPeriodsKM> Will be used as a replacement for DeltaWTsKM.
5788
5789 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5790
5791 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
5792 src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
5793 Use DateRange objects now.
5794
5795 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java: New.
5796 Model for date ranges. To be used in re-factored persistance model.
5797
5798 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5799
5800 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5801 Added method to find the Q sector of fixing column for a given km.
5802 Useful to classify fixing events at certain kms.
5803
5804 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5805
5806 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
5807 Fixed access to analysis periods.
5808
5809 2012-05-30 Raimund Renkert <raimund.renkert@intevation.de>
5810
5811 * doc/conf/artifacts/fixanalysis.xml:
5812 Changed data fields to a single string data field. The data contains a
5813 string of semi-colon separated 'long' value pairs.
5814
5815 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
5816 Process the new data.
5817
5818 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5819
5820 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
5821 trivial doc.
5822
5823 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
5824 Removed disturbing comment.
5825
5826 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java
5827 (SimpleAxis): Add ommitted Y_AXIS2 to enum.
5828
5829 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5830
5831 solve issue417: duration curve annotations as line to curve.
5832
5833 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
5834 (createStickyLineAnnotation): New.
5835 Resolved todos, use the line style.
5836
5837 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5838
5839 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5840 Doc, TODOs added.
5841
5842 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5843
5844 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
5845
5846 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5847 Consider theme setting before drawing line to curve.
5848
5849 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5850
5851 * doc/conf/themes.xml: Donate own theme for mainvalues.
5852
5853 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5854
5855 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5856 Fit from Q to W not from W to Q!
5857 Delta w/t's are now in cm.
5858 Slimmed down fitting error report.
5859
5860 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
5861 Changed default column header of delta W to cm.
5862
5863 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5864
5865 Made Delta W/t calculation work.
5866
5867 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
5868 Added toString() method.
5869
5870 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java:
5871 Fixed problem accessing Ws.
5872
5873 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5874 Fixed silly 'name.equals(name)' bug. This mainly prevented delta W/t
5875 computation from working.
5876
5877 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
5878 More deug code.
5879
5880 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5881 More debug code. Simplified access to data a bit.
5882
5883 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
5884 Allow CSV exporter to throw IOExceptions.
5885
5886 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
5887 More debug output. Flush CSV after writing.
5888
5889 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5890
5891 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5892 Units of step is in meter and not km. Added more debug output.
5893
5894 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5895 Stupidly forgot to add facet to return the delta w/t as CSV.
5896
5897 2012-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5898
5899 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
5900 There was a cast to WINFOArtifact where a cast to FLYSArtifact
5901 is sufficient. This prevented generating error reports that
5902 does not inherit from WINFOArtifact like FixationArtifact.
5903
5904 2012-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5905
5906 * doc/conf/artifacts/fixanalysis.xml,
5907 doc/conf/conf.xml: Added CSV and error report generator/facets.
5908
5909 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
5910
5911 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
5912 CrossSectionFactory.isNewest() will return true if the CrossSection is
5913 the only CrossSection found in the database. No IndexOutOfBounds is
5914 thrown.
5915
5916 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
5917
5918 * Tagged module as '2.7'.
5919
5920 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
5921
5922 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
5923 Don't break chart creation if no hyks are existing.
5924
5925 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5926
5927 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java,
5928 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
5929 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
5930 src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
5931 Removed superfluous imports.
5932
5933 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5934
5935 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
5936 Added getters to access the inner data structures.
5937
5938 * src/main/java/de/intevation/flys/utils/Formatter.java: Added formatting
5939 support for delta w/t exports of fix analysis.
5940
5941 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
5942 New. CSV exporter for delta w/ts of fix analysis.
5943
5944 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
5945 Reordered imports.
5946
5947 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5948
5949 * src/main/java/de/intevation/flys/artifacts/model/fixings/FitResult.java:
5950 Removed. Obsolete.
5951
5952 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
5953 New. Stores the result of the fixing analysis.
5954
5955 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5956 Return the right structure (FixResult) from the calculation.
5957
5958 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5959
5960 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5961 Fixed stupid index bug.
5962
5963 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5964
5965 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5966 Call the computing.
5967
5968 2012-05-25 Ingo Weinzierl <ingo@intevation.de>
5969
5970 * doc/conf/conf.xml: Use the correct Artifacts for wms fixpoints and
5971 floodmaps (they were interchanged).
5972
5973 2012-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5974
5975 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResults.java:
5976 New. Stores all results of a fixing analysis.
5977
5978 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
5979 New. Km indexed container for Delta W/t diagrams.
5980
5981 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5982 Create FixResults and DeltaWTsKM now to store the results.
5983
5984 2012-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5985
5986 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
5987 Replaced another silly "@attribute" XPATH with direct getAttribute()
5988 call.
5989
5990 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5991
5992 Draw line of mainvalues to duration curve hit point to ground.
5993
5994 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5995 Also work for q-value case on second y-axis, refactored.
5996
5997 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
5998 Doc and fix.Doc and fix.
5999
6000 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6001
6002 Also draw lines to curve from q-mainvalues in dur. curve
6003
6004 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
6005 In analogy to the W-case, calculate where line from main value hits
6006 a wqday-curve from DurationCurve.
6007
6008 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6009
6010 Draw line of w-mainvalue to duration curve hit point to ground.
6011
6012 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6013 If StickyAxisAnnotation has a hit point set, also add line annotation
6014 from the crossing point to the x-axis.
6015
6016 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6017
6018 Draw line of w-mainvalue to duration curve, baby version.
6019
6020 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
6021 Added field "hitPoint", when a line to a point should be drawn
6022 - leveraging this annotation into the second dimension.
6023
6024 * src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
6025 Calculate where mainvalue hits a duration curve.
6026
6027 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6028 If StickyAxisAnnotation has a hit point set, add line annotation
6029 to hit (the duration) curve.
6030
6031 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
6032
6033 * doc/conf/themes.xml:
6034 Added a warning to not use virtual themes for facets.
6035
6036 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
6037
6038 * doc/conf/themes.xml:
6039 Added concrete themes for maps.
6040
6041 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6042
6043 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6044 Moved parameter of addAnnotations out, renamed to addVisibleAnnotation.
6045
6046 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
6047 Adjusted.
6048
6049 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
6050
6051 * doc/conf/themes.xml:
6052 Added concrete themes for areas.
6053
6054 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6055
6056 * doc/conf/meta-data.xml: Load mainvalues in reference curves.
6057
6058 * doc/conf/artifacts/winfo.xml: Add mainvalues to compatibility list
6059 of reference curves; fix typo.
6060
6061 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6062
6063 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6064 Render mainvalues as annotations.
6065
6066 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
6067 Render static wkms data.
6068
6069 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6070
6071 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6072 Cosmetic.
6073
6074 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6075
6076 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java,
6077 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
6078 (flipStickyAxis): Allow easy change of sticky axes.
6079
6080 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6081
6082 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
6083 (getWaterlevelData): Exception for discharge case.
6084
6085 * src/main/java/de/intevation/flys/utils/FLYSUtils.java
6086 (getLocations): Exception for discharge case.
6087
6088 2012-05-24 Raimund Renkert <raimund.renkert@intevation.de>
6089
6090 Issue 667.
6091
6092 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
6093 Added data to jfreechart data source.
6094
6095 2012-05-24 Ingo Weinzierl <ingo@intevation.de>
6096
6097 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
6098 src/main/java/de/intevation/flys/artifacts/services/ThemeListingService.java,
6099 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
6100 src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
6101 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
6102 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
6103 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
6104 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
6105 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
6106 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
6107 src/main/java/de/intevation/flys/themes/ThemeGroup.java: Removed
6108 needless imports.
6109
6110 2012-05-24 Ingo Weinzierl <ingo@intevation.de>
6111
6112 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Reproject
6113 geometries into the coordinate reference system defined in the
6114 configuration.
6115
6116 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6117
6118 * doc/conf/meta-data.xml: Include other "thematic" heights for
6119 reference curve relative points dc conf.
6120
6121 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6122
6123 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6124 Cosmetics.
6125
6126 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
6127 Added TODO.
6128
6129 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6130
6131 * doc/conf/artifacts/relativepoint.xml,
6132 doc/conf/conf.xml: Remove relativepoint artifact remainders, so far
6133 all cases are covered by facet.
6134
6135 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6136
6137 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6138 Handle reference curve case, slightly refactored.
6139
6140 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6141 Handle points in doOut.
6142
6143 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6144
6145 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6146 Expose data via blackboard.
6147
6148 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6149
6150 * doc/conf/meta-data.xml: Serve fixations
6151 with relative points for reference curves.
6152
6153 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6154
6155 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
6156 (getReferenceStartKm, getReferenceEndKms): Made public.
6157
6158 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6159
6160 * doc/conf/artifacts/winfo.xml: Add relative point to compatibility
6161 list of reference curve out.
6162
6163 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6164
6165 * doc/conf/artifacts/winfo.xml: Remove second facet from
6166 StaticWKmsArtifact from compatibility list of duration curves.
6167
6168 * doc/conf/themes.xml: Add basic theme for relativepoint.
6169
6170 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6171
6172 * doc/conf/meta-data.xml: Serve floodprotections and heightmarks
6173 with relative points for duration curves.
6174
6175 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6176
6177 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
6178 Handle relative points in doOut.
6179
6180 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6181
6182 * doc/conf/meta-data.xml: Serve fixations with relative points
6183 for duration curves.
6184
6185 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6186
6187 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
6188 Use superclass static field and method.
6189
6190 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6191
6192 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
6193 Handle duration curve case. Do a linear interpolation of the day.
6194
6195 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6196
6197 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java:
6198 Be a DataProvider, provide the duration curve and its km.
6199
6200 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6201
6202 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
6203 (getWAtKmLin): Linear interpolating version of getWAtKm.
6204
6205 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6206
6207 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
6208 Add (dummy-) implementation of a relative point facet.
6209
6210 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
6211 Use superclass infrastructure. Spawn RelativePointFacet.
6212
6213 * doc/conf/winfo.xml: Add relativepoint facet to compatibility list
6214 of duration curve out.
6215
6216 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6217 Add RELATIVE_POINT Facet Type.
6218
6219 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
6220
6221 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
6222 Allow instantiation of a function with concrete parameters.
6223
6224 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
6225 Enable indexed access to parameter names.
6226
6227 * src/main/java/de/intevation/flys/artifacts/model/fixings/FitResult.java:
6228 New. Bundles the results of the fitting.
6229
6230 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWT.java:
6231 New. Stores results of Delta W/t calcs.
6232
6233 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6234 Calculate Delta W/t s, too.
6235
6236 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
6237 Make component filters ('and', 'or') more easy to construct.
6238
6239 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
6240
6241 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
6242 src/main/java/de/intevation/flys/themes/ThemeFactory.java:
6243 Improved startup performance.
6244
6245 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6246
6247 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java
6248 (getDatacageIDValue): New, extracted from various duplicates.
6249
6250 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
6251 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
6252 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
6253 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
6254 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
6255 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
6256 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
6257 Use getDatacageIDValue() from superclass or static context.
6258
6259 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6260
6261 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
6262 Define XPath to access "id" value of element coming from datacage-document.
6263
6264 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
6265 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
6266 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
6267 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
6268 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
6269 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
6270 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
6271 Use xpath defined in superclass.
6272
6273 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6274
6275 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
6276 Whitespace-Cosmetics.
6277
6278 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6279
6280 * doc/conf/relativepoint.xml: New artifact-state-config for upcoming
6281 artifact.
6282
6283 * doc/conf/conf.xml: Register artifact factory and artifact for
6284 upcoming artifact.
6285
6286 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
6287
6288 * src/main/java/de/intevation/flys/themes/ThemeGroup.java:
6289 New. A theme group takes a set of themes configured in the themes.xml.
6290
6291 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
6292 Read the theme groups configured in the themes.xml.
6293 Improved reading the xml file. Thanks to Sascha for the patch.
6294
6295 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6296 Get a theme using the new parameter themegroup.
6297
6298 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
6299 Create theme groups while configuring themes.
6300
6301 * src/main/java/de/intevation/flys/artifacts/services/ThemeListingService.java:
6302 New. This service returns a list with all configured theme groups, each
6303 containing exactly one theme filtered by name.
6304 The theme name has to be provided as parameter.
6305
6306 * doc/conf/conf.xml:
6307 Added new service to config.
6308
6309 * doc/conf/themes.xml:
6310 Introduced theme groups and added new group.
6311
6312 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6313
6314 * doc/conf/meta-data.xml: Repair CS-DC-Conf, allow loading
6315 waterlevels, add fixations and heightmarks.
6316
6317 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6318
6319 * doc/conf/artifacts/winfo.xml: Cosmetics.
6320
6321 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6322
6323 * doc/conf/meta-data.xml: Allow loading of fixations in cross-sections.
6324
6325 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6326
6327 * src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
6328 More debugging of discharge curve issue.
6329
6330 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6331
6332 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
6333 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java
6334 (getDischargeCurveData): Moved to more specific class.
6335
6336 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java:
6337 Cosmetics, be louder in miscondition.
6338
6339 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6340
6341 * doc/conf/meta-data.xml: Allow loading of fixations and thmatic
6342 heights in longitudinal sections, make discharge-curve-misbehavior
6343 testable with trunk.
6344
6345 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6346
6347 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
6348 Render discharge outs (was own out once).
6349
6350 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6351
6352 * doc/conf/artifacts/winfo.xml: Allow cross-section stuff in
6353 dischargelongitudinal state.
6354
6355 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
6356 Add CrossSectionWaterLineFacets, will trigger the cross section output.
6357
6358 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6359
6360 * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
6361 Added vim line.
6362
6363 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
6364 Removed empty line.
6365
6366 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
6367 Removed invalid/not helpful comments.
6368
6369 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
6370 (outputExists): Doc.
6371
6372 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6373
6374 * src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
6375 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java:
6376 Adjusted ui providers to make parameter names unique in client.
6377
6378 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6379
6380 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6381 Fixed short evaluation problem.
6382
6383 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
6384 Added more debuf output.
6385
6386 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6387
6388 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
6389 New. Access the state data of fixings artifacts.
6390
6391 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6392
6393 * doc/conf/artifacts/fixanalysis.xml: Make "start" and "end" parameters
6394 unique in fixings artifact states.
6395
6396 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6397
6398 * doc/conf/winfo.xml: Extend compatibility lists.
6399
6400 * doc/conf/conf.xml: Add gaugedischarge factory and artifact.
6401
6402 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java,
6403 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
6404 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
6405 New, State, Facet and Artifact to access discharge curves of gauges.
6406
6407 * doc/conf/gaugedischarge.xml: New trivial state model for gaugedis.
6408
6409 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6410
6411 * doc/conf/meta-data.xml: Allow loading of prev. reference curves.
6412
6413 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6414
6415 * doc/conf/meta-data.xml: (yet unused) sceleton for ref-curve dc conf.
6416
6417 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de>
6418
6419 * src/main/resources/messages.properties,
6420 src/main/resources/messages_de_DE.properties,
6421 src/main/resources/messages_en.properties,
6422 src/main/resources/messages_de.properties:
6423 Added i18n strings for fix analysis.
6424
6425 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de>
6426
6427 * src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java:
6428 Implemented static data for state.
6429
6430 * doc/conf/artifacts/fixanalysis.xml:
6431 Changed transition in 'volmer' states.
6432
6433
6434 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6435
6436 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
6437 Include km in names of duration curve facets.
6438
6439 * src/main/resources/messages.properties,
6440 src/main/resources/messages_de_DE.properties,
6441 src/main/resources/messages_en.properties,
6442 src/main/resources/messages_de.properties: Adjusted i18n for
6443 duration curve facet names (now include km).
6444
6445 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6446
6447 * doc/conf/meta-data.xml: Allow loading of previous duration curves and
6448 fixations in duration curves.
6449
6450 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
6451
6452 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
6453 Take the current km range into account in getOptions().
6454
6455 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
6456
6457 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
6458 doc/conf/artifacts/minfo.xml: Adapted facets for middle bed height. We
6459 now distinguish between epochs and singles.
6460
6461 * doc/conf/conf.xml: Registered new output generator for middle bed height.
6462
6463 * doc/conf/themes.xml: Added new themes for middle bed height epoch and
6464 single curves.
6465
6466 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
6467 Take the km range into account.
6468
6469 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
6470 Create facets for single and epochs.
6471
6472 * src/main/java/de/intevation/flys/exports/MiddleBedHeightInfoGenerator.java,
6473 * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java:
6474 Chart and info generator for middle bed height charts.
6475
6476 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
6477
6478 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java:
6479 Added new methods that create names for singles and epochs.
6480
6481 * src/main/java/de/intevation/flys/utils/Formatter.java: Added number
6482 formatters used to export middle bed heights values.
6483
6484 * src/main/java/de/intevation/flys/exports/MiddleBedHeightExporter.java:
6485 New exporter for middle bed heights values.
6486
6487 * doc/conf/conf.xml: Registered new output generator for middle bed height
6488 exports.
6489
6490 * src/main/resources/messages.properties,
6491 src/main/resources/messages_de_DE.properties,
6492 src/main/resources/messages_en.properties,
6493 src/main/resources/messages_de.properties: New i18n strings for middle
6494 bed height facets and csv export.
6495
6496 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
6497
6498 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java:
6499 New model class for storing data for middle bed height exports (chart,
6500 data exports).
6501
6502 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
6503 New Calculation that generates new MiddleBedHeightData.
6504
6505 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightFacet.java:
6506 New Facet which is used for middle bed height charts.
6507
6508 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
6509 new facet type for middle bed height curves.
6510
6511 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
6512 Calculate middle bed height data using MiddleBedHeightCalculation and
6513 create new facets for charts and csv export.
6514
6515 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Added new
6516 methods that return the IDs of selected single bed heights and epoch bed
6517 heights.
6518
6519 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
6520
6521 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
6522 Implemented getOptions() and getLabelFor().
6523
6524 2012-05-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6525
6526 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6527 Stabilized legend item aggregation.
6528
6529 2012-05-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6530
6531 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6532 Extensive - although mostly trivial - doc adds.
6533
6534 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
6535
6536 * doc/conf/artifacts/minfo.xml: Added states and transitions for MINFO
6537 middle bed height calculation.
6538
6539 * src/main/java/de/intevation/flys/artifacts/states/MultiStringArrayState.java:
6540 New. Nearly a copy of MultiIntArrayState but uses String values.
6541
6542 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
6543 New subclass of MultiStringArrayState. It will be used for bed heights
6544 selection. We need to do handle the values as string, because singles
6545 and epochs are mixed, so the DB ID is not enough as parameter value.
6546
6547 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
6548 New. This state will trigger the calculation for middle bed height in
6549 MINFO module.
6550
6551 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
6552
6553 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
6554 Do not add a <art:choices> element to the dynamic DESCRIBE but add the
6555 <art:item> directly to <art:select> which allows using default mechanism
6556 in FLYS client.
6557
6558 2012-05-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6559
6560 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
6561 Replaced event name by its description, which combines the
6562 description of the fixing (= WST file description) and the name
6563 of the column.
6564
6565 * contrib/fixoverview2html.xsl: Adjusted.
6566
6567 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
6568
6569 * doc/conf/artifacts/minfo.xml: Added a chart output and relevant facets to
6570 flow velocity state.
6571
6572 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
6573 new facet types for mainchannel, totalchannel and tau of flow velocity
6574 calculation.
6575
6576 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityFacet.java:
6577 New Facet that returns FlowVelocityData in getData().
6578
6579 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityData.java:
6580 Added new methods that return xy points for mainchannel, totalchannel and
6581 tau.
6582
6583 * src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java:
6584 Create new mainchannel, totalchannel and tau Facets for each
6585 FlowVelocityData instance retrieved by FlowVelocityCalculation.
6586
6587 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Commented
6588 legend aggregation out.
6589
6590 * src/main/java/de/intevation/flys/exports/FlowVelocityInfoGenerator.java,
6591 src/main/java/de/intevation/flys/exports/FlowVelocityGenerator.java: New
6592 chart generator for flow velocity data and its info generator.
6593
6594 * doc/conf/conf.xml: Registered the chart and chart info generator for flow
6595 velocity data.
6596
6597 * doc/conf/themes.xml: Added new themes for mainchannel, totalchannel and
6598 tau of flow velocity calculation.
6599
6600 * src/main/resources/messages.properties,
6601 src/main/resources/messages_de_DE.properties,
6602 src/main/resources/messages_en.properties,
6603 src/main/resources/messages_de.properties: Added i18n strings for flow
6604 velocity facets.
6605
6606 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
6607
6608 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
6609 Add a 'label' attribute to each <data> element in the static DESCRIBE.
6610 In addition to that, the <data> element created in this class can have
6611 multiple <item> elements which consist of a 'value' and a 'label'
6612 attribute. This 'label' attribute is taken from getLabelFor() which is
6613 abstract and needs to be implemented by subclasses.
6614
6615 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
6616 Implemented the abstract method getLabelFor().
6617
6618 * src/main/resources/messages.properties,
6619 src/main/resources/messages_de_DE.properties,
6620 src/main/resources/messages_de.properties: New i18n strings for MINFO
6621 parameter names.
6622
6623 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
6624
6625 * src/main/resources/messages.properties,
6626 src/main/resources/messages_de_DE.properties,
6627 src/main/resources/messages_en.properties,
6628 src/main/resources/messages_de.properties: New i18n strings for MINFO
6629 states.
6630
6631 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
6632
6633 * src/main/java/de/intevation/flys/exports/FlowVelocityExporter.java:
6634 Append the name of a location for the km row which is provided by
6635 FLYSUtils.getLocationDescription(km);
6636
6637 * src/main/resources/messages.properties,
6638 src/main/resources/messages_de_DE.properties,
6639 src/main/resources/messages_en.properties,
6640 src/main/resources/messages_de.properties: Added i18n strings for flow
6641 velocity CSV export headers.
6642
6643 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
6644
6645 * doc/conf/artifacts/minfo.xml: Added new state and csv export for MINFO flow
6646 velocity calculation.
6647
6648 * doc/conf/conf.xml: Registered a new CSV exporter for flow velocity
6649 values.
6650
6651 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java:
6652 New calculation for MINFO flow velocity. Actually, this is no
6653 calculation but a bundling of data.
6654
6655 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityData.java:
6656 New model class that is used to store flow velocity relevant data.
6657
6658 * src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java:
6659 New state that triggers the FlowVelocityCalculation and creates new
6660 facets. Currently, only a CSV Facet is created.
6661
6662 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Added
6663 methods to retrieve the IDs of main channels and total channels for the
6664 flow velocity calculation.
6665
6666 * src/main/java/de/intevation/flys/utils/Formatter.java: New formatters
6667 that are used in CSV exporter for flow velocity.
6668
6669 * src/main/java/de/intevation/flys/exports/FlowVelocityExporter.java: New
6670 concrete subclasses of AbstractExporter that currently implements the
6671 path to export FlowVelocityData as CSV.
6672
6673 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
6674
6675 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
6676 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
6677 Removed getDataAsDouble() which is now implemented in FLYSArtifact.
6678
6679 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
6680 Implemented getDataAsDouble(). This method will return a Double based on
6681 a given parameter name.
6682
6683 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
6684
6685 * doc/conf/artifacts/fixanalysis.xml:
6686 Changed data type for state 'eventselect'.
6687
6688 2012-05-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6689
6690 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
6691 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
6692 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
6693 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
6694 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
6695 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
6696 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
6697 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
6698 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
6699 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
6700 src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
6701 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java,
6702 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
6703 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
6704 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
6705 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java,
6706 src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java,
6707 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java,
6708 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
6709 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
6710 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
6711 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
6712 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
6713 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
6714 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
6715 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java,
6716 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
6717 Removed superfluous imports.
6718
6719 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
6720
6721 * doc/conf/artifacts/fixanalysis.xml:
6722 Adjusted state data fields.
6723
6724 * src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
6725 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
6726 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
6727 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java:
6728 Implemented states.
6729
6730 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
6731
6732 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
6733 Fixed constructor. Descriptions are now available.
6734
6735 2012-05-15 Ingo Weinzierl <ingo@intevation.de>
6736
6737 * doc/conf/artifacts/minfo.xml: Added new transistions and states for
6738 MINFO flow velocity calculation.
6739
6740 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
6741 New abstract states that might be used to append a list of available
6742 integer values to the DESCRIBE document.
6743
6744 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
6745 Concrete subclass of MultiIntArrayState which implements the abstract
6746 method getOptions().
6747
6748 2012-05-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6749
6750 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
6751 New. Model for storing fitting results in cache.
6752
6753 2012-05-14 Ingo Weinzierl <ingo@intevation.de>
6754
6755 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
6756 Removed the computeFeed() method that created Facets for discharge
6757 curves to make this state ready to use in MINFO calculations.
6758
6759 2012-05-14 Ingo Weinzierl <ingo@intevation.de>
6760
6761 * doc/conf/artifacts/minfo.xml: New Artifact configuration for module
6762 MINFO.
6763
6764 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: New
6765 Artifact for module INFO.
6766
6767 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelectMinfo.java:
6768 New. The state is used for choosing the calculation in module MINFO.
6769
6770 * doc/conf/conf.xml: Registered the MINFO Artifact.
6771
6772 * src/main/resources/messages.properties,
6773 src/main/resources/messages_de_DE.properties,
6774 src/main/resources/messages_en.properties,
6775 src/main/resources/messages_de.properties: New strings for states and
6776 calculations.
6777
6778 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6779
6780 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
6781 Removed unused code.
6782
6783 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6784
6785 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
6786 Doc.
6787
6788 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6789
6790 * doc/conf/meta-data.xml: Allow duration_curve.q loading via datacage.
6791
6792 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6793
6794 * doc/conf/meta-data.xml: Allow hyk loading also when in non-
6795 recommendation mode.
6796
6797 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6798
6799 Improved middle height calculations for waterlevels.
6800
6801 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
6802 (area): Improved or even corrected area calculation.
6803
6804 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
6805 Corrected middle height calculated, have a very verbose label for
6806 the time being.
6807
6808 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6809
6810 Somewhat improve area calculation during line computation.
6811 Still faulty.
6812
6813 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
6814 (fillWater): Piecewise calculate area in more cases.
6815
6816 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6817
6818 Tackle water-through-mountain issue that exists since r4099.
6819
6820 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
6821 (addPoints): Add parameter that decides whether or not to skip NaNs.
6822
6823 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
6824 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
6825 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
6826 Set new parameter to StyledSeriesBuilder.addPoints calls.
6827 For waterlines it is important that NaNs stay included!
6828
6829 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
6830
6831 * src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java:
6832 New Artifact for storing geometries for gauges.
6833
6834 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
6835 a new facet type for WMSGaugeLocationArtifact 'floodmap.gaugelocation'.
6836
6837 * doc/conf/artifacts/winfo.xml,
6838 doc/conf/artifacts/map.xml: Added 'floodmap.gaugelocation' facet to the
6839 list of valid facets for map and floodmap output.
6840
6841 * doc/conf/conf.xml: Added a factory for creating
6842 WMSGaugeLocationArtifacts.
6843
6844 * doc/conf/themes.xml: Added a theme for 'floodmap.gaugelocation' facets.
6845
6846 * doc/conf/meta-data.xml: Added a datacage section for gauge locations to
6847 the floodmap and map section.
6848
6849 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
6850
6851 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
6852 new facet types 'floodmap.hydr_boundaries' and
6853 'floodmap.hydr_boundaries_poly'
6854
6855 * doc/conf/artifacts/winfo.xml,
6856 doc/conf/artifacts/map.xml: Registered 'floodmap.hydr_boundaries' and
6857 'floodmap.hydr_boundaries_poly' for floodmap and map output types.
6858
6859 * doc/conf/conf.xml:
6860
6861 * doc/conf/themes.xml: Added themes for 'floodmap.hydr_boundaries' and
6862 'floodmap.hydr_boundaries_poly'.
6863
6864 * doc/conf/meta-data.xml: Improved datacage configuration specific to
6865 floodmaps and maps.
6866
6867 * src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
6868 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java:
6869 New artifacts to save information about hydrological boundaries.
6870
6871 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
6872 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
6873 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
6874 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
6875 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
6876 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
6877 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
6878 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
6879 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
6880 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
6881 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
6882 Moved the methods getRiverId() and getTitle() into WMSDBArtifact.
6883
6884 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
6885
6886 * doc/conf/mapserver/wsplgen_layer.vm,
6887 doc/conf/mapserver/shapefile_layer.vm: Added a 'PROJECTION' section.
6888
6889 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6890
6891 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
6892 Minor refactoring, doc.
6893
6894 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
6895
6896 * doc/conf/mapserver/layer.vm: Added a 'PROJECTION' section.
6897
6898 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6899
6900 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
6901 Minimal doc, TODO.
6902
6903 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6904
6905 Fix issue620: synchron navigation at impossible kms.
6906
6907 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
6908 (searchCrossSectionLine): Do not return a CrossSectionLine if there
6909 is none found within 1km.
6910
6911 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6912
6913 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
6914 Minimal cosmetics.
6915
6916 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6917
6918 Preparations for fix issue620: Synchron navigation on non-existing km.
6919
6920 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java
6921 (getData): Return empty lines if no cross section found.
6922
6923 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6924
6925 Display mittlere hoehe (which is not yet calculated).
6926
6927 * doc/conf/themes.xml: Added theme prop to display middlere hoehe or not.
6928
6929 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
6930 (parseShowMiddleHeight): New, parse the new theme prop.
6931
6932 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
6933 (fillWater, ListWithArea): Return new type wich also contains area.
6934
6935 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
6936 Respect new theme prop and adjust label if set.
6937
6938 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6939
6940 Beginning of calculation of Mittlere Hoehe: area calculation.
6941
6942 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
6943 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
6944 Adjusted to LineData constructor.
6945
6946 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
6947 (area): New, calculate area of a polygon.
6948 Added todos where area calculation code paths are missing.
6949
6950 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
6951
6952 * doc/conf/meta-data.xml: Moved the hws layers out to an own node.
6953
6954 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
6955 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Moved the
6956 'name' property from WMSCatchmentArtifact to WMSDBArtifact.
6957
6958 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: Create
6959 more specific filter and extent that takes the 'name' into account.
6960
6961 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
6962
6963 * doc/conf/meta-data.xml: Moved the catchments out to an own node.
6964
6965 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java:
6966 Parse the name of required catchments fetch name specific catchments
6967 only.
6968
6969 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
6970
6971 * doc/conf/artifacts/map.xml: Added the 'floodmap.floodmaps' facet to the
6972 list of valid facets of the 'map' output.
6973
6974 * doc/conf/themes.xml: Renamed the 'Line' theme used for floodmaps to
6975 'FloodmapLines'.
6976
6977 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
6978
6979 * doc/conf/mapserver/db_layer.vm: Added a PROJECTION section which is
6980 filled by the LayerInfo object.
6981
6982 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added
6983 a 'srid' property.
6984
6985 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the
6986 'srid' property of all LayerInfo objects.
6987
6988 2012-05-07 Raimund Renkert <raimund.renkert@intevation.de>
6989
6990 * doc/conf/artifacts/fixanalysis.xml:
6991 Changed state data and added new state.
6992
6993 * src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
6994 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
6995 src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java,
6996 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
6997 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java:
6998 Modified states and added new state for concrete event selection.
6999
7000 2012-05-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7001
7002 * doc/conf/themes: Add text-bg properties to Area style.
7003
7004 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
7005 (TextStyle.apply): Apply text bg theme-properties to renderer.
7006
7007 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
7008 Cosmetics.
7009
7010 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
7011 Added field to store labels background color, calculate arithmetic
7012 middles of polygons, to put label there (improves situation slightly).
7013
7014 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7015
7016 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
7017 (parseShowArea): parse show area field of theme.
7018
7019 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
7020 (TextStyle.apply): Be applicable to StableXYDifferenceRenderers.
7021
7022 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
7023 Apply setting from theme to renderer.
7024
7025 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
7026 Simplified area calculation (always calculate). Added getters and
7027 setters for text for label style, respect most of that.
7028
7029 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7030
7031 * doc/conf/themes: Let Area style not inherit from colorlines (as labels
7032 work slightly different. Enable showarea property. Comment dupe Lines.
7033
7034 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7035
7036 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
7037 (doArea): Add Lines.LineData datatype to areable data types.
7038
7039 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7040
7041 * doc/conf/themes.xml: Add two new options for waterlevel label in cs.
7042
7043 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
7044 Parse new theme properties.
7045
7046 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7047 Adjust label according to chosen properties.
7048
7049 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7050
7051 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
7052 (parseShowLineLabelBG): parse show line label bg field of theme.
7053
7054 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7055 Respect show line label bg setting of theme.
7056
7057 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
7058 Apply setting from theme to renderer.
7059
7060 2012-05-03 Ingo Weinzierl <ingo@intevation.de>
7061
7062 * doc/conf/artifacts/winfo.xml: Added a 'helpText' field to each state.
7063 The 'helpText' field represents in this case a message in the i18n
7064 resources which should be a link to a online help page.
7065
7066 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
7067 Append the 'helpText' to the DESCRIBE document.
7068
7069 * src/main/resources/messages.properties,
7070 src/main/resources/messages_de_DE.properties,
7071 src/main/resources/messages_en.properties,
7072 src/main/resources/messages_de.properties: Added links to help text in
7073 the FLYS wiki.
7074
7075 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7076
7077 Use the colors specified in theme document for linelabel.
7078
7079 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
7080 New methods to find colors specified for linelabels.
7081
7082 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7083 Store and use background and foreground color for linelabels.
7084
7085 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
7086 Communicate colors of linelabels to renderer.
7087
7088 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7089
7090 Actually use the font specified in theme document for linelabel.
7091
7092 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
7093 Fixed paths for linelabel-related fields in theme doc.
7094
7095 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7096 Set font for linelabel.
7097
7098 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7099
7100 * doc/conf/themes.xml: No default background show for linelabels.
7101
7102 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7103
7104 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
7105 Cosmetic, added annotation.
7106
7107 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7108
7109 Parse font for linelabels, do not use it yet.
7110
7111 * doc/conf/themes.xml: Add more theme properties related to linelabels.
7112
7113 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
7114 (parseTextSize, parseLineLabelSize): New and slightly refactored.
7115 (parseLineLabelFont): New.
7116 (parseTextStyle, parseLineLabelStyle): New and slightly refactored.
7117
7118 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
7119 (setLineLabelFont, getLineLabelFont): New, accessors to
7120 linelabelfont field.
7121
7122 * src/main/java/de/intevation/flys/jfree/XYStyle.java
7123 (applyLineLabelFont): New.
7124
7125 2012-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7126
7127 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
7128 Make it compile again after signature change in backend.
7129
7130 2012-04-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7131
7132 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Doc.
7133
7134 2012-04-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7135
7136 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
7137 Added local class LineData and return it to also include
7138 Length of lines.
7139
7140 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
7141 Changed signature of interfaces getWaterLines.
7142
7143 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
7144 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
7145 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
7146 (getWaterLines): adjusted signature.
7147
7148 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
7149 Adjusted to return type of Lines.createWaterLines.
7150
7151 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7152 Include length in label (stub).
7153
7154 * src/main/java/de/intevation/flys/jfree/HasLabel.java:
7155 New interface.
7156
7157 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
7158 Implement new HasLabel interface.
7159
7160 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7161 Take into account that StyledXYSeries are HasLabel.
7162
7163 2012-04-26 Raimund Renkert <raimund.renkert@intevation.de>
7164
7165 Initial transition configuration and artifact/state stubs for fixation
7166 analysis.
7167
7168 * doc/conf/artifacts/fixanalysis.xml:
7169 New. Initial transition configuration.
7170
7171 * doc/conf/conf.xml:
7172 Added artifact and factory entry to config.
7173
7174 * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
7175 New. Stub with initial implementation.
7176
7177 * src/main/java/de/intevation/flys/artifacts/states/fixation,
7178 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
7179 src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
7180 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
7181 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java,
7182 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
7183 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
7184 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
7185 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java,
7186 src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java,
7187 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java,
7188 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
7189 New. Stubs for fixation states.
7190
7191 * src/main/resources/messages.properties,
7192 src/main/resources/messages_de_DE.properties,
7193 src/main/resources/messages_en.properties,
7194 src/main/resources/messages_de.properties:
7195 Added i18n strings.
7196
7197 2012-04-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7198
7199 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
7200 Add method to calculate length of water lines.
7201
7202 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7203
7204 Most of issue454: Label waterlevels.
7205
7206 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
7207 (drawSecondaryPass): Use correct label for lines.
7208
7209 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7210
7211 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
7212 (showSeriesMinimunX, showLineLabel): Renamed field.
7213 (isShowLineLabel, setShowLineLabel): Added getters and setters for
7214 showLineLabel field.
7215 (drawSecondaryPass): Respect showLineLabel field, draw static text
7216 as placeholder for real label (stub).
7217
7218 * doc/conf/themes.xml: Define theme prop 'showlinelabel' for Lines.
7219
7220 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse theme
7221 theme prop.
7222
7223 * src/main/java/de/intevation/flys/jfree/XYStyle.java: Apply showline
7224 theme prop.
7225
7226 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7227
7228 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7229 Cosmetics, doc.
7230
7231 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7232
7233 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
7234 Gah! Checked in out dated version.
7235
7236 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java,
7237 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
7238 Removed superfluous imports.
7239
7240 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7241
7242 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
7243 New. Simple Grubb's outlier test. Needs testing. ;-)
7244
7245 2012-04-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7246
7247 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
7248 (isMinimumX): Implemented minimum finding for x in analogy to the ones for
7249 y values. Stub to label dataset curves in plot.
7250
7251 2012-04-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7252
7253 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7254 Cosmetics, added doc, TODO and an OPTIMIZE.
7255
7256 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7257
7258 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
7259 Make it cross platform.
7260
7261 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7262
7263 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
7264 Make it compilable.
7265
7266 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7267
7268 Issue 657.
7269
7270 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
7271 New. Service to upload a file as base64 string embedded in xml structure.
7272
7273 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
7274 Extract shape files from zip archive and move them to artifact directory.
7275 Add the user shapefile as parameter for wsplgen calculation.
7276
7277 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
7278 Remove the artifact directory on step back.
7279
7280 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
7281 src/main/java/de/intevation/flys/exports/MapGenerator.java:
7282 Create layer to display the uploaded shapefile.
7283
7284 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java:
7285 Create a facet to output the user defined layer.
7286
7287 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7288 Added type for user shape file.
7289
7290 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java:
7291 Resized array for '-lin' parameter.
7292
7293 * doc/conf/artifacts/winfo.xml:
7294 Added facet to diplay user defined shapefile.
7295
7296 * doc/conf/conf.xml:
7297 Added file upload service.
7298
7299 * src/main/resources/messages.properties,
7300 src/main/resources/messages_de_DE.properties,
7301 src/main/resources/messages_en.properties,
7302 src/main/resources/messages_de.properties:
7303 Added i18n string.
7304
7305 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7306
7307 Issue 560.
7308
7309 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENLayerFacet.java:
7310 New. Facet for WSPLGEN layers.
7311
7312 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java:
7313 Create a new WSPLGEN facet when creating uesk layers.
7314
7315 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
7316 src/main/java/de/intevation/flys/exports/MapGenerator.java:
7317 Use WSPLGENLayerFacet to create uesk layer.
7318
7319 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
7320 Switch back to false as return value in isQueryable().
7321
7322 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7323
7324 Issue 560.
7325
7326 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java:
7327 Generate WSPLGEN-Layer with its own template and set the layertitle to
7328 an i18n string.
7329
7330 * src/main/java/de/intevation/flys/exports/MapGenerator.java:
7331 Call createUeskLayer with a CallContext.
7332
7333 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
7334 Set queryable to true.
7335
7336 * doc/conf/mapserver/wsplgen_layer.vm:
7337 New. Template for WSPLGEN-Layer.
7338
7339 2012-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7340
7341 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7342 Removed superfluous imports.
7343
7344 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7345
7346 * doc/conf/themes.xml:
7347 Added mapping for manual points in historical discharge chart.
7348
7349 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7350
7351 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7352 Fixed duplicated legend entry for manual points.
7353
7354 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7355
7356 Issue 494.
7357
7358 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7359 Create manual points with text annotations in time charts.
7360
7361 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
7362 Add manual points to the chart.
7363
7364 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7365 Added historical discharge to chart types.
7366
7367 * doc/conf/artifacts/winfo.xml,
7368 doc/conf/artifacts/manualpoints.xml:
7369 Added manual points facet to output modes.
7370
7371 2012-04-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7372
7373 * contrib/fixoverview2html.xsl: Render optional check boxes.
7374 Use different font. TODO: Move to client,
7375
7376 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
7377 Ignore hours and seconds.
7378
7379 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de>
7380
7381 Issue 528, 637
7382
7383 * src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java:
7384 Added fields for new columns.
7385
7386 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
7387 Added columns for 'W at gauge' and fixed column header.
7388
7389 * src/main/resources/messages.properties,
7390 src/main/resources/messages_de_DE.properties,
7391 src/main/resources/messages_en.properties,
7392 src/main/resources/messages_de.properties:
7393 Added filenames for new pdf export templates.
7394
7395 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de>
7396
7397 * doc/conf/jasper/reference_gauge_end.jasper,
7398 doc/conf/jasper/reference_gauge.jasper,
7399 doc/conf/jasper/reference_gauge_start_end.jasper:
7400 Small fixes in pdf templates.
7401
7402 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de>
7403
7404 Issue 528, 637.
7405
7406 * doc/conf/jasper/reference_gauge.jasper,
7407 doc/conf/jasper/reference_en_gauge.jasper:
7408 Modified templates.
7409
7410 * doc/conf/jasper/reference_gauge_end.jasper,
7411 doc/conf/jasper/reference_gauge_start_end.jasper,
7412 doc/conf/jasper/reference_en_gauge_end.jasper,
7413 doc/conf/jasper/reference_en_gauge_start_end.jasper:
7414 New. Templates for reference curve pdf export.
7415
7416 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de>
7417
7418 Issue 528, 637.
7419
7420 * doc/conf/jasper/reference.jasper,
7421 doc/conf/jasper/reference_en.jasper:
7422 Fixed column header.
7423
7424 * doc/conf/jasper/reference_gauge.jasper,
7425 doc/conf/jasper/reference_en_gauge.jasper:
7426 New.
7427
7428 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7429
7430 * contrib/check-i18n-properties.py: Checked in unsaved version. :-/
7431
7432 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de>
7433
7434 Issue 656.
7435
7436 * src/main/resources/messages_en.properties:
7437 Added missing i18n strings.
7438
7439 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7440
7441 * contrib/check-i18n-properties.py: New. Script to check inconsistencies
7442 of i18n properties files: Detects duplicates and keys not defined in other
7443 properties files. Usage:
7444
7445 $ find -name messages\*.properties | \
7446 xargs contrib/check-i18n-properties.py
7447
7448 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7449
7450 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7451 Generate error message when more than one Q is found for given
7452 Q in "W auf freier Strecke".
7453
7454 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
7455 Added feature to adopt problems from other reports.
7456
7457 * src/main/resources/messages.properties,
7458 src/main/resources/messages_de_DE.properties,
7459 src/main/resources/messages_en.properties,
7460 src/main/resources/messages_de.properties:
7461 Added i18n for the error message.
7462
7463 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de>
7464
7465 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
7466 Use factor to calculate steps in range input mode.
7467
7468 2012-04-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7469
7470 * doc/conf/cache.xml: Increased number of fixings columns a bit.
7471
7472 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
7473 Corrected misspelled cache name. Added bebug output.
7474
7475 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java:
7476 Added debug output.
7477
7478 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7479
7480 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
7481 Small fixes: The service works as expected but there seems
7482 to be a caching issue.
7483
7484 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7485
7486 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
7487 Generate chart and deliver the image as the response of the service.
7488
7489 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
7490 Return null when looking for a fixing data column that does not exist.
7491
7492 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7493
7494 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
7495 Load ws and qs from database. Cache the fixings columns.
7496
7497 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java:
7498 Removed column id and added q values.
7499
7500 * doc/conf/cache.xml: Added cache for the columns of the fixings.
7501
7502 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de>
7503
7504 Fix for 'W free' validation and theme names.
7505
7506 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
7507 Append the current Q values to theme name if the previous theme has
7508 the same name.
7509
7510 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
7511 Use the start km to get min/max W values in distance mode and use the
7512 first km to get min/max W values if in location mode.
7513
7514 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de>
7515
7516 Issue 499.
7517
7518 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
7519 Added validation for 'W free' using WstValueTable min/max values.
7520
7521 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7522 Added getter for WstValueTable.
7523
7524 2012-04-05 Ingo Weinzierl <ingo@intevation.de>
7525
7526 * doc/conf/themes.xml: Defined a theme for WSPLGEN layers.
7527
7528 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
7529 Made style creation more robust against nullpointers and added an
7530 Expression class.
7531
7532 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a static
7533 method createWSPLGENStyle() and some helpers to create a WSPLGEN style.
7534
7535 * src/main/java/de/intevation/flys/exports/MapGenerator.java,
7536 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Methods
7537 for creating the WSPLGEN layer now take a style document.
7538
7539 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7540
7541 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
7542 Extract parameters from input xml and fetch fixings filters and overview
7543 to find the columns to be viewed.
7544 TODO: Generate chart.
7545
7546 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java: Added
7547 boolean result to indicate if value comes from table or is interpolated.
7548
7549 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
7550 New. Factory to fetch fixings column data from cache or database. Stub by now.
7551
7552 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7553
7554 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
7555 New. Service to generate a chart of fixings for given river and km applied
7556 some filters.
7557
7558 Usage:
7559 $ curl http://localhost:8181/service/fixings-km-chart \
7560 -d @fix-overview.xml > chart.png
7561
7562 The input XML is nearly the same as for the overview service.
7563 Besides the river, filters and range it accepts elements
7564 <km value="..."/> for passing the river km,
7565 <extent width="..." height="..."/> for the extent of the output chart,
7566 <mime type="..."/> for type of result. Currently ignored.
7567
7568 ATM only a static fixed sized PNG image is delivered.
7569
7570 * doc/conf/conf.xml: Added service to list of services.
7571
7572 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7573
7574 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
7575 Made bullet proof for null filters and ranges.
7576
7577 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
7578 Fixed bug which leeds to always generating a null range filter.
7579
7580 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7581
7582 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
7583 Squashed performance bug introduced in rev4070, which slowed down
7584 CSV export about 245 times!
7585
7586 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
7587 Added debug output about savings when joining neighbored nodes.
7588
7589 2012-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7590
7591 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
7592 Removed the code for filter building.
7593
7594 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
7595 New. Now contains the code for filter building. This useful because other
7596 services like the "Fixierungs-Rohdaten am KM" service need this filtering, too.
7597
7598 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
7599 Refactored the code to obtain a filtered list of fixings columns without
7600 the XML serialization, too. The "Fixierungs-Rohdaten am KM" service
7601 does not need the overview data but the ids of the fixing columns to be
7602 displayed.
7603
7604 2012-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7605
7606 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java,
7607 src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
7608 src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
7609 Derive from XMLService now.
7610
7611 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7612 Removed superfluous import.
7613
7614 2012-03-30 Ingo Weinzierl <ingo@intevation.de>
7615
7616 flys/issue460 (W-Differenzen: Frühere Berechnungen aus den Datenkorb werden doppelt geladen)
7617
7618 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
7619 code to find out all Outputs of this Artifacts. A method getOutputs()
7620 had been implemented some time ago that does exactly this work.
7621
7622 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Heavy
7623 bugfix! Adding the current state id to the list of previous state ids
7624 for temporary usage was no good idea! Now, the list of previous state
7625 ids only modifified in advance(). This solves the problem of having
7626 duplicated Outputs in the Artifact's DESCRIBE document.
7627
7628 2012-03-29 Ingo Weinzierl <ingo@intevation.de>
7629
7630 flys/issue366 (W-INFO / Abflusskurve, Diagramm: Umbenennen von Themen und Anzeige im Diagramm)
7631
7632 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
7633 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
7634 Use description from ArtifactAndFacet objects for JFreeChart Series
7635 creation.
7636
7637 2012-03-28 Ingo Weinzierl <ingo@intevation.de>
7638
7639 flys/issue362 (W-Info / Abflusskurve, Diagramm)
7640
7641 * doc/conf/themes.xml: Adjusted text color of w and q main values for
7642 computed discharge curves.
7643
7644 2012-03-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7645
7646 flys/issue639: Bezugsliniendiagramm,Achsen-Intervall-Skalierung vereinheitlichen
7647
7648 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
7649 Render only axis ticks in meters.
7650
7651 2012-03-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7652
7653 * doc/conf/themes.xml: Let hyks have a text orientation in themes.
7654
7655 2012-03-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7656
7657 Fix flys/issue491, if area fill between curve and axis, draw not only
7658 to zero.
7659
7660 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
7661 (doArea): Add an artificial dataset to set lower bounds for area.
7662
7663 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
7664 (addPoints): New convenience method to be used in future.
7665 (createGroundAtInfinity, createCeilingAtInfinity): Create artificial
7666 datasets for better areas.
7667
7668 2012-03-20 Raimund Renkert <raimund.renkert@intevation.de>
7669
7670 Issue 506.
7671
7672 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7673 Create the date from long values instead of the year.
7674
7675 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
7676 Added method to transform a String into an array of long values.
7677
7678 * doc/conf/artifacts/winfo.xml:
7679 changed data type from intrange to longrange.
7680
7681 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
7682
7683 flys/issue544 (Historische ATs: Eingabeunterstützung W/Q)
7684
7685 * src/main/java/de/intevation/flys/artifacts/services/GaugeInfoService.java:
7686 New service that returns information for gauges based on a specified
7687 river.
7688
7689 * doc/conf/conf.xml: Registered the GaugeInfoService.
7690
7691 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
7692
7693 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
7694 Skip DischargeTables that have no time interval set or that are marked
7695 as master DischargeTable.
7696
7697 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Skip
7698 DischargeTables that have no time interval set.
7699
7700 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
7701
7702 flys/issue146 (In WINFO Diagramm Abflusskurve raus, wenn nicht gewünscht)
7703
7704 * doc/conf/artifacts/winfo.xml: Do not create outputs for discharge curves
7705 at gauge any longer.
7706
7707 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
7708
7709 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe)
7710
7711 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Added
7712 the numeric value of a selected named main value to the WST column name.
7713
7714 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
7715
7716 * doc/conf/mapserver/db_layer.vm: Set the FILTER expression into double
7717 quotes (") instead of single quotes (') which allows single quotes in
7718 expressions.
7719
7720 * doc/conf/meta-data.xml: Moved the floodmaps from kilometrage to its
7721 parent folder.
7722
7723 * src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java:
7724 Fixed broken filter expression and set geometry type (MapServer does not
7725 know a 'MULTIPOLYGON').
7726
7727 2012-03-16 Raimund Renkert <raimund.renkert@intevation.de>
7728
7729 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
7730 Remove unnecessary outputs from attributes instead of copying outs to
7731 new attribute element.
7732
7733 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
7734
7735 * Tagged module as 'pre2.7-2012-03-16'.
7736
7737 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
7738
7739 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
7740 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
7741 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
7742 Removed useless imports.
7743
7744 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
7745
7746 flys/issue523 (W-INFO / Bezugslinienverfahren / Linieneinstellungen / Min+Max anzeigen)
7747
7748 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7749 Improved the look of the minimum and maximum shape of a series. They are
7750 now rectangles with a darker fill color as the line color is.
7751
7752 2012-03-15 Ingo Weinzierl <ingo@intevation.de>
7753
7754 flys/issue522 (W-INFO / Bezugslinienverfahren / Schriftgröße der Achsenbeschriftung)
7755
7756 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
7757 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
7758 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Label and
7759 tick label fonts for axes will now always be the same.
7760
7761 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
7762 Removed the createYAxis() method which is already implemented in an
7763 upper class. There, the method also takes the ChartSettings into account.
7764
7765 2012-03-15 Raimund Renkert <raimund.renkert@intevation.de>
7766
7767 Issue 547.
7768
7769 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
7770 Use date format with MEDIUM style.
7771
7772 * src/main/java/de/intevation/flys/utils/Formatter.java:
7773 Added date format with MEDIUM style.
7774
7775 2012-03-15 Ingo Weinzierl <ingo@intevation.de>
7776
7777 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a new
7778 method that returns the Bounds for a given XYDataset. Based on the
7779 concrete type of the XYDataset, the call is dispatched to a more specific
7780 method.
7781
7782 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7783 Removed the whole "range" stuff and some methods that are implemented in
7784 upper classes.
7785
7786 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Removed the
7787 setXRange() and setYRange() methods. In our own code, we will use Bounds
7788 instead of JFreeChart's Range instances to save range/bounds information.
7789 This is necessary to save information which is not not from type double
7790 (which is the case in Timeseries charts).
7791
7792 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Replaced
7793 usage of Range with Bounds in the whole class.
7794
7795 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
7796 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
7797 Adapted the method signature of zoom() and zoomX().
7798
7799 2012-03-14 Ingo Weinzierl <ingo@intevation.de>
7800
7801 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7802 Copied the adjustAxes() method from XYChartGenerator which enables axes
7803 label font sizes.
7804
7805 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
7806 Removed unnecessary axes creation method which is implemented in upper
7807 classes.
7808
7809 2012-03-14 Raimund Renkert <raimund.renkert@intevation.de>
7810
7811 Issue 640.
7812
7813 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
7814 Remove all unnecessary output settings from attributes.
7815
7816 2012-03-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7817
7818 Partial for flys/issue358, rough stub for legenditem aggregation.
7819
7820 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7821 Added rough stub for legend aggregation.
7822
7823 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
7824
7825 * doc/conf/themes.xml: Fixed broken XML syntax.
7826
7827 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
7828
7829 * doc/conf/meta-data.xml: Modified the datacage structure of 'floodmaps'.
7830
7831 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
7832
7833 * src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java: New.
7834 This Artifacts allows loading 'floodmaps'.
7835
7836 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
7837 new Facet type "floodmap.floodmaps" which are created by
7838 WMSFloodmapsArtifact.
7839
7840 * doc/conf/artifacts/winfo.xml: Registered the "floodmap.floodmaps" facet
7841 for "floodmap" output.
7842
7843 * doc/conf/conf.xml: Registered the new WMSFloodmapsArtifact.
7844
7845 * doc/conf/themes.xml: Added a theme for the "floodmap.floodmaps" facet.
7846
7847 * src/main/resources/messages.properties,
7848 src/main/resources/messages_de_DE.properties,
7849 src/main/resources/messages_en.properties,
7850 src/main/resources/messages_de.properties: Added i18n string for
7851 "floodmap.floodmaps" title.
7852
7853 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
7854
7855 * doc/conf/meta-data.xml: Improved datacage configuration to serve
7856 floodmaps.
7857
7858 2012-03-05 Ingo Weinzierl <ingo@intevation.de>
7859
7860 flys/issue566 (ÜSK: Formalien in der Parametrisierung)
7861
7862 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java:
7863 Override getLabelFor() method to return better I18N strings for selected
7864 floodplain option.
7865
7866 * src/main/resources/messages.properties,
7867 src/main/resources/messages_de_DE.properties,
7868 src/main/resources/messages_en.properties,
7869 src/main/resources/messages_de.properties: Added options
7870 for floodplain (active/inactive) and adapted a german I18N string.
7871
7872 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7873
7874 Fix flys/issue 528 for csv.
7875
7876 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
7877 Fixed column order, reworked todos.
7878
7879 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7880
7881 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
7882 Fixed column order.
7883
7884 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7885
7886 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
7887 Stub to export the "W (cm)" column conditionally on Gauge presence.
7888
7889 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7890
7891 * src/main/java/de/intevation/flys/exports/StepCSVWriter.java:
7892 New utility to handle csv rows of more "dynamical" length.
7893
7894 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7895
7896 * src/main/java/de/intevation/flys/exports/StepCSVWriter.java:
7897 New utility to handle csv rows of more "dynamical" length.
7898
7899 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7900
7901 Fix flys/issue501 (manual points have two legend entries).
7902
7903 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7904 Respect wish to not have a legend entry.
7905
7906 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7907
7908 Fix flys/issue636 (cross-section: name of waterlevel facets).
7909
7910 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
7911 Corrected name for waterlevel facets.
7912
7913 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7914
7915 Partial fix flys/issue615 (datacage: events for fixations).
7916
7917 * doc/conf/meta-data.xml: Adjusted to make loading single events
7918 possible.
7919
7920 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7921
7922 Partial Dontcrash on flys/issue647 (NaNs from WstValueTable interpolation).
7923
7924 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
7925 Do not add data pairs where a NaN is present.
7926
7927 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7928
7929 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
7930 Cosmetics, doc.
7931
7932 2012-02-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7933
7934 Added functions to be used for fitting in
7935 the "Fixierungsanalyse" and "Extremwertermittlung".
7936
7937 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java: New.
7938 Abstract base class for functions to fit. Provides the name of the function,
7939 a short description, the names of the parameters and an initial parameter guess
7940 for the fit processe. Sub classes have to overwite the function evaluation and
7941 the partial derivative of the function in respect to the parameters.
7942
7943 TODO: Add a meachnism for the inverse function (needed for AT export) and
7944 the first derivative (needed for the respective diagram).
7945
7946 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
7947 New. Factory to fetch a function by its name.
7948
7949 * src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java: New.
7950 exp: W(Q) = m * a^Q + b
7951
7952 * src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java: New.
7953 quad: W(Q) = n*Q^2 + m*Q + b
7954
7955 * src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java: New.
7956 linear: W(Q) = m*Q + b
7957
7958 * src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java: New.
7959 log-linear: W(Q) = a*ln(m*Q + b)
7960
7961 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java: New
7962 log: W(Q) = m*ln(Q + b)
7963
7964 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java: New.
7965 pow: W(Q) = a*Q^c + d
7966
7967 !!! This power function is new in the pool of functions to be fit. !!!
7968 See my mail "Manuelle Punkte in der Fixierungsanalyse" 2011-10-27 for details.
7969 The function exp-new found in the old FLYS function pool is omitted
7970 because it is worthless and was maybe never used.
7971
7972 * src/main/java/de/intevation/flys/artifacts/math/fitting/App.java: New.
7973 Small test driver to check if the fitting is working. The points to
7974 fit are read from stdin the function to fit is determined by the
7975 system property 'function'. Example usage:
7976
7977 $ mvn -e \
7978 -Dfunction=linear \
7979 -Dexec.mainClass=de.intevation.flys.artifacts.math.fitting.App exec:java <<EOF
7980 357.390696917 7546.72096163
7981 61.4291036312 1334.54835721
7982 799.962128234 16836.7698076
7983 126.52761023 2703.69789985
7984 900.448553398 18955.0578748
7985 EOF
7986
7987 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7988
7989 * src/main/resources/messages_de.properties:
7990 Added ommitted translations.
7991
7992 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7993
7994 fix flys/issue638.
7995
7996 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
7997 (doArea): Ract to WKms as upper/lower area data again.
7998
7999 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8000
8001 Partial fix flys/issue637.
8002
8003 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java,
8004 src/main/resources/messages.properties,
8005 src/main/resources/messages_de_DE.properties,
8006 src/main/resources/messages_en.properties,
8007 src/main/resources/messages_de.properties:
8008 Modified translations.
8009
8010 2012-02-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8011
8012 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8013 - Calculate the extent of the river by the extents of the fixings.
8014 Reason: The river Elbe has only has fixings up to km 351. The other half
8015 of the river is empty which results in a sparse looking overview.
8016 - Add the name of the river as name attribute to resulting <river> element.
8017
8018 * contrib/fixoverview2html.xsl: New. Demo XSL transformation to turn
8019 the output of the overview service directly into HTML. Used in the
8020 client a variant of this script could be used for producing the content
8021 of the assistance widget. Usage:
8022
8023 $ curl http://localhost:8181/service/fixings-overview \
8024 -d @fix-overview.xml | \
8025 xsltproc contrib/fixoverview2html.xsl - \
8026 > fixings-overview.html
8027
8028 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8029
8030 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
8031 Made the filter mechanisms available via the incoming XML document.
8032
8033 1 - range: Simply add a <range from="..." to="..."/> element next to the
8034 <river> element. Optional. Defaults to full extent.
8035
8036 2 - filters: Add a <filter> element next to the <river> element.
8037 Optional. Defaults to accepting all.
8038 The <filter> element can contain the following elements:
8039
8040 <column cid="..."/>: Creates an IdFilter.
8041 <date when="..."/>: Creates a DateFilter.
8042 <date-range from="..." to="..."/>: Creates a DateRangeFilter.
8043 <sector-range from="..." to="..."/>: Create a SectorRangeFilter.
8044 <not>...</not>: Creates a NotFilter. The nested element is negated.
8045 <and>...</and>: Create an AndFilter: The nested elements are 'and'ed.
8046 <or>...</or>: Create an OrFilter: The nested elements are 'or'ed.
8047
8048 These filters need testing!
8049
8050 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8051 Made date format a public constant.
8052
8053 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8054
8055 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8056 Added a filter mechanism for generating output.
8057
8058 There are two kinds of filters:
8059
8060 1 - A range. Defaults to [-Double.MAX_VALUE, Double.MAX_VALUE]
8061 The resulting sectors are cut to this range. Sectors outside
8062 this range are omitted.
8063
8064 2 - column filters: Given a fixing column they can decide to keep
8065 or not to keep it. Following filters exist:
8066
8067 - IdFilter: Keep column if column id matches.
8068 - DateFilter: Keep column if column date matches.
8069 - DateRangeFilter: Keep column if column date is in range.
8070 - SectorRangeFilter: Keep colum if one of its q sectors is in given range.
8071 - NotFilter: Negates another nested filter.
8072 - AndFilter: Keep column if all nested filters accept column.
8073 - OrFilter: Keep column if at least one of the nested filters accepts it.
8074
8075 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8076
8077 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8078 Refactored to build the Q sectors once at construction time and not
8079 every time output is generated.
8080 This will ease the job of applying filters to the Overview.
8081
8082 2012-02-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8083
8084 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
8085
8086 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
8087 New. A service that serves an XML overview version of the fixings of a given river.
8088
8089 The input documents look like this:
8090
8091 <?xml version="1.0" encoding="UTF-8"?>
8092 <fixings>
8093 <river name="Saar"/>
8094 </fixings>
8095
8096 The output documents looks like this:
8097
8098 <?xml version="1.0" encoding="UTF-8"?>
8099 <fixings>
8100 <river from="0.0" rid="1" to="93.0"/>
8101 <events>
8102 ...
8103 <event cid="85" date="29.01.1995 00:00" name="Fixierungen/0-93_1988-2001.wst">
8104 <sector class="0" from="82.7" to="92.85"/>
8105 </event>
8106 <event cid="86" date="13.11.1996 00:00" name="Fixierungen/0-93_1988-2001.wst">
8107 <sector class="2" from="0.0" to="50.599999"/>
8108 <sector class="1" from="50.6" to="65.89"/>
8109 </event>
8110 ...
8111 </events>
8112 </fixings>
8113
8114 The <river> element contains the extent of the whole river
8115 and its db id.
8116 The <events> sections contains serveral <event> elements.
8117 They have a meassure date, db id, a name and a number of <sector>s.
8118 These sectors are q classified from/to ranges. Classes are:
8119
8120 0: smaller (MNQ+MQ)/2
8121 1: (MNQ+MQ)/2 to (MQ+MHQ)/2
8122 2: (MQ+MHQ)/2 to HQ5
8123 3: greater HQ5
8124
8125 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8126 New. Cacheable instance of the overview.
8127 TODO: Apply a filter mechanism when generating the output.
8128
8129 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java:
8130 New. Fetched the fixing overviews from cache if configured.
8131
8132 * doc/conf/conf.xml: Added the service.
8133 * doc/conf/cache.xml: Configured the cache for the fixing overviews.
8134
8135 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8136
8137 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ):
8138 Argh! Forget to check in the range method.
8139
8140 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8141
8142 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ):
8143 Symmetrical to getMinMaxW() add two methods to find min/max Q for a given
8144 km or a range. The range method is maybe a bit slow.
8145
8146 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8147
8148 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxW):
8149 Added signature to give w extend for a given km range.
8150
8151 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8152
8153 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxW):
8154 Added method to find the w extent for a given km. Useful
8155 for validating "W auf freier Strecke".
8156
8157 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
8158 Removed superfluous import.
8159
8160 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de>
8161
8162 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
8163 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
8164 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
8165 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
8166 doc/conf/artifacts/winfo.xml:
8167 Renamed state data fields: wq_mode -> wq_isq
8168 wq_free -> wq_isfree
8169 wq_selection -> wq_isrange
8170
8171 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de>
8172
8173 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
8174 Write the description instead of the Q value to CSV file.
8175
8176 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
8177 Added parameter to overriden method.
8178
8179 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
8180 Get Qs without range.
8181
8182 * src/main/resources/messages.properties,
8183 src/main/resources/messages_de_DE.properties,
8184 src/main/resources/messages_en.properties,
8185 src/main/resources/messages_de.properties:
8186 Adjusted i18n string for CSV metadata.
8187
8188 2012-02-17 Ingo Weinzierl <ingo@intevation.de>
8189
8190 Part II/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
8191
8192 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
8193 Apply legend specific settings (show/hide).
8194
8195 2012-02-17 Ingo Weinzierl <ingo@intevation.de>
8196
8197 Part I/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
8198
8199 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
8200 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
8201 adjustPlot() from XYChartGenerator to ChartGenerator which enables the
8202 TimeseriesChartGenerator to call this method as well.
8203
8204 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
8205 Call adjustPlot() in generateChart() to apply the settings specific to
8206 gridlines in the timeseries plot.
8207
8208 2012-02-16 Raimund Renkert <raimund.renkert@intevation.de>
8209
8210 Refactored the wq data fields.
8211
8212 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
8213 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
8214 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8215 Changed the wq data fields to boolean values.
8216
8217 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
8218 Changed the wq data fields to boolean values and added method that
8219 returns the km input mode.
8220
8221 2012-02-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8222
8223 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
8224 Fixed W->Q conversion for "W fuer ungleichwertige Abflusslaengsschnitte."
8225
8226 2012-02-16 Ingo Weinzierl <ingo@intevation.de>
8227
8228 flys/issue509 (Dauerlinie: Q-Achse sollte bei 0 beginnen)
8229
8230 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8231 Set the lower bounds of the Q axis to 0 to avoid displaying negative
8232 discharge values.
8233
8234 2012-02-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8235
8236 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
8237 src/main/java/de/intevation/flys/artifacts/model/WKms.java:
8238 (guessWaterIncreasing): Removed from interface.
8239
8240 2012-02-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8241
8242 Fix flys/issue150 (exposure of gravitational anomalies)
8243
8244 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
8245 src/main/java/de/intevation/flys/artifacts/model/WKms.java:
8246 (guessWaterIncreasing): In analogy to W->WQ->WQKms defined and
8247 implemented.
8248
8249 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8250 (needInvertAxis): Changed Parameter type to WKms (was WQKms).
8251 (doW): Use in this case weaker wkms cast to find out whether axis
8252 has to be inverted.
8253
8254 2012-02-15 Ingo Weinzierl <ingo@intevation.de>
8255
8256 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java: Fixed
8257 SQL statement to fetch hyk formations for rivers with 'km_up' = 0.
8258
8259 2012-02-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8260
8261 Another partial fix for flys/issue499: Do the W to Q conversions
8262 needed for "W am Pegel" correctly.
8263
8264 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
8265 Repaired getQsForW(): The mapping from W to Q is not unique! There
8266 could be more then one Q having the the same W.
8267 Ws are not strictly monoton/sorted so doing a binary search on this
8268 is just a fail. We now scan them linearly.
8269
8270 XXX: The whole class is mess. The scaling stuff is a stupid
8271 and there is no caching.
8272
8273 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8274 Fetch the master discharge table for converting Ws to Qs. Handle
8275 the case that there are more Qs for a given W.
8276
8277 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java,
8278 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
8279 Adjusted to new semantic.
8280
8281 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8282
8283 Partial Fix flys/issue500: text-orientation for texts.
8284
8285 * doc/conf/themes.xml: Change default text orientation for text
8286 annotations.
8287
8288 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8289 Minor cosmetics.
8290
8291 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
8292 Parse and apply text rotation field.
8293
8294 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8295
8296 Partial fix for flys/issue499 (Wasserspiegellagen: Berechnung für W frei und Pegel kaputt)
8297 There are still validation issue in the client.
8298
8299 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8300 Fixed state evaluation for "W auf freier Strecke"/"W am Pegel".
8301 There is still an issue in the client with the input validation
8302 which prevents entering the right W values for
8303 "W auf freier Strecke". :-/
8304
8305 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8306
8307 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8308 Make it compilable again.
8309
8310 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8311
8312 Partial Fix flys/issue500: text-backgrounds for manual points.
8313
8314 * doc/conf/themes.xml: Added text-related style items to manual
8315 point themes.
8316
8317 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8318
8319 Partial Fix flys/issue500
8320
8321 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
8322 Parse whether to show text background. Apply to textannotation.
8323
8324 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8325
8326 Fix flys/issue490
8327
8328 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8329 Pass artifact and facet for doAnnotation.
8330
8331 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8332
8333 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
8334 Use AddScaleFunction instead of LinearFunction.
8335
8336 * src/main/java/de/intevation/flys/artifacts/math/AddScaleFunction.java:
8337 New. f(x) = m*(x+b). I know its aequivalent to m*x + m*b but it
8338 makes more clear that the datum [m] (PNP) is substracted before the
8339 scaling to cm is done.
8340
8341 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8342
8343 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Bugfix: take
8344 care on empty ArtifactAndFacet objects in doAnnotations().
8345
8346 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8347
8348 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java:
8349 Inherits from ReferenceCurveGenerator now which really simplifies it a lot.
8350
8351 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
8352 Added to methods to be overwritten by sub classes.
8353
8354 * src/main/resources/messages.properties,
8355 src/main/resources/messages_de_DE.properties,
8356 src/main/resources/messages_en.properties,
8357 src/main/resources/messages_de.properties: Adjusted i8n.
8358
8359 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8360
8361 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
8362 Indexed access to getInCm.
8363
8364 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
8365 Simplified. Do not provide any data to blackboard. Only side effect the
8366 call context.
8367
8368 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
8369 Added convinience method to i18n string with defaulting to key name.
8370
8371 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
8372 Label the axis according the scale types of the data.
8373 TODO: Let the NormalizedReferenceCurveGenerator be a sub class of
8374 this.
8375
8376 * src/main/resources/messages.properties,
8377 src/main/resources/messages_de_DE.properties,
8378 src/main/resources/messages_en.properties,
8379 src/main/resources/messages_de.properties: i18n for the reference curve axes.
8380
8381 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8382
8383 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
8384 Fixed wrong double array dimension for PDF exports and write correct
8385 differences into PDF.
8386
8387 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8388
8389 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
8390 src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
8391 Adjust function to deliver data provider ('blackboard') keys.
8392
8393 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
8394 Change the way we exploit the blackboard-mechanism. TODOs added.
8395
8396 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8397
8398 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
8399 Argh! Finally found the stupid bug in the W~W relation:
8400 Used iQ1 index on W2(Q2).
8401
8402 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8403
8404 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
8405 Improved error messsages even more.
8406
8407 * src/main/resources/messages.properties,
8408 src/main/resources/messages_de_DE.properties,
8409 src/main/resources/messages_en.properties,
8410 src/main/resources/messages_de.properties: Adjusted messages.
8411
8412 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8413
8414 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
8415 Forget to put new created WWAxisType onto blackboard.
8416
8417 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8418
8419 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
8420 Adjust offset of linear function by same factor as the values.
8421
8422 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8423
8424 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Write
8425 correct min and max values for date axes into the info document.
8426
8427 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
8428 Enabled zooming for timeseries charts.
8429
8430 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8431
8432 * src/main/java/de/intevation/flys/jfree/Bounds.java,
8433 src/main/java/de/intevation/flys/jfree/TimeBounds.java,
8434 src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Added a method
8435 applyBounds(ValueAxis, int) that might be used to adapt the range of the
8436 axis to the bounds adding a space to the left and right.
8437
8438 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8439
8440 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Defined
8441 new abstract methods for setting and getting Bounds. Modified and
8442 renamed getValueAxisRange(). This method is now called
8443 getValueAxisRangeFromRequest() and returns no longer a Range object but
8444 a String array that consists of the raw string values speicified in the
8445 request document.
8446
8447 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8448 Implemented the missing method getDomainAxisRange(). This method returns
8449 a Range object based on the String array returned from
8450 getValueAxisRangeFromRequest().
8451
8452 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8453
8454 * src/main/java/de/intevation/flys/jfree/TimeBounds.java: Added new
8455 methods getLowerAsDate() and getUpperAsDate(). The toString() method
8456 will now return a string that contains a human readable date string.
8457
8458 * src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Made 'lower'
8459 always be smaller than 'upper' in the default constructor.
8460
8461 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8462
8463 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
8464 Give more precise message when an error occurs in W~W relation.
8465
8466 * src/main/resources/messages.properties,
8467 src/main/resources/messages_de_DE.properties,
8468 src/main/resources/messages_en.properties,
8469 src/main/resources/messages_de.properties:
8470 Improved error messages.
8471
8472 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8473
8474 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Modified
8475 and renamend getDomainAxisRange(). This method is now called
8476 getDomainAxisRangeFromRequest() and returns no longer a Range object but
8477 a String array that consists of the raw string values specified in the
8478 request document.
8479
8480 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8481 Implemented the missing method getDomainAxisRange(). This method returns
8482 a Range object based on the String array returned from
8483 getDomainAxisRangeFromRequest().
8484
8485 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8486
8487 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a
8488 helper function to determine the min and max bounds (x and y) for
8489 TimeSeriesCollections.
8490
8491 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8492
8493 * src/main/java/de/intevation/flys/jfree/TimeBounds.java,
8494 src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Removed
8495 useless imports.
8496
8497 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8498
8499 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
8500 Add accessors to relative heights.
8501
8502 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
8503 Add relative heights (to gauge) to csv export.
8504
8505 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
8506
8507 * pom.xml: Added dependency to GeoTools swing module.
8508
8509 * src/main/java/de/intevation/flys/artifacts/map/PrintMap.java: Standalone
8510 demo application to print WMS layers to file.
8511
8512 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
8513
8514 * src/main/java/de/intevation/flys/jfree/TimeBounds.java,
8515 src/main/java/de/intevation/flys/jfree/DoubleBounds.java,
8516 src/main/java/de/intevation/flys/jfree/Bounds.java: New model classes that
8517 should be used for adapting axes ranges later.
8518
8519 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8520
8521 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
8522 Generate a valid intial i18n name.
8523
8524 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
8525 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
8526 Pass call context to calculation.
8527
8528 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
8529
8530 flys/issue485 (Themen können umgenannt werden, dies wird nicht in der Legende reflektiert)
8531
8532 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8533 Use ArtifactAndFacet.setFacetDescription() to set the description for
8534 themes which are stored in the Collection's XML attribute.
8535
8536 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
8537 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
8538 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
8539 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8540 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
8541 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
8542 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
8543 src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
8544 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
8545 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
8546 Some refactoring of doXXXOut() methods. We pass the ArtifactAndFacet
8547 objects of doOut() into those concrete doOut() methods which allows us to
8548 generate series names for chart curves.
8549
8550 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8551
8552 * doc/conf/meta-data.xml: Replaced dashes by underscores in entities
8553 to ease translation.
8554
8555 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8556
8557 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
8558 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
8559 Fixed problem with including Y-Zeros.
8560
8561 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
8562 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
8563 Removed superfluous imports.
8564
8565 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8566
8567 Allow points in "new chart"s.
8568
8569 * doc/conf/artifacts/chart.xml: Added manualpoint facets to
8570 compatibility lists.
8571
8572 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
8573
8574 * src/main/java/de/intevation/flys/jfree/Style.java: New. A Style object
8575 needs to implements a method applyTheme() which takes a
8576 XYLineAndShapeRenderer.
8577
8578 * src/main/java/de/intevation/flys/jfree/XYStyle.java: New. This subclass of
8579 Style modifies the XYLineAndShapeRenderer specified in applyTheme().
8580
8581 * src/main/java/de/intevation/flys/jfree/StyledSeries.java: New. This
8582 interface defines two methods getStyle() and setStyle() to adjust and
8583 retrieve the Style of a series.
8584
8585 * src/main/java/de/intevation/flys/jfree/StyledTimeSeries.java: New.
8586 Implementation of StyledSeries that subclasses JFreeChart's TimeSeries.
8587
8588 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: Removed the
8589 code for adapting a XYLineAndShapeRenderer. Instead of implementing this
8590 stuff in StyledXYSeries itself, this instance now implements StyledSeries
8591 and stores an instance of XYStyle.
8592
8593 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
8594 Create new instances of StyledTimeSeries now which enables styling in this
8595 chart.
8596
8597 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Enabled
8598 styling of series for all series that implement StyledSeries.
8599
8600 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8601
8602 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
8603 Be more conservative about arrays and indices in "Bezugslinienverfahren".
8604
8605 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8606
8607 Allow areas in new chart/longitudinal_section.
8608
8609 * doc/conf/artifacts/chart.xml: Added area facet to compatibility
8610 list.
8611
8612 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8613
8614 Fix flys/issue490. Allow CollisionFree..Annotations to collide with
8615 non-collision-free annotations.
8616
8617 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotationEntity.java:
8618 New, to take advantage of cheap instanceof operator.
8619
8620 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
8621 Only avoid collisions with members of same family (i.e. allow
8622 collision with annotations of other types).
8623
8624 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
8625
8626 * doc/conf/themes.xml: Added themes for historical discharge curves and
8627 the differences to a reference curve.
8628
8629 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
8630
8631 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Some
8632 bugfixes and improvements:
8633 1) take only historical discharge tables into account for calculation
8634 2) use the correct values for computing differences
8635 3) moved timerange preparation into an own method
8636
8637 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8638
8639 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
8640 Fix call to StringUtils.join .
8641
8642 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8643
8644 * src/main/resources/messages.properties,
8645 src/main/resources/messages_de_DE.properties,
8646 src/main/resources/messages_en.properties,
8647 src/main/resources/messages_de.properties:
8648 Added i18n string for waterlevels (from datacage).
8649
8650 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8651
8652 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
8653 Locale-format multiple double values also.
8654
8655 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
8656
8657 * doc/conf/artifacts/winfo.xml: Registered a new facet for difference curves
8658 to the historical discharge output.
8659
8660 * src/main/java/de/intevation/flys/artifacts/model/HistoricalWQTimerange.java:
8661 New model that is able to store a further double value "diff" besides a W,
8662 Q and a Timerange.
8663
8664 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Create
8665 new HistoricalWQTimerange instances with difference between the reference
8666 discharge table and the historical discharge tables.
8667
8668 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New type
8669 for historical differences.
8670
8671 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java: Cast
8672 Timerange array in getTimeranges().
8673
8674 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeDifferenceFacet.java:
8675 New Facet for historical discharge difference curves.
8676
8677 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
8678 Create new Facets for the difference curves if the processed data are from
8679 type HistoricalWQTimerange.
8680
8681 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
8682 Added doOut() path for difference curves.
8683
8684 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
8685 Increased the size of a double array to be able to get results from
8686 HistoricalWQTimerange.
8687
8688 * src/main/resources/messages.properties,
8689 src/main/resources/messages_de_DE.properties,
8690 src/main/resources/messages_en.properties,
8691 src/main/resources/messages_de.properties: Added translation for warning
8692 if no reference discharge table was found for the specified gauge.
8693
8694 2012-02-09 Raimund Renkert <raimund.renkert@intevation.de>
8695
8696 Added PDF export to reference curve calculation.
8697
8698 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
8699 Added PDF export.
8700
8701 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
8702 doc/conf/artifacts/winfo.xml:
8703 Add facet for PDF export to state.
8704
8705 * src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java:
8706 New. Datasource for JasperReports containing reference curve data.
8707
8708 * src/main/resources/messages.properties,
8709 src/main/resources/messages_de_DE.properties,
8710 src/main/resources/messages_en.properties,
8711 src/main/resources/messages_de.properties:
8712 Added i18n strings for JasperReports template file and calculation mode.
8713
8714 * doc/conf/jasper/reference.jasper,
8715 doc/conf/jasper/reference_en.jasper:
8716 New. Templates for reference curve PDF export.
8717
8718 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8719
8720 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java(getReferenceEndKms):
8721 Prevent duplicates in end kms for reference curve calculation.
8722
8723 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8724
8725 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
8726 doc/conf/artifacts/winfo.xml: Renamed data item names to allow
8727 translations.
8728
8729 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8730
8731 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
8732 Give (Normalized)ReferenceCurveFacets are more appropriate
8733 description (to be seen in client).
8734
8735 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8736
8737 Prepare Reference curves to eat multiple locations as 'Ziel'.
8738
8739 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
8740 Cosmetics.
8741
8742 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
8743 New. State to provoke multi_location_panel.
8744
8745 * doc/conf/artifacts/winfo.xml: Made end state of ref curves a (new)
8746 EnterMultipleLocationState.
8747
8748 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
8749
8750 flys/issue483 (Historische Abflusstafeln ohne Ergebnis)
8751
8752 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Add
8753 a problem for the calculation report if no discharge tables were found
8754 for the given timerange.
8755
8756 * src/main/resources/messages.properties,
8757 src/main/resources/messages_de_DE.properties,
8758 src/main/resources/messages_en.properties,
8759 src/main/resources/messages_de.properties: Added translation for error
8760 messages created by Calculation6.
8761
8762 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8763
8764 * src/main/java/de/intevation/flys/utils/Formatter.java:
8765 Format kms in error reports at least with one digit after
8766 the decimal separator.
8767
8768 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8769
8770 Fix flys/issue468 (Fehler beim Projekt-Duplizieren)
8771
8772 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
8773 Always create a new XML document when calling report generation.
8774 XXX: There is a bug somewhere which calls error reporting twice
8775 when cloning a collection. Speculation: It has something to do with
8776 the settings stuff.
8777
8778 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
8779 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
8780 Remove superfluous imports.
8781
8782 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java:
8783 Added missing Override annotation.
8784
8785 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8786
8787 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
8788 Handle Manual Point Facets, added TODO.
8789
8790 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8791
8792 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
8793 Subclass BlackboardDataFacet to repair areas over cross sections.
8794
8795 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
8796
8797 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Let text
8798 and line annotations placed at x or y axes always be in foreground.
8799
8800 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8801
8802 Fix flys/issue474 (manual points in reference curves).
8803
8804 * doc/conf/artifacts/winfo.xml,
8805 doc/conf/artifacts/manualpoints.xml:
8806 Add manualpoints to lists just so that really everybody knows.
8807
8808 * doc/conf/themes.xml: Add styles for manual points in ref curves.
8809
8810 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
8811 Add ref curve chart types.
8812
8813 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
8814 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
8815 Handle manual point facets.
8816
8817 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8818
8819 Partial Fix flys/issue474.
8820
8821 * src/main/resources/messages.properties,
8822 src/main/resources/messages_de_DE.properties,
8823 src/main/resources/messages_en.properties,
8824 src/main/resources/messages_de.properties: Added translation for
8825 normalized_reference_curve.
8826
8827 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8828
8829 Fix flys/issue475.
8830
8831 * doc/conf/themes.xml: Register theme for reference_curve_normalized.
8832
8833 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
8834
8835 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Add a "/" to the
8836 URL of the user wms if the URL configured in conf.xml doesn't end with
8837 a "/".
8838
8839 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8840
8841 Fix flys/issue472.
8842
8843 * doc/conf/themes.xml: Added theme for discharge_curve manualpoints.
8844
8845 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
8846 Added discharge_curve as chart type.
8847
8848 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8849
8850 Fix flys/issue484 ((i18n: Ungleichwertige... Report))
8851
8852 * src/main/resources/messages.properties,
8853 src/main/resources/messages_de_DE.properties,
8854 src/main/resources/messages_en.properties,
8855 src/main/resources/messages_de.properties: Fixed key spelling.
8856
8857 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8858
8859 Fix flys/issue478 (Manuelle Punkte: Stil nicht änderbar).
8860
8861 * doc/conf/themes: Map correct theme to manualpoint themes.
8862
8863 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8864
8865 Partial fix flys/issue472 .
8866
8867 * doc/conf/artifacts/winfo.xml: Add manual points to compatibility
8868 list of cross_sections.
8869
8870 * doc/conf/artifacts/manualpoints.xml: Add manualpoints to list of
8871 generated facets.
8872
8873 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8874
8875 * doc/conf/themes.xml: Commented styling option for show area until
8876 area calculation works.
8877
8878 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8879
8880 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
8881 i18n the km of the error report.
8882
8883 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
8884 Fixed potential race conditions.
8885
8886 * src/main/java/de/intevation/flys/utils/Formatter.java: Added
8887 formatter for error report kms.
8888
8889 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
8890 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
8891 Removed superfluous imports.
8892
8893 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
8894 Commented out some imports. They are used be out commented code.
8895
8896 2012-02-07 Ingo Weinzierl <ingo@intevation.de>
8897
8898 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
8899 Use the correct km key for an unspecific km for fetching the whole river
8900 annotations.
8901
8902 2012-02-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8903
8904 * doc/conf/conf.xml: Added missing config of chart info generator
8905 of normalized reference curve.
8906
8907 2012-02-07 Ingo Weinzierl <ingo@intevation.de>
8908
8909 * doc/conf/conf.xml: Fixed wrong chart info generator name for historical
8910 discharge curves.
8911
8912 2012-02-07 Raimund Renkert <raimund.renkert@intevation.de>
8913
8914 Added PDF export for historical discharge curve calculations.
8915
8916 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
8917 Implemented PDF export for calculation results.
8918
8919 * src/main/java/de/intevation/flys/artifacts/model/WQTJRDataSource.java:
8920 New. Datasource for JasperReports.
8921
8922 * doc/conf/artifacts/winfo.xml:
8923 Added facet for PDF export to historical discharge curve output mode.
8924
8925 * src/main/resources/messages.properties,
8926 src/main/resources/messages_de_DE.properties,
8927 src/main/resources/messages_en.properties,
8928 src/main/resources/messages_de.properties:
8929 Added i18n strings for historical discharge curve export.
8930
8931 * doc/conf/jasper/historical-discharge.jasper,
8932 doc/conf/jasper/historical-discharge_en.jasper:
8933 New. Templates for JasperReports PDF creation.
8934
8935 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8936
8937 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
8938 Handle WWQQs, extended CSV export of reference curves.
8939
8940 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8941
8942 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
8943 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
8944 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
8945 Recactored, moved Formatter accessors to base class AbstractExporter.
8946
8947 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8948
8949 Let reference curve calculation result in specific WWQQ, extended CSV
8950
8951 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java
8952 (getWW,getWWQQ): Renamed and changed result type.
8953
8954 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java,
8955 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
8956 Result in WWQQs, not in WWs.
8957
8958 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8959
8960 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
8961 Log error as warning.
8962
8963 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8964
8965 * src/main/java/de/intevation/flys/artifacts/math/LinearFunction.java:
8966 New. Linear function f(x) = m*x + b.
8967
8968 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
8969 Do the normalizing. Cascading functions is not required.
8970
8971 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8972
8973 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveInfoGenerator.java:
8974 Added missing chart info generator for the normalized reference curves.
8975
8976 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8977
8978 * src/main/resources/messages_de_DE.properties,
8979 src/main/resources/messages_de.properties: Fix i18n.
8980
8981 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8982
8983 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
8984 Added optional boolean flag to indicated if the data should be 'normalized'.
8985 TODO: Build the cascading normalising function call chain.
8986
8987 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
8988 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
8989 Fetch WWAxisTypes from call context to do the right scaling.
8990
8991 2012-02-06 Raimund Renkert <raimund.renkert@intevation.de>
8992
8993 Added service for discharge infos at a specific gauge.
8994
8995 * doc/conf/conf.xml: Added service factory entry.
8996
8997 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
8998 New. Returns description, start year and end year of discharges at a
8999 specific gauge.
9000
9001 * src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
9002 Return a more specific ui provider string.
9003
9004 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9005
9006 * doc/conf/conf.xml: Registered generator for normalized reference curves.
9007
9008 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9009 Added "reference_curve_normalized".
9010
9011 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9012 Added facets for normalized reference curves.
9013
9014 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java:
9015 Generator for normalized reference curves.
9016
9017 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9018
9019 * doc/conf/artifacts/winfo.xml: Added config for "reduzierte Bezugslinie".
9020
9021 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9022
9023 * doc/conf/artifacts/winfo.xml: Added error report.
9024
9025 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
9026
9027 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Set
9028 proper bounds for date axis elements; tell the transformation matrix which
9029 type it is (number/date).
9030
9031 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9032
9033 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9034 Include location description string in csv output of referencecurve-
9035 exporter.
9036
9037 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9038
9039 * src/main/java/de/intevation/flys/artifacts/model/WW.java: Added constructor call.
9040 * src/main/java/de/intevation/flys/artifacts/model/WWQQ.java: New.
9041 Stores the Qs for the Ws, too.
9042
9043 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java: Create
9044 WWQQs instead of WWs.
9045
9046 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9047
9048 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9049 Added further i18n stubs and slightly more data.
9050
9051 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9052
9053 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
9054 Return the Qs of the Ws, too.
9055
9056 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
9057 Adjusted to cope with the return Qs. TODO: Create WQWQ or WWQQ dataset
9058 for storing the result.
9059
9060 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9061
9062 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9063 Added further i18n stubs.
9064 Also added a second Y axis (experimental, to ease axis labeling etc.).
9065
9066 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9067
9068 * doc/conf/artifacts/winfo.xml: Register new export output and csv
9069 facet for reference curves.
9070
9071 * doc/conf/conf.xml: Register Exporter for reference curve.
9072
9073 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9074 Primitive exporter, bland copy of another one.
9075
9076 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9077
9078 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9079 Enabled some i18n of labels.
9080
9081 * src/main/resources/messages.properties,
9082 src/main/resources/messages_de_DE.properties,
9083 src/main/resources/messages_en.properties,
9084 src/main/resources/messages_de.properties: Basic i18n for reference
9085 curves added.
9086
9087 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
9088
9089 * doc/conf/conf.xml: Registered the HistoricalDischargeCurveInfoGenerator.
9090
9091 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveInfoGenerator.java:
9092 New. This info generator returns information of a
9093 HistoricalDischargeCurveGenerator.
9094
9095 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Add an
9096 attribute "axistype" to axes nodex based on the JFreeChart Axis type.
9097 Number axes get a "number", date axes a "date".
9098
9099 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Defined an
9100 abstract method getRangesForAxis().
9101
9102 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Awaits
9103 now an instance of ChartGenerator instead of XYChartGenerator.
9104
9105 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9106 Implemented the getRangesForAxis() method (copied from XYChartGenerator).
9107
9108 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
9109 @Override annotation to getRangesForAxis().
9110
9111 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9112
9113 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
9114 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
9115 Cosmetics.
9116
9117 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9118
9119 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9120 Add CSV facet (not yet evaluated).
9121
9122 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
9123
9124 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
9125 New. This OutGenerator exports historical discharge curves to CSV and PDF.
9126 Currently, only the CSV export is implemented!
9127
9128 * doc/conf/artifacts/winfo.xml: Registered a new Output CSV for historical
9129 discharge curves.
9130
9131 * doc/conf/conf.xml: Registered the HistoricalDischargeCurveExporter.
9132
9133 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
9134 Generate new Facets for CSV and PDF output.
9135
9136 * src/main/java/de/intevation/flys/utils/Formatter.java: Added new functions
9137 that return number formatters for historical discharge curves and a date
9138 formatter for short dates.
9139
9140 * src/main/resources/messages.properties,
9141 src/main/resources/messages_de_DE.properties,
9142 src/main/resources/messages_en.properties,
9143 src/main/resources/messages_de.properties: Added strings for CSV header of
9144 historical discharge curve export.
9145
9146 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9147
9148 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9149 Adjusted to name change in River ('hibernate fix').
9150
9151 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9152
9153 * doc/conf/artifacts/winfo.xml: Adapted the data type of W/Q input values
9154 for historical discharge curve calculation (intarray -> doublearray).
9155
9156 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
9157 Adapted the data type of W/Q input values.
9158
9159 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9160
9161 First steps to serve the data in cm if we are are gauges only.
9162
9163 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9164 Fetch map gauge station -> gauge datum from backend for reference curve.
9165
9166 * src/main/java/de/intevation/flys/artifacts/math/LinearFilterFunction.java:
9167 New. Linear transforms another function.
9168
9169 * src/main/java/de/intevation/flys/artifacts/math/FilterFunction.java:
9170 New. Allows cascading functions.
9171
9172 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
9173 New. Classifier what kind of axis types are needed.
9174
9175 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
9176 Removed. Is now obsolete.
9177
9178 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
9179 Stores gauge station kms for start and end km if they are any.
9180
9181 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
9182 Should generate a WWAxisTypes classifier via side effect to the
9183 call context.
9184
9185 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
9186 Figure out for each start/end km if its a gauge station and store this
9187 information in the result WWs.
9188
9189 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9190 Uses the WWAxisTypes classifier now to generate the right data.
9191 TODO: Use the blackboard object.
9192
9193 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9194
9195 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
9196 Removed superfluous imports.
9197
9198 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9199
9200 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9201 Set number of interpolation steps for relation curve to 200.
9202
9203 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9204 Do not sort the XYSeries.
9205
9206 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9207
9208 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
9209 Removed. Was stub.
9210
9211 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9212
9213 Improved Reference Curves.
9214
9215 * doc/conf/artifacts/winfo.xml: Add start/end input step for reference
9216 curves.
9217
9218 * doc/conf/themes.xml: Add theme for reference curve.
9219
9220 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9221 Disable start/end point-hack for reference curve. Go with 'live'
9222 values.
9223
9224 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9225 i18n.
9226
9227 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
9228 New. State to enter location.
9229
9230 * src/main/java/de/intevation/flys/artifacts/states/InputDoubleState.java:
9231 New.
9232
9233 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9234 Take WW name to display in themepanel.
9235
9236 * src/main/resources/messages.properties,
9237 src/main/resources/messages_de_DE.properties,
9238 src/main/resources/messages_en.properties,
9239 src/main/resources/messages_de.properties: Added translations.
9240
9241 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9242
9243 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Use
9244 the current date for discharge tables which doesn't have a stop time set.
9245 A warning message is written to log.
9246
9247 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
9248 Generate report facet before leaving the computeXXX() method when no
9249 calculation results has been computed.
9250
9251 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9252
9253 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
9254 that returns the name of a reference gauge (for historical discharge
9255 curves).
9256
9257 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
9258 Create title, subtitle and axes labels for charts of this type.
9259
9260 * src/main/resources/messages.properties,
9261 src/main/resources/messages_de_DE.properties,
9262 src/main/resources/messages_en.properties,
9263 src/main/resources/messages_de.properties: Added title, subtitle and axes
9264 labels for historical discharge curves.
9265
9266 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9267
9268 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9269 Fix.
9270
9271 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9272
9273 * src/main/resources/messages.properties,
9274 src/main/resources/messages_de_DE.properties,
9275 src/main/resources/messages_en.properties,
9276 src/main/resources/messages_de.properties: Added translations for
9277 states (will be shown in client).
9278
9279 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9280
9281 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9282 Ja!vadoc.
9283
9284 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9285 Declare getYAxisWalker as abstract to avoid weird issue with
9286 overriden methods of this name.
9287
9288 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9289
9290 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9291 Use the WW.ApplyFunctionIterator to fetch the data.
9292
9293 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
9294 Removed superfluous imports.
9295
9296 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9297
9298 * doc/conf/artifacts/winfo.xml: Registered a ReportFacet for historical
9299 discharge curve report.
9300
9301 * doc/conf/conf.xml: Registered a ReportGenerator for historical discharge
9302 curves.
9303
9304 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Add
9305 problems if we were not able to find a Q for a given W.
9306
9307 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
9308 Generate a ReportFacet if there were problems during calculcation.
9309
9310 * src/main/resources/messages.properties,
9311 src/main/resources/messages_de_DE.properties,
9312 src/main/resources/messages_en.properties,
9313 src/main/resources/messages_de.properties: Added error messages for the
9314 case that we were not able to find a Q for a given W while calculating
9315 historical discharge curve data.
9316
9317 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9318
9319 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
9320 Improved adding new data for historical discharge curves: skip NaN
9321 values; use JFreeChart's Day TimePeriod instead of Second.
9322
9323 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9324
9325 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9326 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Refactoring:
9327 moved addDatasets(), applyThemes() and some other methods into
9328 ChartGenerator; enhanced the AxisDataset interface.
9329
9330 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9331 Implemented necessary abstract methods and improved internal AxisDataset
9332 class (added new methods).
9333
9334 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9335
9336 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a
9337 function that expands a given range. Take care on NaN in getRanges().
9338
9339 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
9340 Prevent of NullPointerExceptions in isMinimumShapeVisible() and
9341 isMaximumShapeVisible().
9342
9343 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9344
9345 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
9346 Create new AxisDatasets and new TimeSeriesCollections for each Facet.
9347
9348 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9349
9350 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java: Added a
9351 method getTimerange(idx) that returns the Timerange at a given index.
9352
9353 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeFacet.java:
9354 Return the correct WQTimerange object in getData().
9355
9356 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9357
9358 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9359 src/main/java/de/intevation/flys/exports/ChartGenerator.java: More
9360 refactoring: the AxisDataset is defined by an interface in ChartGenerator
9361 now. Each subclass of ChartGenerator should implement its own AxisDataset.
9362 This allows us to provide multiple XYDataset types in different charts.
9363
9364 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9365 Implemented some necessary methods (abstract definitions of parent class)
9366 and create new empty timeseries charts.
9367
9368 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9369
9370 * src/main/java/de/intevation/flys/exports/ChartHelper.java: New helper
9371 class for working with charts.
9372
9373 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9374
9375 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9376 Removed useless import.
9377
9378 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9379 src/main/java/de/intevation/flys/exports/ChartGenerator.java: More
9380 refactoring: moved more base code from XYChartGenerator to its parent
9381 class ChartGenerator.
9382
9383 2012-02-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9384
9385 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
9386 Refactored. Use supers static field.
9387
9388 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
9389 Refactored. Use static field.
9390
9391 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
9392 src/main/java/de/intevation/flys/utils/FLYSUtils.java
9393 (getMinMax, getRiverMinMax): Refactored. Moved to FLYSUtils.
9394
9395 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
9396 Add so-called javadoc.
9397
9398 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9399
9400 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9401 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Moved
9402 further base code from XYChartGenerator into its ChartGenerator.
9403
9404 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9405 Override generateChart() instead of generate() which is now implemented
9406 in ChartGenerator.
9407
9408 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9409
9410 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9411 New. This ChartGenerator should be used for timeseries charts. Currently,
9412 this class is a stub only! WORK IS IN PROGRESS!
9413
9414 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
9415 Subclasses TimeseriesChartGenerator now instead of XYChartGenerator,
9416 because historical discharge curve charts will have a time x axis set.
9417
9418 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9419 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Moved some
9420 basic stuff from XYChartGenerator into ChartGenerator.
9421
9422 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9423
9424 * src/main/java/de/intevation/flys/artifacts/charts/TimeseriesStepChart.java:
9425 Added standalone demo app for evaluating different timeseries charts.
9426
9427 2012-02-02 Raimund Renkert <raimund.renkert@intevation.de>
9428
9429 Issue 466: CSV export for chart themes.
9430
9431 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9432 Export a CSV file if the requested format is 'csv'.
9433
9434 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
9435 Generate the CSV file containing X-Y-data of all activated themes.
9436
9437 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
9438
9439 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
9440 Moved code to load values of a discharge table into an own static
9441 function to be able to reuse it in Calculation6.
9442
9443 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
9444 Implemented the findValueForW().
9445
9446 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9447
9448 Fake some reference curve input values to have working prototype
9449 to work on.
9450
9451 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9452 Syntax-stunt fake reference inputs.
9453
9454 * src/main/java/de/intevation/flys/artifacts/model/WW.java
9455 (getW1): Accessor for first w at index (for the raw ww).
9456
9457 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java
9458 (doReferenceOut): Plot the raw W-over-W.
9459
9460 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
9461
9462 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Create time
9463 millis for timerange used in Calculation6.
9464
9465 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Added
9466 the first step of the calculation: fetch relevant discharge tables based
9467 on the given input parameters. The calculated values are not the right
9468 ones! Finding Ws and Qs in discharge tables is still not implemented! WORK
9469 IN PROGRESS!
9470
9471 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
9472 Create facets for each WQTimerange object calculated by Calculation6.
9473
9474 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
9475
9476 * src/main/java/de/intevation/flys/artifacts/model/Timerange.java: Added a
9477 new constructor that takes Date objects for start and end time.
9478
9479 2012-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9480
9481 * src/main/java/de/intevation/flys/artifacts/model/W.java:
9482 Forget to create ws data in constructor.
9483
9484 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9485
9486 * doc/conf/artifacts/winfo.xml: Replaced Reference Curve input state
9487 with LocationSelect-State for debugging purposes. Add output to
9488 reference.curve- state.
9489
9490 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9491
9492 * doc/conf/conf.xml: Register ReferenceCurve*Generators.
9493
9494 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9495
9496 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
9497 Cosmetics.
9498
9499 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9500
9501 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9502 Added pro forma facet.
9503
9504 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9505
9506 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
9507 Added comment.
9508
9509 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9510
9511 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9512 Added reference curve facet type.
9513
9514 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
9515
9516 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Fetch
9517 necessary parameters for 'historical discharge curve' calculation and call
9518 Calculation6 with those parameters.
9519
9520 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
9521 Modified default constructor and calculate() signatures and added a
9522 parameter check which is evaluated before the calculation starts.
9523
9524 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9525
9526 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java,
9527 src/main/java/de/intevation/flys/exports/ReferenceCurveInfoGenerator.java:
9528 Added outline of a new chart-generator.
9529
9530 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
9531
9532 * src/main/java/de/intevation/flys/artifacts/model/Timerange.java: New.
9533 This class might be used to store timeranges. Start and end time are
9534 stores as long (milliseconds since january 1, 1970).
9535
9536 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java:
9537 New. This class should be used to save Ws, Qs and timeranges.
9538
9539 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
9540
9541 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added helper
9542 methods to extract int[] and double[] from string.
9543
9544 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
9545
9546 * doc/conf/artifacts/winfo.xml: Registered new facet type
9547 'historical_discharge.historicalq' to the 'historical_discharge' output.
9548
9549 * doc/conf/conf.xml: Registered new HistoricalDischargeCurveGenerator for
9550 output type 'historical_discharge'.
9551
9552 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
9553 new facet type for HISTORICAL_DISCHARGE_Q.
9554
9555 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
9556 New. This ChartGenerator is used to generate new charts for historical
9557 discharge curves. WORK IN PROGRESS!
9558
9559 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: New.
9560 This class should 'compute' the historical discharge curves. WORK IN
9561 PROGRESS!
9562
9563 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeFacet.java:
9564 New. This Facet is used during the calculation of historical discharge
9565 curves.
9566
9567 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
9568 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added stubs
9569 to trigger the calculation of data used for generating historical
9570 discharge curve charts.
9571
9572 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
9573
9574 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9575 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
9576 Removed needless imports.
9577
9578 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9579
9580 * src/main/resources/messages_de.properties,
9581 src/main/resources/messages_de_DE.properties:
9582 Fixed "W bei ..m" -> "W fuer ...n" .
9583
9584 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9585
9586 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9587 Avoid NPE, add warning to log to not forget about it.
9588
9589 2012-01-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9590
9591 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
9592 Fixed problems with unformatted numbers in error message.
9593
9594 2012-01-31 Ingo Weinzierl <ingo@intevation.de>
9595
9596 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
9597 Override getLabelFor() to return the I18N string for the selected
9598 evaluation mode.
9599
9600 2012-01-31 Ingo Weinzierl <ingo@intevation.de>
9601
9602 * doc/conf/artifacts/winfo.xml: Modified types of parameters in the
9603 'historical discharge curves' transitions.
9604
9605 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9606
9607 * doc/conf/artifacts/winfo.xml: Fix transition type (Stupid Bug 1.0 reverse).
9608
9609 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
9610
9611 * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java:
9612 Override getLabelFor() method defined in DefaultState to return the name
9613 of a Gauge based on the official number which is stored in the
9614 parameterization.
9615
9616 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9617
9618 Allow manual points in more diagram types.
9619
9620 * doc/conf/artifacts/winfo.xml: Add respective facet types to
9621 compatibility lists of output modes.
9622
9623 * doc/conf/artifacts/manualpoints.xml: Mention facet types.
9624
9625 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9626 Added ChartType enum to ease later iteration.
9627 (IS.MANUALPOINTS): Added helper.
9628
9629 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java:
9630 Help artifact figuring out which data to provide by passing facet
9631 name.
9632
9633 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
9634 Respond to getPointData with correct data item, depending on facet
9635 name.
9636
9637 * src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
9638 Iterate over chart types. Add facets if corresponding data is found.
9639
9640 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9641 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9642 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9643 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9644 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
9645 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
9646 Handle manual point facets.
9647
9648 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
9649
9650 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Clone
9651 StateData model objects to save parameters in this Artifact - create
9652 new StateData instances only if no StateData model was found for a
9653 parameter. This solves the problem of loosing the type of a StateData.
9654
9655 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
9656 Implemented a getLabelFor() method that is used to format a parameter
9657 value.
9658
9659 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
9660 Adapted method signature of transform().
9661
9662 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
9663 Override getLabelFor() method to create a well formatted label for min/max
9664 values.
9665
9666 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
9667
9668 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java:
9669 Bugfix: use correct order of parameters in DefaultStateData constructor.
9670
9671 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
9672
9673 * doc/conf/artifacts/winfo.xml: Fixed a stupid bug. Use
9674 ValueCompareTransition instead of DefaultTransition to evaluate values.
9675
9676 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
9677
9678 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
9679 Write default values for min and max items into the DESCRIBE document.
9680
9681 2012-01-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9682
9683 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
9684 Added field 'startKm' and 'endKm' to make it easier to associate
9685 gauge to km to return Ws in cm if km is at a gauge.
9686
9687 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
9688 Construct the WWs with startKm and endKm. This is necessary because
9689 if an error occurs in calcuting an in between km in a list of end kms
9690 the index does not correspond to the input value any more.
9691
9692 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
9693
9694 * doc/conf/artifacts/winfo.xml: Added transitions for "historical discharge
9695 curves" calculation.
9696
9697 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9698
9699 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9700 (doPoints): Skip 'inactive' points.
9701
9702 2012-01-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9703
9704 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
9705 Removed the createNormalized() method because it did not
9706 solve all problems with the transformation of the W~W data we have.
9707
9708 - We need to shift the values to be based in (0, 0).
9709 - We need to linear transform the values if they are at gauges.
9710 - Copying the data is memory expensive.
9711
9712 Therefore there is now a new inner class ApplyFunctionIterator
9713 that is able to transform the values in an iterator like manner.
9714 The transform functions default to the identity.
9715
9716 * src/main/java/de/intevation/flys/artifacts/math/Sub.java: New.
9717 Simple function that subtract a scalar from the parameter.
9718
9719 * src/main/java/de/intevation/flys/artifacts/model/W.java: Added
9720 method minWs() to calulate the minimal W of the data.
9721
9722 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
9723 getData() returns a WW.ApplyFunctionIterator with identity transform.
9724
9725 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
9726 getData() returns a WW.ApplyFunctionIterator with a base shift to (0, 0).
9727
9728 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9729
9730 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
9731 Added method createNormalized() to shift the data to start in (0, 0).
9732
9733 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
9734 Returns the 'normalized' data of the reference curve.
9735
9736 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9737
9738 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
9739 New. Facet for the normalized W~W relation.
9740 TODO: Implement the on-the-fly creation logic.
9741
9742 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
9743 New. Facet for the W~W relation.
9744
9745 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: Cosmetics.
9746
9747 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9748
9749 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9750 Added stub loop for creating facets.
9751
9752 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
9753 Cosmetics.
9754
9755 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9756
9757 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9758 Call the 'Bezugslinienverfahren'.
9759
9760 * src/main/resources/messages.properties,
9761 src/main/resources/messages_de_DE.properties,
9762 src/main/resources/messages_en.properties,
9763 src/main/resources/messages_de.properties:
9764 I18N for the 'Bezugslinienverfahren' error messages.
9765
9766 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9767
9768 * doc/conf/themes.xml: Better theme for manual points.
9769
9770 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9771 Theme text part of manual points. Offset it a bit.
9772
9773 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9774
9775 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
9776 Fixed stupid bug.
9777
9778 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
9779
9780 * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java,
9781 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
9782 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java,
9783 src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
9784 New. States used in the 'historical discharge curve' calculation.
9785
9786 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
9787
9788 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java: New
9789 state that eases adding min/max value pairs to describe document.
9790
9791 * src/main/java/de/intevation/flys/artifacts/states/IntRangeState.java:
9792 New. Subclasses MinMaxState and allows adding min/max integer value pairs.
9793
9794 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
9795
9796 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Moved
9797 code to add items to a data node for dynamich UI into an own method.
9798
9799 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
9800
9801 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java: Removed
9802 useless import.
9803
9804 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
9805
9806 * src/main/resources/messages.properties,
9807 src/main/resources/messages_de_DE.properties,
9808 src/main/resources/messages_en.properties,
9809 src/main/resources/messages_de.properties: Added strings which are used n
9810 the calculation "historical discharge curve".
9811
9812 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9813
9814 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
9815 New. Calcutation to be created from WINFOArtifact
9816 for the 'Bezugslinienverfahren'.
9817
9818 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9819 Added TODO about optimization of the 'Bezugslinienverfahren'.
9820 Added number of default samples of the W~W relation.
9821
9822 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
9823 Added convinience constructor to store the calculation results.
9824
9825 * ChangeLog: Removed false TODO.
9826
9827 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
9828
9829 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
9830 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
9831 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
9832 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
9833 Read jasper template file from resources to support i18n reports.
9834
9835 * doc/conf/jasper/wdifferences.jasper,
9836 doc/conf/jasper/duration.jasper,
9837 doc/conf/jasper/computed-discharge.jasper,
9838 doc/conf/jasper/waterlevel.jasper:
9839 Updated report template. Resized left margin.
9840
9841 * doc/conf/jasper/computed-discharge_en.jasper,
9842 doc/conf/jasper/duration_en.jasper,
9843 doc/conf/jasper/wdifferences_en.jasper,
9844 doc/conf/jasper/waterlevel_en.jasper:
9845 New. Templates for english reports.
9846
9847 * src/main/resources/messages.properties,
9848 src/main/resources/messages_de_DE.properties,
9849 src/main/resources/messages_en.properties,
9850 src/main/resources/messages_de.properties:
9851 Added i18n strings for template files and modes.
9852
9853 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9854
9855 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9856 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9857 Prevent second Legend Entry for points (prior was one for the
9858 TextAnnotations and one for the points).
9859
9860 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9861
9862 Blindly render Text of manual points if it does not collide with
9863 other text.
9864
9865 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9866 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9867 Handle TextAnnotations, create some for manual points.
9868
9869 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
9870 Added setter for TextAnnotations, documentation.
9871
9872 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9873
9874 * src/main/resources/messages.properties,
9875 src/main/resources/messages_de_DE.properties,
9876
9877 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9878
9879 Refactored class hierachy to integrate model for W~W:
9880
9881 NamedObjImpl
9882 \-- W
9883 +-- WW
9884 \-- WQ
9885 +-- WQDay
9886 \-- WQKms
9887 \-- WQCKms
9888
9889 * src/main/java/de/intevation/flys/artifacts/model/W.java:
9890 New. Base class
9891
9892 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
9893 New. Model for W~W
9894
9895 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
9896 src/main/java/de/intevation/flys/artifacts/model/WQDay.java,
9897 src/main/java/de/intevation/flys/artifacts/model/WQ.java,
9898 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
9899 Adjusted to follow the new class hierarchy.
9900
9901 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
9902 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
9903 Removed superfluous imports.
9904
9905 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9906
9907 * src/main/resources/messages.properties,
9908 src/main/resources/messages_de_DE.properties,
9909 src/main/resources/messages_en.properties,
9910 src/main/resources/messages_de.properties,
9911 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
9912 i18n for ManualPointsFacets.
9913
9914 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
9915
9916 Issue 138: PDF output for calculations.
9917
9918 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
9919 Create the PDF data source and generate the PDF report output.
9920
9921 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
9922 Add the PDF facet to state. Add export facets only once.
9923
9924 * doc/conf/artifacts/winfo.xml:
9925 Added PDF facet to state.
9926
9927 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
9928 Added new field type 'differences'.
9929
9930 * doc/conf/jasper/wdifferences.jasper:
9931 New. Template for w-differences PDF export.
9932
9933 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
9934
9935 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
9936 New method that creates and returns the chosen differences of w-difference
9937 calculation as string.
9938
9939 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
9940
9941 Issue 138: PDF output for calculations.
9942
9943 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
9944 Create the PDF data source and generate the PDF report output.
9945
9946 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
9947 doc/conf/artifacts/winfo.xml:
9948 Added PDF facet to state.
9949
9950 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
9951 Added new field type 'day'.
9952
9953 * doc/conf/jasper/duration.jasper:
9954 New. Template for duration curve PDF report.
9955
9956 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de>
9957
9958 Issue 138: PDF output for calculations.
9959
9960 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
9961 Create the PDF datasource and generate the PDF report output.
9962
9963 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
9964 doc/conf/artifacts/winfo.xml:
9965 Added PDF facet to state.
9966
9967 * doc/conf/jasper/computed-discharge.jasper:
9968 New. Template for computed discharge PDF report.
9969
9970 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de>
9971
9972 Issue 138: PDF output for calculations.
9973
9974 * pom.xml: New Dependency to net.sf.jasperreports/jasperreports and
9975 org.codehaus.groovy/groovy-all.
9976
9977 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
9978 Added methods for PDF generation.
9979
9980 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
9981 Create the PDF data source and generate the PDF report output.
9982
9983 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
9984 New. Data source for jasper reports containing the waterlevel calculation
9985 result.
9986
9987 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
9988 Added facet for PDF export to state.
9989
9990 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9991 Added PDF facet type.
9992
9993 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
9994 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
9995 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
9996 Added stub for inherited abstract method.
9997
9998 * doc/conf/artifacts/winfo.xml:
9999 Added PDF facet to outputmode 'export'.
10000
10001 * doc/conf/jasper,
10002 doc/conf/jasper/waterlevel.jasper:
10003 New. Folder for jasperreports templates and first template for
10004 waterlevel report.
10005
10006 * src/main/resources/messages.properties,
10007 src/main/resources/messages_de_DE.properties,
10008 src/main/resources/messages_en.properties,
10009 src/main/resources/messages_de.properties:
10010 Added i18n string for calculation mode.
10011
10012 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10013
10014 Renderer 'manual' points in LongitudinalSectionGenerator.
10015
10016 * pom.xml: New dependency to org.json/json.
10017
10018 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10019 (doOut): Handle manual points.
10020 (doPoints): Add point- series.
10021
10022 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10023 Added MANUALPOINTS Facet Type.
10024
10025 * doc/conf/themes.xml: Added Default Theme for Manual Points.
10026
10027 * doc/conf/artifacts/winfo.xml: Added manual point facet to
10028 compatibility list of longitudinal section diagram.
10029
10030 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10031
10032 Cosmetics.
10033
10034 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
10035 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
10036 Removed obsolete imports.
10037
10038 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10039
10040 Add initial infrastructure for user-provided data ('manual points').
10041
10042 * doc/conf/artifacts/manualpoints.xml: Trivial state model for new
10043 Artifact.
10044
10045 * doc/conf/conf.xml: Registered manualpoint artifact and factory.
10046
10047 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
10048 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java,
10049 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
10050 New. Basic infrastructure for ManualPoints.
10051
10052 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10053
10054 * doc/conf/artifacts/winfo.xml: Removed superfluous condition checks.
10055
10056 2012-01-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10057
10058 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
10059 Cosmetics, documentation.
10060
10061 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10062
10063 * doc/conf/artifacts/winfo.xml: Add states/transitions stubs for
10064 "Bezugsllinenverfahren."
10065
10066 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
10067 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
10068 Stubs for the two new states.
10069
10070 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10071
10072 * contrib/visualize-transitions.xsl: Fixed output of the conditions
10073 of the transitions. Now you can see the circumstances
10074 when a branch is taken.
10075
10076 2012-01-25 Raimund Renkert <raimund.renkert@intevation.de>
10077
10078 Issue 461.
10079
10080 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10081 Override buildChartSection() to disable the chart subtitle entry in
10082 ChartSettings.
10083
10084 2012-01-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10085
10086 I18N for WINFO calculations messages.
10087
10088 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
10089 Allow optional arguments in error messages to support meaningful
10090 formatting containing e.g. numbers.
10091
10092 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
10093 Added a convenience getMsg() method.
10094
10095 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
10096 src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java,
10097 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
10098 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
10099 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
10100 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
10101 Adjusted the code to use the I18N symbols now.
10102
10103 * src/main/resources/messages.properties,
10104 src/main/resources/messages_de_DE.properties,
10105 src/main/resources/messages_en.properties,
10106 src/main/resources/messages_de.properties: Added the I18N strings.
10107
10108 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10109
10110 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10111 Handle the case in "W auf freier Strecke" where more than
10112 one Q is related to a W. TODO: Generate user report.
10113
10114 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10115
10116 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10117 Added code for the simple case of "Bezugslinienverfahren" ("W auf freier Strecke").
10118 TODO: Handle case if the model returns more than one Q for a given W.
10119
10120 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
10121 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
10122 Micro optimizations.
10123
10124 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10125
10126 Fix flys/issue452 (Annotations at second y-axis).
10127
10128 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10129 Added new type (duration_curve.mainvalues.q).
10130
10131 * doc/conf/themes.xml: Added theme mapping for new facet type.
10132
10133 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10134 Create another Facet.
10135
10136 * doc/conf/artifacts/winfo.xml: Added new facet type to compatibility
10137 list.
10138
10139 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
10140 Handle new Facet.
10141
10142 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
10143 Added field to be able to remember which axis to stick to.
10144
10145 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
10146 Tell Annotations to stick to Q axis in the special duration_curve
10147 environment.
10148
10149 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10150 (AxisDataset): Added plotAxisIndex to now have a
10151 two-way-association.
10152 Tell own axisDatasets to which 'jfreechart'-axis they are assigned.
10153 Evaluate which axis the StickyAxisAnnotations should be sticked to,
10154 and calculate text and line positions accordingly.
10155 Removed junk.
10156
10157 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10158
10159 Fix compilation.
10160
10161 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
10162 Use StickyAxisAnnotations instead of XYTextAnnotations.
10163
10164 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10165
10166 Some unification of Annotation handling.
10167
10168 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
10169 Add a third annotation type (now have text, hyk and sticky).
10170
10171 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
10172 Use double instead of float values, removed commented code.
10173
10174 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
10175 Reduced to keep information about placements etc only. Not a
10176 Annotation (in JFreeChart sense) anymore.
10177
10178 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
10179 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
10180 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10181 Use StickyAxisAnnotations instead of XYTextAnnotations.
10182
10183 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
10184 Added new LineStyle class.
10185
10186 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10187 Call addAnnotationsToRenderer later, where positioning information
10188 is already known.
10189 (addAnnotationsToRenderer): Deal with the three Annotation types.
10190 Instead of StickyAnnotations, add
10191 CollisionFreeXYText- and
10192 XYLineAnnotations.
10193 (Area): Helper class.
10194
10195 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10196
10197 Some unification of Annotation handling.
10198
10199 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
10200
10201 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10202
10203 Fix flys/issue395 (SVG/PDF-Export: Längsschitt enthält keine
10204 Streckenfavoriten.)
10205
10206 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
10207 Fix pdf/svg rendering of annotatios, by adding a
10208 ChartRenderingInfo-object to the chart.draw call.
10209
10210 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
10211
10212 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10213 Added new key and getter for a short subtitle. The short subtitle is
10214 used if no range exists.
10215
10216 * src/main/resources/messages.properties,
10217 src/main/resources/messages_de_DE.properties,
10218 src/main/resources/messages_en.properties,
10219 src/main/resources/messages_de.properties:
10220 Added i18n string for shor subtitle.
10221
10222 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
10223
10224 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
10225 Removed state validation. Validation prevents drawing the diffenrences
10226 diagramm and all states except of WDifferencesState always return
10227 true.
10228
10229 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10230
10231 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
10232 New. Candidate to replace StickyAxisAnnotation eventually.
10233
10234 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10235
10236 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
10237 Added null-guards to functions parameters.
10238
10239 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10240
10241 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
10242 Respect flowing direction of river when finding valid
10243 hykformations.
10244
10245 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
10246
10247 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10248 Add an empty facet to this state if the artifact is a Chartartifact.
10249
10250 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10251 Do not add the range to subtitle if no range exists.
10252
10253 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
10254
10255 'New chart' for cross sections.
10256
10257 * doc/conf/artifacts/chart.xml: Updated the states and transitions for
10258 new charts.
10259
10260 * doc/conf/meta-data.xml: Added cross sections to datacage.
10261
10262 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
10263 Changed cast from WINFOArtifact to FLYSArtifact.
10264
10265 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
10266 Changed artifact data strings for chart_type.
10267
10268 * src/main/resources/messages.properties,
10269 src/main/resources/messages_de_DE.properties,
10270 src/main/resources/messages_en.properties,
10271 src/main/resources/messages_de.properties:
10272 Changed i18n string for cross sections and logitudinal sections.
10273
10274 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10275
10276 Add basic (text) styling for HYKs.
10277
10278 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10279 Minor cleanup, pass HYK theme on.
10280
10281 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10282 Apply TextStyle to TextAnnotation part for HYK zones.
10283
10284 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
10285 (TextStyle): New class to bundle text-styling info.
10286
10287 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
10288 Refactored constructors to ease setting Style in the newly
10289 created usage scenario.
10290
10291 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10292
10293 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
10294 Cleanup. Mark spot where State-based caching could happen.
10295
10296 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10297
10298 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java:
10299 Cosmetics.
10300
10301 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10302
10303 * doc/conf/cache.xml: Added Cache for HYKS.
10304
10305 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10306
10307 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
10308 Made HYKFactory.Zone Serializable.
10309
10310 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10311
10312 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
10313 Cosmetics.
10314
10315 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10316
10317 Added style definition for hyks.
10318
10319 * doc/conf/themes.xml: Added hyk style (text).
10320
10321 2012-01-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10322
10323 * doc/conf/cache.xml: Removed cache "service-distanceinfo".
10324
10325 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
10326 Now uses the annotations from the LocationProvider and the
10327 XML documents are no longer cached.
10328
10329 2012-01-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10330
10331 * doc/conf/cache.xml: Removed "annotations" cache.
10332
10333 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
10334 Removed annotation caching.
10335
10336 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
10337 Changed internal data structure to FastAnnotations which are also cached.
10338
10339 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
10340 Use FastAnnotations now which are fetched via the LocationProvider.
10341
10342 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Added
10343 time measurement for writing the CVS output.
10344
10345 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
10346 Removed superfluous import.
10347
10348 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10349
10350 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10351 Respect visibility flag of HYK facet.
10352
10353 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10354 Log malcondition, make colored hyk-box a bit smaller.
10355
10356 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10357
10358 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
10359 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
10360 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
10361 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
10362 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
10363 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
10364 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
10365 Cosmetics, docs, improved logging.
10366
10367 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10368
10369 * doc/conf/meta-data.xml: Recommend hyks for current river if hit by
10370 a crosssection-out.
10371
10372 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10373
10374 Somewhat improved HYK handling and rendering.
10375
10376 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
10377 Store ids in more sensibly named data item and expose it.
10378 Spawn all facets in inactive state.
10379
10380 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
10381 Make HYK name accessible, do not query hyks by river, but by hyk-id,
10382 made query more real-world.
10383
10384 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
10385 Use hyks name as facet name, pass hyk-id when asking for hyks.
10386
10387 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10388
10389 Somewhat improved HYK handling and rendering.
10390
10391 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
10392 Added ability to store 'zones', next to text annotations.
10393
10394 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10395 (getLowestYValue, getUppestYValue, colorForHYKZone),
10396 (addBoxAnnotations): New. Create box annotations from zones.
10397
10398 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10399 (doHYK): New, handle hyk facets by adding zones to annotation
10400 container.
10401
10402 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10403
10404 Preparing improved HYK handling.
10405
10406 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
10407 (Zone.getTo): New accesor.
10408 TODOs and documentation added.
10409
10410 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
10411
10412 'New Chart' for w-differences curve.
10413
10414 * doc/conf/artifacts/chart.xml: Added empty facet to output mode.
10415
10416 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
10417 Add an empty facet if the artifact is a ChartArtifact.
10418
10419 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
10420
10421 'New Chart' for discharge longitudinal section curve.
10422
10423 * doc/conf/artifacts/chart.xml: Added transition for location input.
10424
10425 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
10426 Changed cast from WINFOArtifact to FLYSArtifact.
10427
10428 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
10429 Add an empty facet if the artifact is a ChartArtifact.
10430
10431 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
10432
10433 'New Chart' for duration curve.
10434
10435 * doc/conf/artifacts/chart.xml: Added state and transition for location input.
10436
10437 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10438 Changed cast from WINFOArtifact to FLYSArtifact.
10439
10440 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
10441 Add an empty facet if the artifact is a ChartArtifact.
10442
10443 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10444
10445 Added accidentally ommitted HYKFacet, fixing build.
10446
10447 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java:
10448 New, stubby facet for hyk infrastructure.
10449
10450 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
10451
10452 'New Chart' for computed discharge curve.
10453
10454 * doc/conf/artifacts/chart.xml: Fixed transitions and added state for km input.
10455
10456 * src/main/java/de/intevation/flys/artifacts/model/EmptyFacet.java:
10457 New. Added an empty facet to avoid deleting an empty output.
10458
10459 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
10460 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
10461 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
10462 Changed some return values if the artifact is a ChartArtifact.
10463
10464 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
10465 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
10466 Changed casts from WINFOArtifact to FLYSArtifact.
10467
10468 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
10469 Add an empty facet if the artifact is a ChartArtifact.
10470
10471 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10472 Set a default axis range if the range is null.
10473
10474 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10475
10476 Added stub hyk infrastructure.
10477
10478 * doc/conf/artifacts/hyk.xml: Added trivial transition configuration
10479 for hyk artifacts.
10480
10481 * doc/conf/conf.xml: Register HYK artifact and its transition conf.
10482
10483 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
10484 src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java,
10485 src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
10486 Added static 'hyk' artifact, facet and state.
10487
10488 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10489
10490 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10491 Add 'hyk' facet type.
10492
10493 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10494
10495 Add hyk facet to compatibility list of winfo.xml .
10496
10497 * doc/conf/artifacts/winfo.xml: Add hyk facets to compatibility list.
10498
10499 2012-01-18 Ingo Weinzierl <ingo@intevation.de>
10500
10501 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
10502 method getDataAsLong that returns a Long representation of a data item or
10503 null if no such data item is existing or it cannot be parsed as Long.
10504
10505 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
10506 that returns the selected reference gauge (specified by 'reference_gauge'
10507 parameter) of a FLYSArtifact.
10508
10509 2012-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10510
10511 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
10512 Cache a TreeMap<km, annotation string> of the annotation values of whole
10513 rivers. This is _much_ more efficient than firing an HQL/SQL statement for
10514 each km and caching these results.
10515
10516 2012-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10517
10518 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
10519 Deleted. It is in the backend now.
10520
10521 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
10522 src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java,
10523 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
10524 src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLineFactory.java,
10525 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
10526 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
10527 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10528 Adjusted to use the fast cross section line from backend now.
10529
10530 * doc/conf/cache.xml: Store cross section lines cache on disk.
10531
10532 * src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java,
10533 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
10534 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: Removed
10535 superfluous imports.
10536
10537 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10538
10539 Fix assignment of stateId/hash in WaterlevelFacet.
10540
10541 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
10542 More verbose logging, fix hash/stateid assignment.
10543
10544 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
10545 (deepCopy): implemented.
10546
10547 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10548
10549 "Ported" StaticWQKmsArtifact to use compute-type caching mechanism.
10550
10551 * doc/conf/artifacts/staticwqkms.xml: Declare trivial info.
10552
10553 * doc/conf/conf.xml: Register staticwqkms artifact and factory.
10554
10555 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java:
10556 Sublacss DataFacet.
10557
10558 * src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java:
10559 New. State.
10560
10561 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
10562 Refactored. Most computation and stuff now done in State and Facet.
10563
10564 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10565
10566 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10567 Minor cosmetics.
10568
10569 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10570
10571 Refactoring.
10572
10573 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
10574 Added new constructor.
10575
10576 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
10577 Refactored, subclass BlackboardDataFacet.
10578
10579 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
10580 Refactored, subclass DataFacet.
10581
10582 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
10583 Adjusted.
10584
10585 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10586
10587 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
10588 Cosmetics, added new constructor.
10589
10590 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10591
10592 Use improved caching for cross section data.
10593 !!! This commit needs heavy testing !!!
10594
10595 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
10596 Refactored to provide the map to determine the nearest cross section line
10597 neighbors for a given km to the public. This is a bit hackish because
10598 it hhould have its own factory which is then used by this service and
10599 other parts of the code.
10600
10601 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
10602 searchCrossSectionLine() now returns a FastCrossSectionLine. To find this
10603 line efficiently it uses the map of the CrossSectionKMService which
10604 already provides a nearest neighbor searching mechanism for cross
10605 section lines. The FastCrossSectionLine is fetched with the
10606 FastCrossSectionLineFactory which uses a cache as described in the
10607 previous commit.
10608
10609 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
10610 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
10611 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
10612 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
10613 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Uses
10614 the FastCrossSectionLine instead of CrossSectionLines now.
10615
10616 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
10617 Added method fetchCrossSectionProfile() to access the point data in
10618 the profile generating compatible way.
10619
10620 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java: Removed
10621 superfluous import.
10622
10623 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10624
10625 * doc/conf/cache.xml: Added cache for fast section lines chunks.
10626
10627 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java:
10628 New. Chunks of FastCrossSectionLines. Stores cross section lines for ranges
10629 of one KM.
10630
10631 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLineFactory.java:
10632 New. Access fast cross section lines. It uses the cache 'fast-cross-section-lines'
10633 configured in cache.xml to store chunks of cross section lines.
10634
10635 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
10636 New. Stores the important data (points) of a cross section line.
10637
10638 2012-01-16 Ingo Weinzierl <ingo@intevation.de>
10639
10640 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
10641 Added a new calculation option for historical discharge curves.
10642
10643 * src/main/resources/messages.properties,
10644 src/main/resources/messages_de_DE.properties,
10645 src/main/resources/messages_en.properties,
10646 src/main/resources/messages_de.properties: Added translations for
10647 historical discharge curves.
10648
10649 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10650
10651 * doc/conf/artifacts/winfo.xml: Added certain facets to to
10652 compatibility matrices.
10653
10654 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10655
10656 * doc/conf/artifacts/annotation.xml: Fixed accidental change.
10657
10658 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10659
10660 * doc/conf/artifacts/annotation.xml: Cosmetics.
10661
10662 2012-01-16 Ingo Weinzierl <ingo@intevation.de>
10663
10664 * doc/conf/meta-data.xml: Enabled old floodmap calculations for output
10665 type 'map'.
10666
10667 2012-01-13 Raimund Renkert <raimund.renkert@intevation.de>
10668
10669 Initial implementation for module 'new chart'.
10670
10671 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
10672 New. Artifact for module 'new chart'.
10673
10674 * doc/conf/artifacts/chart.xml:
10675 New. Artifact description for the new artifact.
10676
10677 * doc/conf/conf.xml:
10678 Added new artifact to config.
10679
10680 * src/main/resources/messages.properties,
10681 src/main/resources/messages_de_DE.properties,
10682 src/main/resources/messages_en.properties,
10683 src/main/resources/messages_de.properties:
10684 Added i18n strings for 'new chart' chart types.
10685
10686 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10687
10688 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
10689 Cosmetics.
10690
10691 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10692
10693 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
10694 Avoid NPE when copying data from one artifact to another.
10695
10696 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10697
10698 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10699 (expandRange): Prevent collapse due to negative values.
10700
10701 2012-01-12 Raimund Renkert <raimund.renkert@intevation.de>
10702
10703 * doc/conf/artifacts/map.xml,
10704 doc/conf/conf.xml,
10705 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
10706 Changed the MapArtifact name to 'new_map'.
10707
10708 2011-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10709
10710 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
10711 Added code to calculate the area of the generated polygons.
10712 TODO: Render the generated area sum to the plot.
10713
10714 2011-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10715
10716 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
10717 Replaced System.err.println()s with proper logging.
10718
10719 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
10720 src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java,
10721 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
10722 superfluous imports.
10723
10724 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10725
10726 flys/issue450 (i18n: Datenkorb: longitudinal-section)
10727
10728 * doc/conf/meta-data.xml: Replaced dash by underscore in
10729 longitudinal-section.
10730
10731 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10732
10733 Towards areas on other than the first axes.
10734
10735 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
10736 Changed signature on which to provide data via the blackboard.
10737 Include facets name to allow unique identification.
10738
10739 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
10740 Store name of one of the facets involved in area creation.
10741 (AreaFacet.Data): New class to hold result data.
10742
10743 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10744 New methods to find out whether we have a general Q or W type of
10745 facet.
10746
10747 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10748 (doArea): Use new Result-Data object instead of Object[], resolve
10749 which axis to put area to.
10750 (axisIdxForFacet): New.
10751
10752 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10753 Subclass LongitudinalSectionGenerator.
10754
10755 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10756
10757 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
10758 Do not intefere with CrossSections.
10759
10760 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10761
10762 Cosmetics, cleanups.
10763
10764 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10765 (getCrossSections, getCrossSectionNames): Removed.
10766
10767 2011-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10768
10769 flys/issue439 (Streckenfavoriten lassen sich nicht über den Datenkorb
10770 hinzuladen)
10771
10772 * doc/conf/meta-data.xml: Made Annotations available via datacage
10773 in longitudinal section, cosmetics.
10774
10775 2012-01-11 Raimund Renkert <raimund.renkert@intevation.de>
10776
10777 * doc/conf/conf.xml:
10778 Added output generator for output type 'map'.
10779
10780 * doc/conf/artifacts/map.xml:
10781 Changed output name to 'map'.
10782
10783 * doc/conf/meta-data.xml:
10784 Added new output type 'map'.
10785
10786 2011-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10787
10788 Fix flys/issue446 (Dauerline/Abflusskurve am Pegel: Eigenschaften vom
10789 Hauptwertthema nicht aufrufbar)
10790
10791 * doc/conf/themes.xml: Add default styles for mainvalues.q/w and other
10792 themes.
10793
10794 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10795
10796 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
10797 Removed XPath injection security hole. A serious one because it allowed
10798 inspecting the conf.xml file ... with all the db passwords.
10799
10800 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10801
10802 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
10803 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10804 Removed superfluous imports.
10805
10806 2012-01-11 Ingo Weinzierl <ingo@intevation.de>
10807
10808 * doc/conf/meta-data.xml: Added the definition of old calculation results
10809 for floodmaps.
10810
10811 2012-01-10 Ingo Weinzierl <ingo@intevation.de>
10812
10813 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Added
10814 methods getLayers() and removeLayer().
10815
10816 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
10817 method getFacets() which returns a list of Facets supported by this
10818 Artifact. In addition, the FLYSArtifact is now more verbose while
10819 filtering Facets for Outputs.
10820
10821 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10822 Implemented initialize() which now copies the shapefile directory of the
10823 model Artifact and modifies its Facets (adapts the shapepath which is the
10824 uuid of the Artifact).
10825
10826 2012-01-10 Ingo Weinzierl <ingo@intevation.de>
10827
10828 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
10829 src/main/java/de/intevation/flys/collections/OutputParser.java: Made
10830 them more verbose for better debugging.
10831
10832 2012-01-09 Ingo Weinzierl <ingo@intevation.de>
10833
10834 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
10835 Initialize() now also calls State.initialize() for each State.
10836
10837 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10838 Override initialize() which is defined in AbstractState. NOTE: Currently,
10839 this method has no code.
10840
10841 2012-01-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10842
10843 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java:
10844 New. The service to invalidate the caches. (Argh! Forgot to 'svn add')
10845
10846 2012-01-06 Ingo Weinzierl <ingo@intevation.de>
10847
10848 flys/issue298 (Karte: Automatischer Zoom auf Berechnungsergebnisse)
10849
10850 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Added a
10851 debug statement that prints out the WSPLGEN extent.
10852
10853 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create new
10854 Envelope instances for initial and max extent if they are not existing.
10855 Some debug statements have now been removed.
10856
10857 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10858
10859 Add cache for 'static' wqkms (e.g. BaseData) to default cache conf.
10860
10861 * doc/conf/cache.xml: Add Cache Config for static wqkms.
10862
10863 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java:
10864 Adjust typo in cache name, minor cosmetic.
10865
10866 2011-01-06 Raimund Renkert <raimund.renkert@intevation.de>
10867
10868 * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
10869 The map artifact has two states now and overrides describe() to
10870 generate UI sections in the describe response.
10871 The map state overrides computeAdvance() instead of computeFeed().
10872
10873 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
10874 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
10875 Changed the WMSDBArtifact in WMSDBState to FLYSArtifact and adjusted
10876 constructors in state classes.
10877
10878 * doc/conf/artifacts/map.xml:
10879 Added initial state and transition.
10880
10881 * src/main/resources/messages.properties,
10882 src/main/resources/messages_de_DE.properties,
10883 src/main/resources/messages_en.properties,
10884 src/main/resources/messages_de.properties:
10885 Added i18n strings for new state.
10886
10887 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10888
10889 Partial fix for flys/issue437 (Querprofil: Zugeladene Basisdaten
10890 ignorieren W/Q-heit, falsche Namen).
10891
10892 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
10893 Set name also for first column (zero based).
10894
10895 2012-01-06 Ingo Weinzierl <ingo@intevation.de>
10896
10897 flys/issue196 (i18n/l10n: Zahlenformate einheitlich)
10898
10899 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: New method
10900 getRawValue() that extracts the raw double value from 'name' parameter.
10901
10902 * src/main/java/de/intevation/flys/utils/Formatter.java: New method
10903 getRawFormatter() that returns a NumberFormat instance for the current
10904 locale.
10905
10906 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
10907 Localized the W/Q labels in CSV exports.
10908
10909 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10910
10911 flys/issue442 (i18n: Datenkorb: flood-protections)
10912
10913 * doc/conf/meta-data.xml: Replaced dash in flood-protection by
10914 underscore to allow translation.
10915
10916 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10917
10918 flys/issue438 (i18n: Datenkorb: additionals)
10919
10920 * doc/conf/meta-data.xml: Fix typo.
10921
10922 2011-01-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10923
10924 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java:
10925 New. Uses the CacheFactory to invalidate caches by their names.
10926 This can be used by external ETL processes like the AFT/DIPS importer
10927 to prevent cache inconsistencies.
10928
10929 Input documents look like this:
10930
10931 <caches>
10932 <cache name="my-cache"/>
10933 ...
10934 <cache name="your-cache"/>
10935 </caches>
10936
10937 Output documents look like this:
10938
10939 <caches>
10940 <cache name="my-cache">All elements removed.</cache>
10941 ...
10942 <cache name="your-cache">Error: Cache not found.</cache>
10943 </caches>
10944
10945 * doc/conf/conf.xml: Added the cache invalidation service.
10946
10947 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
10948 Added Override annotation.
10949
10950 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10951
10952 flys/issue432 (Diagrammeigenschaften/Flächenrenderer:
10953 Legenden-schriftgröße für Flächenthemen wird ignoriert)
10954
10955 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10956 Respect legend item size when generating legend items for
10957 area dataseries.
10958
10959 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de>
10960
10961 Implemented new module "new map".
10962
10963 * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
10964 New. Artifact for the new module, extends RiverAxisArtifact and
10965 contains the MapState class.
10966
10967 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
10968 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
10969 Added empty constructor to embedded state classes to allow instantiation
10970 of MapState that extends the RiverAxisState.
10971
10972 * src/main/java/de/intevation/flys/exports/MapGenerator.java:
10973 Do not generate an initialExtent element if the initial extent is
10974 empty.
10975
10976 * doc/conf/artifacts/map.xml:
10977 New. Describes the state for the new module.
10978
10979 * doc/conf/conf.xml:
10980 Added new config file.
10981
10982 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
10983
10984 flys/issue444 (error_no_export_found bei "W bei ungleichwertigem Abfluss")
10985
10986 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: If no boolean
10987 value "wq_free" exists in getWQMode(), false is the default.
10988
10989 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10990
10991 flys/issue443 (Querprofile: Hibernate LazyInitializationException)
10992
10993 * doc/conf/cache.xml: Disable cache for cross-sections.
10994
10995 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
10996
10997 flys/issue447 (W-Differenzen: Fehler beim Hinzufügen einer Parameterisierung)
10998
10999 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
11000 Added a new method cleanEmptyOutputs() which removes Outputs that have
11001 no Facets set.
11002
11003 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Call
11004 CollectionAttribute.cleanEmptyOutputs() at the end of write() to remove
11005 empty Outputs that have been added during the merge process.
11006
11007 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
11008
11009 flys/issue440 (Karte: WSPLGEN Berechnungen für Mosel schlagen fehl)
11010
11011 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Modified the
11012 getRiverBoundary() method because the signature of
11013 RiverAxis.getRiverAxis() has changed. This method will now take each
11014 geometry into account, that is retrieved by
11015 RiverAxis.getRiverBoundary().
11016
11017 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
11018 Use GeometryUtils.getRiverBoundary() to determine the boundary of a
11019 river.
11020
11021 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
11022 Create the riveraxis shapefile with all geometries returned by
11023 RiverAxis.getRiverAxis().
11024
11025 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
11026
11027 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Repaired
11028 broken items in legend. The new renderer requires the current plot. This
11029 is set now.
11030
11031 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
11032
11033 * doc/conf/themes.xml: Added a new field 'pointsize' to the virtual theme
11034 'HiddenColorLines'.
11035
11036 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added methods to
11037 parse the new field of 'HiddenColorLines'.
11038
11039 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: Apply the
11040 pointsize defined in themes.
11041
11042 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
11043
11044 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
11045 Use correct keys for buffering in getMinimum() and getMaximum().
11046
11047 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
11048
11049 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java,
11050 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
11051 src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
11052 Moved to de.intevation.flys.jfree.
11053
11054 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java,
11055 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
11056 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
11057 Moved from de.intevation.flys.exports.
11058
11059 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11060 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
11061 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11062 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11063 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
11064 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
11065 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
11066 Added necessary imports.
11067
11068 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
11069
11070 * src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
11071 Buffered the computation results of getMinimum() and getMaximum().
11072
11073 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
11074
11075 flys/issue393 (Themenstileditor: Minimum anzeigen / Beschriftung anzeigen)
11076
11077 * src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
11078 New renderer that overrides JFreeChart's XYLineAndShapeRenderer. This
11079 renderer brings the option to explicitly display the minimum and/or
11080 maximum or a series as shape. Currently, there are no options to adjust
11081 the style of those shapes.
11082
11083 * doc/conf/themes.xml: Added a new virtual theme 'MinMaxPoints'. All line
11084 theme inherit from that theme now.
11085
11086 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added methods to
11087 parse the fields 'showminimum' and 'showmaximum' of 'MinMaxPoints' theme.
11088
11089 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added
11090 methods to apply the fields of the new Theme 'MinMaxPoints'.
11091
11092 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Modified
11093 the getRenderer() method which now always returns a new instance of
11094 EnhancedLineAndShapeRenderer.
11095
11096 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11097
11098 Allow styling of outline of areas.
11099
11100 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
11101 Allow styling of outline of areas.
11102
11103 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
11104 Parse outline style for areas, apply it to renderer.
11105
11106 2012-01-03 Ingo Weinzierl <ingo@intevation.de>
11107
11108 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
11109
11110 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Call
11111 the new flys-backend method Wst.determineMinMaxQFree() to determine the
11112 min/max Qs at a given kilometer.
11113
11114 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11115
11116 * doc/conf/themes.xml: Reflect name chnage of longitudinal sections
11117 area artifacts and include ColorLine style for area styles.
11118
11119 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11120
11121 flys/issue370 (WINFO: Berechnungsausgabe W/Pegel [cm] fehlt bei Wasserspiegellage und W am Pegel)
11122
11123 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New method that
11124 extracts the double value of a WQ object's name.
11125
11126 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Adapted
11127 the header of CSV exports and the content of the "W at gauge" column.
11128
11129 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
11130 Adapted method signatures that have been changed in WaterlevelExporter.
11131
11132 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11133
11134 * src/main/resources/messages.properties,
11135 src/main/resources/messages_de_DE.properties,
11136 src/main/resources/messages_en.properties,
11137 src/main/resources/messages_de.properties: Added strings used in the CSV
11138 export.
11139
11140 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11141
11142 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Check
11143 if the location of a CSV row is in range of the reference gauge. Write
11144 "outside reference gauge" into CSV in such cases.
11145
11146 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11147
11148 PART II of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe)
11149
11150 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Add the
11151 named main value of a Q and the name of the gauge used for the calculation
11152 if the WQ mode is "W at gauge" or "Q at gauge".
11153
11154 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
11155 Adapted the method signatures that have been modified in
11156 WaterlevelExporter.
11157
11158 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11159
11160 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
11161 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11162 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11163 src/main/java/de/intevation/flys/exports/AxisSection.java,
11164 src/main/java/de/intevation/flys/exports/ExportSection.java,
11165 src/main/java/de/intevation/flys/exports/LegendSection.java,
11166 src/main/java/de/intevation/flys/exports/ChartSection.java: Removed
11167 unused imports.
11168
11169 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11170
11171 PART I of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe)
11172
11173 * doc/conf/cache.xml: Registered a new Cache for the LocationProvider.
11174
11175 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
11176 New. This class is able to return the description of a location based on a
11177 river and kilometer parameter. The LocationProvider stores single
11178 locations into a Cache if one is configured for this class.
11179
11180 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
11181 Added a method that returns a single Annotation for a specific kilometer and
11182 river.
11183
11184 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
11185 getLocationDescription() that might be used to determine the description
11186 of a specified kilometer for a given river.
11187
11188 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Make use
11189 of FLYSUtils.getLocationDescription() to add a new column that contains
11190 the location description.
11191
11192 2011-12-29 Ingo Weinzierl <ingo@intevation.de>
11193
11194 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Write
11195 min/max values for free Qs into Artifact's DESCRIBE document.
11196
11197 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
11198
11199 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fixed
11200 broken order to determine the step width of Qs and Ws.
11201
11202 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
11203
11204 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
11205
11206 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
11207 Validate user defined free Q values.
11208
11209 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
11210
11211 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
11212 Compute better step width based on a maximal number of steps = 30.
11213 Results with digits are rounded up. E.g.:
11214 Q range = 9.6 - 1750
11215 Step width = 58.01
11216 Rounded result = 60
11217
11218 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11219
11220 * src/main/java/de/intevation/flys/exports/AxisSection.java,
11221 src/main/java/de/intevation/flys/exports/LegendSection.java,
11222 src/main/java/de/intevation/flys/exports/ChartSection.java: Subclasses
11223 TypeSection to be able to use convinience methods for string, integer,
11224 double and boolean values.
11225
11226 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11227
11228 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: The
11229 getSize() method now returns null if no width and height is specified in
11230 the request document or if width/height <= 0. It no longer returns the
11231 result of getDefaultSize().
11232
11233 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Set the
11234 size of a chart export to the size specified in the ChartSettings if
11235 there are no valid values in the request document.
11236
11237 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Set the
11238 chart size to ChartGenerator.getDefaultSize() if no valid values are
11239 returned by ChartGenerator.getSize(). This has been done autoamtically
11240 before.
11241
11242 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11243
11244 * src/main/java/de/intevation/flys/exports/TypeSection.java: New. This
11245 Section defines some convinience methods to add/set string, integer,
11246 double and boolean values.
11247
11248 * src/main/java/de/intevation/flys/exports/ExportSection.java: New.
11249 Subclasses TypeSection. The ExportSection currently offers attributes
11250 'width' and 'height'.
11251
11252 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added
11253 getter/setter methods to support an ExportSection.
11254
11255 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create an
11256 ExportSection while initial ChartSettings creation.
11257
11258 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11259
11260 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added and
11261 make use of a new method createLegendLabelFont() to create unified Fonts for
11262 LegendItems. This method considers the user defined size for LegendItems.
11263
11264 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11265
11266 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11267 Implemented adjustAxes(). This method now sets the label Font of the X
11268 axis. Its size is determined by getXAxisLabelFontSize().
11269
11270 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11271
11272 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added method
11273 getFontSize() to retrieve the font size for an axis.
11274
11275 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11276 Modified createYAxis(int): call super.createYAxis(int) and adjust
11277 necessary settings - no Axis creation takes place here.
11278
11279 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
11280 getXAxisLabelFontSize() and getYAxisLabelFontSize(int) to retrieve the
11281 user defined font size for an axis. The getYAxisLabelFontSize() is used in
11282 createYAxis(int) to set the font size for axes labels.
11283
11284 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11285
11286 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
11287 Override getYAxisWalker().
11288
11289 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create new
11290 instances of IdentifiableNumberAxis in createYAxis(int) default
11291 implementation.
11292
11293 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11294
11295 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added
11296 getLabel() to retrieve the axis label.
11297
11298 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11299 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
11300 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11301 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11302 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
11303 Override getDefaultXAxisLabel() and getDefaultYAxisLabel() defined in
11304 XYChartGenerator.
11305
11306 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implement
11307 getXAxisLabel() and getYAxisLabel(int). Both methods search for an axis
11308 label defined in the ChartSettings first. If no label is specified or if
11309 no ChartSettings is set, getDefaultXAxisLabel() or
11310 getDefaultYAxisLabel(int) is called to retrieve the initial/default axis
11311 label.
11312
11313 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11314
11315 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Modified the
11316 signature of addAxisSection(). This method now accepts AxisSections only.
11317 In addition, there is a new method getAxisSection(String) that returns an
11318 AxisSection specified by its identifier.
11319
11320 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added new
11321 methods getIdentifier(), isFixed(), getUpperRange() and getLowerRange() to
11322 retrieve the attributes supported by this Section.
11323
11324 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use
11325 of axes ranges specified in ChartSettings if an axis is fixed.
11326
11327 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
11328
11329 * src/main/java/de/intevation/flys/exports/IdentifiableNumberAxis.java: New.
11330 Subclasses JFreeChart's NumberAxis and offers a getId() method which
11331 returns an identifiable key.
11332
11333 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implements
11334 a createNumberAxis() method that should be used by all subclasses to
11335 create new axes. This method returns an instance of IdentifiableNumberAxis
11336 which is required for zooming.
11337
11338 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11339 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11340 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
11341 Create new NumberAxis instances by using XYChartGenerator.createNumberAxis().
11342
11343 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
11344
11345 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11346 Implemented the methods getChartTitle() and getChartSubtitle(). Both
11347 methods try to get the required information from ChartSettings. If no
11348 ChartSettings is set for this OutGenerator, these methods will call
11349 getDefaultChartTitle() and getDefaultChartSubtitle().
11350
11351 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11352 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
11353 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11354 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11355 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
11356 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11357 Renamed getChartTitle() and getChartSubtitle() to
11358 getDefaultChartTitle() and getDefaultChartSubtitle(). In addition, the
11359 methods addSubtitles() became more robust - these OutGenerators add
11360 subtitles only if the subtitle is not empty.
11361
11362 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
11363
11364 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
11365 setSettings(Settings) method.
11366
11367 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11368 Call OutGenerator.setSettings() before calling doOut() for each Facet.
11369
11370 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Implemented
11371 setSettings() and added convinience methods to access chart specific
11372 settings.
11373
11374 * src/main/java/de/intevation/flys/exports/MapGenerator.java,
11375 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
11376 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
11377 src/main/java/de/intevation/flys/exports/ATExporter.java,
11378 src/main/java/de/intevation/flys/exports/ReportGenerator.java: Implemented
11379 setSettings().
11380
11381 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11382 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use
11383 of the attributes specified in the Settings: the title, subtitle,
11384 displayGrid and displayLegend settings are functional now.
11385
11386 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
11387
11388 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
11389 src/main/java/de/intevation/flys/exports/LegendSection.java,
11390 src/main/java/de/intevation/flys/exports/ChartSection.java: Use more
11391 concrete classes than Settings and Section in these classes to avoid a lot
11392 of castings.
11393
11394 2011-12-22 Ingo Weinzierl <ingo@intevation.de>
11395
11396 flys/issue242 (W-INFO: Fehlende Header in Datenexporten)
11397
11398 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added functions
11399 getQs(), getWs(), getGauge(), getGaugename() and getRivername() that all
11400 take a parameter FLYSArtifact.
11401
11402 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Moved the
11403 implementation of getGauge() to FLYSUtils. The getGauge() in this class
11404 just calls and returns FLYSUtils.getGauge().
11405
11406 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Write a
11407 header into a CSV export containing meta information about this export.
11408
11409 * src/main/resources/messages.properties,
11410 src/main/resources/messages_de_DE.properties,
11411 src/main/resources/messages_en.properties,
11412 src/main/resources/messages_de.properties: Added strings used in the CSV
11413 export as header.
11414
11415 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11416
11417 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
11418 (getKm): Removed, not called anymore.
11419
11420 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11421
11422 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
11423 Include km of cross-section-master in diagrams subtitle (fetched
11424 from 'blackboard'.
11425
11426 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11427
11428 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
11429 Cosmetics, docs.
11430
11431 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11432
11433 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
11434 (getInitialFacetActivity): Only newest CrossSection is initially
11435 active.
11436
11437 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11438
11439 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java
11440 (isNewest): New, query whether a CrossSection is the newest for its
11441 river, doc.
11442
11443 2011-12-21 Ingo Weinzierl <ingo@intevation.de>
11444
11445 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
11446 convinience method to retrieve the value of an data object stored at
11447 FLYSArtifact as Boolean value.
11448
11449 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method that
11450 returns the named value of a given double value. This method returns only
11451 the named value, if the WQ mode is "Q at gauge" and if the value fits to a
11452 named value. In addition to this method, there is a new method to retrieve
11453 the selected WQ mode as 'WQ_MODE' enum.
11454
11455 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
11456 Removed prepareData() and its call. The data preparation had a bad side
11457 effect: the modifications are "persisted" into cache, which has again bad
11458 side effects.
11459
11460 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Removed
11461 prepareData(). The label creation for columns in the WST export will now
11462 take place in addWSTColumn(). With help of the master Artifact (I forgot
11463 this Artifact in my last commit) we are able to replace Q values with
11464 their named main value.
11465
11466 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11467
11468 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
11469 Cover 'locations' case for initial km of cross section artifacts.
11470
11471 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11472
11473 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
11474 (initialize): Eat ld_from from master artifact.
11475 (setup): Set cross_section.km to either masters km or the lowest
11476 defined cross-section line, whatever is bigger.
11477
11478 2011-12-21 Ingo Weinzierl <ingo@intevation.de>
11479
11480 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe)
11481
11482 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
11483 stripNamedMainValue(). The result of this function is a named main value's
11484 base name without declaration of a year.
11485
11486 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
11487 method pepareData() that is called in doOut() before the data supported by
11488 the current Facet is added using addData().
11489
11490 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Override
11491 the prepareData() method to reset the name of WQKms objects. The Qs in a
11492 waterlevel export should be the Q value or the named main value if the
11493 value fits to a named main value.
11494
11495 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11496
11497 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11498 Survive cases where the first dataset has an area-renderer assigned.
11499
11500 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11501
11502 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java:
11503 Store additional parameter (whether or not to fill everything in
11504 between two curves.)
11505
11506 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
11507 Deliver additional info from artifact.
11508
11509 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
11510 Evaluate new parameter.
11511
11512 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11513
11514 * doc/conf/themes.xml: Add transparency setting to area theme style.
11515
11516 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Helper to
11517 access transparency setting in theme.
11518
11519 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
11520 Respect transparency setting.
11521
11522 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11523
11524 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
11525 Subclass BlackboardDataFacet to provide data for area calculation.
11526
11527 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11528 Cast data to WKms instead of WQKms.
11529
11530 2011-12-20 Ingo Weinzierl <ingo@intevation.de>
11531
11532 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
11533 Use a ';' as seperator between Qs and Ws.
11534
11535 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11536
11537 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
11538 (doOut, doArea): Added handling for areafacets. Code yet mostly
11539 copied from CrossSectionGenerator.
11540
11541 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11542
11543 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
11544 Refactoring, subclass BlackboardDataFacet, remove duplicate code.
11545
11546 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11547
11548 Cosmetics.
11549
11550 * doc/conf/artifacts/winfo.xml,
11551 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
11552 Renamed facet for consistency reasons.
11553
11554 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11555
11556 Make Waterlevelfacet deliver data via blackbord.
11557
11558 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
11559 Subclass BlackboardDataFacet.
11560
11561 2011-12-20 Ingo Weinzierl <ingo@intevation.de>
11562
11563 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
11564 Create all formatted string labels for Ws and Qs in this class, because
11565 this class is the only instance that knows that there are double values
11566 to format.
11567
11568 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11569
11570 Introduced new Facet that will deliver whatever getData returns via
11571 blackbord under key which is defined by convention. Attention, the
11572 data is not cached if handled this way.
11573
11574 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
11575 New facet, will be useful for easing implementation of facets that
11576 can contribute to area-computations.
11577
11578 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11579
11580 * src/main/java/de/intevation/flys/exports/VisibleAttribute.java:
11581 Removed obsolete imports.
11582
11583 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11584
11585 Removed obsolete imports.
11586
11587 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
11588 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
11589 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java,
11590 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
11591 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11592 Removed obsolete imports.
11593
11594 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11595
11596 With StableXYDifferenceRenderer, create legend items in rectangular
11597 form, to discern "line" from "area" in legend.
11598
11599 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java
11600 (legendLine, legendShape): Renamed.
11601 (getLegendItem): Create LegendItem with fill, use PositivePaint for
11602 that.
11603
11604 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11605
11606 Added further 'area' infrastructure.
11607
11608 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
11609 New, "area dataset".
11610
11611 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
11612 (doOut): Use helper to decide if facet is an 'area' facet.
11613 (doArea): Construct StyledAreaSeriesCollection instead of two
11614 dataseries.
11615
11616 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11617 (AxisDataset.isArea): Distinguish area datasets with instanceof.
11618 (AxisDataset.addArea): New. Replaces addAreaDataset.
11619 (addAreaSeries): Simplified with new custom SeriesCollection.
11620 (applyTheme): Register and style StableXYDifferenceRenderer for
11621 StyledAreaSeriesCollections.
11622 Added various TODOs and debug output to stabilize development.
11623
11624 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11625
11626 * doc/conf/artifacts/winfo.xml: Added facets to compatibility
11627 matrices.
11628
11629 * doc/conf/themes.xml: Added Area theme defaults.
11630
11631 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11632
11633 Lay ground for having areas in longitudinal section diagrams, too.
11634 This is done by different naming of the facets.
11635
11636 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
11637 Make the name dynamic.
11638
11639 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
11640 Added further facet types, helper.
11641
11642 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java:
11643 Store name for facets in data item, restrict access to some fields.
11644
11645 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
11646 Use AreaArtifacts data item to use name for facets.
11647
11648 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11649
11650 Cosmetics.
11651
11652 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java,
11653 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
11654 src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
11655 Doc.
11656
11657 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
11658 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
11659 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
11660 Whitespace.
11661
11662 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Doc and
11663 whitespace.
11664
11665 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11666
11667 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
11668 (parseBoolean): New, extracted, updated callers.
11669 (parseFillColorField, parseShowBorder): New, for area styles.
11670
11671 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
11672
11673 flys/issue202 (W-INFo: Wasserspiegellagenberechnung / Vorbelegung Strecke)
11674
11675 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
11676 Added a system property which is used to determine, if the DESCRIBE
11677 document of an Artifact should include default values (values, that have
11678 been inserted by the user some time ago) or not. The default case is,
11679 that the DESCRIBE does NOT include default values. To enable default
11680 values, set "flys.use.default.values" to "true".
11681
11682 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
11683
11684 flys/issue419 (Themen-Name "Q(null)" bei W bei ungl. A.)
11685
11686 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
11687 Use correct variable to create Facet names.
11688
11689 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
11690
11691 flys/issue380 (W-INFO / Überschwemmungskarte, falsches DGM)
11692
11693 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
11694 convinience method that returns a parameter of FLYSArtifact as Integer.
11695
11696 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Override
11697 validate() to determine, if the DGM selected by the user is valid for the
11698 current calculation range and river.
11699
11700 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11701
11702 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11703 Roll-back accidentally committed changes.
11704
11705 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11706
11707 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
11708 (doOut): Hide 'invisible' (deleted) themes from Outgenerators.
11709
11710 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11711
11712 Added area.name data item and access to areaartifact.
11713
11714 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
11715 Rephrased debug output, do survive case where only one curve is
11716 given for area calculation (this is the "above" or "under" case).
11717
11718 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java
11719 (getAreaName): Access "area.name" data item.
11720
11721 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
11722 Respect area.name data of artifact when reproducing facets.
11723
11724 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11725
11726 * doc/conf/conf.xml: Fix, accidentally added wrong factory in last
11727 commit.
11728
11729 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11730
11731 * doc/conf/conf.xml: Register area artifact factory.
11732
11733 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11734
11735 * doc/conf/artifacts/winfo.xml: Added area artifacts to cross-section
11736 compatibility matrix.
11737
11738 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11739
11740 Add area dataseries when facet delivering one.
11741
11742 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
11743 (doOut): Handle area facets.
11744 (doArea): Register areas for area facets.
11745
11746 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11747
11748 Add simple area registerig functions.
11749
11750 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11751 (AxisDataset.addAreaDataset): New, add an area dataset.
11752 (AxisDataset.isArea): New.
11753 (addAreaSeries): New. Add Area Dataset.
11754 (applyThemes): Pass info if we have an area, to set different
11755 renderer.
11756
11757 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11758
11759 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
11760 Added convenience function and easy sybclassing.
11761
11762 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11763
11764 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
11765 Register AREA ("area") facet type.
11766
11767 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11768
11769 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
11770 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
11771 Register blackboard key uuid+index and respond with data to it, as
11772 assumed by the areaartifact and facet.
11773
11774 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11775
11776 Added partial area-infrastructure.
11777
11778 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
11779 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
11780 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
11781 New artifact, facet and state for area rendering.
11782
11783 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
11784
11785 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Defined an
11786 interface YAxisWalker that allows to walk over each Y axis definition in
11787 subclasses. This walker can be retrieved using the new getYAxisWalker()
11788 method. The AxisSections are built in this class now.
11789
11790 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11791 Implemented the YAxisWalker interface and the getYAxisWalker() method.
11792 Removed the code to build AxisSections.
11793
11794 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
11795 Implemented getYAxisLabel(int pos) and getYAxisWalker().
11796
11797 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
11798 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
11799 Implemented the getYAxisWalker() method.
11800
11801 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
11802
11803 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11804 Some optimizations during out() operation - the CollectionAttribute is
11805 parsed a single time now (*i guess*). This code really needs some
11806 refactoring!
11807
11808 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
11809
11810 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11811 Added an INFO message that displays the duration time for the out()
11812 operation.
11813
11814 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
11815
11816 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11817 Calls super.buildAxisSections().
11818
11819 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11820 Implemented the method buildAxisSections(). The result list will contain
11821 an AxisSection for the X axis.
11822
11823 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
11824
11825 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Bugfix:
11826 Add new Outputs to the current CollectionAttribute if no old one is
11827 existing.
11828
11829 2011-12-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11830
11831 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
11832 Directly fetch key/value pairs when writing a collection attribute.
11833
11834 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
11835
11836 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added new
11837 functions that allow parsing a ChartSettings object from DOM Node.
11838
11839 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Parse
11840 the Settings of each Output.
11841
11842 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
11843
11844 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
11845 Added a method to set a new Settings object for a specific Output and a
11846 method to clear the list of Facets of a specific Output.
11847
11848 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: The
11849 AttributeWriter no longer creates new CollectionAttributes - it only
11850 modifies the old CollectionAttribute. At first, it clears the Facets of
11851 all Outputs. Finally, the merged Facets are added to the Outputs.
11852
11853 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11854 Added the CollectionAttribute to the AttributeWriters constructor.
11855
11856 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
11857
11858 * src/main/java/de/intevation/flys/exports/DoubleAttribute.java: New. An
11859 Attribute that stores double values.
11860
11861 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods
11862 to set values for 'fixation', 'font-size', 'lower' and 'upper'.
11863
11864 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11865 Set new attributes mentioned above for each axis' AxisSection.
11866
11867 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
11868
11869 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods
11870 to set the axis label and id.
11871
11872 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Improved
11873 the ChartSettings that will now contain a set of AxisSections. The new
11874 buildAxisSections() method in this class is not implemented and needs to
11875 be implemented by subclasses.
11876
11877 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11878 Override buildAxisSections() of XYChartGenerator to create an AxisSection
11879 for each axis that is able to be displayed in this sort of chart. In
11880 addition, there is a new method getYAxisLabel(int) that returns the label
11881 for a specific Y axis.
11882
11883 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
11884
11885 * src/main/java/de/intevation/flys/exports/IntegerAttribute.java: New.
11886 Concrete subclass of a DefaultAttribute for storing integer values.
11887
11888 * src/main/java/de/intevation/flys/exports/LegendSection.java: New. A
11889 concrete Section subclass to store legend specific attributes.
11890
11891 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
11892 src/main/java/de/intevation/flys/exports/StringAttribute.java: Removed
11893 needless import of org.w3c.dom.Attr.
11894
11895 * src/main/java/de/intevation/flys/exports/ChartSettings.java: ChartSettings
11896 is able to store a Section for legends now.
11897
11898 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
11899 methods to retrieve the font size of legends and if the legend should be
11900 visible or not. In addition, the ChartSettings returned by this instance
11901 will now contain a LegendSection as well.
11902
11903 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
11904
11905 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Introduced
11906 methods getChartSubtitle() and isGridVisible(). getChartSubtitle() returns
11907 in this implementation null. Concrete subclasses should override this
11908 mehtod if they require subtitles in charts. isGridVisible() determines if
11909 the grid in the chart should be visible or not. This method return always
11910 true in this implementation.
11911 In addition, the Settings object returned by getSettings() will now have a
11912 ChartSection set properly.
11913
11914 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
11915 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11916 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11917 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
11918 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11919 Override getChartSubtitle().
11920
11921 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
11922
11923 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11924 Prepare the OutGenerator (process each of the Output's Facets) during the
11925 describe() operation to be able to return an initial Settings object.
11926
11927 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
11928
11929 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
11930 src/main/java/de/intevation/flys/exports/VisibleAttribute.java,
11931 src/main/java/de/intevation/flys/exports/StringAttribute.java: Fixed wrong
11932 usage of DOM operations.
11933
11934 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
11935
11936 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
11937 src/main/java/de/intevation/flys/exports/VisibleAttribute.java,
11938 src/main/java/de/intevation/flys/exports/StringAttribute.java: New.
11939 Concrete subclasses of a DefaultAttribute.
11940
11941 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
11942 src/main/java/de/intevation/flys/exports/AxisSection.java,
11943 src/main/java/de/intevation/flys/exports/ChartSection.java:
11944 Implementations for chart settings. WORK IN PROGRESS!
11945
11946 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Override
11947 the getSettings() method. The implementation here returns a ChartSettings
11948 instance.
11949
11950 * src/main/java/de/intevation/flys/exports/EmptySettings.java: Modified the
11951 node name of the settings ("art:settings" -> "settings").
11952
11953 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11954
11955 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
11956 Cosmetics, doc.
11957
11958 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11959
11960 Cosmetics.
11961
11962 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
11963 Remove needless imports.
11964
11965 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11966
11967 Fix/Guard certain misconditions.
11968
11969 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Do
11970 not crash when given null-range.
11971
11972 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
11973 Do not crash when given malformed array.
11974
11975 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11976
11977 Cosmetics.
11978
11979 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
11980 ChangeLog: Whitespace cosmetic.
11981
11982 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
11983 Annotation cosmetic.
11984
11985 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
11986 Convenience cosmetic.
11987
11988 * src/main/java/de/intevation/flys/utils/DataUtil.java:
11989 vim-magicosmetic.
11990
11991 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11992
11993 Implement new WaterLineArtifact where needed so far.
11994
11995 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
11996 Declare that we implement WaterLineArtifact.
11997
11998 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
11999 (getWaterLines): Implement to fulfil new WaterLineArtifact-
12000 interface-impl. Also generate new Facet.
12001
12002 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
12003 Do not depend on WINFOArtifacts, but on WaterLineArtifacts instead.
12004
12005 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12006
12007 Added interface WaterLineArtifact to be implemented by artifacts
12008 that know how to create a water line "against" a cross section.
12009
12010 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
12011 New, straight-forward interface.
12012
12013 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
12014
12015 * src/main/java/de/intevation/flys/exports/EmptySettings.java: An
12016 implementation of the Settings interface defined in the artifact-database
12017 module. This implementation accepts no Section objects at all and creates
12018 an empty "settings" Node in its toXML() operation.
12019
12020 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Defined a new
12021 method getSettings() that returns a Settings instance.
12022
12023 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
12024 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
12025 src/main/java/de/intevation/flys/exports/MapGenerator.java,
12026 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
12027 src/main/java/de/intevation/flys/exports/ATExporter.java,
12028 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
12029 Implemented the getSettings() operation. All OutGenerators will currently
12030 return an instance of EmptySettings.
12031
12032 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12033 Before the DESCRIBE document is created, we gonna evaluate each Output
12034 defined in the Collection's attribute document, if it has a Settings
12035 object set. If this is not the case, the relevant OutGenerator is called
12036 to retrieve a new instance of Settings.
12037
12038 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
12039 Append the Settings of Outputs to the Output nodes in the XML
12040 representation.
12041
12042 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12043
12044 Recommend cross-sections.
12045
12046 * doc/conf/meta-data.xml: When having a cross-section out, recommend
12047 respective artifacts.
12048
12049 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12050
12051 Register factory for CrossSectionArtifacts.
12052
12053 * doc/conf/conf.xml: Register CrossSectionArtifact-Factory.
12054
12055 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
12056
12057 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
12058 New. This class will store the information provided in the Collection's
12059 attribute (which is a DOM document).
12060
12061 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
12062 Store an instance of CollectionAttribute and append its XML representation
12063 to the DESCRIBE document.
12064
12065 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Removed
12066 all DOM operations from this writer. Its new task is to create a new
12067 CollectionAttribute object which represents a merged version of the old
12068 CollectionAttribute and the information provided by the Collection's child
12069 Artifacts.
12070
12071 * src/main/java/de/intevation/flys/collections/AttributeParser.java: The
12072 result of AttributeParser's parse() operation is a CollectionAttribute
12073 object now. The methods getOuts() and getFacets() are as of now proxy
12074 methods that call the relevant methods of CollectionAttribute.
12075
12076 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12077 Some structural changes in the process to build the attribute Document of
12078 the Collection's DESCRIBE. We will no longer work with Document during
12079 this process but with instances of CollectionAttribute.
12080
12081 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12082
12083 Server-side of newer Cross-Section diagram construction architecture.
12084
12085 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
12086 (searchCrossSectionKmLine, getCrossSectionSnapKm),
12087 (getCrossSectionData): Removed, most functionality contained in
12088 CrossSectionArtifact.
12089 (getWaterLines): Now get CrossSectionLines to calculate water line.
12090
12091 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
12092 Get a CrossSectionLine from blackboard.
12093
12094 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
12095 Hard TODO, commented out function needed for subtitle to allow
12096 compilation.
12097
12098 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
12099 Added Empty-Dataset- guard.
12100
12101 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12102
12103 Cosmetics.
12104
12105 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12106 Cosmetics.
12107
12108 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
12109
12110 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java,
12111 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
12112 Removed superfluous imports.
12113
12114 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
12115
12116 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
12117 New. This class helps generating the DESCRIBE document of a collection.
12118
12119 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12120 Moved some of the code to create the DESCRIBE document out to
12121 CollectionDescriptionHelper.
12122
12123 2011-12-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12124
12125 Resolve todo about wrongly named cross sections.
12126 Open StaticState to allow that facets survive a compute.
12127
12128 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java
12129 (computeAdvance, computeFeed, computeInit): Override to call
12130 staticCompute.
12131 (staticCompute): New. Do nothing but be able to be overridden.
12132
12133 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
12134 (setup): Fetch facets name from db (resolves todo).
12135 (getCurrentState): override staticstates staticcompute to let
12136 facets survive a compute.
12137
12138 2011-12-12 Ingo Weinzierl <ingo@intevation.de>
12139
12140 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java,
12141 src/main/java/de/intevation/flys/wsplgen/WSPLGENCallable.java: Renamed
12142 JobExecutor to WSPLGENCallable (because it is a Callable now). In addition
12143 to the call() method which starts the WSPLGEN process, this Callable
12144 offers a cancelWSPLGEN() method to destroy a running WSPLGEN process.
12145
12146 * src/main/java/de/intevation/flys/wsplgen/WSPLGENFuture.java: A FutureTask
12147 that overrides cancel(boolean). Before this instance call
12148 super.cancel(boolean), it executes WSPLGENCallable.cancelWSPLGEN() to kill
12149 a running WSPLGEN process.
12150
12151 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: The Scheduler is
12152 no longer a Runnable. It makes now use of a ScheduledThreadPoolExecutor to
12153 schedule the incoming WSPLGENJobs. The ScheduledThreadPoolExecutor has a
12154 fixed number of worker threads that process the jobs. The number is 1 per
12155 default; it can be modified using a System property "wsplgen.max.threads".
12156
12157 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
12158 a string constant SCHEDULER.
12159
12160 * src/main/java/de/intevation/flys/wsplgen/SchedulerSetup.java: A
12161 LifetimeListener that currently implements the systemUp() method to create
12162 an instance of Scheduler. After its creation, the Scheduler is put into
12163 the GlobalContext using FLYSContext.SCHEDULER as key.
12164
12165 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12166 Fetch the Scheduler from GlobalContext.
12167
12168 * doc/conf/conf.xml: Registered SchedulerSetup as LifetimeListener.
12169
12170 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12171
12172 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
12173 (describe): Add data items to StaticFLYSArtifacts describe-doc.
12174
12175 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12176
12177 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
12178 (addDefaultChartOutput): Convenienve function to add a chart-output.
12179
12180 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12181
12182 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
12183 Play nice with CrossSectionArtifact. Employ blackboard.
12184
12185 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
12186 Spawn a CrossSectionFacet, handle various data.
12187
12188 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12189 Do not produce CrossSectionFacets anymore, these now "belong" to
12190 CrossSectionArtifacts.
12191
12192 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12193
12194 * doc/conf/cache.xml: Added cross_sections cache.
12195
12196 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12197
12198 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
12199 (getCrossSection, getCrossSectionUncached): New, access specific
12200 CrossSection, employ caching.
12201
12202 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12203
12204 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
12205 New artifact to handle cross-section access.
12206
12207 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de>
12208
12209 Issue 413.
12210
12211 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
12212 Apply point size from theme attribute linewidth.
12213
12214 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12215
12216 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
12217 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
12218 src/main/java/de/intevation/flys/exports/OutGenerator.java,
12219 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
12220 Cosmetics.
12221
12222 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12223
12224 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
12225 Documentation added, let a value be its own neighbour (distance 0).
12226
12227 2011-12-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12228
12229 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
12230 Added "Bezugslinie" to list of calculation alternatives.
12231
12232 * src/main/resources/messages.properties,
12233 src/main/resources/messages_de_DE.properties,
12234 src/main/resources/messages_de.properties: Added I18N.
12235
12236 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12237
12238 Further flys/issue420 fix (No Discharge Curves for Mosel).
12239
12240 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12241 (includeYRange, mergeRanges): Moved NaN-guard to lowest level.
12242 (combineXRanges): Also NaN guard the X Axis extent.
12243
12244 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12245
12246 Partial fix for flys/issue420 (Berechnete Abflusskurve: Kein Diagramm für
12247 Mosel). Protect axis extent calculation from empty or invalid
12248 datasets.
12249
12250 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12251 (includeRange, includeYRange): Renamed, updated callers.
12252 (includeYRange): Protect from merging extent with NaNs.
12253 (debugDatasets): Be more verbose on the datasets.
12254 (zoom): Doc.
12255
12256 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12257
12258 Fix flys/issue423 (Diagramm: Hauptwerte bei Abflusskurve am Pegel
12259 werden an Y-Achse nicht angezeigt) - show not "raw" (vs interpolated)
12260 values at Gauge.
12261
12262 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
12263 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
12264 Add parameterization to let facet know whether to fetch data at
12265 Gauges or at Artifacts position.
12266
12267 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
12268 Let the MainValueFacets know whether to ask for interpolated
12269 MainValues; (do not interpolate for Gauges Main Values).
12270 (getMainValuesQ, getMainValuesW): Added parameter to control
12271 interpolation.
12272
12273 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
12274
12275 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified
12276 prefix constants for Mapserver layers and renamed constants (which have
12277 been postfixes before).
12278
12279 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Adjusted
12280 usage of Mapserver constants to the changes described above.
12281
12282 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
12283
12284 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12285 Bugfix: Evaluate the correct parameter whether to set the floodplain or
12286 not. In addition, the scenario parameter used by WSPLGEN is now set
12287 correctly.
12288
12289 >>>>>>> .r3356
12290 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12291
12292 Allow longitudinal_section.q facets in wdiff states output.
12293
12294 * doc/conf/artifacts/winfo.xml: Added longitudinal_section.q facets
12295 to w-diff states out compatibility- matrix.
12296
12297 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12298
12299 Refactored Longitudinal*/WDiff-*Generator hierarchy and change axis
12300 ordering, resolved label-i18n TODO.
12301
12302 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12303 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12304 Merge, avoid duplicate code, fix axis ordering in w-diff diagram,
12305 label in ls-diagramm.
12306
12307 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
12308
12309 * src/main/resources/messages.properties,
12310 src/main/resources/messages_de_DE.properties,
12311 src/main/resources/messages_en.properties,
12312 src/main/resources/messages_de.properties: Added missing state titles.
12313
12314 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12315
12316 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
12317 Do not include zero on first axis.
12318
12319 2011-12-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12320
12321 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12322 (buildArtifactNode): Include artifacts state data in description
12323 document of collection.
12324
12325 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12326
12327 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12328 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12329 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
12330 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
12331 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
12332 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12333 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
12334 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
12335 src/main/java/de/intevation/flys/exports/ATExporter.java,
12336 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
12337 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
12338 src/main/java/de/intevation/flys/exports/OutGenerator.java,
12339 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
12340 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
12341 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12342 Removed superfluous imports.
12343
12344 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12345
12346 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12347 Removed import to make it compileable again.
12348
12349 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12350
12351 Introduce pre-rendering inter-facet communication phase ('blackboard
12352 pass').
12353
12354 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
12355 (doBlackboardPass): New. Before actually calling doOut, bundle
12356 ArtifactAndFacets and let them register
12357 themselfes as DataProvider in CallContext if they
12358 want ("announce on blackboard").
12359
12360 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12361
12362 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java
12363 (doOut): Adjusted signature.
12364
12365 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12366
12367 Changed doOut signature to use ArtifactAndFacet, which will be
12368 side effect of upcoming "blackboard" feature.
12369
12370 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
12371 (getRangesForDataset, getRangesForAxis): Renamed, removed TODO.
12372
12373 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java
12374 (createAxis): Update call to XYChartGenerator.getRangesForAxis,
12375 cosmetics.
12376
12377 * src/main/java/de/intevation/flys/exports/OutGenerator.java
12378 (doOut): Changed Signature to accet ArifactAndFacet instead of
12379 Artifact and Facet.
12380
12381 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12382 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12383 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
12384 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
12385 src/main/java/de/intevation/flys/exports/MapGenerator.java,
12386 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
12387 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12388 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
12389 src/main/java/de/intevation/flys/exports/ATExporter.java,
12390 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
12391 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
12392 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
12393 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java
12394 (doOut): Adjusted to new signature.
12395
12396 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
12397 (adjustAxes): Removed, we do not need a (manual) second axis.
12398
12399 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12400
12401 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12402 Fix compilation, use features of XYChartGenerator.
12403
12404 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12405 Set default behaviour such that 0 is not included in ranges.
12406
12407 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
12408 Set behaviour of axis such that 0 is not (automagically) included.
12409
12410 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12411
12412 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
12413 Fix wrong documentation.
12414
12415 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12416
12417 Fix LongitudinalSections multi-axes plotting behavior.
12418
12419 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12420 Removed obsolete functions, use better working multi-axis
12421 magic by XYChartGenerator.
12422
12423 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12424
12425 Overhaul dataset/axis/renderer housekeeping in Mother of all
12426 ChartGenerators.
12427
12428 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12429 Refactored, keep axis/rendering relevant information in objects
12430 of new class AxisDataset. Removed some obsolete code while adding
12431 documentation.
12432
12433 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12434
12435 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
12436 Added the implementation of the 'Bezugslinienverfahren'. Should
12437 be complete but needs testing!
12438 TODO: Setup a Calculation and integrate it into WINFO.
12439
12440 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12441
12442 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
12443 Refactored the code for the "berechnete Abflusskurve" to enable
12444 the "Bezugslinienverfahren" to use the same code paths. It also
12445 removes a good deal of already existing code duplication.
12446
12447 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12448
12449 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(findQsForW):
12450 Added method findQsForW(w, km) to retrieve the Qs that correspond
12451 for the given w and km.
12452
12453 This is to be called when doing a "W auf freier Strecke" calculation
12454 to find out the Qs belonging to the user given W.
12455
12456 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
12457 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12458 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12459 Removed superfluous imports.
12460
12461 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12462
12463 Fix bug when adding Q data in LongitudinalSectionGenerator.
12464
12465 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12466 Add data from Q -Facet as Q over Km points.
12467
12468 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12469
12470 Added handling of empty plots.
12471
12472 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12473 (createAxes, removeEmptyRangeAxes): Survive empty datasets map, create
12474 primary axis.
12475 (recoverEmptyPlot): New.
12476
12477 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12478
12479 Let first visible axis be always on the left.
12480
12481 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12482 (createAxes): When creating axes, keep track of which is the first
12483 one. Set its location to "left".
12484
12485 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12486
12487 Use multiple axis in relevant generators.
12488
12489 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
12490 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12491 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12492 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
12493 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12494 (createYAxis): Implemented.
12495 Define and use YAXIS enum for axes.
12496
12497 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12498
12499 Fix theming and legend items for plot with multiaxis feature.
12500 Decouple renderer index from dataset index.
12501
12502 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12503 (applyThemes): Do not get renderer based on dataset/axis-index but
12504 count.
12505
12506 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12507
12508 In XYChartGenerators allow more than two datasets.
12509 Assign axis to indices of datasets, do not show axis if corresponding
12510 dataset is set to be not visible.
12511 Do proper axis-setting in LongitudinalSectionGenerator only (other
12512 will follow). Based on a patch by Sascha Teichmann.
12513
12514 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12515 Keep relation between index and dataset, once its added. Compute
12516 ranges per index. Allow subclasses to override createAxes to specify
12517 internationalized labels etc.
12518
12519 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12520 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12521 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
12522 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
12523 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
12524 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
12525 Add datasets to first index.
12526
12527 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12528 Implement createYAxis to create correct first, second and third
12529 axis. Added enum to easy identification of axis. Stripped down
12530 adjustAxis which was used to create second axis.
12531 Add datasets at correct indices.
12532
12533 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12534
12535 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java,
12536 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java,
12537 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12538 Cosmetics, docs.
12539
12540 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12541
12542 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
12543 Cosmetics, docs.
12544
12545 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12546
12547 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
12548 Cosmetics, docs.
12549
12550 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12551
12552 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
12553 Resolved TODO about caching certain WstValueTables.
12554
12555 2011-11-22 Ingo Weinzierl <ingo@intevation.de>
12556
12557 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java: New.
12558 This Artifact is used to allow users adding external WMS layers to their
12559 floodmaps. An ExternalWMSArtifact stores an URL of a WMS, the name and the
12560 title of the WMS layer. The internal State extends WMSBackgroundState.
12561
12562 * doc/conf/conf.xml: Registered the ExternalWMSArtifact.
12563
12564 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
12565 new type "floodmap.externalwms" which is used by the ExternalWMSArtifact.
12566
12567 * doc/conf/artifacts/winfo.xml: Allowed the "floodmap.externalwms" facet for
12568 floodmaps.
12569
12570 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
12571 Some refactoring to allow easier subclassing.
12572
12573 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12574
12575 Fixed flys/411.
12576
12577 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
12578 Use different queries to avoid costy joins.
12579
12580 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12581
12582 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
12583 Use different queries to avoid costy joins. Patch by Sascha
12584 Teichmann, minor typo-fix.
12585
12586 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12587
12588 * doc/conf/artifacts/winfo.xml: Added other.wkms.interpol facet
12589 to compatibility matrix for computed discharge curves.
12590
12591 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12592
12593 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
12594 Resolve cosmetic todo, use importData-convenience method.
12595
12596 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12597
12598 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
12599 Handle STATIC_WKMS_INTERPOL and WQ/Points as Annotations.
12600
12601 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12602
12603 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
12604 Give Facet different name when its a flood*, so that it can be
12605 understood to be e.g. a flood-protection further down the processing
12606 line.
12607
12608 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12609
12610 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
12611 Prevent ArrayIndexOutOfBounds, log method entry.
12612
12613 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12614
12615 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12616 Added new Facet Type: Interpolated W/Km values.
12617
12618 2011-11-16 Ingo Weinzierl <ingo@intevation.de>
12619
12620 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
12621 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
12622 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Avoid
12623 WMS layer names that begin with digits. This would lead to invalid
12624 WMSGetFeatureInfo responses, where the name of a layer is the name of a
12625 XML node.
12626
12627 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12628
12629 * doc/conf/meta-data.xml: Added and use *_wq macros for interpolated
12630 w/q data (currently used in computed discharge curve only).
12631
12632 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12633
12634 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
12635 Handle STATIC_WQ_ANNOTATION type facets, build and add annotations
12636 for these.
12637
12638 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12639
12640 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
12641 Set Facet type (name) based on static datas name (special case
12642 everything starting with "height").
12643
12644 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12645
12646 * doc/conf/artifacts/winfo.xml: Extended compatibility matrices.
12647
12648 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12649
12650 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12651 Added new STATIC_WQ_ANNOTATIONS Facet Type.
12652
12653 2011-11-16 Ingo Weinzierl <ingo@intevation.de>
12654
12655 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
12656 Added a method isQueryable() that determines if a layer is queryable via
12657 WMS GetFeatureInfo request. This method returns false as default.
12658
12659 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
12660 Override isQueryable(). All WMSDBLayerFacets are queryable via WMS
12661 GetFeatureInfo request.
12662
12663 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12664
12665 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
12666 Added functionality to artifact to use single column wst
12667 interpolators.
12668
12669 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12670
12671 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
12672 Added methods to create WstValueTables (interpolators) for specific
12673 columns of wsts.
12674
12675 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12676
12677 * doc/conf/themes.xml: Added Point Style for other.wq data.
12678
12679 2011-11-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12680
12681 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
12682 Do not re-evaluate constant size() in for-loops.
12683
12684 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12685
12686 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
12687 Get ld_locations not locations data item to determine km.
12688 (getDataAsDouble): New helper function to get data item as double.
12689
12690 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12691
12692 * doc/conf/meta-data.xml: Recommend fixations for computed discharge
12693 curve outs, minor refactoring of dc conf.
12694
12695 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12696
12697 * doc/conf/conf.xml: Added wqinterpol factory to produce
12698 WQKmsInterpolArtifacts.
12699
12700 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12701
12702 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
12703 Use StyledSeriesBuilder to add WQ data from WQKms to Series.
12704
12705 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12706
12707 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
12708 Handle interpolated WQ data.
12709
12710 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12711
12712 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
12713 Adjusted to similar implementations. Added TODO about merging with
12714 these similar implementations.
12715
12716 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12717
12718 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
12719 Removed logging noise, find better suited rows for interpolation.
12720
12721 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12722
12723 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
12724 Cache WstValueTables that were fetched by wst_id.
12725
12726 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12727
12728 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
12729 (getWstName): Fix and use SQL statement.
12730
12731 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12732
12733 * src/main/java/de/intevation/flys/artifacts/model/WQFacet.java,
12734 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
12735 Added new Facet and Artifact to access W over Q data.
12736
12737 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12738
12739 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12740 (importData): New function to copy data from one artifact to
12741 another.
12742
12743 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12744
12745 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java
12746 (getTable): New methods to get WstValueTable for given wst_id.
12747 Prepolate Arrays with NaNs.
12748
12749 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12750
12751 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
12752 (getWKmsName): Fix definition.
12753
12754 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12755
12756 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
12757 (getWKmsName): New function. Get name (description) of a WST.
12758
12759 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12760
12761 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12762 Added new "other.wq"/STATIC_WQ Facet-Type, e.g. for fixations in
12763 discharge curves.
12764
12765 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12766
12767 Picky cosmetics.
12768
12769 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java,
12770 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java,
12771 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
12772 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
12773 Cosmetics, docs.
12774
12775 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12776
12777 Added translations for Mosel, Elbe and Saar.
12778
12779 * src/main/resources/messages.properties,
12780 src/main/resources/messages_de_DE.properties,
12781 src/main/resources/messages_en.properties,
12782 src/main/resources/messages_de.properties: Added translations
12783 for Mosel, Elbe, Saar.
12784
12785 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12786
12787 Added new interpolation mechanism to WstValueTable to interpolate
12788 given columns only.
12789
12790 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java
12791 (linearW): New, interpolate a given columns w's between given rows.
12792 (interpolateWQColumnwise): New, interpolate between rows ws at a
12793 given column and km.
12794
12795 2011-11-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12796
12797 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
12798 Minor doc added.
12799
12800 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12801
12802 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
12803 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java,
12804 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
12805 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12806 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
12807 src/main/java/de/intevation/flys/themes/ThemeFactory.java:
12808 Removed dead ';' from empty bodies.
12809
12810 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12811
12812 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
12813 s/reset/resetQuick/s in TDoubleArrayLists.
12814
12815 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12816
12817 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
12818 Added system properties 'waterlevel' and 'km'. Useful to
12819 init the UI with a given waterlevel and drawing the cross-sections
12820 at the given km.
12821
12822 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
12823 Spliting by NaNs definition holes _should_ work now. Needs
12824 some more testing.
12825 TODOs:
12826 - Use log4j instead of println for logging.
12827 - Subclass XYDifferenceRenderer instead of replacing it totally.
12828
12829 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12830
12831 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
12832 Draw water, too.
12833
12834 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
12835 First code to split datasets by NaNs. WIP.
12836
12837 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12838
12839 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
12840 Draw ground with StableXYDifferenceRenderer.
12841
12842 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
12843 Removed XYDatasetToZeroMapper stuff. Not needed any longer
12844 because we use rendereres on dataset basis now.
12845
12846 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java:
12847 Removed.Not longer needed.
12848
12849 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12850
12851 * doc/conf/meta-data.xml: Include computed discharge curves in dc
12852 conf.
12853
12854 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12855
12856 * doc/conf/meta-data.xml: Somewhat unify user-part of dc config.
12857
12858 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
12859
12860 * doc/conf/themes.xml: Modified some floodmap styles and added a
12861 backgroundcolor attribute to polygon themes.
12862
12863 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
12864 Added support for backgroundcolor.
12865
12866 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse
12867 backgroundcolor from theme document. If a value is given, the
12868 backgroundcolor is set on the Mapserver style.
12869
12870 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
12871
12872 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
12873 Set correct Mapserver attribute name to adjust the width of a line.
12874
12875 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
12876
12877 * doc/conf/themes.xml: Added 'textcolor' and 'textsize' attributes to the
12878 existing 'Kms' theme.
12879
12880 * doc/conf/mapserver/fontset.txt: Defined a 'DefaultFont' that is used as
12881 default font for Mapserver labels.
12882
12883 * doc/conf/mapserver/db_layer.vm: Add a Mapserver LABELITEM if a value is
12884 provided by LayerInfo object.
12885
12886 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added a
12887 getLabelItem() method that returns null as default.
12888
12889 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override
12890 getLabelItem() to return "km" which is the database field that contains
12891 the kilometer information.
12892
12893 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java,
12894 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
12895 Added an attribute labelItem with appropriate getter/setter methods.
12896
12897 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
12898 Splitted up the internal class Clazz. Now, there are two new inner
12899 classes Style and Label that fulfill the appropriate Mapfile sections of
12900 Mapserver.
12901
12902 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Also Read font
12903 attributes and add new Clazz Label for the Mapserver layer.
12904
12905 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the
12906 "labelItem" attribute on the LayerInfo object used to fill DB layer
12907 templates.
12908
12909 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12910
12911 * doc/conf/meta-data.xml: Re-use macros to include more data to
12912 datacage in more situations.
12913
12914 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
12915
12916 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
12917 Removed needless imports.
12918
12919 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
12920
12921 * src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java: New
12922 WMSDBArtifact that creates facets for "fixpoints" relation.
12923
12924 * doc/conf/artifacts/winfo.xml: Registered "floodmap.fixpoints" as valid
12925 "floodmap" facet.
12926
12927 * doc/conf/conf.xml: Registered the new WMSFixpointsArtifact.
12928
12929 * doc/conf/themes.xml: Added a theme for "floodmap.fixpoints".
12930
12931 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
12932 Facet type "floodmap.fixpoints".
12933
12934 * doc/conf/meta-data.xml: Made "floodmap.fixpoints" available via datacage.
12935
12936 * src/main/resources/messages.properties,
12937 src/main/resources/messages_de_DE.properties,
12938 src/main/resources/messages_en.properties,
12939 src/main/resources/messages_de.properties: Added titles for
12940 "floodmap.fixpoints" facets.
12941
12942 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12943
12944 * doc/conf/meta-data.xml: Refactored and (re)use macros.
12945
12946 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
12947
12948 * src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java: New
12949 WMSDBArtifact that creates facets for "buildings" relation.
12950
12951 * doc/conf/artifacts/winfo.xml: Registered "floodmap.buildings" as valid
12952 "floodmap" facet.
12953
12954 * doc/conf/conf.xml: Registered the new WMSBuildingsArtifact.
12955
12956 * doc/conf/themes.xml: Added a theme for "floodmap.buildings".
12957
12958 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
12959 Facet type "floodmap.buildings".
12960
12961 * doc/conf/meta-data.xml: Made "floodmap.buildings" available via datacage.
12962
12963 * src/main/resources/messages.properties,
12964 src/main/resources/messages_de_DE.properties,
12965 src/main/resources/messages_en.properties,
12966 src/main/resources/messages_de.properties: Added titles for
12967 "floodmap.buildings" facets.
12968
12969 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
12970
12971 * src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java: New
12972 WMSDBArtifact that creates facets for "lines" relation.
12973
12974 * doc/conf/artifacts/winfo.xml: Registered "floodmap.lines" as valid
12975 "floodmap" facet.
12976
12977 * doc/conf/conf.xml: Registered the new WMSLineArtifact.
12978
12979 * doc/conf/themes.xml: Added a theme for "floodmap.lines".
12980
12981 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
12982 Facet type "floodmap.lines".
12983
12984 * doc/conf/meta-data.xml: Made "floodmap.lines" available via datacage.
12985
12986 * src/main/resources/messages.properties,
12987 src/main/resources/messages_de_DE.properties,
12988 src/main/resources/messages_en.properties,
12989 src/main/resources/messages_de.properties: Added titles for facets.
12990
12991 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12992
12993 * doc/conf/meta-data.xml: Adjusted DC configuration to
12994 also allow heightmarks and base data in discharge longitudinal
12995 sections. Minor refac.
12996
12997 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12998
12999 * doc/conf/meta-data.xml: Adjusted DC configuration to let old
13000 calculations be available for discharge longitudinal sections.
13001
13002 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13003
13004 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
13005 Handle other WQKm and WKm Facets.
13006
13007 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13008
13009 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java
13010 (IS): New inner class with static method to allow queries whether
13011 a type belongs to a however-defined "group".
13012
13013 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13014
13015 * doc/conf/conf.xml: Reverted accidental commit.
13016
13017 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation
13018 for discharge longitudinal sections.
13019
13020 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13021
13022 * doc/conf/conf.xml: Reverted accidental commit.
13023
13024 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation
13025 for discharge longitudinal sections.
13026
13027 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13028
13029 Made discharge longitudinal section out compatible with annotations.
13030
13031 * doc/conf/artifacts/winfo.xml: Added facets to compatibility list
13032 for discharge longitudinal section outs.
13033
13034 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13035
13036 Extracted Annotations-Macro in dc conf, recommend Annotations for
13037 discharge longitudinal sections. (Note correction two commits later).
13038
13039 * doc/conf/conf.xml: Extracted annotations-macro, add recommendation
13040 for discharge longitudinal sections.
13041
13042 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13043
13044 Handle Annotations in DischargeLongitudinalSection diagrams.
13045
13046 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
13047 Call doAnnotations for LONGITUDINAL_ANNOTATION facets.
13048
13049 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13050
13051 Resolve code duplicate.
13052
13053 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
13054 (doAnnotationsOut): Removed duplicate code.
13055 Theoretically handle WQKMS data.
13056
13057 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13058 Adjusted call to doAnnotationOut.
13059
13060 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
13061 (doAnnotations): Doc from LongitudinalSectionGenerator.
13062
13063 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13064
13065 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13066 Include exception when logging issue with spline creation.
13067
13068 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13069
13070 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
13071 When during XPath evaluation an exception is thrown, log the
13072 expression that caused the trouble.
13073
13074 2011-11-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13075
13076 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
13077 Use separate XYDataset for each curve. This is needed because
13078 "Raum/Flaeche" needs specialized renderers, which are not compatible
13079 with the standard renderers.
13080
13081 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
13082 Removed superfluous import.
13083
13084 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
13085
13086 * src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java: New
13087 Artifact that is used to create WMS layers for floodplains in maps.
13088
13089 * doc/conf/conf.xml: Registered the new WMSFloodplainArtifact.
13090
13091 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13092 a new type 'floodmap.floodplain'.
13093
13094 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.floodplain' facet
13095 for floodmaps.
13096
13097 * doc/conf/themes.xml: Added a theme for 'floodmap.floodplain' facets.
13098
13099 * doc/conf/meta-data.xml: Added configuration for 'floodplain'.
13100
13101 * src/main/resources/messages.properties,
13102 src/main/resources/messages_de_DE.properties,
13103 src/main/resources/messages_en.properties,
13104 src/main/resources/messages_de.properties: Added facet titles for
13105 'floodmap.floodplain' facets.
13106
13107 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
13108
13109 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java: New
13110 Artifact that is used to create WMS layers for catchments in maps.
13111
13112 * doc/conf/conf.xml: Registered the new WMSCatchmentArtifact.
13113
13114 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13115 a new type 'floodmap.catchment'.
13116
13117 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.catchment' facet
13118 for floodmaps.
13119
13120 * doc/conf/themes.xml: Added a theme for 'floodmap.catchment' facets.
13121
13122 * doc/conf/meta-data.xml: Added configuration for 'catchments'.
13123
13124 * src/main/resources/messages.properties,
13125 src/main/resources/messages_de_DE.properties,
13126 src/main/resources/messages_en.properties,
13127 src/main/resources/messages_de.properties: Added facet titles for
13128 'floodmap.catchment' facets.
13129
13130 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
13131
13132 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: New
13133 Artifact that is used to create WMS layers for flood protected works.
13134
13135 * doc/conf/conf.xml: Registered the new WMSHwsArtifact.
13136
13137 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13138 a new type 'floodmap.hws'.
13139
13140 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.hws' facet for
13141 floodmaps.
13142
13143 * doc/conf/themes.xml: Added a theme for 'floodmap.hws' facets.
13144
13145 * doc/conf/meta-data.xml: Added configuration for 'hws'.
13146
13147 * src/main/resources/messages.properties,
13148 src/main/resources/messages_de_DE.properties,
13149 src/main/resources/messages_en.properties,
13150 src/main/resources/messages_de.properties: Added facet titles for
13151 'floodmap.hws' facets.
13152
13153 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
13154
13155 * doc/conf/mapserver/dbconnection.include: Removed. DB connections are
13156 supported by LayerInfo objects now. So, we do not need to configure it any
13157 more.
13158
13159 * doc/conf/mapserver/db_layer.vm: The database connection is provided by
13160 LayerInfo objects. The "INCLUDE dbconnection.include" has been replaced.
13161
13162 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: The inner
13163 State class got two new methods that provide information about db
13164 connection string and connection type.
13165
13166 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java,
13167 src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Both
13168 classes support getter/setter for connection and connectionType.
13169
13170 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Fill
13171 LayerInfo objects used to create DB layers with the connection and
13172 connection type provided by WMSDBLayerFacet.
13173
13174 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13175
13176 Allow height marks with points style in w-differences diagrams.
13177
13178 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13179 Handle HEIGHTMARKS_POINTS facets.
13180
13181 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13182
13183 Made Q Duration curve initially inactive.
13184
13185 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
13186 (getInitialFacetActivity): Return 0 for DURATION_Q facets. Minor
13187 cosmetics.
13188
13189 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13190
13191 Recommend mainvalues for Duration Curve Diagrams.
13192
13193 * doc/conf/meta-data.xml: Recommend mainvalues for duration curve
13194 diagrams. refactored into macro.
13195
13196 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13197
13198 Handle MainValue Facets in Duration Curve Diagrams.
13199
13200 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
13201 Handle MainValues.
13202
13203 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13204 Adjusted to call doAnnotations.
13205
13206 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13207
13208 Move do*Annotation* (like mainvalue) in XYChartGenerator.
13209
13210 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
13211 (doAnnotations): New, moved from DischargeCurveGenerator.
13212
13213 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java
13214 (doMainValueAnnotations): Moved to superclass.
13215
13216 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13217
13218 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
13219 Removed duplicate code.
13220
13221 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13222
13223 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
13224 (): Minor cosmetics, added stability.
13225 (getInitialFacetActivity): Let facets be inactive in duration curve
13226 diagrams.
13227
13228 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13229
13230 * doc/conf/artifacts/winfo.xml: Allow other.wqkms facets in many
13231 outputs, mainvalues in duration curves.
13232
13233 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
13234
13235 * doc/conf/mapserver/dbconnection.include: Adapted connection params for
13236 using an oracle database.
13237
13238 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
13239 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
13240 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
13241 Added Oracle support for Mapserver's DATA attribute. Oracle doesn't allow
13242 a "USING UNIQUE id" string in this attribute which is required by Postgis.
13243
13244 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13245 Modified the geometry type of "talaue.shp" from MultiPolygon to Polygon.
13246
13247 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
13248 which returns true, if the backend uses an Oracle db instance. Otherwise,
13249 it returns false.
13250
13251 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13252
13253 Fix flys/issue406 (Themestyle-editor: themes for "other.wkms" and
13254 "other.wqkms" missing)
13255
13256 * doc/conf/themes.xml: Fixed typos in WKms and WQKms theme names.
13257
13258 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13259
13260 Fix flys/issue405 (Datacage: Recommendations get loaded twice).
13261
13262 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java
13263 (setup): Do not try/catch exception.
13264 (spawn_state): Generate just one "general" output.
13265
13266 2011-11-08 Ingo Weinzierl <ingo@intevation.de>
13267
13268 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
13269 Added a log.warn() which prints out an exception - previously it was
13270 just skipped.
13271
13272 2011-11-08 Ingo Weinzierl <ingo@intevation.de>
13273
13274 * doc/conf/meta-data.xml: Removed orphaned datacage configuration which is
13275 no longer loadable.
13276
13277 2011-11-07 Ingo Weinzierl <ingo@intevation.de>
13278
13279 * doc/conf/conf.xml: Added an "post-describe" hook which is necessary to
13280 load recommendations for "floodmaps".
13281
13282 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13283
13284 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java
13285 (loadRows, loadColumns, loadQRanges): Refactored in preparation to
13286 ability to create WstValueTables for given wst_id and
13287 column_pos (interpolation for static data).
13288
13289 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13290
13291 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
13292 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
13293 Minor, picky cosmetics.
13294
13295 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java:
13296 Removed junk.
13297
13298 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13299 Added documentation.
13300
13301 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13302
13303 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13304 Be more specific in what to catch.
13305
13306 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
13307
13308 * doc/conf/meta-data.xml: Added the CrossSectionTracks to the "floodmap"
13309 datacage configuration.
13310
13311 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
13312 FacetType "floodmap.qps".
13313
13314 * doc/conf/conf.xml: Defined an ArtifactFactory for the "wmspqsartifact"
13315 string. The factory will create new instances of WMSQPSArtifact.
13316
13317 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java: New. This
13318 Artifact is used to create "floodmap.qps" facets. It has an internal fixed
13319 State WMSQPSState.
13320
13321 * doc/conf/artifacts/winfo.xml: Added the "floodmap.qps" layer to the
13322 "floodmap" output.
13323
13324 * doc/conf/themes.xml: Added a theme for "floodmap.qps" facets.
13325
13326 * src/main/resources/messages.properties,
13327 src/main/resources/messages_de_DE.properties,
13328 src/main/resources/messages_en.properties,
13329 src/main/resources/messages_de.properties: Added strings for the QPS WMS
13330 layer used in floodmaps.
13331
13332 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13333
13334 Re-enable mainvalue-recommendations for computed discharge curves,
13335 as the NPE should be gone.
13336
13337 * doc/conf/meta-data.xml: Uncomment mainvalue recommendations.
13338
13339 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13340
13341 When querying metadata/datacage, use only output-names of outputs that
13342 actually exists (in the sense of having facets).
13343
13344 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
13345 Get output names from artifact, not from state.
13346
13347 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
13348
13349 * doc/conf/meta-data.xml: Removed DEMs from floodmap configuration,
13350 because we are not able to draw DEMs into maps.
13351
13352 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
13353
13354 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
13355 Subclasses WMSDBArtifact now and defines an inner class RiverAxisState
13356 which subclasses WMSDBState.
13357
13358 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
13359 Removed. The RiverAxisState is an inner class of RiverAxisArtifact now
13360 which subclasses WMSDBState.
13361
13362 * doc/conf/artifacts/riveraxis.xml: Removed, because the RiverAxisArtifact
13363 has a fixed static State only.
13364
13365 * doc/conf/conf.xml: Removed riveraxis.xml definition.
13366
13367 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13368
13369 For a Flys-Collection, add outputt to attributes-part of describe
13370 document only if they contain facets. -> Prevent empty output nodes
13371 in flys-collections outputs.
13372
13373 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
13374 (writeFacets): Added return type to indicate whether any facet was
13375 written. Decide whether to add an output-node depending on this
13376 return value.
13377
13378 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
13379
13380 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Create
13381 line and polygon layers for barriers only if they are really existing.
13382
13383 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13384
13385 Disable mainvalue-recommendations for discharge curves as they trigger
13386 a yet-to-be understood NPE.
13387
13388 * doc/conf/meta-data.xml: Comment mainvalue-recommendations for
13389 discharge curves.
13390
13391 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13392
13393 Added new matching condition for theme-mappings: the name of
13394 the output.
13395
13396 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
13397 Added output field and function to match it against a given
13398 output name.
13399
13400 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
13401 Createing ThemeMapping with output attribute from configuration.
13402
13403 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
13404 (getTheme(FLYSContext, string)): Removed, never called.
13405 (getTheme): Added outputName argument, match it.
13406
13407 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13408 Pass outputs name until it can be matched against mapping.
13409
13410 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13411
13412 * doc/conf/themes.xml: Added default themes for other.w(q)kms.
13413
13414 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13415
13416 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
13417 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
13418 Cosmetics, reduce logging noise.
13419
13420 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13421
13422 Added access to static W_Q_Kms - data in much the same way then static
13423 WKms.
13424
13425 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java:
13426 Cache Key for static wqkms data.
13427
13428 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java:
13429 Facet for WQKms.
13430
13431 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java:
13432 Factory to access WQKms.
13433
13434 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
13435 Artifact that provides 'static' WQKms.
13436
13437 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
13438 Added STATIC_WQKMS type.
13439
13440 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13441
13442 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java:
13443 New. Maps series to zero to be compatible with XYDifferenceRenderer.
13444 It returns an iterator over XYDatasets to enable splitting by NaNs,
13445 which still needs to be implemented.
13446
13447 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
13448 Uses a XYDatasetToZeroMapper now. Fixed package name.
13449
13450 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13451
13452 Added new matching options for theme-mappings to allow more
13453 overspecification of defaults (e.g. now name,description-pattern and
13454 master-artifacts attributes are matched). The first full match from
13455 the configuration file is done.
13456 New matching option in the masterAttr- field of a mapping are
13457 super-basic until new use-cases come up.
13458 Concrete new themes are point-styles of Ws when locations where chosen
13459 to calculate.
13460
13461 * doc/conf/themes.xml: Added newly defined Themes.
13462
13463 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13464 Put master-artifact in flys-context.
13465
13466 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
13467 Accept masterAttr in constructor.
13468 (masterAttrMatches): New, check masterAttr-condition against
13469 artifact.
13470
13471 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
13472 When creating ThemeMappings, pass in masterAttr.
13473
13474 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
13475 (getTheme): Evaluate masterAttr-condition, always return first full
13476 match.
13477
13478 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13479
13480 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
13481 Added ARTIFACT key, documentation.
13482
13483 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13484
13485 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
13486 New. At the moment a pure copy of JFreeChart's XYDifferenceRenderer.
13487 Needs to be refactored to cope with its limitations:
13488
13489 - Series numbers need to be zero based. We have more than two series
13490 in our diagrams.
13491
13492 - Cannot handle definition holes indicated by NaNs. We have these
13493 cases e.g. more than one "Fliessbereich".
13494
13495 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13496
13497 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
13498 Reenabled dumping data to disk.
13499
13500 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13501
13502 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13503 Removed superfluous import.
13504
13505 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13506
13507 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
13508 Use new pair in stack of results and connections because they are
13509 always used in pairs. Maintaining two separate stacks is not
13510 needed any longer.
13511
13512 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13513
13514 * src/main/java/de/intevation/flys/utils/Pair.java: New. A generic pair.
13515
13516 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
13517 Rewritten to useful as test bed for "Raum/Flaeche" operations.
13518
13519 2011-11-02 Ingo Weinzierl <ingo@intevation.de>
13520
13521 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added
13522 setter methods for all parameters and removed the constructors. There is
13523 just an empty constructor - all parameters need to be set via setter
13524 methods.
13525
13526 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified the
13527 creation of LayerInfo objects.
13528
13529 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java:
13530 Removed, because the internal structure and constructors of LayerInfo have
13531 changed, so that we gonna use LayerInfo for all layers now.
13532
13533 * doc/conf/themes.xml: Modified the color definitions of
13534 'floodmap.riveraxis' and 'floodmap.kms' themes and added a 'symbol' field
13535 to 'floodmap.kms'.
13536
13537 * doc/conf/mapserver/symbols.sym,
13538 doc/conf/mapserver/fontset.txt: New. Required by Mapserver.
13539
13540 * doc/conf/mapserver/db_layer.vm: Added an 'EXTENT' field that is filled
13541 using LayerInfo.getExtent().
13542
13543 * doc/conf/mapserver/mapfile.vm: Modified FONTSET directory and added a
13544 SYMBOLSET.
13545
13546 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added an
13547 abstract method getGeometryType().
13548
13549 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override
13550 getGeometryType() of WMSDBArtifact. This Artifact provides "POINT"s.
13551
13552 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
13553 Create new WMSDBLayerFacets with geometry type "LINE".
13554
13555 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
13556 Added a 'geometryType' attribute and getter/setter methods. This attribute
13557 determines the type of geometry provided by this database wms layer. Types
13558 could be "POLYGON", "POINT", "LINE" and so on.
13559
13560 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
13561 Added a 'symbol' attribute to the inner class Clazz.
13562
13563 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a function to
13564 parse the symbol field of a theme. This symbol is used for
13565 MapserverStyle.Clazz.
13566
13567 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13568
13569 Apply point theme to heightmarks when imported in longitudinal
13570 section diagram.
13571
13572 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
13573 Added new FacetType HEIGHTMARK_POINTS.
13574
13575 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
13576 Allow name to be given in constructor.
13577
13578 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
13579 If heightmarks were loaded, give respective name in WKmsFacet
13580 generation.
13581
13582 * doc/conf/themes.xml: Added virtual "Points" and concrete
13583 heightmark_points - theme.
13584
13585 * doc/conf/artifacts/winfo.xml: Made longitudinal_section output
13586 compatible with heightmarks_points.
13587
13588 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13589 Render heightmarks like other wkms.
13590
13591 * doc/conf/meta-data.xml: Changed heightmark ids such that it can be
13592 identified in StaticWKmsFacet .
13593
13594 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13595
13596 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
13597 Documentation added.
13598
13599 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13600
13601 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
13602 Fix bug where (wrong) active-attribute was set, doc.
13603
13604 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13605
13606 Refactoring to allow mainvalues in both discharge and computed
13607 discharge curve diagrams.
13608
13609 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
13610 (addPointsQW): New helper function.
13611
13612 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
13613 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13614 Moved doMainValueQAnnotations, doMainValueWAnnotations from child-
13615 to parent-class, extracetd doDischargeOut. Use
13616 StyledSeriesBuilder.addPointsQW .
13617
13618 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13619
13620 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13621 Removed logger/debugging noise.
13622
13623 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13624
13625 1) Pass outputs name to artifacts getInitialFacetActivity().
13626 2) Do not allow "gaps" in positions of facets in outputs in attributes
13627 of collection (prevent e.g. positions 1,3,5; will become 1,2,3
13628 instead).
13629
13630 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
13631 Pass outputname to artifacts getInitialFacetActivity(), prevent
13632 gaps in facets positions in outputs (1,3,10 become 1,2,3).
13633
13634 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13635
13636 1) Give Artifacts information about the out when they have to decide
13637 whether a given facet is initially in/active by adding parameter
13638 to getInitialFacetActivity(+outputName).
13639 2) Generate separate Set of MainValueFacets for discharge curves.
13640
13641 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
13642 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
13643 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
13644 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
13645 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13646 (getInitialFacetActivity): Adjusted, new parameter outputName.
13647 Added MAINVALUES_{Q,W} definition.
13648
13649 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
13650 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
13651 Accept name in constructor.
13652
13653 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13654 Create second pair of MainValuesFacets, give distinguishable names.
13655
13656 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13657
13658 Added compatibility of (computed)discharge-curve diagrams with
13659 mainvalues.
13660
13661 * doc/conf/artifacts/winfo.xml: Added mainvalues to compatibility list
13662 of (computed) discharge curve outputs. These facet-definitionss can
13663 differ in names because we can can have up to 4 mainvalue facets in
13664 one state.
13665
13666 2011-11-01 Ingo Weinzierl <ingo@intevation.de>
13667
13668 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Determine
13669 the extent of such WMS layer based on the list of RiverAxisKm objects
13670 returned by the backend.
13671
13672 2011-11-01 Ingo Weinzierl <ingo@intevation.de>
13673
13674 * doc/conf/meta-data.xml: Added a datacage node that represents a
13675 kilometer WMS layer.
13676
13677 * doc/conf/conf.xml: Added a new Artifact WMSKmArtifact.
13678
13679 * doc/conf/themes.xml: Added a style for 'floodmap.kms' facets.
13680
13681 * doc/conf/artifacts/winfo.xml: Defined 'floodmap.kms' as valid floodmap
13682 facet.
13683
13684 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13685 a 'floodmap.kms' facet.
13686
13687 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method to
13688 determine the srid of a river based on its name.
13689
13690 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: New. This
13691 Artifact should act as base Artifact for WMS layers that represent data
13692 from database datastore.
13693
13694 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: New. This
13695 Artifact is used to generate facets for kilometer WMS layers.
13696
13697 * src/main/resources/messages.properties,
13698 src/main/resources/messages_de_DE.properties,
13699 src/main/resources/messages_en.properties,
13700 src/main/resources/messages_de.properties: Added default descriptions
13701 for 'floodmap.kms' facets.
13702
13703 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13704
13705 Fix incompilability.
13706
13707 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
13708 Adjust to changed CrossSectionFacet.
13709
13710 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13711
13712 Minor preparations to handle multiple cross sections in one
13713 diagram/artifact, faking certain aspects (e.g. ability to display
13714 multiple cross sections, but let these fetch the exactly same data
13715 for now).
13716
13717 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13718 Parameterize but fake access to cross-section (always take first
13719 one).
13720 (getCrossSectionName,getCrossSectionNames): Renamed, access names
13721 of all cross-sections, so that at least facets with different names
13722 are created (they will still deliver the same data).
13723
13724 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
13725 Allow indexing.
13726
13727 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
13728 Index created cross-sections.
13729
13730 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13731
13732 Show multiple water lines and facets in cross-section diagram if
13733 multiple waterlevel values had been entered.
13734
13735 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
13736 (appendBackgroundActivity): Made static.
13737 (getWaterLines): Add 'idx' argument to specify index of queried
13738 waterlevel.
13739
13740 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
13741 Add index.
13742
13743 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
13744 Add one Facet for each of the computed waterlevels.
13745
13746 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13747
13748 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
13749 Added code to calculate intersection points.
13750
13751 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
13752 Added polygons for trivial cases. WIP
13753
13754 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13755
13756 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
13757 Made it compilable again.
13758
13759 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13760
13761 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
13762 Made X() and Y() access macros public.
13763
13764 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
13765 More code. WIP.
13766
13767 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13768
13769 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
13770 Handle start points when building polygons. Work in progress.
13771
13772 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13773
13774 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
13775 New. Vector operations on Point2D.
13776
13777 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
13778 Moved vector operations to VectorUtils.
13779
13780 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13781
13782 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
13783 Do not call size() in for loop again and again.
13784
13785 2011-10-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13786
13787 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
13788 Interim check in. Work in progress.
13789
13790 2011-10-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13791
13792 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: New.
13793 Polygon class to help creating "Raum/Flaeche" renderers with gaps in
13794 their definitions. WORK IN PROGRESS!
13795
13796 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
13797
13798 * doc/conf/themes.xml: Added a default theme for the riveraxis used in the
13799 floodmap.
13800
13801 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
13802 New. This class is used by ThemeUtil to create a style which is
13803 compatible for Mapserver-
13804
13805 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a method to
13806 retrieve a Mapserver compatible style (as string) based on a given
13807 Document (that comes from CollectionItem's attribute).
13808
13809 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java:
13810 Implemented the setStyle() and getStyle() methods.
13811
13812 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a
13813 new parameter 'style' to createDatabaseLayer(). This parameter is set on
13814 LayerInfo.
13815
13816 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create
13817 Mapserver compatible styles and call createDatabaseLayer() with this
13818 style.
13819
13820 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
13821
13822 * doc/conf/artifacts/winfo.xml: Defined "floodmap.riveraxis" and
13823 "floodmap.wmsbackground" as compatible layers for the floodmap output.
13824
13825 * doc/conf/mapserver/db_layer.vm: New. This layer template is used for
13826 Mapserver layers with database datastore.
13827
13828 * doc/conf/mapserver/dbconnection.include: New. The database configuration
13829 used in the db_layer template.
13830
13831 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
13832 getUserWMSUrl() that returns the URL to the user specific WMS server.
13833 This method requires a UUID of an Artifact to identify the owner of the
13834 Artifact.
13835
13836 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Use
13837 FLYSUtils.getUserWMSUrl() to create the URL to the user WMS for
13838 WMSLayerFacets creation.
13839
13840 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
13841 New. Subclasses WMSLayerFacet to save data and filter parameters used
13842 for database storage in Mapfiles.
13843
13844 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java: New.
13845 Subclasses LayerInfo to save database relevant parameters.
13846
13847 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
13848 Creates new WMSDBLayerFacets, so that the riveraxis layer data is
13849 fetched from database.
13850
13851 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a
13852 public method that allows creating layers (type LINE) based on
13853 WMSDBLayerFacets.
13854
13855 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Enabled
13856 support for Facets other than "floodmap.wsplgen" and "floodmap.barriers".
13857 Those other Facets are supposed to be WMSDBLayerFacets.
13858
13859 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13860
13861 Refactored, added StyledSeriesBuilder to unify adding points to
13862 XYSeries.
13863
13864 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
13865 New class to help with adding points to XYSeries.
13866
13867 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
13868 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
13869 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13870 Use StyledSeriesBuilder to add points to series.
13871
13872 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13873
13874 Added DC-conf, such that static data can be loaded from w-difference
13875 diagrams datacage.
13876
13877 * doc/conf/meta-data.xml: Minor "refactoring" (definition of two
13878 macros, allow certain static data to be loaded via datacage to
13879 w-difference diagrams, too.
13880
13881 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13882
13883 Load and display annotations in w-differences, minor polishing.
13884
13885 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
13886 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13887 Use FacetType 'instead' of string. Allow Annotations in
13888 WDifferences- diagram.
13889
13890 * doc/conf/meta-data.xml: Recommend annotations in w-differences case.
13891
13892 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13893
13894 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
13895 Survive case where a given output doesnt exist in compatibility
13896 matrix.
13897
13898 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13899
13900 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
13901 Added simpler constructor.
13902
13903 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
13904 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13905 Adjusted construction of StaticStates.
13906
13907 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13908
13909 * doc/conf/artifacts/winfo.xml: Allow Annotations in longitudinal and
13910 w-differences diagrams.
13911
13912 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13913
13914 Use artifacts configuration (e.g. winfo.xml) to define which facets
13915 can be used in which output. Hide no-matches.
13916
13917 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
13918 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13919 Added use of "compatibility matrix". Only include facets in in
13920 collections description document that are marked compatible in the
13921 masterartifacts configuration (e.g. winfo.xml).
13922
13923 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13924
13925 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
13926 (mergeAttributes, getMasterArtifact): Extraced, updated caller.
13927 Cosmetics to reduce indentation one step.
13928
13929 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13930
13931 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java
13932 (getStateHistoryIds): New, return list of current and all previous
13933 state ids.
13934
13935 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
13936
13937 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13938 Trigger the re-creation of FLYS mapfile if endOfLife() of this state is
13939 called.
13940
13941 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
13942
13943 * doc/conf/mapserver/mapfile.vm: The "layers" injected by VelocityEngine is
13944 now used to include layers. A single string in this list represents the
13945 path to a file which contains a LAYER section for Mapserver' Mapfile.
13946
13947 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Removed the
13948 update() call of MapfileGenerator. Mapfiles are generated by MapGenerator
13949 only which requires a FLYSArtifactCollection.doOut()!
13950
13951 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Call update()
13952 of MapfileGenerator to trigger the re-creation of mapfile(s).
13953
13954 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Collect all
13955 LAYER snippets from filesystem and inject the filepath for each snippet
13956 into the Mapfile template.
13957
13958 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13959
13960 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
13961 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java,
13962 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13963 Cosmetics, doc.
13964
13965 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13966
13967 Let OutputParser and AttributeParser collect all facets on the way.
13968
13969 * src/main/java/de/intevation/flys/collections/OutputParser.java,
13970 src/main/java/de/intevation/flys/collections/AttributeParser.java:
13971 Collect all facets while iterating over Outputs and Attributes,
13972 documentation added.
13973
13974 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13975
13976 Extracted getFlysContext from FLYSArtifacts into FLYSUtils.
13977
13978 * src/main/java/de/intevation/flys/utils/FLYSUtils.java
13979 (getFlysContext): Added, extracted from FLYSArtifact.
13980
13981 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13982 (getFlysContext): Moved to FLYSUtils, updated callers.
13983
13984 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
13985 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13986 Update callers to getFlysContext.
13987
13988 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
13989
13990 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Bugfix:
13991 Catch IOException - flys-artifacts compiles again.
13992
13993 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
13994
13995 * doc/conf/artifacts/winfo.xml: Defined "floodmap.barriers" as valid facet
13996 for floodmaps.
13997
13998 * doc/conf/mapserver/shapefile_layer.vm: New. Currently a copy of
13999 layer.vm. This template will evolve to a special mapserver layer
14000 template with a shapefile data source.
14001
14002 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Fixed broken
14003 facet name of barriers.
14004
14005 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added
14006 public methods for creating wsplgen and barriers layer files for
14007 mapserver.
14008
14009 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Use
14010 MapfileGenerator to create new layer files for wsplgen and barriers.
14011
14012 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
14013
14014 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new
14015 method gerRiverBoundary() which returns an Envelope object (which
14016 represents the bounding box of a Geometry) of a riveraxis specified by its
14017 rivername.
14018
14019 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: Use
14020 Geometry.getRiverBoundary() to determine the max extent of a river.
14021
14022 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
14023 src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Use
14024 JTS Envelope to save the bounding boxes of WMS layers.
14025
14026 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
14027 Adapted the code to apply the changes in GeometryUtils (use Envelope to
14028 determine the max extent of the river axis).
14029
14030 * src/main/java/de/intevation/flys/exports/MapGenerator.java: New (work in
14031 progress). This Generator will currently return a map configuration in XML
14032 which consists of parameters required by OpenLayers to create a map.
14033
14034 * doc/conf/conf.xml: Registered the new MapGenerator.
14035
14036 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14037
14038 * doc/conf/meta-data.xml: Do not recommend historical data to load
14039 when having computational discharge curves.
14040
14041 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14042
14043 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14044 Reduce noise, given "error" message was more of "debug" nature.
14045
14046 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14047
14048 Restore mapping of state id to facets (essentially revert, revision
14049 3083 and 3088).
14050
14051 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14052 (getInitialFacetActivity): Be more explicit on which facets to
14053 introduce inactivated.
14054
14055 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14056 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14057 Minor refactoring, declare a string final static.
14058
14059 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
14060 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java,
14061 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14062 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
14063 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
14064 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
14065 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
14066 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
14067 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14068 Restore association from state id to facets.
14069
14070 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14071
14072 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
14073 src/main/java/de/intevation/flys/collections/OutputParser.java:
14074 Cosmetics, documentation.
14075
14076 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14077
14078 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14079 Prepare rendering of "other/static wkms" (functional) and
14080 w-differences (not yet fully functional).
14081
14082 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14083
14084 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
14085 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
14086 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
14087 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14088 Cosmetics.
14089
14090 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14091
14092 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
14093 Do not store facets in a map from stateId to list of facets, but in
14094 a pure list instead.
14095
14096 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14097
14098 * doc/conf/artifacts/winfo.xml: Adjusted to newer semantics,
14099 minor cleanups.
14100
14101 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14102
14103 Resolve association of facets to states in artifacts. This eases
14104 merging of outputs and facets and inhibition of unwanted outputs
14105 substiantially (at the price of slightly more expensive merging).
14106 Also, the semantics of artifacts configuration files (e.g. winfo.xml)
14107 is changed (facet elements within an output elements are used for
14108 merging).
14109
14110 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
14111 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java,
14112 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14113 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
14114 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
14115 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
14116 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
14117 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14118 Do not store facets in a map from stateId to list of facets, but in
14119 a pure list instead.
14120
14121 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14122
14123 * doc/conf/meta-data.xml: Added dc configuration for some data
14124 that can be loaded from longitudinal section diagrams.
14125
14126 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14127
14128 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14129 Cosmetics, docs.
14130
14131 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14132
14133 Let Qs in Longitudinal Diagram be inactive, initally.
14134
14135 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14136 (getInitialFacetActivity): Do not let Facets ending with a 'q'
14137 enter in active state.
14138
14139 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14140
14141 * doc/conf/meta-data.xml: Fix broken datacage config.
14142
14143 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14144
14145 * doc/conf/meta-data.xml: Configured to include correct id to
14146 clone artifact that produces w-diff.
14147
14148 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14149
14150 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14151 Revert correct behaviour of Annotations (the small axis tick shall
14152 always be drawn). Minor refactoring.
14153
14154 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14155
14156 * doc/conf/meta-data.xml: Added configuration to include differences
14157 in datacage when longitudinal sections are shown (yet not
14158 functional).
14159
14160 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14161
14162 * doc/conf/meta-data.xml: Cosmetics.
14163
14164 2011-10-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14165
14166 * doc/conf/themes.xml: Added theme for w_differences facets.
14167
14168 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java
14169 (createSecondAxisRange): Survive parameter-nullness for now.
14170 Added documentation.
14171
14172 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14173
14174 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
14175 New. Caching wrapper around an XML document theme. It uses ThemeUtil
14176 to access the values and stores them in instance variable.
14177 Background: ThemeUtil use XPath a lot which is expensive.
14178
14179 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java,
14180 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14181 Use ThemeAccess to style the annotations.
14182
14183 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
14184 Removed some XPath strings. They are in ThemeUtil.
14185
14186 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
14187
14188 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
14189 Added methods to parse further attributes.
14190
14191 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
14192 Apply the theme attributes and use ThemeUtils to get the attribute values.
14193
14194 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14195 Removed the spamy debug output.
14196
14197 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14198
14199 To obtain the size of a diagram it is rendered twice. The
14200 second time the generated image is omitted so the concrete
14201 rendered image is not needed. To save CPU cycles in this pass
14202 the image is rendered to to /dev/null Graphics2D object.
14203
14204 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
14205 Added boolean system property "info.rendering.nop.graphics" (default: false).
14206 With this property set the info rendering is done via a new
14207 NOPGraphics2D opbject which does not render the image.
14208
14209 * src/main/java/de/intevation/flys/java2d/NOPGraphics2D.java:
14210 New. Implements java.awt.Graphics2D trivial empty methods.
14211 This prevents rendering.
14212
14213 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14214 Commented out spamy debug output
14215
14216 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
14217
14218 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14219 Draw the text background and use orientation attribute.
14220
14221 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
14222
14223 * doc/conf/themes.xml:
14224 Renamed 'textbackground' to 'backgroundcolor' to have 'color' in the
14225 attribute name.
14226
14227 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
14228 Process text attributes correctly.
14229
14230 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14231
14232 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
14233 New. Service to lookup the Nth nearest neighbors for a set of given
14234 cross section ids and kms.
14235
14236 * doc/conf/conf.xml: Registered service.
14237
14238 * doc/conf/cache.xml: Cache config.
14239
14240 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14241 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
14242 Removed superfluous imports.
14243
14244 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
14245
14246 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
14247 Added methods to extract further attributes from theme.
14248
14249 2011-10-20 Ingo Weinzierl <ingo@intevation.de>
14250
14251 * doc/conf/themes.xml: Added main value themes for longitudinal section
14252 charts.
14253
14254 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: New. This
14255 class stores the name of a facet, the related theme and a pattern
14256 string.
14257
14258 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
14259 Read the pattern string and store a list of ThemeMapping objects in the
14260 FLYSContext.
14261
14262 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Modified
14263 getTheme() which now takes the FLYSContext, the name of a facet and an
14264 optional pattern string. Now, we can have specialized Themes for each
14265 chart type. E.g. the facet "longitudinal_section.w" maps the default
14266 Theme for W lines in longitudinal section charts. If the optional
14267 pattern string matches the pattern ".*(HQ1000)(\D.*)*", the ThemeFactory
14268 will return the Theme "LongitudinalSectionW_HQ1000".
14269
14270 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14271 Use the description of a facet as pattern string to get the relevant
14272 Theme from ThemeFactory.
14273
14274 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
14275
14276 * doc/conf/themes.xml:
14277 Added new theme attributes.
14278
14279 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14280
14281 Fix WDifference plots where masterartifact has no range set.
14282
14283 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14284 (addSubtitles): Overridden, the master artifact has no
14285 range.
14286
14287 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14288
14289 Fix masterartifact in collections in cases where the original
14290 masterartifacts facets do not come first in certain list. Query
14291 'backend'/db instead.
14292
14293 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14294 Set 'real' master artifact, defined to be oldest belonging to this
14295 collection.
14296
14297 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
14298
14299 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
14300 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java,
14301 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
14302 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
14303 Modified the method signature of createStaticData() which now also
14304 requires a FLYSArtifact.
14305
14306 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
14307 Override createStaticData() to create titles for Qs manually - we want
14308 to display the named main values if existing for the selected Qs.
14309
14310 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de>
14311
14312 * doc/conf/themes.xml:
14313 ComputedDischargeCurveW and ComputedDischargeCurveQ inherit attributes from
14314 theme 'Text'.
14315
14316 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14317
14318 Fix for flys/issue316
14319
14320 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added
14321 constructor to not sort the data.
14322
14323 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
14324 Use the not sorting constructor of StyledXYSeries.
14325
14326 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
14327
14328 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
14329 moved the code to create WSP W and Q facet names to FLYSUtils.
14330
14331 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New functions for
14332 creating WSP W and Q facet names and for querying a named main value
14333 based on a given gauge and value. The names of W and Q facets will now
14334 depend on the selected Q and Q mode: if the mode is "q at gauge" and a
14335 named value is found for the given value, the facet's name contains the
14336 named value instead of the value itself.
14337
14338 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14339
14340 Fix datacage configuration to let client load ZUS and flood
14341 protections.
14342
14343 * doc/conf/meta-data.xml: Use 'ids' instead of 'id' to help client.
14344
14345 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de>
14346
14347 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
14348 Added methods to parse text attributes from theme document.
14349
14350 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
14351 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14352 Apply a theme to axis annotations.
14353
14354 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14355
14356 Create (data) Label from data string (client will be adjusted to send
14357 the name).
14358
14359 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
14360 Create label from input data string, documentation added, junk
14361 removed.
14362
14363 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14364
14365 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java(zoom):
14366 Do not crash if no axis is given.
14367
14368 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
14369
14370 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added
14371 getFormat() which extracts the format string from XML request document.
14372
14373 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: Adapted
14374 method signatures of exportImage(), exportSVG() and exportPDF(). All
14375 methods now take a CallContext object which stores extra chart export
14376 parameters.
14377
14378 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14379 Enabled PDF and SVG chart exports based on the "format" string given in
14380 the XML request document.
14381
14382 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14383
14384 Simplify rendereing W(Q)Kms in WDifferencesCurveGenerator.
14385
14386 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14387 (doWOut, doWOut): Simplified.
14388
14389 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14390
14391 Render zus and flood-protections in WDifferences-diagrams.
14392
14393 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14394 Added basic respect of "other.wkms"- facets.
14395
14396
14397 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14398
14399 Adjusted Datacage-Configuration to fetch "extra longitudinal...."
14400 (.zus) - waterlevels in certain case (in system-part).
14401
14402 * doc/conf/meta-data.xml: Adjusted to present extra-kms with
14403 staticwkms factory in certain case.
14404
14405 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de>
14406
14407 * doc/conf/themes.xml:
14408 Added new virtual theme for text with the attributes 'font', 'textcolor'
14409 and 'textsize'.
14410
14411 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14412
14413 Give StaticWKmsArtifacts proper names, and pre-deselect them.
14414
14415 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
14416 (getInitialFacetActivity): Overridden to let facets enter plot
14417 inactively.
14418 (setup): Give Facets the name of the Wst.
14419
14420 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
14421 Refactored to expose getWKmsName separately.
14422
14423 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14424
14425 Adjusted Datacage-Configuration to fetch flood-protections when
14426 waterlevels are requested (in system-part).
14427
14428 * doc/conf/meta-data.xml: Adjusted to present flood-protections with
14429 staticwkms factory in certain case.
14430
14431 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14432
14433 Register staticwkms factory.
14434
14435 * doc/conf/conf.xml: Register staticwkms factory to spawn StaticWKms-
14436 Artifacts.
14437
14438 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14439
14440 Fetch name of static WKms.
14441
14442 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
14443 Removed dependence on "kind", but fetch name for created WKms.
14444
14445 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
14446 Remove dependence on Kind.
14447
14448 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14449
14450 Store parameterization in data, not in Artifact.
14451
14452 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
14453 Resolve col_pos and wst_id field, use data instead.
14454
14455 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14456
14457 Add convenience-method to add defaultdata (string).
14458
14459 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14460 (addStringData): Add Default (String) Data .
14461
14462 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14463
14464 Add a new Artifact and Facet (StaticWKmsArtifact, WKmsFacet) to
14465 access WKms obtainable with the WKmsFactory.
14466
14467 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
14468 New, artifact with single state to get WKms from WKmsFactory.
14469
14470 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
14471 New Facet to display W over km.
14472
14473 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
14474 Added new type name.
14475
14476 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14477
14478 Add WKMsFactory to access 'static' wst-data.
14479
14480 * src/main/java/de/intevation/flys/artifacts/model/StaticWKmsCacheKey.java:
14481 Cache Key for the static WKms data.
14482
14483 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
14484 New, creates WKms from wst-id and column. Does not yet fetch the
14485 name.
14486
14487 * doc/conf/cache.xml: Added cache configuration for static wkms data.
14488
14489 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14490
14491 Cosmetics, docs.
14492
14493 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
14494 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
14495 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
14496 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
14497 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
14498 Cosmetics, docs.
14499
14500 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14501
14502 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
14503 Added constructor that takes name, docs.
14504
14505 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14506
14507 Fix issue that Annotations do not come with theme/style.
14508
14509 * doc/conf/themes.xml: Added "Annotations" default style.
14510
14511 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14512 Set style of annotations, minor cosmetics.
14513
14514 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14515
14516 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14517 Made inner class ThemeList static.
14518 s/new Integer(small)/Integer.valueOf(small)/
14519
14520 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
14521
14522 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14523 The inner class ThemeList makes now use of ManagedDomFacet to read the
14524 attributes of Facets saved in the Collection's attribute.
14525
14526 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14527
14528 flys/issue314: Variables in datacage are now case insensitive.
14529 (H2 returns meta data variables uppercase)
14530
14531 * doc/conf/meta-data.xml:
14532 Made a statement more precise. Added some debug output.
14533
14534 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
14535 Use uppercase variable names.
14536
14537 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java,
14538 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
14539 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java,
14540 src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java:
14541 Variables are now treated as uppercase.
14542
14543 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
14544 Input variables are now treated uppercase.
14545
14546 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
14547
14548 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
14549 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
14550 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java:
14551 Prepared Facets to support a "visible" attribute.
14552
14553 * src/main/java/de/intevation/flys/collections/OutputParser.java: Adapted
14554 the constructor call of ManagedFacetAdapter.
14555
14556 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14557 The inner class ThemeList now supports the "visible" attribute of
14558 ManagedFacets.
14559
14560 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de>
14561
14562 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
14563 Added method to apply line type.
14564
14565 * doc/conf/themes.xml:
14566 Changed initial default value for line type.
14567
14568 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
14569
14570 flys/issue226 (W-INFO: Dauerlinienberechung /Abbbildung x-Achse)
14571
14572 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
14573 Set the upper bound of these charts to 364.
14574
14575 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
14576
14577 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
14578 Added a function that returns a Gauge based on its name.
14579
14580 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
14581 Create proper descriptions for facets.
14582
14583 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Added a
14584 setter for labels.
14585
14586 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
14587 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
14588 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
14589 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14590 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
14591 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14592 Use the string returned by Facet.getDescription() as series names. The
14593 ThemePanel and the Legend will always display the same titles for curves
14594 now.
14595
14596
14597 2011-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14598
14599 Fix flys/issue363 (W-INFO/ Abflusskurve, Extremwert-Rendering).
14600
14601 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
14602 (parseLineWidth): New. Get line width from Document.
14603
14604 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14605 When adding annotations, parse line width from theme, set it.
14606
14607 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14608 When painting, set Paint and stroke early enough.
14609
14610 2011-10-14 Ingo Weinzierl <ingo@intevation.de>
14611
14612 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Put the
14613 config directory into the Velocity context. It is available as
14614 '$CONFIGDIR' in templates.
14615
14616 * doc/conf/mapserver/mapfile.vm: Set the debug file to
14617 "$CONFIGDIR/flys-user-wms.log" and added a LEGEND section.
14618
14619 * doc/conf/mapserver/wsplgen_class.vm: Adapted the class names. Those
14620 names are displayed in the image served by GetLegendGraphic.
14621
14622 2011-10-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14623
14624 Add possibility of programmatic configuration of initial "activity"
14625 state (active or inactive) of (Managed)Facets by introducing
14626 FLYSArtifact.getInitialFacetActivity. This method shall be overriden
14627 by subclasses where Facets are wanted to come to live inactive.
14628 Artifacts will be asked only once how the MangedFacet should come to live,
14629 namely when AttributeWriter finds a genuinely new Facet.
14630
14631 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
14632 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java
14633 (getInitialFacetActivity):
14634 New function to let Artifact decide whether a ManagedFacet shall
14635 initially be set to active or inactive.
14636
14637 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
14638 Accept database in constructor. For genuinely new Facets, spawn its
14639 mother artifact and ask whether the (Managed)Facet shall be active
14640 or inactive (initially).
14641
14642 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
14643 (buildOutAttributes): Pass database to AttributeWrite (which needs it
14644 to spawn artifacts), rename items parameter to reflect content.
14645
14646 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14647
14648 Cosmetics, removed obsolete imports.
14649
14650 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
14651 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14652 Removed obsolete imports.
14653
14654 2011-10-12 Ingo Weinzierl <ingo@intevation.de>
14655
14656 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14657 Added a further attribute "mark.selected" to the barriers feature type.
14658 This attribute is used in the client, where we are not able to remove it
14659 properly. Reading the GeoJSON string without this attribute is no longer
14660 possible... strange!
14661
14662 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14663
14664 Added i18n for label of wdiff "pair select" states data.
14665
14666 * src/main/resources/messages.properties,
14667 src/main/resources/messages_de_DE.properties,
14668 src/main/resources/messages_en.properties,
14669 src/main/resources/messages_de.properties: Added i18n for
14670 state.winfo.waterlevel_pair_select .
14671
14672 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14673
14674 Addressed "Wrong labels" [6] part of flys/issue371 (W-INFO / Differenzen:
14675 Anmerkungen zur Umsetzung) .
14676
14677 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
14678 Adjusted variable names to avoid conflict in subclasses, adjusted
14679 default value for i18n string.
14680
14681 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14682
14683 Cosmetics, docs.
14684
14685 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14686 Cosmetics: Space after full stop in commments, slightly improved
14687 documentation, added one debug message.
14688
14689 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14690
14691 Fix remainder of flys/issue304 (Erweiterte Funktionen W-Differenzen) .
14692
14693 * doc/conf/artifacts/winfo.xml: Removed obsolete data of
14694 WDifferencesState.
14695
14696 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
14697 Re-enable facet-filtering, but adjust filters before that happens
14698 (former longitudinal_section output is now w_differences output).
14699
14700 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14701
14702 Added wdiff-chart translations.
14703
14704 * src/main/resources/messages.properties,
14705 src/main/resources/messages_de_DE.properties,
14706 src/main/resources/messages_en.properties,
14707 src/main/resources/messages_de.properties: Added i18n for wdiff.
14708
14709 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14710
14711 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14712 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14713 Expose translateable Strings as constants.
14714
14715 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14716
14717 Fix most labels in w-differences charts.
14718
14719 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14720 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14721 Remove most static final i18n-variables in favor of direct String
14722 usage or usage of methods. By this, allow easier adoption of labels
14723 in subclasses.
14724
14725 2011-10-11 Ingo Weinzierl <ingo@intevation.de>
14726
14727 flys/issue383 (Zweite Y-Achse wird beim Zoomen/Verschieben nicht angepasst.)
14728
14729 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14730 Call adjustAxes() before applying zoom settings with autoZoom(). We need
14731 to add new y-axes first before we adjust their ranges.
14732
14733 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14734
14735 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14736 s/new Integer(small)/Integer.valueOf(small)/
14737
14738 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14739
14740 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
14741 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14742 Do not fire change events for each and every data point added.
14743
14744 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14745
14746 Fix WDifferences with more than one Pair (crashed due to incorrect index for
14747 facets.)
14748
14749 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
14750 Fix wrong index for difference facets (allows for more than one
14751 difference facet per artifact without crashes).
14752
14753 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14754
14755 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14756 Use slightly modified doWOut-implementation from
14757 LongitudinalSectionGenerator (here need to add Ws to different axis).
14758
14759 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14760
14761 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
14762 Fix import/reference.
14763
14764 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14765
14766 Let WaterlevelPairSelectState include diffids-data (if any) to enable
14767 future work on repopulation of Grid in GUI when jumping back
14768 (reparameterization).
14769
14770 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
14771 (createItems): Override to include old data.
14772
14773 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
14774
14775 flys/issue150 (Diagramm: Anzeige von W bergauf)
14776 flys/issue345 (W-INFO / Wasserspiegellagenberechnung, Diagrammausgabe)
14777
14778 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14779 Corrected the determination to invert the x axis, so that waterlines
14780 will start with their highest value at the left and end with their
14781 lowest values at the right.
14782
14783 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14784
14785 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
14786 Cosmetics, added an (@Override) annotation.
14787
14788 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java,
14789 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
14790 Cosmetics, added documentation.
14791
14792 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
14793 Cosmetics, whitespace after full stops in comments, added
14794 (@Override) annotation.
14795
14796 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
14797
14798 flys/issue220 (Diagramm: Achsenbeschriftungen an verschiedenen Achsen müssen gleich aussehen)
14799
14800 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
14801 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14802 Adjusted the label font of the 2nd y-axis - now, both axes labels look
14803 equal.
14804
14805 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
14806
14807 flys/issue189 (WINFO/Dauerlinie: Sortierung der Berechnungsausgabe nach Dauerzahlen aufsteigend)
14808
14809 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: Added a
14810 method that determines if the items (days) in this object are increasing
14811 or not.
14812
14813 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
14814 Changed the order of the CSV export - the highest day is at the top of
14815 the export; the lowest day is at the bottom.
14816
14817 2011-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14818
14819 Worked on flys/issue150 (Diagramm: Anzeige von W bergauf).
14820 Still does not work in all cases.
14821
14822 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java (generateChart()):
14823 Reordered calls to ensure that the inversion of the x axis is
14824 not eliminated by other chart generation steps as a side effect.
14825
14826 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14827 Assuming that JFreeChart is inverting axis automatically if the
14828 KMs are reversed ordered only do invert only in some situations.
14829
14830 Do not invert axis for Q (@Ingo: This is wrong! We must do this
14831 if we are only displaying the Qs and the Ws are deactived).
14832
14833 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
14834
14835 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14836 Take care on empty ranges while preparing ranges for single points.
14837
14838 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
14839
14840 flys/issue114 (W-INFO: Wasserspiegellagenberechnung / Ort (Spezialfall: Generierung eines Diagramms bei punkthafter Berechnung))
14841
14842 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Expand
14843 ranges for x and y axes if there is just a single point in a series -
14844 JFreeChart requires a range where lower <> upper.
14845
14846 2011-10-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14847
14848 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
14849 src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java,
14850 src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
14851 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14852 Add whitespace after full stop in comments, minor doc improvements.
14853
14854 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
14855
14856 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
14857
14858 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14859 Adapted the process of collecting outs for Artifacts/Facets. We will now
14860 call OutGenerator.doOut() for each Artifact and Facet - never mind if
14861 the facet is activated (visible) or not. The OutGenerator should decide
14862 on its own whtat to do with facets which are "marked" as _not_ visible.
14863
14864 * src/main/java/de/intevation/flys/exports/OutGenerator.java,
14865 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
14866 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
14867 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
14868 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
14869 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
14870 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14871 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
14872 src/main/java/de/intevation/flys/exports/ATExporter.java,
14873 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
14874 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
14875 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
14876 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
14877 Adapted the signature of OutGenerator.doOut(). There will be a new
14878 boolean parameter "visible" that determines if the facet specified in
14879 this method is visible for this output or not.
14880
14881 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Now,
14882 that we walk over every Artifact/Facet, we are able to collect min/max
14883 data for all axes. We store these information and use them to set the
14884 ranges of x and y axes. The result of this: a chart can have proper axes
14885 set without any data in it.
14886
14887 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Use
14888 min/max ranges stored while calling doOut() for each Artifact/Facet
14889 instead of fetching those information from chart's Datasets (which could
14890 be null).
14891
14892 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
14893
14894 * src/main/java/de/intevation/flys/utils/Formatter.java: Changed the max
14895 number of digits for AT exports from 0 to 2.
14896
14897 2011-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14898
14899 * src/main/java/de/intevation/flys/exports/ATWriter.java: Get rid
14900 of buggy first line code.
14901
14902 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14903
14904 fixed flys/issue201
14905
14906 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14907 Replace >= with > in km index lookup because last km was not found.
14908
14909 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14910
14911 fixed flys/issue177
14912
14913 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
14914 Revert rev2245. Code works fine now! :-)
14915
14916 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
14917
14918 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Stores a
14919 list of XYTextAnnotations instead of FLYS specific Annotations. This
14920 makes this class suitable for other annotation types as well.
14921
14922 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
14923 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
14924 Both facets' getData() will now return an instance of FLYSAnnotation.
14925
14926 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
14927 Create XYTextAnnotations used to instantiate an object of
14928 FLYSAnnotation.
14929
14930 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
14931 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14932 Removed the code to add annotations to the plot. This task is general
14933 enough to move this code to parent class.
14934
14935 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14936 Instances of this class are now able to store - besides first and second
14937 axes datasets - a list of annotations. This annotations are added to the
14938 plot after the datasets have been added. To support LegendItems for
14939 those annotions, it was necessary to create a the LegendItemCollection
14940 by ourself. This work is done while applying the themes for each series
14941 in the chart.
14942
14943 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14944
14945 Removed code duplication of guessWaterIncreasing()
14946
14947 * src/main/java/de/intevation/flys/artifacts/model/WKms.java(allKms, allWs):
14948 Added methods to fetch all kms and all ws.
14949
14950 * src/main/java/de/intevation/flys/utils/DataUtil.java: Generalized to
14951 get WKms as arguments.
14952
14953 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
14954 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
14955 src/main/java/de/intevation/flys/artifacts/model/WQ.java: Implements
14956 the extended WKms interface.
14957
14958 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14959 Uses the generalized DataUtil.guessWaterIncreasing().
14960
14961 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
14962
14963 flys/issue347 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm)
14964 flys/issue303 (Keine Streckenfavoriten, wenn nur Q im Längsschnittdiagram ausgewählt)
14965 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
14966
14967 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: New. A
14968 wrapper for Annotations which allows us to provide a description for a
14969 set of annotations.
14970
14971 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
14972 The getData() will now return an instance of FLYSAnnotation that wraps
14973 the Annotations returned by the AnnotationArtifact. The lebel of
14974 FLYSAnnotation is the description of this Facet.
14975
14976 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14977 Modified the way to add Annotations. We will no longer create an empty
14978 series to support a LegendItem for a set of Annotations, but we will add
14979 a LegendItem manually to the LegendItemCollection of the plot. In
14980 addition, we are now able to display annotations if one of the two
14981 y-axes are missing. If there are no y-axes existing, we are not able to
14982 display annotations yet.
14983
14984 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14985
14986 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
14987 Lifted the wrong point. Now all backjump corrections look fine. :-)
14988
14989 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
14990
14991 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
14992 Fixed bugs and make use of a cache for annotations now.
14993
14994 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14995
14996 Worked on flys/issue31
14997
14998 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
14999 Simplified the code a lot. Needs testing. Maybe flys/issue31 is gone
15000
15001 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
15002
15003 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15004 Fetch the WstUnit value from river - the Wst itself no longer supports a
15005 Unit iself.
15006
15007 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15008
15009 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java,
15010 src/main/java/de/intevation/flys/utils/DoubleUtil.java: Moved some generic
15011 double array code to DoubleUtil.
15012
15013 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15014
15015 * src/main/java/de/intevation/flys/utils/DoubleUtil.java (interpolateSorted):
15016 Added code to linear interpolate double values in a sorted array.
15017 Keys and values are given as double arrays. Keys need to be sorted.
15018
15019 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15020
15021 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
15022 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
15023 Removed superfluous imports.
15024
15025 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
15026
15027 flys/issue330 (Dauerlinie kann nicht berechnet werden)
15028
15029 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
15030 Add a problem if no data was found for duration curves.
15031
15032 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
15033
15034 * src/main/java/de/intevation/flys/themes/Theme.java,
15035 src/main/java/de/intevation/flys/themes/DefaultTheme.java: Added
15036 getter/setter methods to provide a facet (string) and index (int). Both
15037 values are written as attribute to the Theme's XML representation.
15038
15039 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15040 Set the "facet" and "index" values of themes.
15041
15042 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
15043
15044 flys/issue346 (W-INFO / Anzeige der Höheninformation)
15045
15046 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15047 Modified x and y axis title. The x axis title is now "RIVERNAME-km"; the
15048 y axis title is now "W[WST_UNIT]" where WST_UNIT depends on the unit of
15049 the WST.
15050
15051 * src/main/resources/messages.properties,
15052 src/main/resources/messages_de_DE.properties,
15053 src/main/resources/messages_en.properties,
15054 src/main/resources/messages_de.properties: Modified i18n expressions for
15055 x and y axis of longitudinal section charts.
15056
15057 2011-09-30 Ingo Weinzierl <ingo@intevation.de>
15058
15059 flys/issue351 (W-INFO / Wasserspiegellagenberechnungen)
15060
15061 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: Modified the
15062 explode() function that returns a list of values specified by min, max
15063 and an interval. If the last value, determined by the interval, is
15064 bigger than the max value, it is not included in the result list.
15065
15066 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15067
15068 flys/issue334 (Querprofil-Diagramm: Ausgabe dieses Diagrammtyps
15069 möglich, obwohl WSP Berechnung keine Ergebnisse liefert)
15070
15071 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
15072 (compute): Add Facets regarding CrossSections only if data available.
15073
15074 2011-09-29 Ingo Weinzierl <ingo@intevation.de>
15075
15076 flys/issue176 (Diagramm: Benennung eines Abflusses bei gewählter Höhe am Pegel)
15077 flys/issue349 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm)
15078
15079 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
15080 Create titles for W and Q waterlevel facets with proper fractions.
15081
15082 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15083
15084 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
15085 (createStaticData, getLabels): Create proper labels for differences.
15086
15087 2011-09-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15088
15089 flys/issue244 (WINFO: Export von AT-Dateien im ersten Teil unterschiedlich)
15090 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5)
15091
15092 * src/main/java/de/intevation/flys/exports/ATWriter.java: Due to a rounding
15093 issue the w's of the first line underun the minimal w of the curve at times.
15094 An extra test was introduced to suppress the output of the q's of the wrong w's.
15095
15096 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15097
15098 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15099 Use StringUtil.wWrap , fix wrong loop, minor refac and cosmetics.
15100
15101 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15102
15103 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
15104 Extracted/use StringUtil.wWrap .
15105
15106 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
15107
15108 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
15109 Log the gauge which has been determined.
15110
15111 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
15112
15113 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5)
15114
15115 * src/main/java/de/intevation/flys/exports/ATExporter.java: Store the
15116 master Artifact which is set via setMasterArtifact(). This is required
15117 for meta information used while preparing the header row of AT exports.
15118
15119 * src/main/java/de/intevation/flys/exports/ATWriter.java: Print a header
15120 row into the AT export for being compatible with desktop FLYS.
15121
15122 * src/main/resources/messages.properties,
15123 src/main/resources/messages_de_DE.properties,
15124 src/main/resources/messages_en.properties,
15125 src/main/resources/messages_de.properties: Added header row for AT
15126 export files.
15127
15128 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
15129
15130 flys/issue328 (W-INFO / ÜSK: Auswahl der Wasserspiegellage / Auswahlunterstützung)
15131
15132 * doc/conf/meta-data.xml: Added an out 'waterlevels' that might be used to
15133 fetch user specific waterlevels (same as longitudinal sections, but
15134 without Q facet).
15135 In addition, the system specific datacage stuff is now fetched, when:
15136 a) no user-id is given
15137 b) a user-id is given and there is a parameter 'load-system'
15138
15139 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
15140 If the label of the WQKms object specified by the waterlevel selection
15141 begins with a "Q", the label is wrapped into a "W()", e.g. "W(Q=1200)".
15142
15143 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
15144
15145 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Made
15146 feed() able to remove existing data items from Artifact's data pool.
15147 Therefore, the value for the item which should be removed needs to an
15148 empty string.
15149
15150 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15151
15152 Extracted StringUtil.unbracket from WaterlevelSelectState.strip.
15153
15154 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
15155 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
15156 Extract and use StringUtil.unbracket, minor doc.
15157
15158 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15159
15160 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
15161 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
15162 Changed access of getCurrentState() from protected to public.
15163
15164 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: We
15165 use the configured Outputs instead of the actuel Outputs of an Artifact
15166 to make recommendations, now. This has the bad side effect of giving
15167 recommendations for Outputs that we might _NOT_ be able to produce. But
15168 otherwise, we would not be able to give recommendations for states with
15169 long calculation times that start background threads for calculation (as
15170 WSPLGEN caluclations does).
15171
15172 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15173
15174 Enable "auto-scaling" axis for waterlevels in WDifference-plots.
15175
15176 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15177 (createSecondaryAxis, zoomY): Refactored to allow modification in
15178 siblings.
15179
15180 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15181 (createSecondaryAxisRange): Override to achieve expected behavior.
15182 Also adjusted label.
15183
15184 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15185
15186 In W-Difference Calculation, respect indices of selected facets.
15187
15188 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15189 (computeAdvance): Respect index of selected facets.
15190
15191 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15192
15193 flys/issue317: (Querprofil-Diagramm: Referenzen auf CrossSectionApp entfernen)
15194
15195 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15196 Removed dependency to demo app.
15197
15198 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
15199 Refactored to use logic from the models.
15200
15201 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
15202 Moved some logic from the demo app to this model.
15203
15204 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15205
15206 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: New. Code
15207 from FloodMapState moved to its own class with the intent, to use it in
15208 classes different from FloodMapState.
15209
15210 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15211 Removed the inner class FacetCreator.
15212
15213 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
15214 an instance of FacetCreator.
15215 NOTE: Maybe we should move the WSPLGEN parameters into an own class
15216 which might be serializable.
15217
15218 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use the
15219 FacetCreator instance stored in the WSPLGENJob to create a new WSPLGEN
15220 facet if the calculation was successfully (without errors). Finally, the
15221 facets of FacetCreator are added to the Facet list of the FLYSArtifacts.
15222
15223 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15224
15225 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15226 Put Artifact in background mode first before starting WSPLGEN, otherwise
15227 a very fast errors (call CallContext.afterBackground() before Artifact is
15228 in Background mode) might lead to an inconsistent state.
15229
15230 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Repaired
15231 broken error num parsing.
15232
15233 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15234
15235 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Track
15236 critical errors as well (improved regular expression for errors).
15237
15238 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15239
15240 * ChangeLog: Fixed whitespace usage.
15241
15242 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15243
15244 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java,
15245 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java
15246 src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
15247 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15248 Removed superfluous imports.
15249
15250 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15251
15252 flys/issue68 (Diagramm: Werte an der Y-Achse benötigen i18n)
15253
15254 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
15255 method to retrieve the current/preferred locale specified by CallMeta.
15256
15257 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
15258 Introduced two methods localizeDomainAxis() and localizeRangeAxis().
15259 Both methods of this class override the NumberFormat used to format axes
15260 numbers. Those methods are called by localizeAxes() - which has private
15261 access - for each domain and range axis of the current XYPlot.
15262
15263 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15264
15265 * doc/conf/cache.xml: Number of cached annotations was much
15266 to low.
15267
15268 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15269
15270 Improved w-differences diagram generation where multiple differences
15271 can be shown.
15272
15273 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
15274 New facet type.
15275
15276 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15277 Employ new DifferenceCurveFacet, return CalculationResult that can
15278 store more than one WKms.
15279
15280 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15281
15282 flys/issue320 (ÃœSK:Mapserver hat Probleme beim Shapefilepath mit "../" im Pfad)
15283
15284 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Use
15285 File.getCanonicalPath() to substitute "../" in shapefile directories.
15286
15287 2011-09-26 Ingo Weinzierl <ingo@intevation.de>
15288
15289 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15290 The extent of the WSPLGEN result layer is now specified by the extent of
15291 the CrossSectionTracks that matches the start and end kilometer of the
15292 WSPLGEN calculation.
15293
15294 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New function
15295 that creates the OpenLayers bounding box based on two Geometries.
15296
15297 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15298
15299 Improved w-differences diagram generation with included "absolute"
15300 values.
15301
15302 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15303 Fixed one (of two) incorrect labels.
15304 (doWaterlevelOut): Survive non-found gauge, fetch kilometer and w
15305 instead of values for w and q.
15306
15307 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15308
15309 Add positional-conflict-awareness when merging Facets for a
15310 FLYSArtifactCollection. First come first serve.
15311
15312 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
15313 (writeFacets): First, sort incoming facets into 2 groups:
15314 "genuinely new" and "already there", then for each new check
15315 whether the position is already taken. If so, push "up" (position++)
15316 until no conflict exists anymore.
15317
15318 2011-09-26 Ingo Weinzierl <ingo@intevation.de>
15319
15320 flys/issue296 (Karte: Bezeichnungen verbessern)
15321
15322 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15323 I18N of the WSPLGEN and barriers facets (WMS layers).
15324
15325 * src/main/resources/messages.properties,
15326 src/main/resources/messages_de_DE.properties,
15327 src/main/resources/messages_en.properties,
15328 src/main/resources/messages_de.properties: Added strings for the wsplgen
15329 and barriers WMS layers.
15330
15331 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15332
15333 Fix (revert) access to position in ManagedDomFacet.
15334
15335 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
15336 (getPosition): Do not add prefix when querying position ("pos")
15337 attribute, add a logger for faster future debugging.
15338
15339 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15340
15341 Squash positional conflict-bug.
15342
15343 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
15344 (mergeFacets): Removed, replaced in parts by pickFacet.
15345 (pickFacet): New, return facet to be added to document.
15346 Documentation added.
15347
15348 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15349
15350 Squash a bug about wrongly named "art:pos" attribute in ManagedDomFacet (was
15351 "pos"). Added documentation from commit message.
15352
15353 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
15354 Added documentation (commit message with minor adjustments).
15355 (getPosition, setPosition): Include PREFIX in attribute name.
15356
15357 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15358
15359 Refactoring, doc.
15360
15361 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
15362 (mergeFacets): Removed, replaced in parts by pickFacet.
15363 (pickFacet): New, return facet to be added to document.
15364 Documentation added.
15365
15366 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15367
15368 Cosmetics, docs.
15369
15370 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
15371 Documentation added.
15372
15373 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
15374
15375 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15376 Subclasses the FLYSService now - this should improve the database
15377 connection handling.
15378
15379 2011-09-22 Bjoern Schilberg <bjoern.schilberg@intevation.de>
15380
15381 * doc/mapserver/mosel-mapfile.map:
15382 Full blown mosel wms mapfile.
15383
15384 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
15385
15386 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
15387 New. A subclass of DefaultService which is used in FLYS to init and
15388 shutdown database connections.
15389
15390 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
15391 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
15392 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
15393 Centralized the initialization and shutdown of database connections.
15394 These services now subclass FLYSService which handles the database stuff.
15395
15396 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: The
15397 current database connection is not closed here - this is done in a
15398 Service or in the CallContext.
15399
15400 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: It's
15401 not necessary to create new database connections here. We already have
15402 an existing connection which is initialized by CallContext.
15403
15404 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
15405
15406 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
15407 Override validate() of parent classes to suppress "step" validation
15408 which is not present in this state.
15409
15410 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: Added
15411 new method validateBounds() which really just validates a boundary
15412 without "step" parameter.
15413
15414 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15415
15416 Added WaterlevelArtifact to accompany WINFOArtifacts in WDifferencesPlots.
15417
15418 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
15419 New WaterlevelArtifact.
15420
15421 * doc/conf/conf.xml:
15422 Added configuration for WaterlevelArtifact configuration (path to state-xml)
15423 waterlevel-factory.
15424
15425 * doc/conf/artifacts/waterlevel.xml:
15426 New, trivial state description for Waterlevelartifact.
15427
15428 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
15429 New, only state for WaterlevelArtifact.
15430
15431 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15432
15433 Cosmetics, docs.
15434
15435 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
15436 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
15437 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15438 Cosmetics, documentation.
15439
15440 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15441
15442 Added WaterlevelOut-processing ability to WDifferencesCurveGenerator.
15443
15444 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15445 Process LONGITUDINAL_W facets.
15446
15447 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15448
15449 Improved WDifferenceState in preparation to be able to deal with multiple
15450 pairs for differences.
15451
15452 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15453 Prepare multiple-pairs-case.
15454
15455 2011-09-21 Ingo Weinzierl <ingo@intevation.de>
15456
15457 flys/issue315 (Überschwemmungsfläche: String bei Streckenauswahl)
15458
15459 * doc/conf/artifacts/winfo.xml: Added a new state for floodmap's range
15460 input. This state will accept a km range only, there is no step width.
15461
15462 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
15463 New. The state which is used to enter a km range with step width.
15464
15465 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15466
15467 Cosmetics, improved debug output, doc.
15468
15469 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15470 Improved debug output.
15471
15472 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
15473 Added documentation.
15474
15475 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java,
15476 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
15477 Removed commented code.
15478
15479 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
15480 Whitespace cosmetics.
15481
15482 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15483
15484 Avoid NullPointerException when drawing XYChart without data.
15485
15486 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
15487 Guard calls to dataset to avoid NullPointerException.
15488
15489 2011-09-21 Ingo Weinzierl <ingo@intevation.de>
15490
15491 flys/issue325 (FLYS Client: Auswahl des DGM zeigt numerischen Wert an)
15492
15493 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Write
15494 a better label for the selected DEM into the static DESCRIBE. Use the
15495 name of the DEM file as label instead of the database id.
15496
15497 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de>
15498
15499 * doc/mapserver/fontset.txt:
15500 Added initial font set for km_annotation layer.
15501 * doc/mapserver/symbols/symbols.sym:
15502 Added square symbol for km and fixpoint layer.
15503 * doc/mapserver/saar-mapfile.map:
15504 Adjust styling in the flys karte-archiv way.
15505
15506 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
15507
15508 Tagged RELEASE 2.5
15509
15510 * Changes: Prepared changes for release.
15511
15512 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
15513
15514 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
15515 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java,
15516 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java,
15517 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
15518 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
15519 needless imports.
15520
15521 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
15522
15523 * doc/conf/meta-data.xml: Improved datacage configuration for DEMs.
15524
15525 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15526 Query DGMs by the given ID in the FLYS data pool - not by given range
15527 values.
15528
15529 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
15530
15531 * doc/conf/meta-data.xml: Added a section for DEMs to the floodmap
15532 section.
15533
15534 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15535
15536 Fix build.
15537
15538 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java:
15539 Fix build.
15540
15541 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15542
15543 Take a given WaterlevelPair-String, load artifact and plot the diff.
15544
15545 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java:
15546 Load correct artifacts.
15547
15548 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de>
15549
15550 * doc/mapserver/*: Added inital mapserver configuration files.
15551
15552 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
15553
15554 * doc/conf/meta-data.xml: Moved the system specific configuration into a
15555 macro to the top of the configuration document. Call this macro at the
15556 end of the user specific part and in the part that should contain the
15557 system specific stuff only!
15558
15559 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
15560
15561 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15562 Defined createItem() here and adapted some method signatures, because I
15563 need the CallContext deeper in code than expected.
15564
15565 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
15566 Write the name of the selected waterlevel into the static DESCRIBE.
15567
15568 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
15569 Adapted method signatures that have been changed in DefaultState.
15570
15571 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
15572 Removed method createItem() which is now defined in the upper class
15573 DefaultState.
15574
15575 * src/main/resources/messages.properties,
15576 src/main/resources/messages_de_DE.properties,
15577 src/main/resources/messages_en.properties,
15578 src/main/resources/messages_de.properties: Added string for selected
15579 waterlevel that is displayed in static UI.
15580
15581 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
15582
15583 * src/main/resources/messages.properties,
15584 src/main/resources/messages_de_DE.properties,
15585 src/main/resources/messages_en.properties,
15586 src/main/resources/messages_de.properties: Added state label for
15587 waterlevel selection.
15588
15589 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
15590
15591 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
15592 Validate incoming data string and strip brackets.
15593
15594 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15595 Fetch waterlevel data from external Artifact if existing. If no external
15596 Artifact is specified that provides waterlevel data, we gonna try to
15597 fetch it from the current Artifact.
15598
15599 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
15600
15601 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
15602 Removed needless import which caused compile errors.
15603
15604 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
15605
15606 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15607 Added a transform() method. This method should be used to transform
15608 input data in form of a string into a better data structure. This state
15609 provides a simple implementation which just returns a StateData object
15610 that contains exactly the input string.
15611
15612 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Transform
15613 input strings using DefaultState.transform() before they are added to
15614 its data pool.
15615
15616 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
15617
15618 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15619 Made collection solid for the case if it has no Artifacts.
15620
15621 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
15622
15623 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Fetch Artifact
15624 from ArtifactDatabase properly. Write better error logs if that process
15625 fails.
15626
15627 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15628
15629 Extend WDifferences branch to have calculations in dedicated, new state.
15630
15631 * doc/conf/artifacts/winfo.xml: Added new State and Transition in
15632 WDifferences-branch.
15633
15634 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
15635 New state.
15636
15637 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15638 Specify to not take input, prepare getting other facets.
15639
15640 2011-09-14 Ingo Weinzierl <ingo@intevation.de>
15641
15642 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: This
15643 state now desires the UIProvider 'dem_datacage_panel'.
15644
15645 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
15646 New. This state is used to define the desired UIProvider
15647 'wsp_datacage_panel'.
15648
15649 * doc/conf/artifacts/winfo.xml: Added a new way to start a WSPLGEN
15650 calculation when choosing the calculation type 'floodmap'.
15651
15652 2011-09-14 Ingo Weinzierl <ingo@intevation.de>
15653
15654 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Merge
15655 facets only if their name AND their owner artifact are equal.
15656
15657 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15658
15659 Partial Fix flys/issue304 (3) (Baseline).
15660
15661 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15662 Show Baseline in WDifferencesPlot.
15663
15664 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15665
15666 Fix flys/issue310 (cross-section theme).
15667
15668 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue.
15669
15670 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15671
15672 Fix flys/issue310 (cross-section theme).
15673
15674 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue.
15675
15676 2011-09-13 Ingo Weinzierl <ingo@intevation.de>
15677
15678 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15679 Add an quick and simple error to the report if an error occured while
15680 WSPLGENJob creation.
15681
15682 * src/main/resources/messages.properties,
15683 src/main/resources/messages_de_DE.properties,
15684 src/main/resources/messages_en.properties,
15685 src/main/resources/messages_de.properties: Added error messages for
15686 WSPLGEN job creation errors.
15687
15688 2011-09-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15689
15690 Fix crash when drawing StickyAxisAnnotation when no range was given.
15691 User-directed issues remain ( flys/issue303 ).
15692
15693 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java
15694 (draw):
15695 Guard access to domainAxis, rangeAxis and the corresponding ranges.
15696 Warn and exit if any was null.
15697
15698 2011-09-13 Ingo Weinzierl <ingo@intevation.de>
15699
15700 flys/issue290 (Karte: Eingabe von Differenzen zw. WSP und Gelände findet
15701 keine Ausprägung in der Karte)
15702
15703 * doc/conf/mapserver/wsplgen_class.vm: Added styles for DIFF attribute.
15704
15705 * doc/conf/mapserver/mapfile.vm: Set debug default to '5'.
15706
15707 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
15708
15709 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15710 Add a first WSPLGEN status message (notifies the user about a
15711 queued job) after the job has been added to the Scheduler.
15712
15713 * src/main/resources/messages.properties,
15714 src/main/resources/messages_de_DE.properties,
15715 src/main/resources/messages_en.properties,
15716 src/main/resources/messages_de.properties: Added english and german
15717 status message text.
15718
15719 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
15720
15721 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Write
15722 shapefiles only if there are features for it existing.
15723
15724 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15725 A WSPLGEN facet is only created, if the calculation was successfully
15726 added to the Scheduler. A barrier facet is only created if the WSPLGEN
15727 calculation has been added to the scheduler AND if there are digitized
15728 geometries existing.
15729
15730 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15731
15732 Copied and slightly modified implementation of guessWaterIncreasing from
15733 WQKms to (new) DataUtils. Accidentally commited usage in last commit, to
15734 correct orientation of diagram (invert x axis).
15735
15736 * src/main/java/de/intevation/flys/utils/DataUtils.java:
15737 New file with guessWaterIncreasing implementation from WQKms,
15738 slightly adjusted.
15739
15740 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15741
15742 Cosmetics.
15743
15744 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
15745 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
15746 Cosmetics.
15747
15748 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15749
15750 Added CSV Export for W-Differences.
15751
15752 * doc/conf/conf.xml: Added Exporter.
15753
15754 * doc/conf/artifacts/winfo.xml: Removed transition over distances
15755 state, added export outputmode and facet.
15756
15757 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
15758 New, CSV-Exporter for WDifferences.
15759
15760 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15761 Add export facet.
15762
15763 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15764
15765 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
15766 Cosmetics, docs.
15767
15768 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
15769 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
15770 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
15771 Cosmetics.
15772
15773 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
15774
15775 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15776 Sourced the code to append a concrete data item to the static DESCRIBE
15777 part out to an own method (appendStaticData()).
15778
15779 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
15780 Override appendStaticData() to suppress the GeoJSON string to be
15781 included in the static DESCRIBE.
15782
15783 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
15784
15785 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
15786 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
15787 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
15788 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
15789 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
15790 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
15791 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
15792 Removed needless imports.
15793
15794 2011-09-09 Ingo Weinzierl <ingo@intevation.de>
15795
15796 * src/main/java/de/intevation/flys/artifacts/model/CalculationMessage.java:
15797 New. A subclass of Message (in the Artifacts system). It stores a
15798 string message and a progress (in form of step x/y).
15799
15800 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: The observer
15801 now writes background messages into the artifact system using the
15802 CallContext.addBackgroundMessage(). We use instances of
15803 CalculationMessage here, that makes the WINFOArtifact able to put
15804 progress information into the Artifact's DESCRIBE as well.
15805
15806 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Write
15807 status message and progress information into the DESCRIBE if the
15808 Artifact has started a background process.
15809
15810 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15811
15812 Fix flys/issue280 .
15813
15814 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
15815 Do not draw boxes around annotations.
15816
15817 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15818
15819 Fix flys/issue279 .
15820
15821 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15822 Fix behaviour in various thinkable malconditions.
15823
15824 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15825
15826 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15827 Made one case of cross section fetching more robust.
15828
15829 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15830
15831 Fix Facet name and Legend of W-Differences, also insert state to specify
15832 distance.
15833
15834 * doc/conf/artifacts/winfo.xml: Add additional transitions to walk over
15835 distances state.
15836
15837 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15838 Set facets description.
15839
15840 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15841 Take facets description as legend.
15842
15843 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15844
15845 Added configuration to kick-in w-differences branch of winfo.
15846
15847 * doc/conf/conf.xml: Register new (w-differences) OutputGenerators.
15848
15849 * doc/conf/artifacts/winfo.xml: Register new state and transitions.
15850
15851 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
15852 Added new (w-differences) calculation mode.
15853
15854 * src/main/java/de/intevation/flys/exports/WDifferencesCurveInfoGenerator.java:
15855 New file, implementing naive approach to display w-differences
15856 (accidentially omitted in last commit).
15857
15858 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15859
15860 Added very stubby WDifferences State/OutGenerator for WINFOArtifact.
15861
15862 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
15863 Added w_differences facet type.
15864
15865 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15866 New file, implements naive approach to calculate w-differences (of
15867 calculations identified by hardcoded uuids!) and register respective facet.
15868
15869 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15870 New file, implementing naive approach to display w-differences.
15871
15872 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15873
15874 Implement getArtifact(uuid,context) in FLYSUtils.
15875
15876 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getArtifact):
15877 Added implementation, partially resolving a TODO. Added logger instance.
15878
15879 2011-09-08 Ingo Weinzierl <ingo@intevation.de>
15880
15881 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java:
15882 New. This sublcass of Calculation saves warnings and errors that occur
15883 while WSPLGEN is running.
15884 Note, that the interface of this class doesn't exactly apply the interface
15885 of Calculation. Maybe, we should generalize this interface!
15886
15887 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
15888 an instance of WSPLGENCalculation now. We use this instance to save
15889 warnings and errors.
15890
15891 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Use the
15892 WSPLGENCalculation to save errors and warnings.
15893
15894 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java:
15895 New. This facet is used for WSPLGEN reports. It stores an instance of
15896 WSPLGENCalculation which saves ERRORS and WARNINGS that occur while
15897 WSPLGEN execution.
15898
15899 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15900 Create a WSPLGENReportFacet for WSPLGEN reports.
15901
15902 * doc/conf/conf.xml: Added an OutputGenerator 'report' for WSPLGEN
15903 reports.
15904
15905 * doc/conf/artifacts/winfo.xml: Added an output 'report' for WSPLGEN
15906 reports.
15907
15908 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15909
15910 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
15911 src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java,
15912 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
15913 Cosmetics, docs.
15914
15915 2011-09-08 Ingo Weinzierl <ingo@intevation.de>
15916
15917 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: Small
15918 adjustments that makes it easier to subclass this observer.
15919
15920 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: New. A
15921 sublcass of JobObserver which analyses the WSPLGEN output for errors and
15922 warnings.
15923
15924 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use
15925 JobObserver and ProblemObserver to track the whole WSPLGEN output and
15926 print number of errors/warnings to log output.
15927
15928 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15929
15930 Added translation of w_differences.
15931
15932 * src/main/resources/messages_de_DE.properties,
15933 src/main/resources/messages_de.properties,
15934 src/main/resources/messages_en.properties,
15935 src/main/resources/messages.properties:
15936 Added "w_differnces" translation.
15937
15938 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
15939
15940 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
15941 a new attribute 'background-processing' to the DESCRIBE of this
15942 Artifact. Its value is 'true' if this Artifact has started a background
15943 thread which has not finished yet - otherwise it is 'false.
15944
15945 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
15946
15947 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
15948 src/main/java/de/intevation/flys/utils/GeometryUtils.java: Moved the
15949 code to determine the extent of a river based on its axis to
15950 GeometryUtils.
15951
15952 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15953 Determine the extent of the selected river and set the WMSLayerFacet's
15954 extent attribute.
15955
15956 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15957
15958 Added Themeing support for CrossSection Diagrams.
15959
15960 * doc/conf/themes.xml:
15961 Added new themes and mappings, slightly modified longitudinalsection
15962 theme.
15963
15964 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15965
15966 In CrossSection Diagram fix subtitle to display the km of which the data is
15967 actually displayed (maybe contrasting users wish).
15968
15969 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15970 (getCrossSectionSnapKm): New method to fetch the actual km of crosssection.
15971
15972 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
15973 Add correct km to charts subtitle.
15974
15975 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15976
15977 Fix various display-issues like i18n in cross-section diagram.
15978
15979 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
15980 Set description of facets to expected values.
15981
15982 * src/main/java/de/intevation/flys/artifacts/exports/CrossSectionGenerator.java:
15983 Fix i18n of chart title. Set subtitle to expected value, pass facets
15984 description to StyledSeries to see expected legend.
15985
15986 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15987
15988 Cosmetics, resolved refactoring todo.
15989
15990 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java
15991 (compute, computeAdvance, computeFeed): Refactored, extracted method,
15992 resolving duplicate code and TODO.
15993
15994 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15995
15996 Fix waterline "calculation" at given km. Chosen approach is
15997 "head-through-wall".
15998
15999 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16000 Some refactoring to do the same calculation twice easier and be able
16001 to "cross" waterline against correct profile data.
16002
16003
16004 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16005
16006 Fix setting of kilometer for profile (not yet waterlevel) of cross section
16007 diagram.
16008
16009 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16010 (getCrossSectionData): Respect corss_section.km data; do naive linear
16011 search for profile data for this km.
16012
16013 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
16014 Declare a ComputeType.
16015
16016 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16017 Implement computeFeed.
16018
16019 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16020
16021 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
16022 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16023 Minor cosmetics.
16024
16025 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16026
16027 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
16028 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
16029 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
16030 src/main/java/de/intevation/flys/artifacts/state/DefaultState.java:
16031 Cosmetics, docs.
16032
16033 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
16034
16035 * doc/conf/mapserver/barrier_polygons_class.vm,
16036 doc/conf/mapserver/barrier_lines_class.vm,
16037 doc/conf/mapserver/wsplgen_class.vm: Default Mapserver styles for
16038 barriers and WSPLGEN results. Those styles are only used as long as we
16039 don't have map specific themes (as already used in charts).
16040
16041 * doc/conf/mapserver/layer.vm: Implements a fallback mechanism for styling
16042 barrier lines/polygons and WSPLGEN results.
16043
16044 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added a
16045 getStyle() method that currently returns "null". This method needs to be
16046 implemented when map themes are introduced.
16047
16048 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
16049
16050 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Renamed
16051 some attributes to make their job in the mapfile more obvious.
16052
16053 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
16054 new facet type for barriers.
16055
16056 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: Add
16057 a facet for the barriers layer.
16058
16059 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Parse
16060 barriers (lines and polygons) and create two new layers for each type -
16061 those layers are grouped.
16062
16063 * doc/conf/mapserver/layer.vm: Renamed attribute based on changes in
16064 LayerInfo and added support for Group-Layers.
16065
16066 2011-09-06 Raimund Renkert <raimund.renkert@intevation.de>
16067
16068 * doc/conf/conf.xml:
16069 Added driver to database configuration for use with postgresql.
16070
16071 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
16072
16073 * doc/conf/mapserver/mapfile.vm: Removed FONTSET attribute and set quotes
16074 for SHAPEPATH.
16075
16076 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
16077
16078 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
16079 Removed. We gonna use the WMSLayerFacet until now.
16080
16081 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16082 Add a WMSLayerFacet after we triggered the Scheduler to start a WSPLGEN
16083 calculation.
16084
16085 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
16086
16087 * doc/conf/mapserver/layer.vm,
16088 doc/conf/mapserver/mapfile.vm: Small bugfixes and style improvements.
16089
16090 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Trigger the
16091 MapfileGenerator after a WSPLGEN job has finished regardless if it has
16092 been finished successfully or not.
16093
16094 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
16095
16096 * pom.xml: Added Apache Velocity 1.7 for templating support.
16097
16098 * doc/conf/conf.xml: Added config options for mapserver/template relevant
16099 stuff.
16100
16101 * doc/conf/mapserver/mapfile.vm,
16102 doc/conf/mapserver/layer.vm: New. A default mapfile template and a
16103 template used for layers.
16104
16105 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: New.
16106 This class is used while reading WMS layer relevant information from
16107 filesystem.
16108
16109 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: New. This
16110 thread is used for creating mapfiles for Mapserver. The MapfileGenerator
16111 runs in daemon mode (own thread) and creates mapfiles based on WMS
16112 layer relevant information read from filesystem.
16113
16114 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
16115 src/main/java/de/intevation/flys/utils/FLYSUtils.java: Moved shapefile
16116 specific XPath expressions from FloodMapState to FLYSUtils which is a
16117 better place to use it in other classes (as MapfileGenerator).
16118
16119 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
16120
16121 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java:
16122 Bugfixed broken attribute assignment.
16123
16124 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Call
16125 CallContext.afterBackground() after a WSPLGEN job has finished to remove
16126 the background lock from Artifact.
16127
16128 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16129 Call CallContext.afterCall(BACKGROUND) to lock the Artifact for
16130 background processing.
16131
16132 2011-09-02 Ingo Weinzierl <ingo@intevation.de>
16133
16134 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: New. This
16135 class is used to start WSPLGEN for a specific WSPLGENJob. The System
16136 property "wsplgen.bin.path" tells the JobExecutor where the WSPLGEN
16137 binary is placed (which means in general, the property points to the
16138 'wsplgen.exe').
16139
16140 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: New. This
16141 scheduler currently allows to start just a single WSPLGEN Thread. All
16142 WSPLGEN calculations should be started using Scheduler.addJob().
16143
16144 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: New. This
16145 thread reads log messages from WSPLGEN and listens for specific
16146 messages. It should be used to update status messages of the WSPLGEN
16147 calculation that is currently running.
16148 There is a System property that tells the JobObserver to log all WSPLGEN
16149 output to log4j: enable WSPLGEN output with "-Dwsplgen.log.output=true".
16150
16151 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Added
16152 the FLYSArtifact, the current working directory and the CallContext.
16153
16154 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16155 Use the Scheduler to start new WSPLGEN calculations.
16156
16157 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16158
16159 Add CrossSectionInfoGenerator.
16160
16161 * src/main/java/de/intevation/flys/exports/CrossSectionInfoGenerator.java:
16162 New, trivial implementation of CrossSectionInfoGenerator.
16163
16164 * doc/conf/conf.xml:
16165 Register CrossSectionInfoGenerator.
16166
16167 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16168
16169 Cleanups of CrossSection*.
16170
16171 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16172 New methods to retrieve name of utilized CrossSection.
16173
16174 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16175 Cleanup, get rid of copied unused method, documentation and more sensible
16176 translations.
16177
16178 * src/main/resources/messages_de_DE.properties,
16179 src/main/resources/messages_de.properties,
16180 src/main/resources/messages_en.properties,
16181 src/main/resources/messages.properties:
16182 Added cross_section* translations, also cleanups.
16183
16184 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
16185
16186 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16187 Set the "typ" attribute of lines and polygons in barrier shapefiles.
16188
16189 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
16190
16191 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16192 Set the Z values of line and polygon barrier geometries. Both barrier
16193 shapefiles will contain 3D geometries now.
16194
16195 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16196
16197 Get real data to display in CrossSection (although ignorant of
16198 parameterization), making use of the showcase code of the CrossSectionApp-
16199 Standalone application.
16200
16201 * doc/conf/artifacts/winfo.xml: Add new facet (~waterline) to state/out.
16202
16203 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16204 New methods to get relevant data. So far just takes the first value of
16205 everything and assuming a waterlevel at 130m.
16206
16207 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
16208 New Facet responsible of water level in cross section.
16209
16210 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
16211 Made some functionality publicly and statically available.
16212
16213 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
16214 Update call.
16215
16216 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added new
16217 Facet type.
16218
16219 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16220 Added new Facet to out.
16221
16222 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16223 Respect new facet and facets data.
16224
16225 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
16226
16227 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Close an open
16228 shapefile transaction and catch exceptions which are thrown while
16229 shapefile creation here. If there occured an error, this functions
16230 returns FALSE, otherwise TRUE.
16231
16232 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16233 Removed exception handling while shapefile creation - this is done in
16234 GeometryUtils now.
16235
16236 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
16237
16238 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16239 Renamed the file for WSPLGEN required waterlevels to "waterlevels.wst".
16240 WSPLGEN did not work with the former "waterlevels.txt" file.
16241
16242 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
16243
16244 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New static
16245 function that builds new SimpleFeatureTypes with additional attributes.
16246
16247 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16248 Write attributes "ELEVATION" and "KILOMETER" into the crosssection
16249 tracks shapefiles.
16250
16251 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
16252
16253 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
16254 stub that should return a FLYSArtifact based on a given UUID.
16255
16256 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16257 Write the selected WST file for WSPLGEN. Note, that this is the WST file
16258 of the current WINFO artifact. Furthermore, there is currently no way
16259 for the user to select a column from WST file, so we currently use the
16260 column that is written to WST file at first.
16261
16262 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
16263
16264 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
16265 the parameter order of a compute(...) method. This makes me able to call
16266 this without a hash value.
16267
16268 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
16269 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
16270 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
16271 Adapted the parameter order of the compute() call (see above).
16272
16273 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16274
16275 More bones to CrossSection sceleton.
16276
16277 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
16278 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
16279 New, yet trivial implementations of Factory and Facet for CrossSections.
16280
16281 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16282 Add new CrossSection- (instead of Default-)Facet.
16283
16284 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
16285 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16286 Adjusted to use (touch) new Factory and Facet.
16287
16288 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16289
16290 Cosmetics.
16291
16292 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16293 Cosmetics.
16294
16295 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16296
16297 Cosmetics.
16298
16299 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
16300 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
16301 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
16302 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16303 Removed obselete imports.
16304
16305 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16306 Removed obselete imports, whitespaces.
16307
16308 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16309 Whitespaces, docs.
16310
16311 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16312
16313 Fix translations of Main Values Facets.
16314
16315 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16316 Do acrobatics to keep state transient but get translated title.
16317
16318 * src/main/java/de/intevation/flys/artifacts/MainValuesQFacet.java,
16319 src/main/java/de/intevation/flys/artifacts/MainValuesWFacet.java:
16320 Changed constructor to get description (which is then already be translated)
16321 dynamically, adjust deepCopy.
16322
16323 * src/main/java/de/intevation/flys/states/StaticState.java:
16324 Adjust constructor accordingly.
16325
16326 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16327
16328 Add sceleton for CrossSection outs.
16329
16330 * doc/conf/artifacts/winfo.xml:
16331 Added new output mode to respective state of winfo artifact configuration.
16332
16333 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16334 Add new Dummy-Facet in state.
16335
16336 * doc/conf/conf.xml:
16337 Registered new OutputGenerator.
16338
16339 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
16340 Added new CROSS_SECTION type.
16341
16342 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16343 New, stubby skeleton for an CrossSectionGenerator.
16344
16345 * src/main/resources/messages_de_DE.properties,
16346 src/main/resources/messages_de.properties,
16347 src/main/resources/messages_en.properties,
16348 src/main/resources/messages.properties:
16349 Added cross_section translation, also cleanups (e.g. main values).
16350
16351 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
16352
16353 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Marked
16354 required parameters with a comment.
16355
16356 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16357 Export floodplains (german 'Talaue') to shapefile and write its file
16358 path into the WSPLGEN job.
16359
16360 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
16361
16362 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16363 Search for a DGM that fits to the current river and km range and write
16364 its file path into the WSPLGEN job.
16365
16366 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
16367
16368 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Improved
16369 exception handling: exceptions are catched in GeometryUtils now.
16370
16371 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16372 Write river axis and crosssections to shapefiles and save shapefile
16373 pathes in WSPLGENJob.
16374
16375 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
16376
16377 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16378 Use the coorect SRID for reading GeoJSON and writing line/polygon
16379 shapefiles.
16380
16381 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Use a
16382 concrete coordinate system while feature type creation.
16383
16384 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
16385
16386 * pom.xml: Added GeoTools 2.7.2 dependencies for Shapefile, GeoJSON and
16387 EPSG support.
16388
16389 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Store
16390 'LIN' parameter in a list now. A WSPLGEN parameter might contain many
16391 LINs.
16392
16393 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New functions
16394 to create FeatureTypes and to write shapefiles.
16395
16396 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16397 Write user specified barriers into a shapefile placed in the artifact
16398 directory.
16399
16400 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
16401
16402 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
16403 that extracts the SRID defined in the global configuration file for a
16404 given river.
16405
16406 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
16407 Removed the code that extracts the river SRID - use FLYSUtils instead.
16408
16409 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16410
16411 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
16412
16413 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
16414 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
16415
16416 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16417
16418 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
16419
16420 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
16421 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
16422 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
16423 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
16424 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
16425 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
16426
16427 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16428
16429 Commit accidentally omitted result of refactoring (WINFO/FLYSUtils/getRiver).
16430
16431 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16432 Removed implementations of getRiver, update calls to use FLYSUtils.
16433
16434 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16435
16436 Interpolate Q main values, generate interpolated W main values on the fly from
16437 Q main values.
16438
16439 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16440 (getGaugeDatum): removed, obsolete
16441 (getLocation): new, gets location
16442 Use WstValueTable to look up interpolated Qs of MainValues. In absence of
16443 the same functionality for Ws, generate W Main Values from Q Main Values.
16444
16445 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16446
16447 Use new helper class FLYSUtils, minor refactorization.
16448
16449 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16450 Use new functionality of helper class, convenience of FLYSArtifact.
16451
16452 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16453
16454 Refactored to use new Helper class FLYSUtils, moved getRiver-functionality
16455 in there.
16456
16457 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getRiver):
16458 New function to retrieve river of an artifact, slightly modified from
16459 WINFOArtifact.
16460
16461 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
16462 Removed implementations of getRiver, update calls to use FLYSUtils.
16463
16464 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16465
16466 Minor cosmetics.
16467
16468 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16469 Resolved a TODO.
16470
16471 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16472 Added some documentation.
16473
16474 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
16475 Minor cosmetic.
16476
16477 2011-08-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16478
16479 * doc/conf/meta-data.xml: Made it Oracle compatible.
16480
16481 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
16482 If running in debug mode log executed statements.
16483 Helps debugging Oracle connections.
16484
16485 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
16486
16487 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16488 Set some WSPLGENJob parameters which are stored at FLYSArtifact.
16489
16490 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
16491
16492 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New. This helper
16493 class should provide some basic FLYS stuff. Currently, there are functions
16494 that return the km range/location.
16495
16496 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
16497 the methods that return the km range/locations. This is implemented in
16498 FLYSUtils now.
16499
16500 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
16501 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
16502 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Adapted
16503 the WINFO method calls to retrieve the km range/locations - call
16504 FLYSUtils now.
16505
16506 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
16507
16508 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New method
16509 to destroy a single state.
16510
16511 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16512
16513 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16514 Cosmetic, remove debug output and comments, minor style adjustments.
16515
16516 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16517
16518 Added limited themeing-support for MainValues.
16519
16520 * doc/conf/themes.xml:
16521 Added Q/W-MainValues themes.
16522
16523 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16524 Added limited theming support, add legend entry for main values.
16525
16526 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
16527
16528 * doc/conf/conf.xml: Added a configuration node that points to the directory
16529 where shapefiles should be stored in.
16530
16531 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: New.
16532 This class is used to save/write the parameter for a WSPLGEN calculation.
16533 WSPLGEN's *.par files are written using the toFile() method.
16534
16535 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16536 A directory for all WSPLGEN stuff is created in computeAdvance() - those
16537 directory and all its contained files are removed in endOfLife().
16538
16539 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16540
16541 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
16542 New Util to work with theme-related stuff.
16543
16544 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16545
16546 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16547 Use NamedDoubles instead of MainValues, try to adjust scale of Ws.
16548
16549 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16550 Use NamedDoubles instead of MainValues, generalize annotation handling, to
16551 allow easier reusability and themeing.
16552
16553 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
16554 Added convenience constructor, exemplary switch on bordered text.
16555
16556 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16557
16558 * doc/conf/meta-data.xml:
16559 Recommend MainValues for Computed discharge curves.
16560
16561 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16562
16563 New NamedDouble class which implements a <String,double>-pair.
16564
16565 * src/main/java/de/intevation/flys/artifacts/model/NamedDouble.java:
16566 New, implementation of a double with a string or vice versa.
16567
16568 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
16569
16570 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
16571 State.endOfLife() for all States when endOfLife() of the Artifact is
16572 called.
16573
16574 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16575
16576 Also plot "W"-MainValues (on vertical axis), take correct parameters, but
16577 do not convert to correct scale (cm vs NN+m).
16578
16579 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
16580 Naive attempt at allowing the vertical axis to be sticked at.
16581
16582 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16583 Store Q and W MainValues separately, add them to plot as annotations.
16584
16585 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16586 Serve the MainValues, parameterized on river and location, Q and W.
16587 Removed Facet-implementation.
16588
16589 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
16590 Updated Facet Types.
16591
16592 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
16593 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
16594 New, trivial facets, extracted from MainValuesArtifact.
16595
16596 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
16597
16598 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
16599 State.endOfLife() of each State that is no longer in the queue of the
16600 artifact when this artifact steps back to a previous state.
16601
16602 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16603
16604 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16605 Plot MainValues delivered by MainValuesFacet in much the same ways than
16606 Annotations in LongitudinalSection plots.
16607
16608 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16609
16610 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
16611 Prepare further differentiation between Annotations that stick to X or Y-
16612 Axis, copied some positioning logic into StickyAxisAnnotation
16613 implementation.
16614
16615 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16616
16617 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16618 Minor cosmetics.
16619
16620 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16621
16622 Added MainValue-Fetching-Capabilities to MainValuesArtifact.
16623
16624 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
16625 (initialize, getMinValues):
16626 Let MainValuesArtifact return "real" MainValues, although ignorant of all
16627 parameterization.
16628
16629 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16630
16631 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
16632 (MainValueFacet):
16633 Improved and straightened implementation, added code-Annotations and Todos.
16634
16635 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16636
16637 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
16638 (MainValueFacet):
16639 Improved and straightened implementation, added code-Annotations and Todos.
16640
16641 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16642
16643 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
16644 (getState):
16645 Resolved multiple creation of state (yet not very clean).
16646
16647 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16648
16649 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
16650 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16651 Cosmetics, docs.
16652
16653 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
16654 Cosmetics.
16655
16656 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16657
16658 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
16659 Added new (MainValues) Facet-Type.
16660
16661 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
16662
16663 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
16664 Added a method that returns a River object based on its database id.
16665
16666 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: The
16667 data that is required for this artifact is fetched from database instead
16668 from a Master-Artifact. The creation of static artifacts should use
16669 database ids instead of cloning a Master-Artifact.
16670
16671 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
16672
16673 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16674 Removed needless imports.
16675
16676 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16677
16678 Added configuration for factory and rule for MainValueArtifacts.
16679
16680 * doc/conf.xml:
16681 Add a mainvalue factory to serve MainValueArtifacts.
16682
16683 * doc/conf/meta-data.xml:
16684 Recomment mainvalue artifact when computed_discharge_curve can be put out.
16685
16686 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16687
16688 Let MainValuesArtifact have a state, outputmode and facet.
16689
16690 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
16691 New, a non-abstract DefaultState.
16692
16693 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16694 Progressed with implementation, use StaticState to hook output modes and
16695 facet in; use (Static)FLYSArtifact implementation.
16696
16697 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16698
16699 Smaller cosmetics.
16700
16701 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
16702 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
16703 Cosmetics in comments.
16704
16705 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
16706 Added @Override annotations.
16707
16708 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
16709 Use brackets to improve readability of ternary operator.
16710
16711 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16712
16713 * doc/conf/meta-data.xml: Use "ids" in user specific part, too.
16714
16715 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16716
16717 * doc/conf/meta-data.xml: s/db-ids/ids/g to unify system and user specific
16718 loading.
16719
16720 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16721
16722 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16723 Extracted access to state and states in order to have fewer places to
16724 modify when going for single/trivial state- artifacts.
16725
16726 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
16727
16728 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
16729 Append the river's srid to the WMSLayerFacet.
16730
16731 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16732
16733 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16734 Minor fixes, ressurect Facet implementation as inner class.
16735
16736 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
16737
16738 * doc/conf/artifacts/winfo.xml: Moved the input of barriers one state
16739 earlier where the scenario is selected as well.
16740
16741 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
16742 This state now desires the "map_digitize" UI provider and returns both
16743 items "scenario" and "uesk.barriers" in the dynamic describe part.
16744
16745 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16746 Removed the UI provider and the computeFeed() which is no longer needed,
16747 because there is no more user input in this state.
16748
16749 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
16750
16751 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
16752 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
16753 Repaired broken xpath expressions (the config changed in one of the last
16754 commits) and make use of the variable support in xpath expressions to
16755 replace the rivername.
16756
16757 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java:
16758 Save the rivername while initializing this artifact. This is now
16759 necessary, because each river can have its own background wms
16760 configured.
16761
16762 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
16763
16764 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
16765 Repaired broken river-wms initialization.
16766
16767 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16768
16769 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java,
16770 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
16771 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
16772 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java,
16773 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
16774 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
16775 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java,
16776 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
16777 src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
16778 Made facets cloneable with the right type.
16779
16780 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
16781 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16782 Removed superfluous imports.
16783
16784 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
16785
16786 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16787 Declare the first artifact of an output as master artifact (artifacts
16788 are ordered by their creation time).
16789
16790 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16791
16792 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16793 Removed facet interface.
16794
16795 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16796 Make artifacts cloneable. TODO: Override deepCopy() in subclassed
16797 states and facets.
16798
16799 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
16800
16801 * doc/conf/conf.xml: Added the MapInfoService and adapted the floodmap
16802 configuration. Now, each river can have its own background wms layer
16803 defined.
16804
16805 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
16806 New. This service returns some basic information used to create maps for
16807 a specific river. The name of the desired river needs to be defined at
16808 "/mapinfo/river/text()".
16809
16810 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
16811 Adapted an xpath expression that points to the srid of a river in the
16812 floodmap configuration (which changed).
16813
16814 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16815
16816 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16817 Build out/facet filter from XML document passed at creation time.
16818
16819 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16820
16821 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16822 Added some code to filter outs/facets by an optional positive list.
16823 This is needed to only expose parts of the facets. This
16824 is needed for artifacts which are loaded into a collection.
16825 TODO: create the filter from the XML document passed at creation
16826 time.
16827
16828 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16829
16830 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved all
16831 WINFO specific code to WINFOArtifact. FLYSArtifact is now only revolving
16832 about state affairs.
16833
16834 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-inserted
16835 the specific stuff here.
16836
16837 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
16838 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
16839 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
16840 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
16841 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
16842 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
16843 Adjusted the casts.
16844
16845 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16846
16847 * doc/conf/meta-data.xml: Filter by outs in user template part.
16848
16849 2011-08-22 Ingo Weinzierl <ingo@intevation.de>
16850
16851 * doc/conf/artifacts/winfo.xml: Defined an input value for the GeoJSON
16852 string to save user defined barriers in the map.
16853
16854 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16855 Added a computeFeed() method. In addition, this state now prefers the
16856 "noinput" UI provider.
16857
16858 2011-08-19 Ingo Weinzierl <ingo@intevation.de>
16859
16860 * doc/conf/conf.xml: Each river requires a SRID definition. This
16861 definition is used to transform the river's geometries into the desired
16862 projection.
16863
16864 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
16865 This facets are able to save a SRID.
16866
16867 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
16868 The extent that is written into the WMSLayerFacet is determined by the
16869 boundary of the geometry.
16870
16871 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New. A
16872 utility class that provides helper functions for geometries. Currently,
16873 one function is defined, that creates a boundary string for OpenLayers.
16874
16875 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16876
16877 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
16878 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
16879 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
16880 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
16881 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
16882 src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
16883 Removed superfluous imports.
16884
16885 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16886
16887 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
16888 Removed CallContext from state validation. It is not needed and hindered
16889 the extraction of all out of an artifact if you don't have a
16890 call context (like initial scan of datacage database).
16891
16892 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
16893 Extract all outs now.
16894
16895 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
16896 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
16897 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
16898 src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java,
16899 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
16900 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
16901 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
16902 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
16903 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
16904 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
16905 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
16906 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
16907 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
16908 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
16909 src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
16910 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
16911 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
16912 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16913 Adjusted calls.
16914
16915 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16916
16917 * src/main/resources/messages.properties,
16918 src/main/resources/messages_de_DE.properties,
16919 src/main/resources/messages_en.properties,
16920 src/main/resources/messages_de.properties:
16921 Added lacalization of "Streckenfavoriten".
16922
16923 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16924
16925 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
16926 Picky white-space cosmetics.
16927
16928 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16929
16930 Added stub implementation of new MainValuesArtifact.
16931
16932 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16933 New. Stub implementation for new MainValuesArtifact.
16934
16935 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16936
16937 Fixed flys/issue262
16938
16939 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
16940 Unified user and system tempate.
16941 Looks for "/artifact-database/metadata/template/text()"
16942 in conf.xml. Defaults to "${artifacts.config.dir}/meta-data.xml". If user id is
16943 given its the default connection for contexts.
16944
16945 * doc/conf/conf.xml: Adjusted
16946 * doc/conf/meta-data-system.xml, doc/conf/meta-data-user.xml: Deleted.
16947 * doc/conf/meta-data.xml: Unified version of user and system template.
16948
16949 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java:
16950 Adjusted the test program.
16951
16952 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16953
16954 Fixed flys/issue260
16955
16956 * doc/conf/meta-data-user.xml: Uses master_artifacts view now.
16957
16958 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16959
16960 * doc/conf/datacage.sql: Added view master_artifacts to select
16961 the master artifacts of the collections more easily.
16962 To upgrade existing database:
16963
16964 CREATE VIEW master_artifacts AS
16965 SELECT a2.id AS id,
16966 a2.gid AS gid,
16967 a2.state AS state,
16968 a2.creation AS creation,
16969 ci2.collection_id AS collection_id
16970 FROM collection_items ci2
16971 JOIN artifacts a2
16972 ON ci2.artifact_id = a2.id
16973 JOIN (SELECT ci.collection_id AS c_id,
16974 MIN(a.creation) AS oldest_a
16975 FROM collection_items ci
16976 JOIN artifacts a
16977 ON ci.artifact_id = a.id
16978 GROUP BY ci.collection_id) o
16979 ON o.c_id = ci2.collection_id
16980 WHERE a2.creation = o.oldest_a;
16981
16982 TODO: Use the view in the templates.
16983
16984 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16985
16986 * doc/conf/meta-data-user.xml: Removed state filter because it was broken.
16987 Simplified by joining two contexts.
16988
16989 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16990
16991 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
16992 Fix issues with lines of annotation when zoomed (wrong scale used).
16993
16994 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16995
16996 Added legend for annotations to LongitudinalSectionDiagram.
16997
16998 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16999 Added a pseudo-dataseries/collection to employ existing infrastructure for
17000 displaying localized label for Annotations (yet unthemed).
17001
17002 * src/main/resources/messages.properties,
17003 src/main/resources/messages_de_DE.properties,
17004 src/main/resources/messages_en.properties,
17005 src/main/resources/messages_de.properties:
17006 Made label-string available for localization.
17007
17008 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17009
17010 Moved StickyAxisAnnotation into new package de.intevation.flys.jfree .
17011
17012 * src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java:
17013 Deleted/moved to src/main/java/de/intevation/flys/jfree/ .
17014
17015 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
17016 New/moved from src/main/java/de/intevation/flys/export/ , adjusted
17017 package statement, made class public.
17018
17019 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17020 Added import statement for de.intevation.flys.jfree.StickyAxisAnnotation .
17021
17022 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17023
17024 Extracted and renamed CustomAnnotation to StickyAxisAnnotation. Also removed
17025 needless imports.
17026
17027 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
17028 src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java:
17029 Extracted class implementation CustomAnnotation and renamed to
17030 StickyAxisAnnotation.
17031
17032 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17033
17034 Improved CustomAnnotations and rendering thereof, now including an
17035 "axis mark" (little line at axis), also prepared possibility to put
17036 annotations on Y-axis.
17037
17038 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17039 Improved CustomAnnotation to include marks on the axis and better spacing
17040 from it.
17041
17042 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17043
17044 Implemented proof-of-concept collision-detection when drawing
17045 CustomAnnotations (text only).
17046
17047 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
17048 Pass a fresh ChartRenderingInfo-Object to createBufferedImage, such that
17049 information can be collected while rendering.
17050
17051 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17052 Exploit the fact that XYTextAnnotation already registers drawn shape in the
17053 ChartRenderingInfo if it exists and either an URL or tooltip is set.
17054 Before drawing, calculate own shape and compare against already registered
17055 shapes.
17056
17057 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17058
17059 Implemented (yet dummy) custom Annotation class.
17060
17061 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17062 Added implementation of yet dummy CustomAnnotation class.
17063
17064 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17065
17066 Slightly improved rendering of annotations.
17067
17068 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17069 Slightly improved rendering of annotations. Still no valid collision
17070 detection. Annotations are drawn every 2 km; first come first serve.
17071
17072 2011-08-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17073
17074 Fix for flys/issue191
17075
17076 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(longestIncreasingWRangeIndices):
17077 Added a method to find the longest index range with increasing w values.
17078
17079 * src/main/java/de/intevation/flys/exports/ATWriter.java: Export the longest
17080 range of monotone increasing w values instead of the first one.
17081 TODO: The first line of the export is still broken.
17082
17083 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
17084 Removed superfluous import.
17085
17086 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17087
17088 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
17089 Resolved two TODOs: get Annotations of selected River, get "point"
17090 Annotations only.
17091
17092 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17093
17094 Added functionality to query range and point-annotations only to
17095 AnnotationFactory.
17096
17097 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java
17098 (getPointAnnotations, getAnnotationsBreadth):
17099 New functions to query breadth and point-only annotations.
17100
17101 2011-08-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17102
17103 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
17104 Added a development mode for recommendations. Enabled with
17105 stetting system property 'flys.datacage.recommendations.development' to true.
17106 When set the XML template are re-read if the timestamps of the
17107 files have changed so you do not have to restart the server again and again.
17108
17109 * doc/conf/meta-data-user.xml: Sort collections by creation time in descending order.
17110
17111 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17112
17113 Rather picky cosmetics only.
17114
17115 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
17116 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java,
17117 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
17118 src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java,
17119 src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
17120 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
17121 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
17122 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17123 End comments on a full stop, separate from closing '*/' by whitespace,
17124 adjusted javadoc comments.
17125
17126 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17127
17128 Made Annotations visible in LongitudinalSection diagrams.
17129
17130 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
17131 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17132 Register new Facet Type, let LongitudinalSectionGenerator include
17133 Annotations in diagram (yet unfiltered and independent of river).
17134
17135 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17136
17137 * doc/conf/conf.xml,
17138 doc/conf/artifacts/annotation.xml,
17139 doc/conf/meta-data-system.xml:
17140 Added configuration for AnnotationArtifacts.
17141
17142 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17143
17144 Added demo- implementation of a AnnotationArtifact and its Facet.
17145
17146 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
17147 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
17148 src/main/java/de/intevation/flys/artifacts/states/AnnotationRiverState.java:
17149 New. Initial version of an AnnotationArtifact and its State and Facet.
17150
17151 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17152
17153 * doc/conf/datacage.sql: Extended schema for artifacts and collections
17154 to have creation times, too.
17155
17156 To update existing databases:
17157
17158 ALTER TABLE artifacts ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp;
17159 ALTER TABLE collections ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp;
17160
17161 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17162 Store creation times for artifacts and collections, too.
17163
17164 * src/main/resources/datacage-sql/org-h2-driver.properties,
17165 src/main/resources/datacage-sql/org-postgresql-driver.properties:
17166 Adjusted SQL statements.
17167
17168 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17169
17170 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17171 Make it compilable again (BackendListener interface changed).
17172
17173 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17174
17175 * doc/conf/meta-data-user.xml: Added grouping element around w/q of each
17176 longitudinal section artifact.
17177
17178 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java,
17179 src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java:
17180 Added some debugging capabilities.
17181
17182 * src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java:
17183 Added isEmpty() method.
17184
17185 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
17186 Now it is possible to nest <dc:elements> into other elements in the <dc:context>
17187 body. This is useful and needed for grouping and repeating results.
17188
17189 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17190
17191 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
17192 User connection was cached, system was not. Lead to incorrect results.
17193
17194 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17195
17196 * doc/conf/meta-data-user.xml: Added <old_calculations> element
17197 around old calculations.
17198
17199 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17200
17201 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
17202 Cosmetic: Replaced usage of legacy java.util.Stack with java.util.Deque.
17203
17204 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17205
17206 * doc/conf/meta-data-user.xml: Use 'CAST(x AS uuid)' instead of 'x::uuid'
17207 to be more compatible.
17208
17209 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17210
17211 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
17212 If given an artifact place its identifier into parameters passed to template.
17213 Fixed swapped user/system connections if using the user template.
17214
17215 * doc/conf/meta-data-user.xml: Recommend w/q facet from old calculations
17216 if an artifact was given that represents a longitudinal section
17217 "Laengsschnitt".
17218
17219 TODO I: The template uses PostgreSQL specific UUID casts.
17220 TODO II: We need to find a way only to recommend the master artifacts.
17221
17222 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17223
17224 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
17225 Added a <dc:comment> tag to place comments in the meta data templates.
17226 <!-- ... --> comments are copied through.
17227
17228 * doc/conf/meta-data-user.xml: Added a simple test.
17229
17230 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17231
17232 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17233 Be a bit more tolerant about empty strings for UUIDs of artifact and user.
17234
17235 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17236
17237 Bring user specific meta data service to life.
17238
17239 * doc/conf/conf.xml: There are now two templates to configure:
17240 The system template (only the data from the backend) and the
17241 user template (the datcage db and the backend db),
17242
17243 * doc/conf/meta-data-template.xml: Deleted.
17244 * doc/conf/meta-data-user.xml: New. The user specific template. TODO: Write it!
17245 * doc/conf/meta-data-system.xml: New. The system template.
17246
17247 * src/main/java/de/intevation/flys/artifacts/datacage/templating/NoneUserSpecific.java:
17248 Deleted.
17249 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
17250 New. The logic to fill the templates.
17251
17252 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
17253 Adjusted to follow the new call signatures.
17254
17255 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17256 Refactored. Removed the old code and only leave the new service. Following
17257 XPaths are evaluated on the incomming document:
17258
17259 "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional.
17260 Used to fill the template enviroment.
17261 "/art:meta/art:user-id/@value" The UUID of the user. Optional.
17262 If given the user specific template is filled.
17263 "/art:meta/art:outs/@value" The list of outs used to recommend for the
17264 various outputs.
17265 "/art:meta/art:parameters/@value" A list of key/value pairs to inject more
17266 filters to the templating.
17267
17268 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java:
17269 Change to follow the new recommendations semantics.
17270
17271 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
17272 Added symbolic constants to distinguish "user" and "system" db connections.
17273
17274 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17275
17276 * doc/conf/conf.xml:
17277 Cosmetics, let comments start with a capital and end on a full stop,
17278 removed incorrect comment.
17279
17280 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17281
17282 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17283 Cosmetics, let comments start with a capital and end on a full stop.
17284
17285 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17286
17287 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java(extractOutputNames):
17288 Fixed potential NPE.
17289
17290 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17291
17292 Added support for more than one db connection in datacage templating.
17293
17294 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
17295 Now you can pass a list of named db connections to the build process.
17296 The purpose is to mix more then one database (e.g. the backend db and
17297 the user specific one).
17298
17299 To use this feature you can add an "connection" attribute
17300 to <dc:context> with the name of the connection to use.
17301 If no connection name is given the last used is used again.
17302 Initially the first connection in the given list is used.
17303 If the context is left the connection that was active before
17304 will be active again in a stacking manner.
17305
17306 When creating NamedConnection objects you can set a boolean flag
17307 if the results coming from the connection should be cached. This
17308 is useful e.g. for the user specific database which runs in-memory
17309 so caching would introduce some superfluous overhead.
17310
17311 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
17312 When executing the queries explicitly pass if caching should be used.
17313
17314 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17315
17316 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17317 Forgot to fetch dialect dependent SQL statement for deleting
17318 artifacts by uuid.
17319
17320 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17321
17322 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17323 Set the name of the collections at initial scan, too.
17324
17325 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17326
17327 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17328 Fixed wrong SQL references.
17329
17330 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17331
17332 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17333 Fixed two NPEs.
17334
17335 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17336
17337 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java,
17338 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17339 Forwarded kill collections and artifacts events to datacage.
17340
17341 * src/main/resources/datacage-sql/org-h2-driver.properties,
17342 src/main/resources/datacage-sql/org-postgresql-driver.properties:
17343 Added statement to delete artifact by uuid.
17344
17345 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17346
17347 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
17348 Made it compilable again. The signature of BackendListener has changed.
17349
17350 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17351
17352 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17353 Completed the backend listener stuff.
17354
17355 TODO I: Added some cleanup for orphaned artifacts.
17356 TODO II: Figure out a way to delete collections/artifacts
17357 which are delete from backend without the
17358 backend API.
17359
17360 * src/main/resources/datacage-sql/org-h2-driver.properties,
17361 src/main/resources/datacage-sql/org-postgresql-driver.properties:
17362 Added needed statements.
17363
17364 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17365
17366 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17367 Update collection names on change. Remove artifacts from collections.
17368
17369 * src/main/resources/datacage-sql/org-h2-driver.properties,
17370 src/main/resources/datacage-sql/org-postgresql-driver.properties:
17371 Added needed statements.
17372
17373 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17374
17375 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
17376 Call datacage with the global context. This is needed to access the state engine.
17377
17378 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: Changed
17379 signatures to take the global context, too. Create artifacts via backend listener
17380 interface.
17381
17382 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17383
17384 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
17385 Fixed recursion bug.
17386
17387 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17388
17389 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
17390 Added debug output.
17391
17392 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17393
17394 * doc/conf/conf.xml: Added backend listener for datacage.
17395
17396 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
17397 New. Proxies backend listener calls to datacage.
17398
17399 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17400 Implements backend listener. TODO: Update the datacage database
17401 according the change calls.
17402
17403 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17404
17405 * src/main/java/de/intevation/flys/artifacts/services/meta,
17406 src/main/java/de/intevation/flys/artifacts/datacage/templating:
17407 Moved/renamed package to better fit the common semantics.
17408 DataCage.java is now call NoneUserSpecific.java to reflect the
17409 fact that it is the template for the user independent db
17410 analysis.
17411
17412 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
17413 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17414 Ajusted imports and calls.
17415
17416 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17417
17418 * doc/conf/conf.xml: For documentation purposes added a out-commented
17419 section with the default configuration of the datacage.
17420
17421 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17422
17423 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17424 Delete the artifacts at before initial scan, too. They are independent
17425 from users. Fixed problem when writing state data content.
17426
17427 * src/main/resources/datacage-sql/org-h2-driver.properties: Added
17428 statement to delete the artifacts at initial scan, too.
17429
17430 * src/main/resources/datacage-sql/org-postgresql-driver.properties:
17431 New. PostgreSQL version of the statements. The database scheme
17432 is the same as H2. Very useful for debugging.
17433
17434 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17435
17436 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17437 Added kludge for the types of artifact data. They seem to be null
17438 in some circumstances. Needs to be debugged!
17439
17440 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17441
17442 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java:
17443 Fixed default connection URL to use a namend in-mermory database.
17444
17445 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17446
17447 * doc/conf/datacage.sql: Fixed constraint.
17448
17449 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17450 Added some debug output.
17451
17452 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17453
17454 * doc/conf/datacage.sql: Removed artifact_id from facet because there
17455 is a link via out_id -> outs.id: artifact_id -> artifacts to
17456 find the corresponding artifact.
17457
17458 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
17459 src/main/resources/datacage-sql/org-h2-driver.properties: Store
17460 facets of outs into datacage db at initial scan.
17461
17462 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17463
17464 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
17465 src/main/resources/datacage-sql/org-h2-driver.properties:
17466 Store outs of artifacts into datacage db at initial scan.
17467 TODO: store facets.
17468
17469 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17470
17471 * doc/conf/datacage.sql: Added 'type' column in artifacts data.
17472 Maybe useful for filtering.
17473
17474 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
17475 src/main/resources/datacage-sql/org-h2-driver.properties:
17476 Store artifact data into db at initial scan.
17477 TODO: store outs and facets.
17478
17479 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17480
17481 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
17482 src/main/resources/datacage-sql/org-h2-driver.properties:
17483 Add artifacts into datacage db at initial scan.
17484 TODO: Store data, outs and facets.
17485
17486 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17487
17488 * doc/conf/datacage.sql: Fixed spelling in sequence name.
17489
17490 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
17491 src/main/resources/datacage-sql/org-h2-driver.properties: Simply add
17492 collection item at initial scan if artifact was stored before.
17493 TODO: Store new artifacts.
17494
17495 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17496
17497 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
17498 src/main/resources/datacage-sql/org-h2-driver.properties: Add
17499 collections at initial scan.
17500
17501 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17502
17503 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
17504 src/main/resources/datacage-sql/org-h2-driver.properties: Add users
17505 at initial scan.
17506
17507 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17508
17509 * doc/conf/datacage.sql: Using sequences for id generation now
17510 to make schema more compatible.
17511
17512 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17513
17514 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
17515 src/main/resources/datacage-sql/org-h2-driver.properties: Clear database
17516 before initial scan.
17517
17518 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17519
17520 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java:
17521 Deleted. This stuff comes from the artifact database now.
17522
17523 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java:
17524 New. The db config of the datacage database.
17525
17526 * src/main/resources/datacage-sql/org-h2-driver.properties: New.
17527 The SQL statements needed for the datacage.
17528
17529 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17530 Make use of the db config.
17531
17532 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17533
17534 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17535 New. A artifact database lifetime listener to build the initial
17536 index of the artifacts in database.
17537
17538 * doc/conf/conf.xml: Added the datacage to the list of lifetime
17539 listeners.
17540
17541 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17542
17543 * doc/conf/datacage.sql: Added an explicit table for the outs
17544 of an artifact.
17545
17546 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17547 Make the current outs of an artifact accessible only with
17548 the global context.
17549
17550 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17551
17552 * doc/conf/datacage.sql: Added ON DELETE CASCADE constraints.
17553 Added state in facet.
17554
17555 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17556
17557 * doc/conf/datacage.sql: New. H2 Schema for the datacage database.
17558 Uses special features like IDENTITY (autoincrement) typed columns.
17559
17560 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java:
17561 Pooled connection.
17562
17563 * pom.xml: Added dependencies to H2 and Apache DBCP.
17564
17565 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17566
17567 * src/test/java/de/intevation/flys/artifacts/AppTest.java,
17568 src/main/java/de/intevation/flys/artifacts/App.java: Removed.
17569 This the stupid "Hello, World!" app initially created by the
17570 maven archetype. It was never used.
17571
17572 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17573
17574 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
17575 Argh! Usage the DOM was not thread safe (discovered with ab).
17576
17577 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17578
17579 * doc/conf/meta-data-template.xml: '$recommended' lead to XPath
17580 errors. Using "dc:contains($parameters, 'recommended')" helps.
17581
17582 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java,
17583 src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
17584 Added some debugging.
17585
17586 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
17587 Added parameters as 'parameters' to parameters. Usefull to check
17588 for containment of variables.
17589
17590 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17591
17592 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17593 Added 'if log.isDebugEnabled() {}'.
17594
17595 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17596
17597 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17598 Made Artifact UUID optional and accept extra parameters, too. This enables
17599 the service to be used without an arttifact and test all filters.
17600
17601 <art:meta xmlns:art="http://www.intevation.de/2009/artifacts">
17602 <art:outs value="computed_discharge_curve,floodmap"/>
17603 <art:parameters value="river:Elbe"/>
17604 <art:filters value="recommended"/>
17605 </art:meta>
17606
17607 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
17608 'contain' accept Maps and collection, too.
17609
17610 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
17611 Made artifact option (= null) in recommendations.
17612
17613 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17614
17615 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
17616 Moved connection specific into inner class. The enables the reuse of the
17617 compiled statement.
17618
17619 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: The
17620 SQL statements are now only compiled once at creation time of the builder.
17621 Each connection now reuses them.
17622
17623 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17624
17625 * doc/conf/cache.xml: Added configuration for static datacage db access.
17626
17627 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: Using
17628 caches seems to need an explicit System.exit().
17629
17630 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
17631 Added support for caching the SQL statements and there results.
17632
17633 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: Some
17634 clean up. Reordered code for performance. Strip SQL statements more
17635 aggressively.
17636
17637 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
17638 Made it Serializable.
17639
17640 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
17641 Introduced system property 'flys.artifacts.cache.config.file' to make
17642 the caching configurable without pulling up the whole stack.
17643
17644 2011-07-22 Ingo Weinzierl <ingo@intevation.de>
17645
17646 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17647 Prepared the FLYSArtifactCollection to support the storage of already
17648 loaded recommendations in its attribute document.
17649
17650 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17651
17652 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17653 Adjusted to use the DataCage recommendations. The incomming document
17654 can pass the artifacts UUID by '/art:outs/@value' the outs as a
17655 comma separated list in '/art:outs/@value' and optional a set of
17656 filters comma separated in '/art:filters/@value'.
17657
17658 If UUID and OUTS are not given the old service is used. This
17659 should be removed as soon as the client uses the new service.
17660
17661 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17662
17663 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
17664 Allow '-' in variable names.
17665
17666 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
17667
17668 * doc/conf/meta-data-template.xml: Now, the river-id is really added to
17669 the factory node of the wmsbackground layer.
17670
17671 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
17672
17673 * doc/conf/meta-data-template.xml: Added the river-id to the factory node
17674 of the riveraxis and wmsbackground layer.
17675
17676 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17677
17678 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java,
17679 src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
17680 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
17681 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
17682 Adjusted to implement changed Service interface.
17683
17684 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
17685
17686 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Refactored
17687 the method that retrieves the Outputs for the Artifact. Now, we are able
17688 to query the Outputs for the current state, and all outputs separately.
17689
17690 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: The
17691 recommendations provided by this monitor will take the Outputs of the
17692 current state only into account.
17693
17694 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
17695
17696 * doc/conf/meta-data-template.xml: Added conditions for each output type.
17697 Splitted the "floodmap" output into two parts: a recommended one and a
17698 complete one. The recommended part will only build the document tree for
17699 the recommended artifacts; the complete part will build the whole document
17700 tree that is available for a floodmap.
17701
17702 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
17703 This Hook now uses the DataCage to generate the recommended artifacts.
17704 The output-defaults configurtion is needless now.
17705
17706 * doc/conf/output-defaults.xml: Removed. The configuration of recommended
17707 artifacts takes place in meta-data-template.xml.
17708
17709 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
17710 Bugfix: the DataCage didn't start working if its builder was NOT null,
17711 but it shouldn't start if the builder IS null.
17712
17713 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17714
17715 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
17716 Now it is possible to directly pass a Node as a root to the builder.
17717 The owning document if fetch by Node.getOwnerDocument(). This is
17718 useful if you want to generate the recommendation directly into
17719 an already existing document under a given node.
17720
17721 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
17722 Changed the signature of recommend() to accept a node where to
17723 append the recommendations.
17724
17725 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17726
17727 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
17728 Added a macro mechanism:
17729
17730 <dc:macro name="keine-fuenf">
17731 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text>
17732 </dc:macro>
17733 <dc:call-macro name="keine-fuenf"/>
17734 <dc:call-macro name="keine-fuenf"/>
17735 <dc:call-macro name="keine-fuenf"/>
17736
17737 Macros can be defined everywhere in the template
17738 with 'macro'. There bodies can contain all valid elements
17739 including other 'macro's and 'call-macro's. They are
17740 called with their 'name' with 'call-macro'. The control flow
17741 is continued inside the body of the called macro and
17742 will continue right after the calling 'call-macro' when
17743 the macro body is finished.
17744
17745 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17746
17747 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
17748 Added a new 'if' construct similiar to XSLT:
17749
17750 <dc:if test="not(dc:contains($outs, '5'))">
17751 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text>
17752 </dc:if>
17753
17754 The control flow is continued inside the 'if' if the 'test' attribute
17755 as an XPath expression on an empty document evalutes to true.
17756 Else the inside is skipped. There is no 'else'. Use 'choose'/'otherwise'
17757 if you need this.
17758
17759 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17760
17761 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
17762 Added a recommend() method to generate recommendations for
17763 a given artifact, outs and extra parameters.
17764
17765 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added
17766 method to extract all data at once.
17767
17768 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17769
17770 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
17771 New. Custom XPath function provider. Provides
17772 'dc:contains(Object [] haystack, Object needle)' by now. Should be
17773 useful to check containments in 'out' lists later.
17774
17775 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
17776 Register the FunctionResolver to the evaluated XPaths.
17777
17778 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java:
17779 Added code to parse
17780 "param:a,b,c" to "param" -> new String [] { "a", "b", "c" } to
17781 help testing the 'dc:contains' XPath function.
17782
17783 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
17784
17785 * doc/conf/conf.xml: Added wms configurations for Saar, Mosel and Elbe.
17786 Each river supported by FLYS requires such a WMS configuration. A WMS
17787 should contain layers for the river axis, buildings, kilometer labels
17788 and maybe a background layer as well.
17789
17790 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
17791 Added key that is used to store a map of WMS URLs - for each river a
17792 WMS URL.
17793
17794 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
17795 Parse the river WMS from global configuration.
17796
17797 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
17798 Create WMSLayerFacets with URLs based on the river and the river wms
17799 configuration stored in the FLYSContext.
17800
17801 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
17802 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
17803 Adapted the initialize() signature and the method call of computeInit()
17804 which requires a FLYSContext to retrieve the river WMS configurations.
17805
17806 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
17807 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
17808 Added the context object parameter to the computeInit() method.
17809
17810 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
17811 initialize() with the context object - which is a FLYSContext or a
17812 CallContext.
17813
17814 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17815
17816 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java:
17817 Check if builder was created properly before using it.
17818
17819 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
17820 Implements now variable provider for XPath expressions.
17821
17822 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
17823 Added new choose/when/otherwise construct similiar to XSLT
17824
17825 <dc:choose>
17826 <dc:when test="$river = 'Mosel'">
17827 <dc:text>Es ist die Mosel.</dc:text>
17828 </dc:when>
17829 <dc:when test="$river = 'Saar'">
17830 <dc:text>Es ist die Saar.</dc:text>
17831 </dc:when>
17832 <dc:otherwise>
17833 <dc:text>Es ist weder Mosel noch Saar.</dc:text>
17834 </dc:otherwise>
17835 </dc:choose>
17836
17837 A 'choose' block can contain a list of 'when's and an optional
17838 'otherwise'. For each 'when' the test attribute is evaluated
17839 as an XPath expression on an empty document. The result of
17840 the evaluation is taken as a boolean value. If its value is
17841 true the control flow is continued inside the corresponding
17842 'when' and the other choose elements are not tested.
17843 If the value is values the testing continues with the next
17844 'when'. If no 'test' expression is evaluated to true, the
17845 control flow continues inside the 'otherwise'. If no 'otherwise'
17846 is given nothing happens at all.
17847
17848 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
17849
17850 * doc/conf/conf.xml: Added a config section for floodmaps. Currently, the
17851 background layer's url and layername is defined here.
17852
17853 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
17854 Read the background layer configuration from conf.xml. Those values are
17855 used to create the WMSLayerFacet.
17856
17857 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
17858
17859 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
17860 The background layer facet will no longer have an extent set.
17861
17862 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
17863
17864 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
17865 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
17866 Set the extent of the created WMSLayerFacets and i18n its descriptions.
17867
17868 * src/main/resources/messages.properties,
17869 src/main/resources/messages_de_DE.properties,
17870 src/main/resources/messages_en.properties,
17871 src/main/resources/messages_de.properties: Added I18N strings for the
17872 background an river axis layer.
17873
17874 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
17875
17876 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
17877 This facet type has a method to set the extent of a WMS layer. The
17878 extent is written to the facets XML node in toXML() as well.
17879
17880 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
17881
17882 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
17883 the signature of setup() which requires a CallMeta parameter now.
17884
17885 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
17886 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: Use
17887 the CallMeta object retrieved in setup() to call initialize(). It is now
17888 able to i18n things.
17889
17890 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17891
17892 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: New.
17893 Standalone app to debug the datacage template. To use in a maven environment:
17894
17895 -Dmeta.data.template=PATH_TO_META_DATA-TEMPLATE.XML \
17896 -Dmeta.data.parameters=river:Mosel \
17897 -Dmeta.data.output=OUTPUT.XML \
17898 -Dflys.backend.user=DB_USER \
17899 -Dflys.backend.password=DB_PASSWORD \
17900 -Dflys.backend.url=DB_CONNECTION_URL \
17901 -Dexec.mainClass=de.intevation.flys.artifacts.services.meta.App
17902
17903 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17904
17905 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
17906 New. First step to factor out the "Datenkorb" logic into a service independent
17907 singleton.
17908
17909 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17910 Uses the "Datenkorb" singleton now.
17911
17912 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
17913
17914 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
17915 Removed "index" property, because it is already existing in parent
17916 class.
17917
17918 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17919
17920 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17921 Improved error handling.
17922
17923 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17924
17925 * src/main/resources/metadata/template.xml: Deleted.
17926
17927 * doc/conf/meta-data-template.xml: New. Was template.xml
17928
17929 * doc/conf/conf.xml: Made meta data template configurable.
17930
17931 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17932 Load template from configuration not from resources.
17933
17934 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17935
17936 * src/main/resources/metadata/template.xml: s/[a-z]+-id/db-id/
17937 Make database ids identifiable with unique name "db-id".
17938
17939 2011-07-19 Ingo Weinzierl <ingo@intevation.de>
17940
17941 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
17942 Override the toXML() method. Subclasses can now write their own XML
17943 representation.
17944
17945 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
17946 New. This ManagedFacet uses an Element (DOM) to store the information
17947 about a facet. The intent of this facet type is to represent a facet
17948 stored in an Collection attribute. Different facets can have different
17949 attributes that we need to parse, but the only thing ManagedFacets need
17950 to do, is to adjust the attributes "active" and "position". So, those
17951 values are set directly on the Element, the other attributes aren't
17952 touched.
17953
17954 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java:
17955 New. This facet is a wrapper for another facet. This subclass of a
17956 ManagedFacet overrides the toXML() method. The XML representation is
17957 defined by the inner facet that is stored as member variable. The
17958 ManagedFacet specific attributes "artifact", "facet", "pos" and "active"
17959 are added manually.
17960
17961 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Uses
17962 the toXML() method to write a facet node into the attribute document.
17963
17964 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Uses
17965 the ManagedDomFacet to save the information of a facet which is
17966 contained in the attribute part of a Collection's DESCRIBE document.
17967
17968 * src/main/java/de/intevation/flys/collections/OutputParser.java: Uses the
17969 ManagedFacetAdapter to save a facet, because we want to keep the
17970 specific facet to be able to write its specific XML representation into
17971 the Collection's DESCRIBE document.
17972
17973 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17974 Adapted the XPath of facets stored in the attribute part of the
17975 DESCRIBE.
17976
17977 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
17978
17979 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
17980 method that returns the Outputs for the Artifact.
17981
17982 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17983 Adapeted the call of OutputParser.
17984
17985 * src/main/java/de/intevation/flys/collections/OutputParser.java:
17986 Simplified the code to read the Outputs of Artifacts. This parser will
17987 now longer parse the DESCRIBE documents of the Artifacts, but query the
17988 Outputs via FLYSArtifact.getOutputs() directly.
17989
17990 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
17991
17992 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
17993 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
17994 Adapted the function call of ProtocolUtils.appendOutputModes().
17995
17996 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
17997 Override toXML() to add the URL and layernames to the XML representation
17998 of this facet.
17999
18000 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
18001
18002 * doc/conf/artifacts/wmsbackground.xml,
18003 doc/conf/artifacts/riveraxis.xml: New configurations for an Artifact
18004 that is used as background layer in floodmaps, and an artifact that is
18005 used as layer showing the river axis in a floodmap.
18006
18007 * doc/conf/output-defaults.xml: New file to configure default artifacts
18008 for specific output states. E.g. the floodmap state recommends a
18009 background layer and a layer displaying the river axis. In suche case,
18010 the floodmap state recommends two artifacts for the two layers.
18011
18012 * doc/conf/conf.xml: Added new artifacts/artifact-factories and a Hook to
18013 monitor artifacts (-> CollectionMonitor.java).
18014
18015 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
18016 New. This facet is used to represent a layer in a map. So, this facet
18017 stores information about a WMS URL and the layer names provided by this
18018 WMS.
18019
18020 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
18021 facet types for the wmsbackground and riveraxis.
18022
18023 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
18024 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java:
18025 New. An artifact and its default state. The intent of these classes is
18026 to generate WMSLayerFacets which represent background layers in maps.
18027
18028 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
18029 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: New.
18030 An artifact and its default state. The intent of these classes is to
18031 generate WMSLayerFacets which represent layers that display a river
18032 axis.
18033
18034 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18035 Added the INIT ComputeType.
18036
18037 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
18038 case for the INIT ComputeType while computing data.
18039
18040 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
18041
18042 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18043 Added a method computeInit() which is called to initialize data/facets
18044 after an artifact has been created.
18045
18046 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Repaired
18047 broken XPath.
18048
18049 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
18050
18051 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
18052 Removed the code to generate new artifacts. Instead of creating new
18053 artifacts automatically, we decided to suggest creating new artifacts
18054 from specific types. Therefore, the DESCRIBE document of the artifacts
18055 is extended with a node that contains recommended artifact types.
18056
18057 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18058 FLYSArtifacts might be setup with the identifier of an other
18059 FLYSArtifact. Subclasses are able to override a method called
18060 initialize(Artifact, GlobalContext). This might be helpful to extract
18061 required values or clone artifacts.
18062
18063 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
18064
18065 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18066 Adapted the signature of createArtifactContext() - it returns an
18067 instance of GlobalContext now.
18068
18069 2011-07-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18070
18071 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
18072 Debugged the water fill algorithm. Added a lot of logging.
18073
18074 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
18075 Added a text field to give a water level to fill in.
18076
18077 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
18078
18079 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
18080 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved code
18081 to create the output modes based on the given facets to FLYSArtifact. In
18082 addition, FLYSArtifact got a new method that returns a specific input
18083 value as string.
18084
18085 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: New.
18086 This hook monitors the "post-feed" and "post-advance". If the monitored
18087 Artifact's state has configured recommended artifacts, this hook will
18088 create new Artifacts.
18089
18090 TODO: We have to add the UUIDs of the new Artifacts to the DESCRIBE
18091 document of the artifact to let the client know, that there are new
18092 recommended Artifacts.
18093
18094 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: New.
18095 This Artifact is the base class for Artifacts, that represent static
18096 data. E.g. this could be a decoration theme in a chart or a background
18097 layer in the map.
18098
18099 * src/main/java/de/intevation/flys/artifacts/states/OutputState.java: New.
18100 This state might be used as base class for states, that doesn't require
18101 any user input, but only provide static Facets added by a computeFeed()
18102 operation. So, subclasses need to implement computeFeed() only.
18103
18104 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18105
18106 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
18107 New. Standalone Swing-App to test cross sections from database without the
18108 hassles of our complete software stack. Runnable from a maven environment:
18109
18110 $ mvn -e \
18111 -Dflys.backend.user=DB_USER \
18112 -Dflys.backend.password=DB_PASSWD \
18113 -Dflys.backend.url=DB_CONNECTION_URL \
18114 -Dexec.mainClass=de.intevation.flys.artifacts.charts.CrossSectionApp \
18115 exec:java
18116
18117 You can set the river to be used with the system property 'river'.
18118 Defaults to 'Mosel'.
18119
18120 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
18121 Removed superfluous imports.
18122
18123 2011-07-13 Ingo Weinzierl <ingo@intevation.de>
18124
18125 * doc/conf/artifacts/winfo.xml: The FloodMapState has a new Outputmode
18126 called "floodmap" now.
18127
18128 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: New.
18129 This facet is used to generate WSPLGEN results.
18130
18131 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
18132 the WSPLGENFacet.
18133
18134 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
18135 This state will now generate WSPLGENFacets.
18136
18137 2011-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18138
18139 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
18140 Fixed corner case.
18141
18142 2011-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18143
18144 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: New.
18145 fillWater() generates a list of wet lines for a given profile and a
18146 given water level.
18147
18148 2011-07-08 Ingo Weinzierl <ingo@intevation.de>
18149
18150 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
18151 Outputs created while generating the DESCRIBE document will now have the
18152 'type' member set.
18153
18154 * src/main/java/de/intevation/flys/collections/OutputParser.java: Read the
18155 'type' member from DESCRIBE document.
18156
18157 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
18158
18159 * doc/conf/artifacts/winfo.xml: Removed a typo.
18160
18161 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
18162
18163 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
18164 DataFacet are now able to store the ID of the state which has created
18165 this Facet.
18166
18167 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
18168 Initialize DataFacets with the ID of this state. This is necessary to
18169 renew the waterlevel data if it is no longer existing in the cache.
18170
18171 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
18172
18173 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: A
18174 report facet can now store the state's id and the artifact's hash value
18175 when it has been created.
18176
18177 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
18178 Initialize the ReportFacet and WaterlevelFacet with state id and hash
18179 information. This has been necessary to retrieve reports and waterlevels
18180 in states after this one - in states that we need to enter for floodmap
18181 parameterization.
18182
18183 2011-07-05 Ingo Weinzierl <ingo@intevation.de>
18184
18185 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java:
18186 Changed the desired UI provider.
18187
18188 2011-07-05 Ingo Weinzierl <ingo@intevation.de>
18189
18190 * doc/conf/artifacts/winfo.xml: Added the option to continue the
18191 waterlevel parameterization with the intent to create flood maps.
18192
18193 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
18194 This state is no longer a final state. The user has the option to
18195 continue with the parameterization for flood maps based on the current
18196 waterlevel. Therefore, this states desires the "continue" UI provider.
18197 Clients should recognice this to just step to the next state or display
18198 a button that lets the user step to the next state manually.
18199
18200 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java,
18201 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
18202 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
18203 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
18204 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
18205 src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java:
18206 New. These states are used to parameterize a further calculation type:
18207 flood map.
18208
18209 * src/main/resources/messages.properties,
18210 src/main/resources/messages_de_DE.properties,
18211 src/main/resources/messages_en.properties,
18212 src/main/resources/messages_de.properties: Required strings for the
18213 flood maps states.
18214
18215 2011-07-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18216
18217 Fix(?) for flys/issue114
18218
18219 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
18220 Make guessing a bit more robust.
18221
18222 2011-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18223
18224 Added the math needed to calculate "W-Differenzen" in "Laengsschnitten".
18225 Needs testing!
18226
18227 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
18228 Made it an interface to be usable in more than one inheritance chain.
18229
18230 * src/main/java/de/intevation/flys/artifacts/model/NamedObjectImpl.java:
18231 Implements the NamedObject interface and is the new base class of
18232 WQ and WKmsImpl.
18233
18234 * src/main/java/de/intevation/flys/artifacts/model/WKms.java:
18235 New. Interface to associate kms with ws.
18236
18237 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
18238 Changed the base class to NamedObjectImpl. Renamed getKms(int)
18239 to getKm(int) to make clear it return a single scalar value
18240 and fullfil the WKms interface.
18241
18242 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
18243 New. Implements the WKms interface. Intended to be a lightweight
18244 datastore for "zusaetzliche Laengsschnitte" and as results
18245 of the WKmsOperations.
18246
18247 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
18248 Changed base class to NamedObjectImpl.
18249
18250 * src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java:
18251 New. Operations on WKms data.
18252 Currently only the SUBTRACTION operation is implemented. This
18253 one is needed to calculate the "W-Differenzen". The operation
18254 is insensitive about the km directions of the datasets. Missing
18255 values are interpolated linear.
18256
18257 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
18258 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18259 Adjusted to satisfy the signature change of WQKMs.
18260
18261 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
18262
18263 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: New. This
18264 XYSeries stores the style information that should be used to render this
18265 series. These information are stored as raw XML documents. A public
18266 method can be used to apply those style information to a
18267 XYLineAndShapeRenderer.
18268
18269 Note: The only two attributes currently supported by StyledXYSeries
18270 items are "linesize" and "linecolor".
18271
18272 * doc/conf/themes.xml: Added some more basic themes for the four
18273 calculation methods.
18274
18275 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: This
18276 generator now tries to apply themes for all series contained in the
18277 chart. If a series is no instance of StyledXYSeries, the default
18278 renderer is used.
18279
18280 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
18281 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
18282 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
18283 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
18284 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18285 Removed the code that had been introduced to adapt renderers statically.
18286 Now, each of these concrete ChartGenerators instantiates StyledXYSeries
18287 items to put the curves into the chart. Those items contain style
18288 information now!
18289
18290 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
18291
18292 flys/issue135 (Diagramm: Trotz abgeschalteter Themen bleiben Beschriftungen bestehen)
18293
18294 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The way
18295 to store datasets has changed. Until this revision, the concrete
18296 generators managed their own datasets. E.g. the
18297 DischargeLongitudinalSectionGenerator had three datasets: w, q and
18298 corrected w. Now, there are just two datasets, managed by this base
18299 generator - one dataset for the first Y axis and one dataset for the
18300 second Y axis. This makes it easier to remove axes, that have no data to
18301 be displayed. All concrete chart generators have to add their XYSeries
18302 using two methods: addFirstAxisSeries() and addSecondAxisSeries().
18303
18304 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
18305 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
18306 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
18307 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
18308 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18309 Those concrete chart generators no longer manage datasets themself but
18310 they use the two methods described above, to plot the data to the first
18311 or second Y axis.
18312
18313 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
18314
18315 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
18316 Added the option to use a filter to reduce the number of items returned
18317 by this service.
18318
18319 2011-06-30 Ingo Weinzierl <ingo@intevation.de>
18320
18321 flys/issue159 (WINFO: Radiobutton - Ortsauswahl bei "W für ungleichwertigen Abflusslängsschnitt" entfernen)
18322
18323 * doc/conf/artifacts/winfo.xml: Changed the kilometer range input for
18324 calculation 4. This calculation type requires a kilometer range. So,
18325 after choosing the calculation 4, the transition model leads to a state
18326 that just allows the input of a kilometer range with no option to
18327 enter locations.
18328
18329 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
18330 New. A base state for the kilometer selection for calculations. The
18331 target of this state is to provide facets for the duration curves.
18332
18333 * src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java:
18334 New. This state is used to enter a kilometer range. The difference to
18335 the LocationDistanceSelect state is, that there is no option to enter
18336 locations.
18337
18338 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
18339 Improved this state to be the base state for calculation ranges.
18340
18341 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java
18342 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java
18343
18344 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
18345 state no longer inherits from RangeState which now is used as base
18346 state for kilometer ranges.
18347
18348 * src/main/resources/messages.properties,
18349 src/main/resources/messages_de_DE.properties,
18350 src/main/resources/messages_en.properties,
18351 src/main/resources/messages_de.properties: Added new i18n strings for
18352 the DistanceSelect state.
18353
18354 2011-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18355
18356 * pom.xml: Downgraded Trove to 1.1-beta-5, because the new
18357 later ones are removed from the maven repos.
18358
18359 The functionality we need is in 1.1 so this downgrade should
18360 cause no problems.
18361
18362 Would be nice if we would support the maintainers of trove to
18363 bring there new versions back into the main maven repos.
18364
18365 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
18366
18367 * pom.xml: Repaired the JBoss repository which place has changed.
18368
18369 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
18370
18371 Tagged RELEASE 2.4
18372
18373 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
18374
18375 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
18376 src/main/java/de/intevation/flys/exports/WstWriter.java:
18377 Append the corrected W column (if existing) to the WST export.
18378
18379 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18380
18381 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
18382 Guessing increaing w is not based on direct neighbors any more.
18383 The second to be compared with is choosen by random of
18384 the values before the first one. This makes the guessing
18385 more robust against 'plateaus' of equal w values.
18386
18387 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18388
18389 * src/main/java/de/intevation/flys/exports/ATWriter.java: Array
18390 for constructing the spline was too large leading to non-increasing
18391 values.
18392
18393 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18394
18395 Fix for flys/issue150
18396
18397 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
18398 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18399 Invert the x axis if its guessed that water is increasing.
18400
18401 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18402
18403 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(guessWaterIncreasing):
18404 Added a method to guess based on a given factor of the size (default 0.05)
18405 if the water levels are increasing. Needed to determine in which direction
18406 the water level curve should be orientated. Based on random to avoid
18407 running over large dataset each time a diagram is generated.
18408
18409 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
18410
18411 flys/issue177 (WINFO: Abflusskurven am Pegel verursachen ein Hängen des Servers)
18412
18413 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
18414 Commented out code to generate time ranges for series names. There
18415 seems to be a problem while loading the discharge tables of a gauge or
18416 while determining the start and/or end time of such discharge tables.
18417
18418 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18419
18420 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace.
18421
18422 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18423
18424 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18425 Removed dead code.
18426
18427 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18428
18429 Fix for flys/issue173
18430
18431 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
18432 Fixed the way the gauge was found for a given interval.
18433 The old way does not work because it was just tested if
18434 the station point was inside the segments which is not
18435 necessarily true. The obvious solution to simply check
18436 the overlapping intervals does not work either because
18437 the gauge ranges touch each other and so more than
18438 one gauge are returned in these cases. The River.maxOverlap()
18439 is now used to find the gauge with the max overlapping
18440 range.
18441
18442 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18443
18444 Fix for flys/issue147
18445
18446 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
18447 Removed the 'kmUp' flag. It was an left over from former
18448 WSP calculations (w/o ref km) leading to wrong results now.
18449
18450 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18451 Don't pass the kmUp flag to the calculation.
18452
18453 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18454 Added debug output to see the value of 'wq_free'.
18455
18456 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18457
18458 Fix for flys/issue86
18459
18460 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18461 The reference gauge for calculations "am Pegel" was determined
18462 wrong.
18463
18464 2011-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18465
18466 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18467 Conversion w->q was broken. This should fix a number of issues
18468 around "W am Pegel" calculations.
18469
18470 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18471 Issue an error report if a w->q conversion fails.
18472
18473 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18474 The gauge to convert w->q with its discharge table was determined wrong.
18475
18476 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
18477
18478 flys/issue174 (Diagramm: Q-Linie wird bei initialem Laden des Diagramms
18479 anders dargestellt als bei Ansicht auf gesamten Wertebereich)
18480
18481 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18482 The chart will now have upper margins again.
18483
18484 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
18485
18486 flys/issue172 (Diagramm: Ursprung der Diagramme bei Dauerzahlen)
18487
18488 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
18489 Charts of this type will have the lower X value set to "0".
18490
18491 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18492
18493 * src/main/java/de/intevation/flys/exports/ATWriter.java:
18494 Results are now in cm. Made it more robust against corner cases.
18495
18496 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
18497 Removed superfluous import.
18498
18499 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18500
18501 * doc/conf/artifacts/winfo.xml, doc/conf/conf.xml:
18502 Added facet config for AT exports.
18503
18504 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
18505 Added 'at' facet type.
18506
18507 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
18508 Generate AT facets.
18509
18510 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18511
18512 * src/main/java/de/intevation/flys/exports/ATExporter.java: New.
18513 Exporter for AT facets. Needs testing.
18514
18515 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18516
18517 * src/main/java/de/intevation/flys/exports/ATWriter.java: New.
18518 Writer for AT files. New code because our data model differs
18519 from Desktop-FLYS. Needs testing.
18520
18521 2011-06-23 Ingo Weinzierl <ingo@intevation.de>
18522
18523 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
18524
18525 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
18526 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
18527 Moved the method that adjusts the X-axis to include the "0" value from
18528 ComputedDischargeCurveGenerator to DischargeCurveGenerator. Now, both
18529 charts will include the "0" on the X-axis.
18530
18531 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18532
18533 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
18534 Based on WQ now to make it exportable as AT.
18535
18536 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18537
18538 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
18539 New. Base class for WQKms.
18540
18541 TODO 1: make it a base class for WQDay, too,
18542 TODO 2: Generate instances of WQ instead of WQKms in "Abflusskurven"
18543 calculations. This will save memory.
18544
18545 AT exporter will get instances of this class as data model
18546
18547 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
18548 Add default constructor to ease inheritance.
18549
18550 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
18551 Based on WQ now. Removed code allready defined in base class.
18552
18553 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18554
18555 * doc/conf/artifacts/winfo.xml: Add TODOs for error reports
18556 of "Abflusskurven am Pegel". Maybe we don't need them?
18557
18558 * doc/conf/conf.xml: Configure report for each calculated output type.
18559
18560 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
18561
18562 flys/issue164 (Berechnung 4: Umgekehrtes Berechnungsintervall führt zur)
18563
18564 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
18565 Create the items with range information for W and Q which allows the
18566 client to validate the user inserted values.
18567
18568 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18569
18570 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18571 Arguments in filling datastructure were flip. Now
18572 the "Abflusskurve am Pegel" looks correct again.
18573
18574 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
18575 Removed superfluous imports.
18576
18577 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18578
18579 Improved situtation on rendering "Abflusskurve am Pegel". Not
18580 fully working, yet.
18581
18582 * doc/conf/artifacts/winfo.xml: Generate facets for the location path, too.
18583
18584 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Misspelled
18585 the facet which prevented the facets from being to the outputs.
18586
18587 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
18588 Extended to store the hash and the state id of the producing artifact/state
18589 else it results in NPEs because the data is calculated on later (wrong) states.
18590
18591 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
18592 Store the state id and the hash in the facet, too.
18593
18594 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Add two
18595 method to do calculations for a state the artifact is currently not in
18596 and fetching the current state id.
18597
18598 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18599
18600 * doc/conf/artifacts/winfo.xml: Generate facets for "Abflusskurven am Pegel"
18601 Not working by now. :-/
18602
18603 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New facet type
18604 for "Abflusskurven am Pegel"
18605
18606 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Do calculation
18607 in the artifact not in the output generator.
18608
18609 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
18610 Generate the new facets.
18611
18612 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
18613 Fetch data from facet.
18614
18615 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
18616
18617 flys/issue161 (Diagramm: Q-Achse in W-Längsschnitten immer bei Q=0)
18618
18619 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18620 The Q axis (which is the second y axis) initially contains the 0 value.
18621 After a zoom action has taken place, this behaviour is no longer
18622 supported.
18623
18624 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18625
18626 Draw correction curve again.
18627
18628 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
18629 Use correction curve to map plot to axes. Not doing so prevented
18630 the correction curve from being drawn!
18631 Smaller code cleanups and simplifications.
18632
18633 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
18634 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
18635 Added methods to directly access the components w, q and c
18636 at a given index.
18637
18638 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
18639 Attribute access via DOM instead of XPath.
18640
18641 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18642 Code simplification.
18643
18644 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
18645
18646 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
18647
18648 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Splitted
18649 up zooming for x and y axes to be able to override specific axis
18650 zoom behaviour.
18651
18652 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
18653 The lower bound of the x axis (which is the Q axis in such chart) is
18654 always 0.
18655
18656 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
18657
18658 flys/issue90 (Diagramm: Trennung derDiagrammfläche und Achsenaufheben)
18659
18660 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
18661 Added a margin between chart data and chart axes.
18662
18663 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18664
18665 Fix for flys/issue158
18666
18667 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
18668 Checks for right class now.
18669
18670 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18671
18672 Fix for flys/issue154
18673
18674 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
18675 Checks for right class now.
18676
18677 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18678
18679 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18680 Only generate 'outs' if they have facets.
18681
18682 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
18683 'boolean ? true : false' <=> 'boolean'
18684
18685 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
18686
18687 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18688 Added the time-to-live to the DESCRIBE document.
18689
18690 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18691
18692 * doc/conf/artifacts/winfo.xml: Configured states to generate report facets.
18693
18694 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18695
18696 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
18697 Return the report.
18698
18699 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
18700 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
18701 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
18702 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
18703 Generate report facets if there are problems with the calculations.
18704 TODO: Adjust winfo.xml to configure the facets.
18705
18706 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18707
18708 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
18709 New. Generator for calculation reports.
18710
18711 * doc/conf/conf.xml: Added ReportGenerator.
18712
18713 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
18714 Added type 'report'.
18715
18716 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
18717 Specialized facet for serving reports. TODO: Added them to the
18718 calculation states.
18719
18720 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
18721 Looped through CallMeta for i18n purposes. TODO: do i18n
18722
18723 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18724 Removed superfluous import.
18725
18726 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
18727 Added some override annotations.
18728
18729 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18730
18731 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java:
18732 New. Used to transport the data and the error report.
18733
18734 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
18735 src/main/java/de/intevation/flys/artifacts/model/Calculation1.java,
18736 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
18737 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
18738 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java,
18739 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
18740 src/main/java/de/intevation/flys/artifacts/model/Calculation.java,
18741 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
18742 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
18743 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
18744 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
18745 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
18746 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
18747 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
18748 Use the CalculationResult now.
18749
18750 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18751
18752 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
18753 Allow an explicit reference km to enable calculation "am Pegel".
18754
18755 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18756 If a calculation "am Pegel" is done, take start km of the
18757 calculation range and find the gauge in which range it is located.
18758 Take the station of the gauge as the reference km. If no gauge
18759 is found the calcualtion falls back to calculation "auf freier Strecke".
18760
18761 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18762 Replaced another inefficient attribute extraction via XPath
18763 with direct DOM access.
18764
18765 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18766
18767 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
18768 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
18769 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
18770 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18771 Removed dead code.
18772
18773 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18774
18775 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java
18776 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
18777 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
18778 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
18779 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
18780 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
18781 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
18782 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
18783 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18784 Only generate facets when needed.
18785
18786 * src/main/java/de/intevation/flys/collections/OutputParser.java:
18787 Removed more XPath for simply accessing attributes of an element.
18788
18789 * doc/conf/cache.xml: 200 elements in memory for "computed.values" are enough,
18790 LRU as eviction strategy is sufficent.
18791
18792 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
18793 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Use
18794 more 'standard' Java naming conventions.
18795
18796 2011-06-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18797
18798 Merged in the facet-slt branch to bring in the 'facet' feature.
18799
18800 * doc/conf/artifacts/winfo.xml: Fixed some facets.
18801
18802 * doc/conf/cache.xml: Added a "computed.values" cache to store the
18803 results of the WINFO calculations.
18804
18805 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
18806 Add support for index per facet to make them unique and identifiable.
18807
18808 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
18809 New. Inteface to be used to access the facet names of the configuration.
18810
18811 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: New.
18812 A facet to be used to have raw access to the computed data of an artifact.
18813 Useful to export things like CSV and WST.
18814
18815 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: New.
18816 Specialized facet to access the water level data stored in WQKms arrays.
18817
18818 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java: New.
18819 Specialized facet to access the duration data stored in WQDay data structures.
18820
18821 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Facets are
18822 now generated dynamically from the current available ones stored with
18823 the artifact.
18824
18825 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Added
18826 methods computeAdvance() and computeFeed() called if artifact is fed or
18827 adance. This overwritten in subclasses to do the state depending calculations.
18828
18829 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
18830 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
18831 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
18832 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
18833 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: These
18834 states overwrites the computeAdvance() and computeFeed() methods to do
18835 the corresponding WINFO calculations.
18836
18837 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Calls
18838 computeAdvance() and computeFeed() if artifact is fed or advanced. Centralized
18839 the caching mechanism.
18840
18841 * src/main/java/de/intevation/flys/exports/AbstractExporter.java,
18842 src/main/java/de/intevation/flys/collections/AttributeParser.java,
18843 src/main/java/de/intevation/flys/collections/OutputParser.java,
18844 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
18845 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18846 Adjusted the code to cope with the indices of the facets. Used
18847 DOM to access the attributes instead of XPath. Removed smaller bugs
18848 concerning position generation.
18849
18850 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
18851 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
18852 src/main/java/de/intevation/flys/exports/OutGenerator.java:
18853 Forwarded facet references.
18854
18855 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
18856 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
18857 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
18858 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
18859 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
18860 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
18861 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
18862 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
18863 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
18864 Uses facets to fetch data and generate output now.
18865
18866 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
18867
18868 * doc/conf/artifacts/winfo.xml: Added a new parameter "wq_free" that
18869 determines the mode of calculation 1. If it is "false" (default),
18870 the calculation should be bound to a gauge.
18871
18872 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
18873 method to retrieve the information about the "wq_free" parameter.
18874
18875 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
18876
18877 * doc/conf/artifacts/winfo.xml: Added a facet for corrected W in
18878 computation 4.
18879
18880 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18881
18882 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
18883 Got rid of namespace in result document.
18884
18885 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
18886
18887 flys/issue77 (Diagramm: Beschriftung der Kurven bei Dauerlinien)
18888
18889 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
18890 Give the curves in the chart names.
18891
18892 * src/main/resources/messages.properties,
18893 src/main/resources/messages_de_DE.properties,
18894 src/main/resources/messages_en.properties,
18895 src/main/resources/messages_de.properties: Added titles for duration
18896 chart curves.
18897
18898 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18899
18900 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
18901 Write top 'Oberkante' and bottom 'Unterkante' to out going XML
18902 if they exist.
18903
18904 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
18905
18906 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
18907 Write the min/max W/Q ranges as art:range elements into the DESCRIBE.
18908
18909 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
18910
18911 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
18912 This state that is used to retrieve locations will now write the
18913 kilometer range of the selected river into the DESCRIBE document.
18914
18915 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18916
18917 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
18918 New. Factored out version of "Wasserspiegellage" calculation.
18919 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
18920
18921 Removed some dead code.
18922
18923 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
18924 Added Override annotation and used quick access method.
18925
18926 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18927 Looped through error reporting use by interpolate.
18928
18929 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18930 Used factored out version of calculation 1. Removed dead code.
18931
18932 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18933
18934 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java:
18935 New. Factored out version of "Abflusskurve".
18936
18937 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18938 Loop errors through w/q at km interpolation.
18939
18940 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18941 Use factored out version of calculation 2.
18942
18943 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18944
18945 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
18946 New. Factored out version of "Dauerzahlen".
18947
18948 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18949 Loop errors through for q->w interpolations.
18950
18951 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
18952 Added constructor to directly create with calculated results.
18953
18954 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
18955 Added method to return the number of problems.
18956
18957 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18958 Use factored out version of calculation 3.
18959
18960 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18961
18962 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
18963 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java,
18964 src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
18965 Added methods to remove NaN values.
18966
18967 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18968
18969 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
18970 New. Base class for calculations. Used to collect problems occuring
18971 during calculation.
18972
18973 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
18974 Extends Calculation now. Looped through the problem reports to
18975 base class.
18976
18977 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
18978 Looped through the problem reports.
18979
18980 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
18981
18982 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
18983 Append the min/max range and a transformation matrix for each axis.
18984
18985 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
18986 Instantiate the InfoGeneratorHelper with a XYChartGenerator instance.
18987
18988 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
18989 Changed the zoom operation. The zoom values defined in the chart request
18990 document are no longer absolute values for a specific axis. Those values
18991 represent percental values for the start and end point of x and y axes.
18992 E.g. a chart has three axes with the following ranges:
18993 - x axis : 0 - 10
18994 - y axis 1: 20 - 40
18995 - y axis 2: 40 - 90
18996 - zoom values for x: 0.1 - 0.9 (10% - 90%)
18997 - zoom values for y: 0.2 - 0.8 (20% - 80%)
18998 The produced chart will have the following ranges:
18999 - x axis : 1 - 9
19000 - y axis 1: 24 - 36
19001 y axis 2: 50 - 80
19002
19003 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
19004
19005 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
19006 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
19007 Map datasets to axes correctly.
19008
19009 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19010
19011 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
19012 Determine the gauges by their station positions. This hopfully
19013 fixes the problem with wrong assigned gauges and invalid segments.
19014
19015 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19016
19017 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
19018 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
19019 Added more debug output.
19020
19021 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
19022
19023 flys/issue103 PART 1 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz)
19024
19025 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19026 Selected values are formatted with the current locale. The static part
19027 of the DESCRIBE document will now contain i18n formatted numbers.
19028
19029 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
19030
19031 flys/issue93 (WINFO: Benennung der Berechnungsart korrigieren)
19032
19033 * src/main/resources/messages_de_DE.properties,
19034 src/main/resources/messages_de.properties: Changed the name of
19035 calculation 4.
19036
19037 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
19038
19039 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
19040 Made the range determination more robust against NaN values.
19041
19042 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
19043
19044 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
19045 The second y axis is set to position "1". It was set to "2" before, but
19046 in that case, there was no position "1".
19047
19048 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19049
19050 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
19051 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
19052 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
19053 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
19054 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
19055 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
19056 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
19057 s@m³/s@m\\u00b3/s@
19058
19059 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19060
19061 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
19062 Only generate an axis element if a axis really exists.
19063
19064 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19065
19066 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
19067 Simpified array swapping.
19068
19069 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19070
19071 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
19072 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19073 Use java.util.List instead of java.util.Vector
19074
19075 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
19076 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
19077 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
19078 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19079 Removed superfluous imports.
19080
19081 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19082
19083 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19084 createItem() is not abstract any longer to avoid code repetitionin sub classes.
19085
19086 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
19087 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
19088 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
19089 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
19090 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
19091 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
19092 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
19093 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
19094 Removed duplicated code, inserted default constructors and Override annotations.
19095
19096 2011-06-07 Ingo Weinzierl <ingo@intevation.de>
19097
19098 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
19099 Append axes range information to the info document.
19100
19101 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19102
19103 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19104 If feed() fails do not store invalid values in database.
19105
19106 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19107
19108 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
19109 Removed asymmetrical "- 1" from width calculation.
19110
19111 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19112
19113 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
19114 Fixed problem when more than one value per segment are given.
19115
19116 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19117
19118 Refactored version of "Berechnung 4"
19119
19120 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
19121 Added instance fields for a reference point (= location of gauge)
19122 and backup of values (needed for naming).
19123
19124 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
19125 Added a constructor to be created from a WQKms. This is helpful
19126 if a WQKms is replaced by a back jump correction.
19127
19128 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
19129 New. Outfactored version of "W bei ungleichmaessigen Abflusslaengsschnitt".
19130 Much cleaner now and it should have a better handling of the corner
19131 cases.
19132
19133 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19134 Removed the linear interpolation stuff. It is now in Linear. Removed
19135 the LinearRemap interpolation method because it is not needed any
19136 longer. Added a method to interpolate a given km with a given
19137 function.
19138
19139 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19140 Removed the old calc 4 and used the new one.
19141
19142 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
19143 Deleted. Not needed any longer.
19144
19145 * src/main/java/de/intevation/flys/artifacts/math/Function.java:
19146 New. Interface for a uni-variate real function.
19147
19148 * src/main/java/de/intevation/flys/artifacts/math/Identity.java:
19149 New. Implements Function with f(x) = x
19150
19151 * src/main/java/de/intevation/flys/artifacts/math/Linear.java:
19152 New. Implements Function with f(x) = m*x + b
19153
19154 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19155 Factored some stuff out to DoubleUtil. Removed some dead code.
19156 Does some rounding correct.
19157
19158 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: New.
19159 Centralized utils surrounding common double operations.
19160
19161 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
19162 Removed superfluous imports.
19163
19164 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
19165
19166 flys/issue90(Diagramm: Trennung der Diagrammfläche und Achsen aufheben)
19167
19168 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
19169 Determine the ranges of x and y axes. If no zoom ranges are given, we
19170 will determine the min and max xy values in the dataset manually,
19171 because JFreeCharts adds a margin to the left and right of the data
19172 area automatically..
19173
19174 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
19175
19176 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
19177 the chart creation into an own public method. This lets the
19178 ChartInfoGenerator create charts without duplicating code.
19179
19180 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
19181 Limited the possible class for generators to XYChartGenerator. This
19182 enables the ChartInfoGenerator class to do the whole chart creation
19183 stuff itself without outsourcing the code to concrete subclasses.
19184
19185 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
19186 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
19187 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
19188 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
19189 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
19190 Removed the code to generate charts - this is done in ChartInfoGenerator
19191 now.
19192
19193 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
19194
19195 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
19196 methods to extract the x and y ranges from request document.
19197
19198 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
19199 method that zooms the chart to the specified x and y ranges.
19200
19201 2011-06-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19202
19203 * doc/conf/conf.xml: Set collection ttl to 6 hours.
19204
19205 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19206
19207 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
19208 New. Parse segments only once.
19209
19210 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19211 Expose new parser to artifacts. TODO: Use it.
19212
19213 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19214
19215 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19216 Changed interpolation methods to interpolate to an arbitrary position
19217 in a given double result array as a preparation for segment independent
19218 calculation.
19219
19220 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19221 Removed superfluous import.
19222
19223 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
19224 Fixed cause for crashing: Run back too far in some siutations.
19225
19226 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19227 Refactored range code a bit. Needs more work.
19228
19229 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
19230
19231 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
19232 Interchange the lower and upper x value of the chart if the x-axis is
19233 inverted before the matrix values are computed. Now, the matrix is able
19234 to work with charts that have an inverted x-axis.
19235
19236 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
19237
19238 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: New. A
19239 chart info generator generates a document that contains meta information
19240 for a specific chart. Concrete instances of this abstract class need to
19241 instantiate concrete ChartGenerators and dispatch nearly all methods of
19242 an OutGenerator (init(), doOut(), setMaster()) to this instance. The
19243 generate() method is implemented in the ChartInfoGenerator itself. It
19244 creates a chart with help of the ChartGenerator instance and builds a
19245 document that contains meta information of this chart.
19246
19247 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: New.
19248 This helper is used to create the chart info document. At the moment,
19249 the only information that is included in this document is a
19250 transformation matrix to transform image coordinates into chart
19251 coordinates.
19252
19253 NOTE: The transformation matrix creation needs some work to support
19254 charts with inverted X axis.
19255
19256 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
19257 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
19258 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
19259 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
19260 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
19261 Concrete instances of ChartInfoGenerator that create the chart info for
19262 the currently supported chart types.
19263
19264 * doc/conf/conf.xml: Registered new OutGenerators.
19265
19266 2011-05-31 Ingo Weinzierl <ingo@intevation.de>
19267
19268 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19269 Added support for the 'type' paramter of the collection's out()
19270 operation.
19271
19272 2011-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19273
19274 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
19275 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19276 Use an explicit reference km for interpolation now.
19277
19278 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19279
19280 * doc/conf/cache.xml: Introduced cache to store the distance info per river.
19281 This boosts performance in following ab setup from 3.61 to 39.91 requests/secs.
19282
19283 $ ab -c 20 -n 1000 -p distances.xml http://127.0.0.1:8181/service/distanceinfo
19284
19285 $ cat distances.xml
19286 <?xml version="1.0" encoding="UTF-8"?>
19287 <art:river xmlns:art="http://www.intevation.de/2009/artifacts">Elbe</art:river>
19288
19289 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: Added
19290 an iterator result to avoid construction expensive interim lists.
19291
19292 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: Use
19293 the cache if configured.
19294
19295 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19296
19297 flys/issue82
19298
19299 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19300 Only successful interpolations are named.
19301
19302 2011-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19303
19304 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
19305 Make it work independent of river flow direction.
19306
19307 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
19308 Fixed bug in ordering segments
19309
19310 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-enabled
19311 calculation of the back jump correction. Fixed more flow direction issues.
19312
19313 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
19314
19315 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19316 Removed call of XMLDebug class which is not in the version control.
19317
19318 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
19319
19320 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19321 Moved the code part that skips themes right after the part that sets the
19322 master artifact for the OutGenerator. We need this master artifact to
19323 display empty charts - master artifact is used to create titles and
19324 axes.
19325
19326 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
19327
19328 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19329 Deactivated themes are not put into the chart.
19330
19331 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
19332
19333 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
19334 Repaired broken XPath expressions to find the output modes in an
19335 attribute document of a collection.
19336
19337 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: This
19338 writer will now create a document that has a root node art:attribute.
19339 Before these changes, the document's root node was art:outputs which is
19340 part of the attribute document but not the right root node.
19341
19342 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19343 Adapted some XPath expressions and corrected the the process to create
19344 attribute documents.
19345
19346 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19347
19348 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
19349 Made it work independent of from/to order.
19350
19351 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19352 Added method to extract the ranges correctly from data.
19353
19354 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19355 Use the correct ranges. Comment out backjump detection temporarily.
19356
19357 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19358
19359 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
19360 Generate fields for w/q input depend on flow direction.
19361
19362 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19363 Moved km up question out of loop.
19364 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19365
19366 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19367 Take the flow direction into account.
19368
19369 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19370 Prevent NPE.
19371
19372 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
19373 Allow to be 'from' greater than 'to' in ranges.
19374
19375 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Negate
19376 step if 'from' is greater than 'to'.
19377
19378 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19379
19380 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19381 Round exploded values to a precision of 1e-6.
19382
19383 2011-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19384
19385 Qs are now stored in ranges for each column.
19386
19387 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
19388 Deleted.
19389
19390 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
19391 Was WstValueTableFactory2.
19392
19393 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
19394 node linking bug. Removed dead code.
19395
19396 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19397 Q values are now stored in range trees by each column. The qs of the rows
19398 are removed and the calculations are adjusted. Removed dead code.
19399
19400 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19401
19402 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
19403 Moved cache name to WstValueTableCacheKey. Do not cache null references.
19404
19405 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
19406 Moved cache name into this class.
19407
19408 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19409 Store QRangeTree for each column of value table. TODO: Use them!
19410
19411 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
19412 Intended as a replacement for WstValueTableFactory, but is work in progress.
19413
19414 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
19415 index errors and added methods to dump as graphviz graph.
19416
19417 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
19418
19419 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
19420 Improved the validation of WQ values.
19421
19422 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Use the
19423 correct input data object to determine the selected WQ mode (range or
19424 single input).
19425
19426 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
19427
19428 ISSUE-40 (part I/II)
19429
19430 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19431 Write default values (values already selected by the user before) of the
19432 input data items into DESCRIBE.
19433
19434 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
19435
19436 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
19437 Removed needless imports.
19438
19439 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
19440
19441 ISSUE-85 (part III/III)
19442
19443 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
19444 Added a static function that returns the kilometer values (double[])
19445 from locations input (whitespace separated double values).
19446
19447 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
19448 the getKms() method. It will now return a computed array of kilometers
19449 if we had inserted a range, or it will return the inserted kilometers if
19450 we had inserted locations.
19451
19452 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19453
19454 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
19455 Moved cache key to separate class.
19456
19457 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
19458 New. The new cache key class.
19459
19460 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19461
19462 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
19463 Model to store the q values of a WST column efficiently. First
19464 building block not to store the q values directly aside the
19465 w values.
19466
19467 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
19468
19469 ISSUE-85 (part I/III)
19470
19471 * doc/conf/artifacts/winfo.xml: Added two further field 'ld_mode' and
19472 'ld_locations' to the range/locations state to track the selected mode
19473 and locations.
19474
19475 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
19476 Added methods to validate the user inserted locations.
19477
19478 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
19479 method to determine of a range or locations have been inserted.
19480
19481 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
19482
19483 ISSUE-62 (part II/II)
19484
19485 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Dump the
19486 artifacts state/data in DEBUG mode in describe().
19487
19488 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
19489 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
19490 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
19491 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
19492 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
19493 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
19494 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
19495 States will no longer store data. The only reason for states storing
19496 StateData is to know about the necessary data for this state. If a State
19497 needs to access the user input for a specific StateData object, it needs
19498 to query the FLYSArtifact which stores the data.
19499
19500 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
19501
19502 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
19503 method to dump the artifacts state(s)/data.
19504
19505 2011-05-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19506
19507 flys/issue84
19508
19509 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
19510 Forget to select wst kind.
19511
19512 2011-05-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19513
19514 flys/issue81
19515
19516 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19517 weights for kms were swapped.
19518
19519 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
19520
19521 Tagged RELEASE 2.3.1
19522
19523 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
19524
19525 * Changes: Prepared changes for the upcoming release.
19526
19527 2011-05-20 Hans Plum <hans@intevation.de>
19528
19529 * NEWS:
19530 Hint to Release 2.3.1. For further information look into module
19531 flys-client/NEWS
19532
19533 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19534
19535 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java (getExplodedValues):
19536 Increment kms array size by one to take the end of range, too.
19537
19538 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19539
19540 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
19541 Sort by rows (should not be necessary).
19542
19543 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19544 Use unsharp km lookup (epsilon = 0.0001). This fixes the problem
19545 that some kms were not found.
19546
19547 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
19548
19549 flys/issue66
19550
19551 * src/main/resources/messages_en.properties: Fixed broken template.
19552
19553 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
19554
19555 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19556 Set the name of the computed discharge curve objects.
19557
19558 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
19559 The curves of this chart will now have names that consist of the word
19560 'Discharge Curve', the river name and the kilometer that has been used
19561 for the computation.
19562
19563 * src/main/resources/messages.properties,
19564 src/main/resources/messages_de_DE.properties,
19565 src/main/resources/messages_en.properties,
19566 src/main/resources/messages_de.properties: Added i18n strings for the
19567 computed discharge curves.
19568
19569 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19570
19571 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19572 Added convenience method isQ() to determine if we are
19573 doing Q calculations.
19574
19575 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19576 Reintroduced titles for the "W for unausgeglichene Abfluesse".
19577
19578 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
19579
19580 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
19581 The curves will now have names that consist of the gauge name and its
19582 valid time range.
19583
19584 * src/main/resources/messages.properties,
19585 src/main/resources/messages_de_DE.properties,
19586 src/main/resources/messages_en.properties,
19587 src/main/resources/messages_de.properties: Added i18n strings for the
19588 discharge curves.
19589
19590 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19591
19592 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19593 Removed dead code.
19594
19595 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19596
19597 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19598 Use the correct method to generate kms.
19599
19600 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
19601 Added some logging to test the map in debug mode.
19602
19603 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19604
19605 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19606 Made getExplodedValues static.
19607
19608 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19609 Use new logic to calculate "W fuer ungleichwertige Abfluesse".
19610 Not working, yet.
19611
19612 * ChangeLog: Fixed former entry.
19613
19614 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
19615
19616 * doc/conf/artifacts/winfo.xml: Registered the WST export for discharge
19617 longitudinal sections.
19618
19619 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Set the
19620 names of the discharge longitudinal section computation results.
19621
19622 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
19623 The W/Q curves in the chart will now have names.
19624
19625 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
19626 The WstWriter is filled with column names in an own method. So, we are
19627 able to override this process in subclasses.
19628
19629 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
19630 Adapted the column names for the WST export.
19631
19632 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19633
19634 Work on flys/issue69
19635
19636 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19637 Use new logic to calculate "Wasserstand/Wasserspiegellage".
19638 Compared to desktop FLYS are the results are structurally right
19639 but a bit off in the positions after the decimal points.
19640 Maybe a result of the interpolation? Need to debug this.
19641
19642 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
19643
19644 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
19645 W and Q curves will now have names based on the defined W or Q values
19646 for the waterlevel computation.
19647
19648 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
19649
19650 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
19651 New. This object is used to give objects a name.
19652
19653 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Inherit
19654 from NamedObject now. Because we need to display names for those objects
19655 in different places.
19656
19657 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The WQKms
19658 objects returned by a waterlevel computation will now have names.
19659
19660 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
19661 Insert the column names for the WSTs into the WstWriter.
19662
19663 * src/main/java/de/intevation/flys/exports/WstWriter.java: The column
19664 names are written into the head of the WSTs now.
19665
19666 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
19667
19668 * src/main/java/de/intevation/flys/artifacts/model/WstLine.java: New. This
19669 class is used to store the W/Q values of a specific kilometer of a WST.
19670
19671 * src/main/java/de/intevation/flys/exports/WstWriter.java: New. A writer
19672 that creates WSTs.
19673
19674 TODO: The header of the WSTs is not finished. The Q descriptions are
19675 missing.
19676
19677 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
19678 Enabled WST exports.
19679
19680 * doc/conf/artifacts/winfo.xml: Registered the WST export for waterlevels.
19681
19682 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
19683
19684 * src/main/java/de/intevation/flys/utils/Formatter.java: New. This class
19685 supports functions to retrieve formatters for specific types of data
19686 used in FLYS.
19687
19688 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
19689 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
19690 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
19691 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
19692 Removed the formatter declaration - the whole formatter stuff is done in
19693 Formatter now.
19694
19695 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
19696
19697 ISSUE-72
19698
19699 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
19700 Repaired broken XPath expressions to extract start and end kilometer.
19701
19702 2011-05-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19703
19704 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19705 Removed the Hibernate loading stuff.
19706
19707 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
19708 New. The Hibernate loading.
19709
19710 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19711 Use the WstValueTableFactory for loading now.
19712
19713 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
19714
19715 Tagged RELEASE 0.1 aka Version 2.3.0
19716
19717 2011-05-16 Hans Plum <hans@intevation.de>
19718
19719 * NEWS:
19720 New. Giving some user specific perspective to new functionality and
19721 changes. This file references releases dates only; details can be find
19722 in the client module at flys-client.
19723
19724 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19725
19726 First step to calculate "W fuer ungleichwertige Abfluesse" correctly.
19727 flys/issue55
19728
19729 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
19730 New. Remaps "gleichwertige" Q values to the corresponding
19731 "ungleichwertige" Q values depending on km.
19732
19733 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19734 Remap the Q values "ungleichwertig" depending on the
19735 "gleichwertige" ones.
19736
19737 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19738
19739 First step to fix flys/issue69
19740
19741 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19742 New code path to implement the calculation of "Wasserstand/Wasspiegellage"
19743 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code.
19744
19745 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
19746
19747 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes
19748 file to get to know about the changes of the version numbers.
19749
19750 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
19751
19752 ISSUE-37
19753
19754 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This
19755 state would be happy if there is a UI provider called "river_panel".
19756
19757 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
19758
19759 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
19760 methods that return the requested chart size as integer array [width,
19761 height]. The requested size is read from the incomding request document.
19762
19763 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size
19764 of a chart is no longer static. The requested size is fetched using
19765 ChartGenerator.getSize().
19766
19767 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
19768
19769 ISSUE-52
19770
19771 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
19772 The X-Axis of such a chart is inverted, if the head of the river is not
19773 at kilometer 0. This type of charts always have the head of the river at
19774 the left side.
19775
19776 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19777
19778 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
19779 Make incoming XML symmetric to DistanceInfoService.
19780
19781 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
19782
19783 ISSUE-47
19784
19785 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
19786 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
19787 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
19788 Adjusted temporarily the color of the W, Q and corrected W curves to
19789 distinguish each other.
19790
19791 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
19792
19793 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
19794 Adjusted the plot of xy charts - the gridlines are displayed now.
19795
19796 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
19797
19798 ISSUE-53
19799
19800 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
19801 Added a method that returns the preferred locale based on the available
19802 locales of the server and the desired locales of the request (CallMeta).
19803
19804 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
19805 method that creates a number formatter with minimum and maximum digits.
19806
19807 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
19808 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
19809 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
19810 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
19811 Formatted the number values of the CSV exports.
19812
19813 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
19814
19815 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java:
19816 New. A data structure that enables us to save a data triple: a range
19817 that consist of lower and upper double value and a set of values that
19818 belong to this range.
19819
19820 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
19821 Implemented the validation of W/Q values.
19822
19823 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
19824
19825 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New
19826 method to retrieve i18n messages based on keys.
19827
19828 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
19829 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
19830 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
19831 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
19832 Added headers for CSV exports.
19833
19834 * src/main/resources/messages.properties,
19835 src/main/resources/messages_de_DE.properties,
19836 src/main/resources/messages_en.properties,
19837 src/main/resources/messages_de.properties: Added new i18n strings for
19838 CSV headers.
19839
19840 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19841
19842 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
19843 Fetches river name from incoming XML document. If no river is given all
19844 infos about all rivers are listed.
19845
19846 * src/main/resources/metadata/template.xml: Templates honors the 'river'
19847 parameter.
19848
19849 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
19850 Extended to pass parameters to the templating. Added support for
19851 type conversion.
19852
19853 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
19854 Take parameters as an initial stack frame.
19855
19856 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java:
19857 New. Converts types off stacked variables.
19858
19859 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
19860
19861 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
19862 method to add subtitles to charts. The implementation in this class does
19863 not add any subtitle. Concrete subclasses may override this method to
19864 add some.
19865
19866 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
19867 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
19868 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
19869 Add subtitles to charts.
19870
19871 * src/main/resources/messages.properties,
19872 src/main/resources/messages_de_DE.properties,
19873 src/main/resources/messages_en.properties,
19874 src/main/resources/messages_de.properties: Added i18n templates for
19875 compound messages (chart subtitles).
19876
19877 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
19878
19879 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
19880 Added new methods to retrieve translated compound messages.
19881
19882 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
19883
19884 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
19885 method to set the master artifact that should be used for some special
19886 operations.
19887
19888 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
19889 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
19890 Implement the setMasterArtifact() method of the interface.
19891
19892 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19893 Call OutGenerator.setMasterArtifact().
19894
19895 NOTE: The determination of the master artifact needs to be implemented!
19896
19897 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
19898
19899 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
19900 hard coded dev code that defined a WQ mode.
19901
19902 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19903
19904 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
19905 Stripped ugly extra whitespace from output introduced by
19906 templating.
19907
19908 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19909
19910 * src/main/resources/metadata/template.xml: Added forgotten
19911 columns of fixation WSTs.
19912
19913 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
19914
19915 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
19916 method to retrieve i18n strings.
19917
19918 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
19919 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
19920 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
19921 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
19922 Enabled i18n support for chart title and axes labels.
19923
19924 * src/main/resources/messages.properties,
19925 src/main/resources/messages_de_DE.properties,
19926 src/main/resources/messages_en.properties,
19927 src/main/resources/messages_de.properties: Added i18n strings for the
19928 chart types above.
19929
19930 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
19931
19932 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
19933 New. This OutGenerator exports the data of a discharge longitudinal
19934 section computation.
19935
19936 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter.
19937
19938 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the
19939 discharge_longitudinal_section state.
19940
19941 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19942
19943 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
19944 Added code to make back jump correction work with both
19945 potential flow directions.
19946
19947 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19948
19949 * src/main/resources/metadata/template.xml:
19950 Added data cage configuration for 'Längsschnitt'.
19951
19952 2011-05-06 Ingo Weinzierl <ingo@intevation.de>
19953
19954 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge
19955 longitudinal sections.
19956
19957 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A
19958 derived dataset to store W/Q values with corrected Ws for a kilometer
19959 range.
19960
19961 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new
19962 methods and a new constructor to initialize this data object with a
19963 predefined set of values.
19964
19965 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
19966 methods to retrieve the W/Q values for the 'discharge longitudinal
19967 section' computation.
19968
19969 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New
19970 methods to retrieve and compute data used for the 'discharge
19971 longitudinal section' computation.
19972
19973 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
19974
19975 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
19976 Bugfix: just write the ranges of gauges into the DESCRIBE if the
19977 'wq_values' data item is required.
19978
19979 * src/main/resources/messages.properties,
19980 src/main/resources/messages_de_DE.properties,
19981 src/main/resources/messages_en.properties,
19982 src/main/resources/messages_de.properties: Added i18n messages used in
19983 the DESCRIBE of the WQAdapted state.
19984
19985 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
19986
19987 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
19988 Changed the title of the y-axis (now 'W [NN+m]').
19989
19990 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
19991
19992 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the
19993 output state for creating 'discharge longitudinal section' charts.
19994
19995 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
19996 method that returns all gauges of the selected river based on a the
19997 given kilometer range.
19998
19999 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New.
20000 This state creates a set of elements for the DESCRIBE that consist of a
20001 tuple of kilometer values. The number of elements depend on the number
20002 of gauges intersected by the given kilometer range.
20003
20004 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
20005 New. This state is the output state that is reached after the 'discharge
20006 longitudinal section' computation has been chosen.
20007
20008 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
20009
20010 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default
20011 step width between two kilometers added - if no step width is given,
20012 this default width is used.
20013
20014 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
20015
20016 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
20017 Fixed a potential NullPointerException if there is just a single
20018 kilometer given to create a longitudinal section.
20019
20020 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20021
20022 * pom.xml: Added http://repository.jboss.org/maven2 repo
20023 to fix flys/issue30
20024
20025 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20026
20027 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20028 To make diagram generation possible ws are now generated from qs
20029 because they are many ws having different qs.
20030
20031 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
20032
20033 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
20034 Fetch the WQ data from WINFO artifact and write those values into the
20035 CSV export.
20036
20037 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
20038
20039 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
20040 methods to compute and retrieve the data for discharge curves (computed).
20041
20042 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
20043 Fetch the computed discharge curve data from WINFOArtifact and add the
20044 values into the JFreeChart dataset.
20045
20046 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
20047
20048 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable
20049 the WINFO artifact for computing discharge curves.
20050
20051 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge
20052 curves and exports for its data.
20053
20054 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
20055 New. This state is reached if the user chose the computed discharge
20056 curve.
20057
20058 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
20059 New. This is only a stub implementation at the moment. This
20060 OutGenerator should create computed discharge curves later. It extends
20061 the DischargeCurveGenerator which should do the same stuff for discharge
20062 curves for gauges.
20063
20064 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
20065 New. This is only a stub implementation at the moment. This OutGenerator
20066 should create the exports of the discharge curve computation.
20067
20068 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20069
20070 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration
20071 curve state (CSV export).
20072
20073 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve
20074 computations.
20075
20076 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New.
20077 This abstract OutGenerator represents the base class for exporting
20078 computed data. Currently, the CSV export is supported.
20079
20080 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved
20081 the most code to export to CSV into the AbstractExporter.
20082
20083 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
20084 New. This exporter exports the computed data of a duration computation.
20085
20086 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20087
20088 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20089 Modified a wrong debug statement which would confuse the user.
20090
20091 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20092
20093 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel
20094 state (CSV export).
20095
20096 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels.
20097
20098 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New.
20099 This OutGenerator exports the data of a waterlevel computation. Note:
20100 It is necessary to specify the desired facet (e.g.
20101 'waterlevel_export.csv').
20102
20103 * pom.xml: Added a dependency to OpenCSV.
20104
20105 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20106
20107 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20108 Introduced an "export" output target. If the target is "export", a
20109 facet (read from the incoming xml document) is a necessary parameter
20110 that determines which facets are written to the output.
20111
20112 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20113
20114 * src/main/resources/messages_en.properties: Bugfix: replaced german
20115 string (copy & paste mistake).
20116
20117 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20118
20119 * src/main/resources/messages.properties,
20120 src/main/resources/messages_de_DE.properties,
20121 src/main/resources/messages_en.properties,
20122 src/main/resources/messages_de.properties: Added new i18n strings for
20123 for the location selection.
20124
20125 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20126
20127 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
20128 New. An OutGenerator for creating duration curves.
20129
20130 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A
20131 model class to store necessary data for creating W and Q facets of a
20132 duration curve. This model stores W, Q and Days.
20133
20134 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
20135 Added a function to retrieve tuples of (day, q) based on a given gauge -
20136 these tuples are necessary for creating duration curves.
20137
20138 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
20139 methods to compute and retrieve the data necessary for creating duration
20140 curves.
20141
20142 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
20143 Bugfix: improved the access to the location array (avoid
20144 NullPointerException).
20145
20146 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves.
20147
20148 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20149
20150 * contrib/visualize-transitions.xsl: State quoting was done wrong.
20151
20152 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20153
20154 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the
20155 final state for creating duration curves.
20156
20157 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
20158 New. This state should be reached to just insert an array of locations.
20159
20160 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
20161 New. This state is reached if the duration curve calculation is
20162 selected.
20163
20164 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted
20165 getDistance() so that it takes care on inserted locations - not just
20166 inserted ranges.
20167
20168 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20169
20170 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
20171 Flush/persist caches at program exists.
20172
20173 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
20174 Commented out too eloquent debug output.
20175
20176 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20177
20178 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20179 Uses the methods of FLYSArtifact to retrieve the necessary information
20180 rivername and selected distance.
20181
20182 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20183
20184 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20185 Added interpolateW method to take reference to result ws array
20186 as an argument to avoid expensive array allocations in km iterating
20187 loops.
20188
20189 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
20190 Added a constructor to create backing trove datastructure
20191 with the right capacity.
20192
20193 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
20194 Move allocation of result ws out of km loop.
20195
20196 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20197
20198 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ
20199 selection state. Those items are necessary to store the information
20200 about the selected mode (range/single selection) and the values of the
20201 single selection.
20202
20203 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If
20204 there is no value for a data item, this item is not written into the
20205 static DESCRIBE part.
20206
20207 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
20208 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
20209 Renamed the method to validate upper and lower values.
20210
20211 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
20212 state can now handle values inserted in the single selection. Therefore,
20213 new validate methods has been added.
20214
20215 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
20216 methods getWs() and getWs() take care on the values inserted in the
20217 single insert mode of the client which enables the user to insert single
20218 W and Q.
20219
20220 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20221
20222 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
20223 Repaired getQForW() by calculating indices on right dimension.
20224
20225 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20226
20227 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
20228 methods for retrieving selected W values (getWs()).
20229
20230 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
20231 method for retrieving waterlevel data takes care on selected Ws, now.
20232 The selected Ws are transformed using the DischargeTables.getQForW()
20233 into Q values.
20234
20235 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20236
20237 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
20238 Removed an unused parameter 'result' of getQForW().
20239
20240 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20241
20242 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed
20243 the getDataset() method and replaced it with a addDataset() method.
20244 On this way, concrete subclasses of this OutGenerator can have multiple
20245 datasets (e.g. different datasets for W and Q). This abstract method is
20246 called after the chart generation is finished.
20247
20248 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
20249 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20250 Both classes implement the addDataset() method. The
20251 LongitudinalSectionGenerator has already multiple datasets for W and Q.
20252 Both are added to the chart - both have an own range axis.
20253
20254 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20255
20256 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20257 Use the cache for the wst value table if configured.
20258
20259 * doc/conf/cache.xml: Choose a more precise name for the
20260 wst value table cache.
20261
20262 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20263
20264 * pom.xml: Added dependency to Ehcache. Apache 2.0 license.
20265
20266 * doc/conf/conf.xml: Added configuration of ehcache.
20267
20268 * doc/conf/cache.xml: New. Cache configurations.
20269
20270 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
20271 New. Factory to access caches.
20272
20273 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20274
20275 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
20276 Forgot to add.
20277
20278 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
20279 New. Given a database connection and a XML template it generates
20280 an output with meta data about the database.
20281
20282 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
20283 New. Holds prepared statements optimized to be run in the stack of
20284 contextes.
20285
20286 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
20287 New. Model to hold a hierarchical scope of variables.
20288
20289 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
20290 New. Stores data set fetched from a sql select to be iterated in
20291 a context.
20292
20293 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
20294 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20295 Removed superfluous imports.
20296
20297 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20298
20299 * doc/conf/conf.xml: Added meta data service.
20300
20301 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
20302 Stub for the meta data service.
20303
20304 * src/main/resources/metadata/template.xml: Initial template for
20305 the meta data service.
20306
20307 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20308
20309 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20310 Bugfix: Now, curves for Q values are drawn into a longitudinal section
20311 chart as well. Therefore, it was necessary to change the datastructure
20312 of the inner class ThemeList that stores all themes included in a chart
20313 in an ordered list (stored in a java.util.Vector now).
20314
20315 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20316
20317 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An
20318 abstract base class for ChartGenerators that create XY charts.
20319
20320 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20321 Sourced the generate() method out to the XYChartGenerator.
20322
20323 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
20324 Implemented the methods to add W and Q facets to the chart.
20325
20326 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20327
20328 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved
20329 the calculation of the step with for ranges.
20330
20331 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20332
20333 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a
20334 method that returns the number of elements stored in the data pool.
20335
20336 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20337
20338 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
20339 Added a get() method which takes destination array as an
20340 argument.
20341
20342 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20343
20344 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the
20345 data structure to store w, q and kms values from List<Double> to
20346 TDoubleArrayList which stores native double values instead of big
20347 Double values.
20348
20349 * pom.xml: Added the GNU Trove dependency.
20350
20351 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20352
20353 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the
20354 name a the requested facet to doOut(). Concrete generators should just
20355 create output for this facet now.
20356
20357 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
20358 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
20359 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20360 Adapted the method signature of doOut().
20361
20362 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20363 Adapted the method call of OutGenerator.doOut().
20364
20365 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20366
20367 * doc/conf/themes.xml: Added mappings for the facets
20368 longitudinal.section.w and longitudinal.section.q.
20369
20370 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20371
20372 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some
20373 methods to retrieve necessary information for computing the data of a
20374 waterlevel.
20375
20376 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
20377 methods to compute and retrieve the data of a waterlevel computation.
20378
20379 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20380
20381 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This
20382 model class represents a pool of data triples that consist of W, Q and
20383 Kms information. This class might be used to compute data for creating
20384 longitudinal section curves (which are based on those W, Q and Kms
20385 values).
20386
20387 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20388
20389 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20390 Bugfix: Removed endless loop and a bug while iterating over Hibernate
20391 results.
20392
20393 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
20394
20395 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
20396 New. An OutGenerator that creates longitudinal section curves.
20397
20398 NOTE: This is just the stub - the out creation needs to be implemented!
20399
20400 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator.
20401
20402 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
20403
20404 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section.
20405
20406 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
20407
20408 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New.
20409 This state should be reached if the 'calc.surface.curve' calculation
20410 method has been chosen.
20411
20412 * doc/conf/artifacts/winfo.xml: Modified a transition and added the
20413 WaterlevelState. This state is reached if the 'calc.surface.curve'
20414 calculation method has been chosen. It currently has 1 output - a
20415 longitudinal section that is not implemented yet!
20416
20417 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
20418
20419 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java:
20420 New. This transition is valid if the a data object of the current
20421 artifact equals/notequals a configured value in the transition model.
20422
20423 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
20424
20425 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
20426 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes:
20427 - Adapted the parameters of the isStateReachable() call - added the
20428 artifact and the current state.
20429 - Append the outputs of a current state if the state is filled with
20430 valid data.
20431
20432 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
20433
20434 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
20435 Added the missing init() method that has been introduced in the
20436 interface some commits ealier.
20437
20438 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
20439 Call init() after a Transition has been created.
20440
20441 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
20442
20443 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
20444 Bugfix: Introduced a <art:outputs> node in the attribute document of a
20445 Collection that contains further <art:output> nodes - instead of having
20446 multiple <art:output> nodes at toplevel of the document.
20447
20448 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20449 Adapted the XPath to retrieve the outputs in the attribute document of a
20450 Collection.
20451
20452 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20453
20454 * contrib/visualize-transitions.xsl: Added to create a
20455 Graphviz digraph out of the config.xml. Usage:
20456
20457 $ xsltproc --stringparam base-dir ../doc/conf/ \
20458 contrib/visualize-transitions.xsl \
20459 doc/conf/conf.xml > transitions.dot
20460
20461 $ dot -Tsvg -o transitions.svg transitions.dot
20462
20463 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
20464
20465 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
20466 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
20467 If no data has been inserted so far, an IllegalArgumentException is
20468 thrown.
20469
20470 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
20471
20472 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java::
20473 A lot of new methods to retrieve the theme of a facet - used while
20474 creating the output of a facet/artifact. If a facet has no theme yet, it
20475 is initialized.
20476
20477 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
20478
20479 * src/main/java/de/intevation/flys/collections/AttributeParser.java,
20480 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed
20481 useless imports.
20482
20483 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
20484
20485 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An
20486 abstract OutGenerator that might be used to create chart output. Some
20487 basic things that are equal in all charts should be done here!
20488
20489 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20490 This OutGenerator no longer implements the OutGenerator directly, but it
20491 extends the ChartGenerator now.
20492
20493 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
20494
20495 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20496 Restructured the out() operation of a collection: Now, we collect a list
20497 of artifacts/facets and use this for the OutGenerator. Its doOut()
20498 method gets the attribute of an artifact - the position and the active
20499 state is managed by the Collection itself.
20500
20501 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
20502
20503 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New.
20504 a specialized facet that stores information about its position and its
20505 state (active/inactive) in an output of a collection.
20506
20507 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New.
20508 This parser takes the attributes (XML) of a collection and extracts the
20509 contained outputs with its facets. The result is a Map<String, Output>.
20510
20511 * src/main/java/de/intevation/flys/collections/OutputParser.java: New.
20512 This parser is used to query the artifact's DESCRIBE and to extract the
20513 supported outputs. The result is a Map<String, Output>.
20514
20515 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New.
20516 This writer merges the outputs contained in an attribute of a collection
20517 with the outputs of a collection's artifacts.
20518
20519 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20520 The attributes of a collection are written into its DESCRIBE document
20521 now. The OutputParser and AttributeParser are used to read the supported
20522 attributes by the collection and its artifacts - the AttributeWriter is
20523 used to merge both attributes and create a final attribute document.
20524
20525 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
20526
20527 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java,
20528 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
20529 The facet-2-theme mappings are initialized at startup and stored in the
20530 FLYSContext.
20531
20532 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a
20533 function that retrieves a theme from FLYSContext based on its name.
20534
20535 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20536
20537 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20538 Corrected a silly c&p mistake.
20539
20540 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20541
20542 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
20543
20544 Implementation of the "Ruecksprungkorrektur" to be done in
20545 "W fuer angepassten Abflusslaengschnitt".
20546
20547 All tests show the expected results. In some corner cases the
20548 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur"
20549 has some definition shortcomings:
20550
20551 a - What should happend when you cannot find point 2 because
20552 you cannot step back one quarter from point 3 because there
20553 is no data there any more (river too short in this direction)?
20554 The implemented algorithm raises point 3' only to an
20555 according factor. E.g. If you can step back the whole quarter
20556 distance the elevation is the full quarter. If you can
20557 step back only the half of the quarter the elevation is
20558 only an eighth.
20559
20560 b - If the water heights between point 2 and 3 are constant then
20561 the algorithm will produce a spline interpolation that
20562 lowers those values. Is this intended?
20563
20564 For real data the back jumps are expected to be more in the middle
20565 of the distance ranges so the corner cases are maybe not so
20566 important.
20567
20568 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
20569 Removed superfluous import.
20570
20571 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
20572
20573 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug
20574 code that has been commited by accident.
20575
20576 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
20577
20578 * doc/conf/themes.xml: New. A first small theme configuration.
20579
20580 * doc/conf/conf.xml: Added a link to the theme configuration.
20581
20582 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
20583 Defined a key that is used to store a themes map in the FLYSContext.
20584
20585 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
20586 The theme configuration is read at startup and the themes are stores in
20587 the FLYSContext.
20588
20589 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
20590
20591 * src/main/java/de/intevation/flys/themes/Theme.java,
20592 src/main/java/de/intevation/flys/themes/DefaultTheme.java:
20593 New. The interface and its default implementation that represents themes
20594 used to style charts and maps.
20595
20596 * src/main/java/de/intevation/flys/themes/ThemeField.java,
20597 src/main/java/de/intevation/flys/themes/DefaultThemeField.java:
20598 New. The interface and its default implementation that represents fields
20599 in themes. A theme might be "Lines" and one of its field might be
20600 "Color" or "Size".
20601
20602 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory
20603 that creates new themes based on a theme configuration.
20604
20605 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20606
20607 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20608 Implementation of "Abflusskurve/Abflusstafel" calculation.
20609
20610 Added method interpolateWQ() which takes an km and results in a
20611 tuple of two double arrays containing the w/q values interpolated
20612 between the surrounding w/q values of the table.
20613 w values are interpolated linear, q values with a cubic spline.
20614
20615 Drawing w over q gives you the discharge table at the given km.
20616
20617 !!! This code needs testing !!!
20618
20619 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20620
20621 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0)
20622
20623 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20624
20625 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
20626 Fix problem when sorting by q (copied w instead of q).
20627
20628 2011-04-20 Ingo Weinzierl <ingo@intevation.de>
20629
20630 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
20631 Fixed broken HQL statement.
20632
20633 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20634
20635 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20636 add a method interpolateW() which takes an array of
20637 q values and returns an equal sized array of w values.
20638 This is essentially the "Wasserstand/Wasserspiegellagen" calculation
20639 of desktop FLYS.
20640
20641 If you want to do a calculation with given w values you have
20642 to convert the w values with DischargeTables.getQForW() first.
20643
20644 !!! This code needs heavy testing !!!
20645
20646 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20647
20648 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
20649 We need a getQForW() method and not getWForQ() because when
20650 doing a "Wasserstand/Wasserspiegellagen" calculation with given
20651 w values these values need to be translated to q values with
20652 the master discharge table.
20653
20654 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20655
20656 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
20657 Sorting of q values was done wrong.
20658
20659 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
20660
20661 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
20662 Ordered the list of annotations returned by this factory based on its
20663 range.
20664
20665 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
20666
20667 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
20668 New. This service returns an XML document that includes the main values
20669 of a gauge based on a river name, a start and an end point.
20670
20671 * doc/conf/conf.xml: Registered the MainValuesService.
20672
20673 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
20674
20675 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
20676 A factory that provides methods to return MainValues.
20677
20678 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20679
20680 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
20681 Added static method getWForQ() to interpolate a w value for
20682 a given q value based on a given discharge table.
20683
20684 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20685
20686 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
20687 Added convenience constructors/methods to ease the access to the master
20688 discharge table of a gauge.
20689
20690 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20691
20692 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20693 Moved the query complexity into view 'wst_value_table' and
20694 used this instead.
20695
20696 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20697
20698 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20699 Fetches w/q value tables from the backend. TODO: Move this
20700 to the backend and use a view.
20701
20702 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
20703
20704 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
20705 the error key that is thrown if no input data was found so that the key
20706 is usable for GWT's i18n mechanism.
20707
20708 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
20709
20710 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
20711 The inserted river is validated now (overrides validate() of
20712 DefaultState).
20713
20714 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
20715
20716 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
20717 The inserted calculation method is validated now (overrides validate()
20718 of DefaultState).
20719
20720 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
20721
20722 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
20723 The input data of feed() are validated using the DefaultStates
20724 validate() method.
20725
20726 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
20727 New method validate() that needs to be overidden by concrete subclasses.
20728 It should return true, if the data of the State is fine, otherwise it
20729 should raise an exception.
20730
20731 NOTE: The exceptions are not translated in the server but in the client!
20732
20733 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New.
20734 This abstract class exists to provide some methods for handling ranges.
20735 Currently, there is a method that validates a given range based on
20736 min/max values.
20737
20738 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
20739 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
20740 Implemented input data validation for ranges.
20741
20742 NOTE: The input validation of concrete values has not been implemented
20743 yet!
20744
20745 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
20746
20747 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
20748 Removed debug code that has been commited by accident :-/
20749
20750 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
20751
20752 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
20753 getGauge() method returns the first gauge based on the given start and
20754 end point of the river.
20755
20756 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
20757 Fixed potential bugs: if no gauge could be determined, the default
20758 values for W and Q are the minimum and maximum double values.
20759
20760 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
20761
20762 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills
20763 the DESCRIBE with default values for W and Q.
20764
20765 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
20766
20767 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
20768 New. Returns Wst object - based on a river.
20769
20770 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
20771
20772 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now
20773 provides some methods that return some basic objects inserted while
20774 parameterization: River, Gauge and so on.
20775
20776 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
20777
20778 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
20779 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
20780 Bugfix: Repaired broken imports of the SessionHolder.
20781
20782 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
20783
20784 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
20785 Moved this class to flys-backend.
20786
20787 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
20788 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
20789 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
20790 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java,
20791 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
20792 Adapted imports of the SessionHolder.
20793
20794 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20795
20796 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
20797 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
20798 Acquire/release sessions in services to avoid db connection leaks.
20799
20800 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
20801
20802 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
20803 Changed some method signatures - added a reference to the owner
20804 Artifact.
20805
20806 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
20807 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
20808 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
20809 Modified method signatures based on the changes in DefaultState.
20810
20811 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
20812 Added default values to the dynamic part of DESCRIBE.
20813
20814 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
20815
20816 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
20817 Added a function that returns a River object based on a given river
20818 name.
20819
20820 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20821
20822 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
20823 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
20824 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
20825 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
20826 Static methods are using the SessionHolder, too.
20827
20828 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
20829
20830 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
20831 Added the setup() method that has been added to the interface
20832 description in the last commits.
20833
20834 * doc/conf/conf.xml: Registered the SessionCallContextListener as
20835 CallContext.Listener.
20836
20837 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
20838
20839 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
20840 Bugfix: Call correct method to retrieve an instance of
20841 SessionFactoryProvider.
20842
20843 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20844
20845 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
20846 New. Contains thread local session holder for hibernate sessions.
20847
20848 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
20849 Uses session from SessionHolder.
20850
20851 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
20852 Interacts with SessionHolder now.
20853
20854 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
20855 Removed superfluous import.
20856
20857 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
20858
20859 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
20860 Implementation of a CallContext.Listener to open/close Hibernate
20861 Sessions for each request.
20862
20863 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
20864
20865 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
20866 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
20867 Some modifications related to the last commit - modification of the
20868 describe() signature of a State.
20869
20870 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
20871
20872 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java:
20873 Removed. We do not need a state to select a gauge - the selection takes
20874 place by choosing a start and an end point.
20875
20876 2011-04-13 Ingo Weinzierl <ingo@intevation.de>
20877
20878 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
20879 Bugfix: added missing label node to root node and a namespace to the
20880 data node.
20881
20882 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
20883
20884 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
20885 The name of the artifact 'winfo' is written into the DESCRIBE document
20886 now. We need this to have a proper way to distinguish between different
20887 artifacts in the UI.
20888
20889 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
20890
20891 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix:
20892 States are filled with data before they describe themself.
20893
20894 2011-04-11 Ingo Weinzierl <ingo@intevation.de>
20895
20896 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
20897 New. A factory that returns the annotations of a specific river.
20898
20899 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
20900 New. This service provides a document that contains information about
20901 distances of a river.
20902
20903 * doc/conf/conf.xml: Registered the DistanceInfoService.
20904
20905 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
20906
20907 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20908 This collection overrides the out() operation now. The incoming request
20909 document is read and the related OutGenerator is used to create the
20910 output.
20911
20912 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
20913 the code to create discharge curves. It has moved to the
20914 DischargeCurveGenerator which now does this work.
20915
20916 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
20917
20918 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The
20919 generate() method throws an IOException now.
20920
20921 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20922 New. This OutGenerator creates discharge curves.
20923
20924 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
20925
20926 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
20927 the visibility of the getData() method. It's now public, because the
20928 OutGenerator needs an artifact's data.
20929
20930 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20931
20932 * src/**/*.java: Removed trailing whitespace.
20933
20934 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20935
20936 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20937 Make project compilable again by
20938 commenting out a not existing XMLDebug reference.
20939
20940 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
20941
20942 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
20943 Added code to parse the configured OutGenerators and to save them (in a
20944 map) in the FLYSContext.
20945
20946 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
20947 Added a key that is used to save the OutGenerators Map in the context.
20948
20949 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
20950
20951 * src/main/java/de/intevation/flys/exports/OutGenerator.java:
20952 New. This interface is used to generator different types of output.
20953 ArtifactCollections will make use of this interface to create a
20954 collected output of all its artifacts.
20955
20956 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
20957
20958 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20959 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase
20960 operations instead.
20961
20962 * TODO: Removed 'remove Backend reference' TODO.
20963
20964 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
20965
20966 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the
20967 discharge curve output mode. This output now provides three facets - W,
20968 Q and the curve itself.
20969
20970 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
20971
20972 Tagged RELEASE 0.1
20973
20974 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
20975
20976 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO
20977 artifact configuration.
20978
20979 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
20980
20981 * src/main/resources/messages_de_DE.properties,
20982 src/main/resources/messages_de.properties: Changed a german string.
20983
20984 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
20985
20986 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
20987 Modified the available calculation modes and its order in the DESCRIBE
20988 document.
20989
20990 * src/main/resources/messages.properties,
20991 src/main/resources/messages_de_DE.properties,
20992 src/main/resources/messages_en.properties,
20993 src/main/resources/messages_de.properties: Adapted the names of
20994 calculation modes.
20995
20996 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
20997
20998 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20999 Added the hash code of an artifact to the artifact part of the
21000 collection's DESCRIBE document.
21001
21002 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
21003
21004 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed
21005 the background color of discharge curves to white.
21006
21007 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21008
21009 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21010 Cache the scale, too. Otherwise two calls to getValues() with
21011 different arguments will result in the same output.
21012
21013 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
21014
21015 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21016 Introduced a 'scale' parameter in the getValues() method.
21017
21018 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled
21019 the out() operation with code that draws a discharge table of one or
21020 more gauges specified by the given range in entered in a previous state.
21021
21022 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
21023
21024 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
21025 New. A helper class to exports charts.
21026
21027 * pom.xml: Added dependencies to iText, Batik and JFreeChart.
21028
21029 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21030
21031 * src/main/java/de/intevation/flys/importer/PegelGltParser.java:
21032 Fixed swap of operands.
21033
21034 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21035
21036 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
21037 New. Load gauges for a river and filter them for given
21038 ranges.
21039
21040 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21041
21042 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21043 Store data in a double [][] instead of interleaved double []
21044 to be compatible with org.jfree.data.xy.DefaultXYDataset.
21045
21046 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
21047
21048 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove
21049 the Backend reference from FLYSArtifactCollection.
21050
21051 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
21052
21053 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21054 Added missing artifact namespace of an attribute in the DESCRIBE
21055 document.
21056
21057 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
21058
21059 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21060 New. This ArtifactCollection overrides the DefaultArtifactCollection to
21061 implement FLYS specific describe() and out() operations.
21062
21063 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the
21064 DefaultArtifactCollection for this application.
21065
21066 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21067
21068 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21069 New. Fetches values of discharge tables in form of packed
21070 w/q double arrays for given gauges.
21071
21072 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
21073 Removed needless import.
21074
21075 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
21076
21077 * src/main/resources/messages_de_DE.properties: Added a german resource
21078 bundle to avoid exceptions in the flys artifacts. Sometimes, the
21079 Resources class is not able to find a 'de_DE' bundle and throws an
21080 exception. This is really strange, because it should use the 'de' bundle
21081 in that case, but it doesn't.
21082
21083 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
21084
21085 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
21086 some code to append the output modes of previous states to the DESCRIBE
21087 document.
21088
21089 TODO: Determine if the current state is already filled with data and
21090 append its output modes as well!
21091
21092 2011-03-22 Ingo Weinzierl <ingo@intevation.de>
21093
21094 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with
21095 an output mode 'discharge_table'.
21096
21097 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
21098
21099 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21100 Write human readable strings as label attribute into the DESCRIBE
21101 output. Those labels are used to be displayed in the GUI.
21102
21103 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
21104
21105 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
21106 Added some further calculation types.
21107
21108 * src/main/resources/messages.properties,
21109 src/main/resources/messages_en.properties,
21110 src/main/resources/messages_de.properties: Added i18n strings for the
21111 calculation types
21112
21113 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
21114
21115 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
21116 Implemented the step-back part of the advance() operation.
21117
21118 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
21119
21120 * src/main/resources/messages_de.properties: Fixed a german umlaut.
21121
21122 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
21123
21124 * doc/conf/artifacts/winfo.xml: Added new states for entering a
21125 location/distance and w/q.
21126
21127 * src/main/resources/messages.properties,
21128 src/main/resources/messages_en.properties,
21129 src/main/resources/messages_de.properties: New string for the
21130 location/distance and w/q input states.
21131
21132 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
21133
21134 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
21135 New. A state for the W/Q input of the WINFO parameterization.
21136
21137 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
21138
21139 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21140 Append an attribute 'uiprovider' to the dynamic UI node.
21141
21142 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
21143 New. A state for the location/distance selection of the WINFO
21144 parameterization.
21145
21146 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
21147
21148 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21149 Added a new method getUIProvider() that might be overriden by concreted
21150 subclasses that should be rendered with a specific UIProvider.
21151
21152 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
21153
21154 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
21155 The static UI part is created by the previous states now. This makes it
21156 possible to group the data objects (which is necessary to group the
21157 objects in the ui).
21158
21159 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21160 Added a describeStatic() method that creates a node that contains the
21161 data of that state.
21162
21163 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
21164
21165 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
21166 Removed TODO: the document contains the rivers provided by the backend
21167 now.
21168
21169 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21170
21171 * pom.xml: Added dependency to flys backend.
21172
21173 * src/main/java/de/intevation/flys/artifacts/model/River.java:
21174 Removed. We are using the backend model now.
21175
21176 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
21177 Fetches the rivers from the backend.
21178
21179 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
21180 Import fixes.
21181
21182 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21183
21184 * doc/conf/conf.xml: Added section for database backend configuration.
21185
21186 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21187
21188 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
21189 Fixed build error coming from different import of XMLUtils.
21190
21191 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
21192
21193 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21194 Appended the missing label node that contains the human readable name of
21195 the data item.
21196
21197 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
21198
21199 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
21200 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21201 I18N of strings for the DESCRIBE document.
21202
21203 * src/main/resources/messages.properties,
21204 src/main/resources/messages_en.properties,
21205 src/main/resources/messages_de.properties: I18N strings for the
21206 calculcation mode state.
21207
21208 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
21209
21210 * doc/conf/artifacts/winfo.xml: Modified the winfo states.
21211
21212 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted
21213 the artifact regarding the changes of the last commit. The states
21214 describe() method creates the dynamic UI node - the artifact needs to
21215 apply this node.
21216
21217 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
21218 New. The state for choosing the calculation mode.
21219
21220 * src/main/resources/messages.properties,
21221 src/main/resources/messages_en.properties,
21222 src/main/resources/messages_de.properties: Added i18n strings for the
21223 calculation mode state.
21224
21225 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
21226
21227 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21228 New. This is the base state for the FLYS application. It provides a
21229 method that creates the dynamic ui node for the DESCRIBE.
21230
21231 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
21232 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both
21233 classes extend the abstract base class DefaultState.
21234
21235 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
21236
21237 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
21238 New. This class retrieves the i18n strings from a ResourceBundle.
21239
21240 * src/main/resources/messages.properties,
21241 src/main/resources/messages_en.properties,
21242 src/main/resources/messages_de.properties: Resource files for german and
21243 english translation.
21244
21245 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
21246
21247 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
21248 the data that have been inserted in former states into the static node
21249 of the DESCRIBE.
21250
21251 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
21252
21253 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
21254 operations feed() and advance() return the description of the artifact
21255 using the describe() operation. This avoids additional server round trips
21256 in the client - the clients gets to know about the new state of the
21257 artifact immediately.
21258
21259 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
21260
21261 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
21262 Implemented a part (step forward) of the advance operation.
21263
21264 * TODO: Implement Step-Back in advance operation.
21265
21266 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
21267
21268 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
21269 Implemented the abstract method getName(). It returns the constant
21270 'winfo' string.
21271
21272 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
21273 Implemented the feed action. The data of an incoming feed() operation is
21274 stored in StateData objects that are saved in a map in the artifact.
21275
21276 NOTE: There is no input validation and no i18n of error messages (see
21277 TODO).
21278
21279 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
21280
21281 * TODO: This file contains some open points that need to be done.
21282
21283 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
21284
21285 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This
21286 artifact serves as the default artifact for the FLYS application.
21287
21288 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This
21289 artifact now inherits from FLYSArtifact. Furthermore, there is one big
21290 change: we don't store the State objects itself in the artifact, but
21291 just the identifier of those. This makes the artifact smaller and more
21292 compatible agains previous versions of the software.
21293
21294 2011-03-08 Ingo Weinzierl <ingo@intevation.de>
21295
21296 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
21297 New. This service will retrieve a list of provided rivers.
21298
21299 * doc/conf/conf.xml: Added a configuration for the RiverService.
21300
21301 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
21302
21303 * doc/conf/conf.xml: Added a section user-factory and collection-factory in
21304 the factories part of the configuration.
21305
21306 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
21307
21308 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
21309 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider'
21310 attribute.
21311
21312 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
21313
21314 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
21315 RiverSelect state is called to create the UI part of the describe
21316 document.
21317
21318 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
21319 Implemented the dynamic UI part of describe(). The static part is not
21320 inserted into the describe document at the moment. We need a reference to
21321 the previous states for this.
21322
21323 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
21324
21325 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
21326 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model
21327 class that represents a river and its factory to create concrete river
21328 instances.
21329 NOTE: Currently, this is just a mockup. The factory just returns two
21330 static rivers "Mosel" and "Saar" without a connection to a backend.
21331
21332 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
21333
21334 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The
21335 input data of a state is initialized with empty StateData objects after
21336 the State has been created.
21337
21338 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states
21339 which now fits better to the class name of the implementation.
21340
21341 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
21342
21343 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
21344 describe document returned by this artifact now contains the current state
21345 and the reachable states.
21346
21347 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
21348
21349 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
21350 The transitions are put into the TransitionEngine with the ID of the state
21351 - not longer with the artifact name. On this way, we are able to fetch
21352 just the transitions for a specific state, instead of all the transitions
21353 of an artifact.
21354
21355 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
21356
21357 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe()
21358 returns the artifact's uuid and hash value. The whole implementation of
21359 describe() is still outstanding.
21360
21361 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
21362
21363 * doc/conf/artifacts/winfo.xml: Removed useless config stuff.
21364
21365 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
21366 useless methods, and improved the init process - the first state is set as
21367 the current state for this artifact.
21368
21369 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
21370 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New.
21371 The states are used in the first two steps of the WINFOArtifact.
21372 Currently, they just implement stubs of the necessary methods setup() and
21373 describe().
21374
21375 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
21376
21377 * src/main/java/de/intevation/flys/artifacts/states/State.java,
21378 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java,
21379 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java:
21380 Removed. These classes are placed in the artifact-database now.
21381
21382 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java,
21383 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
21384 Adapted imports of Transition.
21385
21386 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New.
21387 This factory should be used to create concrete State objects.
21388
21389 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
21390 a constant key to store the StateEngine in the context.
21391
21392 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
21393 New method that initializes the states at application start.
21394
21395 2011-02-03 Ingo Weinzierl <ingo@intevation.de>
21396
21397 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The
21398 interface description of a state.
21399
21400 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java,
21401 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
21402 New. The interface description and a default implementation of a
21403 transition.
21404
21405 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java:
21406 New. The TransitionEngine stores all transitions for each artifact and
21407 should be used to determine, if an artifact can advance from one state to
21408 another.
21409
21410 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
21411 New. Transitions should be created by using this class.
21412
21413 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New.
21414 The Flys context. It currently defines keys to store important components
21415 in the context.
21416
21417 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
21418 New. The context factory initializes the basic components of the
21419 application. Currently, the TransitionEngine is created and all artifacts
21420 with its transitions are read from the global configuration and stored in
21421 the FLYSContext.
21422
21423 * pom.xml: Added a dependency to the 'artifacts-common' package.
21424
21425 * doc/conf/artifacts/winfo.xml: Corrected the classname of the
21426 DefaultTransition.
21427
21428 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory.
21429
21430 2011-02-02 Ingo Weinzierl <ingo@intevation.de>
21431
21432 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact
21433 server.
21434
21435 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an
21436 WINFO artifact.
21437
21438 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of
21439 an artifact for a WINFO parameterization.
21440
21441 * pom.xml: Set the source code version to 1.5.
21442
21443 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21444
21445 * src/**, pom.xml: Added initial maven project.
21446 * ChangeLog: new.

http://dive4elements.wald.intevation.org