comparison flys-artifacts/ChangeLog @ 2793:6310b1582f2d

merged flys-artifacts/2.7
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:30 +0200
parents fe987587ebc9
children 3cda41b5eb23
comparison
equal deleted inserted replaced
2548:ada02bbd3b7f 2793:6310b1582f2d
1 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4 Fit from Q to W not from W to Q!
5 Delta w/t's are now in cm.
6 Slimmed down fitting error report.
7
8 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
9 Changed default column header of delta W to cm.
10
11 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12
13 Made Delta W/t calculation work.
14
15 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
16 Added toString() method.
17
18 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java:
19 Fixed problem accessing Ws.
20
21 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
22 Fixed silly 'name.equals(name)' bug. This mainly prevented delta W/t
23 computation from working.
24
25 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
26 More deug code.
27
28 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
29 More debug code. Simplified access to data a bit.
30
31 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
32 Allow CSV exporter to throw IOExceptions.
33
34 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
35 More debug output. Flush CSV after writing.
36
37 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
38
39 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
40 Units of step is in meter and not km. Added more debug output.
41
42 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
43 Stupidly forgot to add facet to return the delta w/t as CSV.
44
45 2012-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
46
47 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
48 There was a cast to WINFOArtifact where a cast to FLYSArtifact
49 is sufficient. This prevented generating error reports that
50 does not inherit from WINFOArtifact like FixationArtifact.
51
52 2012-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
53
54 * doc/conf/artifacts/fixanalysis.xml,
55 doc/conf/conf.xml: Added CSV and error report generator/facets.
56
57 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
58
59 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
60 CrossSectionFactory.isNewest() will return true if the CrossSection is
61 the only CrossSection found in the database. No IndexOutOfBounds is
62 thrown.
63
64 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
65
66 * Tagged module as '2.7'.
67
68 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
69
70 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
71 Don't break chart creation if no hyks are existing.
72
73 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
74
75 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java,
76 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
77 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
78 src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
79 Removed superfluous imports.
80
81 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
82
83 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
84 Added getters to access the inner data structures.
85
86 * src/main/java/de/intevation/flys/utils/Formatter.java: Added formatting
87 support for delta w/t exports of fix analysis.
88
89 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
90 New. CSV exporter for delta w/ts of fix analysis.
91
92 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
93 Reordered imports.
94
95 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
96
97 * src/main/java/de/intevation/flys/artifacts/model/fixings/FitResult.java:
98 Removed. Obsolete.
99
100 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
101 New. Stores the result of the fixing analysis.
102
103 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
104 Return the right structure (FixResult) from the calculation.
105
106 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
107
108 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
109 Fixed stupid index bug.
110
111 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
112
113 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
114 Call the computing.
115
116 2012-05-25 Ingo Weinzierl <ingo@intevation.de>
117
118 * doc/conf/conf.xml: Use the correct Artifacts for wms fixpoints and
119 floodmaps (they were interchanged).
120
121 2012-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
122
123 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResults.java:
124 New. Stores all results of a fixing analysis.
125
126 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
127 New. Km indexed container for Delta W/t diagrams.
128
129 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
130 Create FixResults and DeltaWTsKM now to store the results.
131
132 2012-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
133
134 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
135 Replaced another silly "@attribute" XPATH with direct getAttribute()
136 call.
137
138 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
139
140 Draw line of mainvalues to duration curve hit point to ground.
141
142 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
143 Also work for q-value case on second y-axis, refactored.
144
145 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
146 Doc and fix.Doc and fix.
147
148 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
149
150 Also draw lines to curve from q-mainvalues in dur. curve
151
152 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
153 In analogy to the W-case, calculate where line from main value hits
154 a wqday-curve from DurationCurve.
155
156 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
157
158 Draw line of w-mainvalue to duration curve hit point to ground.
159
160 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
161 If StickyAxisAnnotation has a hit point set, also add line annotation
162 from the crossing point to the x-axis.
163
164 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
165
166 Draw line of w-mainvalue to duration curve, baby version.
167
168 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
169 Added field "hitPoint", when a line to a point should be drawn
170 - leveraging this annotation into the second dimension.
171
172 * src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
173 Calculate where mainvalue hits a duration curve.
174
175 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
176 If StickyAxisAnnotation has a hit point set, add line annotation
177 to hit (the duration) curve.
178
179 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
180
181 * doc/conf/themes.xml:
182 Added a warning to not use virtual themes for facets.
183
184 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
185
186 * doc/conf/themes.xml:
187 Added concrete themes for maps.
188
189 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
190
191 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
192 Moved parameter of addAnnotations out, renamed to addVisibleAnnotation.
193
194 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
195 Adjusted.
196
197 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
198
199 * doc/conf/themes.xml:
200 Added concrete themes for areas.
201
202 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
203
204 * doc/conf/meta-data.xml: Load mainvalues in reference curves.
205
206 * doc/conf/artifacts/winfo.xml: Add mainvalues to compatibility list
207 of reference curves; fix typo.
208
209 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
210
211 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
212 Render mainvalues as annotations.
213
214 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
215 Render static wkms data.
216
217 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
218
219 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
220 Cosmetic.
221
222 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
223
224 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java,
225 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
226 (flipStickyAxis): Allow easy change of sticky axes.
227
228 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
229
230 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
231 (getWaterlevelData): Exception for discharge case.
232
233 * src/main/java/de/intevation/flys/utils/FLYSUtils.java
234 (getLocations): Exception for discharge case.
235
236 2012-05-24 Raimund Renkert <raimund.renkert@intevation.de>
237
238 Issue 667.
239
240 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
241 Added data to jfreechart data source.
242
243 2012-05-24 Ingo Weinzierl <ingo@intevation.de>
244
245 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
246 src/main/java/de/intevation/flys/artifacts/services/ThemeListingService.java,
247 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
248 src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
249 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
250 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
251 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
252 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
253 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
254 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
255 src/main/java/de/intevation/flys/themes/ThemeGroup.java: Removed
256 needless imports.
257
258 2012-05-24 Ingo Weinzierl <ingo@intevation.de>
259
260 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Reproject
261 geometries into the coordinate reference system defined in the
262 configuration.
263
264 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
265
266 * doc/conf/meta-data.xml: Include other "thematic" heights for
267 reference curve relative points dc conf.
268
269 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
270
271 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
272 Cosmetics.
273
274 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
275 Added TODO.
276
277 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
278
279 * doc/conf/artifacts/relativepoint.xml,
280 doc/conf/conf.xml: Remove relativepoint artifact remainders, so far
281 all cases are covered by facet.
282
283 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
284
285 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
286 Handle reference curve case, slightly refactored.
287
288 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
289 Handle points in doOut.
290
291 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
292
293 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
294 Expose data via blackboard.
295
296 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
297
298 * doc/conf/meta-data.xml: Serve fixations
299 with relative points for reference curves.
300
301 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
302
303 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
304 (getReferenceStartKm, getReferenceEndKms): Made public.
305
306 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
307
308 * doc/conf/artifacts/winfo.xml: Add relative point to compatibility
309 list of reference curve out.
310
311 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
312
313 * doc/conf/artifacts/winfo.xml: Remove second facet from
314 StaticWKmsArtifact from compatibility list of duration curves.
315
316 * doc/conf/themes.xml: Add basic theme for relativepoint.
317
318 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
319
320 * doc/conf/meta-data.xml: Serve floodprotections and heightmarks
321 with relative points for duration curves.
322
323 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
324
325 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
326 Handle relative points in doOut.
327
328 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
329
330 * doc/conf/meta-data.xml: Serve fixations with relative points
331 for duration curves.
332
333 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
334
335 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
336 Use superclass static field and method.
337
338 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
339
340 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
341 Handle duration curve case. Do a linear interpolation of the day.
342
343 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
344
345 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java:
346 Be a DataProvider, provide the duration curve and its km.
347
348 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
349
350 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
351 (getWAtKmLin): Linear interpolating version of getWAtKm.
352
353 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
354
355 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
356 Add (dummy-) implementation of a relative point facet.
357
358 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
359 Use superclass infrastructure. Spawn RelativePointFacet.
360
361 * doc/conf/winfo.xml: Add relativepoint facet to compatibility list
362 of duration curve out.
363
364 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
365 Add RELATIVE_POINT Facet Type.
366
367 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
368
369 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
370 Allow instantiation of a function with concrete parameters.
371
372 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
373 Enable indexed access to parameter names.
374
375 * src/main/java/de/intevation/flys/artifacts/model/fixings/FitResult.java:
376 New. Bundles the results of the fitting.
377
378 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWT.java:
379 New. Stores results of Delta W/t calcs.
380
381 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
382 Calculate Delta W/t s, too.
383
384 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
385 Make component filters ('and', 'or') more easy to construct.
386
387 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
388
389 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
390 src/main/java/de/intevation/flys/themes/ThemeFactory.java:
391 Improved startup performance.
392
393 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
394
395 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java
396 (getDatacageIDValue): New, extracted from various duplicates.
397
398 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
399 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
400 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
401 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
402 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
403 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
404 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
405 Use getDatacageIDValue() from superclass or static context.
406
407 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
408
409 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
410 Define XPath to access "id" value of element coming from datacage-document.
411
412 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
413 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
414 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
415 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
416 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
417 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
418 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
419 Use xpath defined in superclass.
420
421 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
422
423 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
424 Whitespace-Cosmetics.
425
426 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
427
428 * doc/conf/relativepoint.xml: New artifact-state-config for upcoming
429 artifact.
430
431 * doc/conf/conf.xml: Register artifact factory and artifact for
432 upcoming artifact.
433
434 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
435
436 * src/main/java/de/intevation/flys/themes/ThemeGroup.java:
437 New. A theme group takes a set of themes configured in the themes.xml.
438
439 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
440 Read the theme groups configured in the themes.xml.
441 Improved reading the xml file. Thanks to Sascha for the patch.
442
443 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
444 Get a theme using the new parameter themegroup.
445
446 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
447 Create theme groups while configuring themes.
448
449 * src/main/java/de/intevation/flys/artifacts/services/ThemeListingService.java:
450 New. This service returns a list with all configured theme groups, each
451 containing exactly one theme filtered by name.
452 The theme name has to be provided as parameter.
453
454 * doc/conf/conf.xml:
455 Added new service to config.
456
457 * doc/conf/themes.xml:
458 Introduced theme groups and added new group.
459
460 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
461
462 * doc/conf/meta-data.xml: Repair CS-DC-Conf, allow loading
463 waterlevels, add fixations and heightmarks.
464
465 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
466
467 * doc/conf/artifacts/winfo.xml: Cosmetics.
468
469 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
470
471 * doc/conf/meta-data.xml: Allow loading of fixations in cross-sections.
472
473 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
474
475 * src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
476 More debugging of discharge curve issue.
477
478 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
479
480 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
481 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java
482 (getDischargeCurveData): Moved to more specific class.
483
484 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java:
485 Cosmetics, be louder in miscondition.
486
487 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
488
489 * doc/conf/meta-data.xml: Allow loading of fixations and thmatic
490 heights in longitudinal sections, make discharge-curve-misbehavior
491 testable with trunk.
492
493 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
494
495 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
496 Render discharge outs (was own out once).
497
498 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
499
500 * doc/conf/artifacts/winfo.xml: Allow cross-section stuff in
501 dischargelongitudinal state.
502
503 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
504 Add CrossSectionWaterLineFacets, will trigger the cross section output.
505
506 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
507
508 * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
509 Added vim line.
510
511 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
512 Removed empty line.
513
514 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
515 Removed invalid/not helpful comments.
516
517 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
518 (outputExists): Doc.
519
520 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
521
522 * src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
523 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java:
524 Adjusted ui providers to make parameter names unique in client.
525
526 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
527
528 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
529 Fixed short evaluation problem.
530
531 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
532 Added more debuf output.
533
534 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
535
536 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
537 New. Access the state data of fixings artifacts.
538
539 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
540
541 * doc/conf/artifacts/fixanalysis.xml: Make "start" and "end" parameters
542 unique in fixings artifact states.
543
544 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
545
546 * doc/conf/winfo.xml: Extend compatibility lists.
547
548 * doc/conf/conf.xml: Add gaugedischarge factory and artifact.
549
550 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java,
551 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
552 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
553 New, State, Facet and Artifact to access discharge curves of gauges.
554
555 * doc/conf/gaugedischarge.xml: New trivial state model for gaugedis.
556
557 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
558
559 * doc/conf/meta-data.xml: Allow loading of prev. reference curves.
560
561 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
562
563 * doc/conf/meta-data.xml: (yet unused) sceleton for ref-curve dc conf.
564
565 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de>
566
567 * src/main/resources/messages.properties,
568 src/main/resources/messages_de_DE.properties,
569 src/main/resources/messages_en.properties,
570 src/main/resources/messages_de.properties:
571 Added i18n strings for fix analysis.
572
573 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de>
574
575 * src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java:
576 Implemented static data for state.
577
578 * doc/conf/artifacts/fixanalysis.xml:
579 Changed transition in 'volmer' states.
580
581
582 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
583
584 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
585 Include km in names of duration curve facets.
586
587 * src/main/resources/messages.properties,
588 src/main/resources/messages_de_DE.properties,
589 src/main/resources/messages_en.properties,
590 src/main/resources/messages_de.properties: Adjusted i18n for
591 duration curve facet names (now include km).
592
593 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
594
595 * doc/conf/meta-data.xml: Allow loading of previous duration curves and
596 fixations in duration curves.
597
598 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
599
600 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
601 Take the current km range into account in getOptions().
602
603 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
604
605 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
606 doc/conf/artifacts/minfo.xml: Adapted facets for middle bed height. We
607 now distinguish between epochs and singles.
608
609 * doc/conf/conf.xml: Registered new output generator for middle bed height.
610
611 * doc/conf/themes.xml: Added new themes for middle bed height epoch and
612 single curves.
613
614 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
615 Take the km range into account.
616
617 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
618 Create facets for single and epochs.
619
620 * src/main/java/de/intevation/flys/exports/MiddleBedHeightInfoGenerator.java,
621 * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java:
622 Chart and info generator for middle bed height charts.
623
624 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
625
626 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java:
627 Added new methods that create names for singles and epochs.
628
629 * src/main/java/de/intevation/flys/utils/Formatter.java: Added number
630 formatters used to export middle bed heights values.
631
632 * src/main/java/de/intevation/flys/exports/MiddleBedHeightExporter.java:
633 New exporter for middle bed heights values.
634
635 * doc/conf/conf.xml: Registered new output generator for middle bed height
636 exports.
637
638 * src/main/resources/messages.properties,
639 src/main/resources/messages_de_DE.properties,
640 src/main/resources/messages_en.properties,
641 src/main/resources/messages_de.properties: New i18n strings for middle
642 bed height facets and csv export.
643
644 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
645
646 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java:
647 New model class for storing data for middle bed height exports (chart,
648 data exports).
649
650 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
651 New Calculation that generates new MiddleBedHeightData.
652
653 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightFacet.java:
654 New Facet which is used for middle bed height charts.
655
656 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
657 new facet type for middle bed height curves.
658
659 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
660 Calculate middle bed height data using MiddleBedHeightCalculation and
661 create new facets for charts and csv export.
662
663 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Added new
664 methods that return the IDs of selected single bed heights and epoch bed
665 heights.
666
667 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
668
669 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
670 Implemented getOptions() and getLabelFor().
671
672 2012-05-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
673
674 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
675 Stabilized legend item aggregation.
676
677 2012-05-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
678
679 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
680 Extensive - although mostly trivial - doc adds.
681
682 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
683
684 * doc/conf/artifacts/minfo.xml: Added states and transitions for MINFO
685 middle bed height calculation.
686
687 * src/main/java/de/intevation/flys/artifacts/states/MultiStringArrayState.java:
688 New. Nearly a copy of MultiIntArrayState but uses String values.
689
690 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
691 New subclass of MultiStringArrayState. It will be used for bed heights
692 selection. We need to do handle the values as string, because singles
693 and epochs are mixed, so the DB ID is not enough as parameter value.
694
695 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
696 New. This state will trigger the calculation for middle bed height in
697 MINFO module.
698
699 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
700
701 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
702 Do not add a <art:choices> element to the dynamic DESCRIBE but add the
703 <art:item> directly to <art:select> which allows using default mechanism
704 in FLYS client.
705
706 2012-05-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
707
708 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
709 Replaced event name by its description, which combines the
710 description of the fixing (= WST file description) and the name
711 of the column.
712
713 * contrib/fixoverview2html.xsl: Adjusted.
714
715 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
716
717 * doc/conf/artifacts/minfo.xml: Added a chart output and relevant facets to
718 flow velocity state.
719
720 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
721 new facet types for mainchannel, totalchannel and tau of flow velocity
722 calculation.
723
724 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityFacet.java:
725 New Facet that returns FlowVelocityData in getData().
726
727 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityData.java:
728 Added new methods that return xy points for mainchannel, totalchannel and
729 tau.
730
731 * src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java:
732 Create new mainchannel, totalchannel and tau Facets for each
733 FlowVelocityData instance retrieved by FlowVelocityCalculation.
734
735 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Commented
736 legend aggregation out.
737
738 * src/main/java/de/intevation/flys/exports/FlowVelocityInfoGenerator.java,
739 src/main/java/de/intevation/flys/exports/FlowVelocityGenerator.java: New
740 chart generator for flow velocity data and its info generator.
741
742 * doc/conf/conf.xml: Registered the chart and chart info generator for flow
743 velocity data.
744
745 * doc/conf/themes.xml: Added new themes for mainchannel, totalchannel and
746 tau of flow velocity calculation.
747
748 * src/main/resources/messages.properties,
749 src/main/resources/messages_de_DE.properties,
750 src/main/resources/messages_en.properties,
751 src/main/resources/messages_de.properties: Added i18n strings for flow
752 velocity facets.
753
754 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
755
756 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
757 Add a 'label' attribute to each <data> element in the static DESCRIBE.
758 In addition to that, the <data> element created in this class can have
759 multiple <item> elements which consist of a 'value' and a 'label'
760 attribute. This 'label' attribute is taken from getLabelFor() which is
761 abstract and needs to be implemented by subclasses.
762
763 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
764 Implemented the abstract method getLabelFor().
765
766 * src/main/resources/messages.properties,
767 src/main/resources/messages_de_DE.properties,
768 src/main/resources/messages_de.properties: New i18n strings for MINFO
769 parameter names.
770
771 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
772
773 * src/main/resources/messages.properties,
774 src/main/resources/messages_de_DE.properties,
775 src/main/resources/messages_en.properties,
776 src/main/resources/messages_de.properties: New i18n strings for MINFO
777 states.
778
779 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
780
781 * src/main/java/de/intevation/flys/exports/FlowVelocityExporter.java:
782 Append the name of a location for the km row which is provided by
783 FLYSUtils.getLocationDescription(km);
784
785 * src/main/resources/messages.properties,
786 src/main/resources/messages_de_DE.properties,
787 src/main/resources/messages_en.properties,
788 src/main/resources/messages_de.properties: Added i18n strings for flow
789 velocity CSV export headers.
790
791 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
792
793 * doc/conf/artifacts/minfo.xml: Added new state and csv export for MINFO flow
794 velocity calculation.
795
796 * doc/conf/conf.xml: Registered a new CSV exporter for flow velocity
797 values.
798
799 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java:
800 New calculation for MINFO flow velocity. Actually, this is no
801 calculation but a bundling of data.
802
803 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityData.java:
804 New model class that is used to store flow velocity relevant data.
805
806 * src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java:
807 New state that triggers the FlowVelocityCalculation and creates new
808 facets. Currently, only a CSV Facet is created.
809
810 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Added
811 methods to retrieve the IDs of main channels and total channels for the
812 flow velocity calculation.
813
814 * src/main/java/de/intevation/flys/utils/Formatter.java: New formatters
815 that are used in CSV exporter for flow velocity.
816
817 * src/main/java/de/intevation/flys/exports/FlowVelocityExporter.java: New
818 concrete subclasses of AbstractExporter that currently implements the
819 path to export FlowVelocityData as CSV.
820
821 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
822
823 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
824 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
825 Removed getDataAsDouble() which is now implemented in FLYSArtifact.
826
827 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
828 Implemented getDataAsDouble(). This method will return a Double based on
829 a given parameter name.
830
831 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
832
833 * doc/conf/artifacts/fixanalysis.xml:
834 Changed data type for state 'eventselect'.
835
836 2012-05-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
837
838 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
839 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
840 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
841 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
842 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
843 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
844 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
845 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
846 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
847 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
848 src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
849 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java,
850 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
851 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
852 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
853 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java,
854 src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java,
855 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java,
856 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
857 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
858 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
859 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
860 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
861 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
862 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
863 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java,
864 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
865 Removed superfluous imports.
866
867 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
868
869 * doc/conf/artifacts/fixanalysis.xml:
870 Adjusted state data fields.
871
872 * src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
873 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
874 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
875 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java:
876 Implemented states.
877
878 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
879
880 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
881 Fixed constructor. Descriptions are now available.
882
883 2012-05-15 Ingo Weinzierl <ingo@intevation.de>
884
885 * doc/conf/artifacts/minfo.xml: Added new transistions and states for
886 MINFO flow velocity calculation.
887
888 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
889 New abstract states that might be used to append a list of available
890 integer values to the DESCRIBE document.
891
892 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
893 Concrete subclass of MultiIntArrayState which implements the abstract
894 method getOptions().
895
896 2012-05-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
897
898 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
899 New. Model for storing fitting results in cache.
900
901 2012-05-14 Ingo Weinzierl <ingo@intevation.de>
902
903 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
904 Removed the computeFeed() method that created Facets for discharge
905 curves to make this state ready to use in MINFO calculations.
906
907 2012-05-14 Ingo Weinzierl <ingo@intevation.de>
908
909 * doc/conf/artifacts/minfo.xml: New Artifact configuration for module
910 MINFO.
911
912 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: New
913 Artifact for module INFO.
914
915 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelectMinfo.java:
916 New. The state is used for choosing the calculation in module MINFO.
917
918 * doc/conf/conf.xml: Registered the MINFO Artifact.
919
920 * src/main/resources/messages.properties,
921 src/main/resources/messages_de_DE.properties,
922 src/main/resources/messages_en.properties,
923 src/main/resources/messages_de.properties: New strings for states and
924 calculations.
925
926 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
927
928 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
929 Removed unused code.
930
931 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
932
933 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
934 Doc.
935
936 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
937
938 * doc/conf/meta-data.xml: Allow duration_curve.q loading via datacage.
939
940 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
941
942 * doc/conf/meta-data.xml: Allow hyk loading also when in non-
943 recommendation mode.
944
945 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
946
947 Improved middle height calculations for waterlevels.
948
949 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
950 (area): Improved or even corrected area calculation.
951
952 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
953 Corrected middle height calculated, have a very verbose label for
954 the time being.
955
956 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
957
958 Somewhat improve area calculation during line computation.
959 Still faulty.
960
961 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
962 (fillWater): Piecewise calculate area in more cases.
963
964 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
965
966 Tackle water-through-mountain issue that exists since r4099.
967
968 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
969 (addPoints): Add parameter that decides whether or not to skip NaNs.
970
971 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
972 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
973 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
974 Set new parameter to StyledSeriesBuilder.addPoints calls.
975 For waterlines it is important that NaNs stay included!
976
977 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
978
979 * src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java:
980 New Artifact for storing geometries for gauges.
981
982 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
983 a new facet type for WMSGaugeLocationArtifact 'floodmap.gaugelocation'.
984
985 * doc/conf/artifacts/winfo.xml,
986 doc/conf/artifacts/map.xml: Added 'floodmap.gaugelocation' facet to the
987 list of valid facets for map and floodmap output.
988
989 * doc/conf/conf.xml: Added a factory for creating
990 WMSGaugeLocationArtifacts.
991
992 * doc/conf/themes.xml: Added a theme for 'floodmap.gaugelocation' facets.
993
994 * doc/conf/meta-data.xml: Added a datacage section for gauge locations to
995 the floodmap and map section.
996
997 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
998
999 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
1000 new facet types 'floodmap.hydr_boundaries' and
1001 'floodmap.hydr_boundaries_poly'
1002
1003 * doc/conf/artifacts/winfo.xml,
1004 doc/conf/artifacts/map.xml: Registered 'floodmap.hydr_boundaries' and
1005 'floodmap.hydr_boundaries_poly' for floodmap and map output types.
1006
1007 * doc/conf/conf.xml:
1008
1009 * doc/conf/themes.xml: Added themes for 'floodmap.hydr_boundaries' and
1010 'floodmap.hydr_boundaries_poly'.
1011
1012 * doc/conf/meta-data.xml: Improved datacage configuration specific to
1013 floodmaps and maps.
1014
1015 * src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
1016 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java:
1017 New artifacts to save information about hydrological boundaries.
1018
1019 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
1020 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
1021 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
1022 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
1023 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
1024 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
1025 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
1026 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
1027 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
1028 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
1029 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
1030 Moved the methods getRiverId() and getTitle() into WMSDBArtifact.
1031
1032 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
1033
1034 * doc/conf/mapserver/wsplgen_layer.vm,
1035 doc/conf/mapserver/shapefile_layer.vm: Added a 'PROJECTION' section.
1036
1037 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1038
1039 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
1040 Minor refactoring, doc.
1041
1042 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
1043
1044 * doc/conf/mapserver/layer.vm: Added a 'PROJECTION' section.
1045
1046 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1047
1048 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
1049 Minimal doc, TODO.
1050
1051 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1052
1053 Fix issue620: synchron navigation at impossible kms.
1054
1055 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
1056 (searchCrossSectionLine): Do not return a CrossSectionLine if there
1057 is none found within 1km.
1058
1059 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1060
1061 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1062 Minimal cosmetics.
1063
1064 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1065
1066 Preparations for fix issue620: Synchron navigation on non-existing km.
1067
1068 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java
1069 (getData): Return empty lines if no cross section found.
1070
1071 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1072
1073 Display mittlere hoehe (which is not yet calculated).
1074
1075 * doc/conf/themes.xml: Added theme prop to display middlere hoehe or not.
1076
1077 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
1078 (parseShowMiddleHeight): New, parse the new theme prop.
1079
1080 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
1081 (fillWater, ListWithArea): Return new type wich also contains area.
1082
1083 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
1084 Respect new theme prop and adjust label if set.
1085
1086 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1087
1088 Beginning of calculation of Mittlere Hoehe: area calculation.
1089
1090 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
1091 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
1092 Adjusted to LineData constructor.
1093
1094 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
1095 (area): New, calculate area of a polygon.
1096 Added todos where area calculation code paths are missing.
1097
1098 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
1099
1100 * doc/conf/meta-data.xml: Moved the hws layers out to an own node.
1101
1102 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
1103 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Moved the
1104 'name' property from WMSCatchmentArtifact to WMSDBArtifact.
1105
1106 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: Create
1107 more specific filter and extent that takes the 'name' into account.
1108
1109 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
1110
1111 * doc/conf/meta-data.xml: Moved the catchments out to an own node.
1112
1113 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java:
1114 Parse the name of required catchments fetch name specific catchments
1115 only.
1116
1117 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
1118
1119 * doc/conf/artifacts/map.xml: Added the 'floodmap.floodmaps' facet to the
1120 list of valid facets of the 'map' output.
1121
1122 * doc/conf/themes.xml: Renamed the 'Line' theme used for floodmaps to
1123 'FloodmapLines'.
1124
1125 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
1126
1127 * doc/conf/mapserver/db_layer.vm: Added a PROJECTION section which is
1128 filled by the LayerInfo object.
1129
1130 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added
1131 a 'srid' property.
1132
1133 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the
1134 'srid' property of all LayerInfo objects.
1135
1136 2012-05-07 Raimund Renkert <raimund.renkert@intevation.de>
1137
1138 * doc/conf/artifacts/fixanalysis.xml:
1139 Changed state data and added new state.
1140
1141 * src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
1142 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
1143 src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java,
1144 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
1145 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java:
1146 Modified states and added new state for concrete event selection.
1147
1148 2012-05-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1149
1150 * doc/conf/themes: Add text-bg properties to Area style.
1151
1152 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
1153 (TextStyle.apply): Apply text bg theme-properties to renderer.
1154
1155 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
1156 Cosmetics.
1157
1158 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
1159 Added field to store labels background color, calculate arithmetic
1160 middles of polygons, to put label there (improves situation slightly).
1161
1162 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1163
1164 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
1165 (parseShowArea): parse show area field of theme.
1166
1167 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
1168 (TextStyle.apply): Be applicable to StableXYDifferenceRenderers.
1169
1170 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
1171 Apply setting from theme to renderer.
1172
1173 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
1174 Simplified area calculation (always calculate). Added getters and
1175 setters for text for label style, respect most of that.
1176
1177 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1178
1179 * doc/conf/themes: Let Area style not inherit from colorlines (as labels
1180 work slightly different. Enable showarea property. Comment dupe Lines.
1181
1182 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1183
1184 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
1185 (doArea): Add Lines.LineData datatype to areable data types.
1186
1187 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1188
1189 * doc/conf/themes.xml: Add two new options for waterlevel label in cs.
1190
1191 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
1192 Parse new theme properties.
1193
1194 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
1195 Adjust label according to chosen properties.
1196
1197 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1198
1199 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
1200 (parseShowLineLabelBG): parse show line label bg field of theme.
1201
1202 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
1203 Respect show line label bg setting of theme.
1204
1205 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
1206 Apply setting from theme to renderer.
1207
1208 2012-05-03 Ingo Weinzierl <ingo@intevation.de>
1209
1210 * doc/conf/artifacts/winfo.xml: Added a 'helpText' field to each state.
1211 The 'helpText' field represents in this case a message in the i18n
1212 resources which should be a link to a online help page.
1213
1214 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
1215 Append the 'helpText' to the DESCRIBE document.
1216
1217 * src/main/resources/messages.properties,
1218 src/main/resources/messages_de_DE.properties,
1219 src/main/resources/messages_en.properties,
1220 src/main/resources/messages_de.properties: Added links to help text in
1221 the FLYS wiki.
1222
1223 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1224
1225 Use the colors specified in theme document for linelabel.
1226
1227 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
1228 New methods to find colors specified for linelabels.
1229
1230 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
1231 Store and use background and foreground color for linelabels.
1232
1233 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
1234 Communicate colors of linelabels to renderer.
1235
1236 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1237
1238 Actually use the font specified in theme document for linelabel.
1239
1240 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
1241 Fixed paths for linelabel-related fields in theme doc.
1242
1243 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
1244 Set font for linelabel.
1245
1246 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1247
1248 * doc/conf/themes.xml: No default background show for linelabels.
1249
1250 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1251
1252 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
1253 Cosmetic, added annotation.
1254
1255 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1256
1257 Parse font for linelabels, do not use it yet.
1258
1259 * doc/conf/themes.xml: Add more theme properties related to linelabels.
1260
1261 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
1262 (parseTextSize, parseLineLabelSize): New and slightly refactored.
1263 (parseLineLabelFont): New.
1264 (parseTextStyle, parseLineLabelStyle): New and slightly refactored.
1265
1266 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
1267 (setLineLabelFont, getLineLabelFont): New, accessors to
1268 linelabelfont field.
1269
1270 * src/main/java/de/intevation/flys/jfree/XYStyle.java
1271 (applyLineLabelFont): New.
1272
1273 2012-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1274
1275 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
1276 Make it compile again after signature change in backend.
1277
1278 2012-04-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1279
1280 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Doc.
1281
1282 2012-04-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1283
1284 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
1285 Added local class LineData and return it to also include
1286 Length of lines.
1287
1288 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
1289 Changed signature of interfaces getWaterLines.
1290
1291 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
1292 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
1293 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
1294 (getWaterLines): adjusted signature.
1295
1296 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
1297 Adjusted to return type of Lines.createWaterLines.
1298
1299 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
1300 Include length in label (stub).
1301
1302 * src/main/java/de/intevation/flys/jfree/HasLabel.java:
1303 New interface.
1304
1305 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
1306 Implement new HasLabel interface.
1307
1308 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
1309 Take into account that StyledXYSeries are HasLabel.
1310
1311 2012-04-26 Raimund Renkert <raimund.renkert@intevation.de>
1312
1313 Initial transition configuration and artifact/state stubs for fixation
1314 analysis.
1315
1316 * doc/conf/artifacts/fixanalysis.xml:
1317 New. Initial transition configuration.
1318
1319 * doc/conf/conf.xml:
1320 Added artifact and factory entry to config.
1321
1322 * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
1323 New. Stub with initial implementation.
1324
1325 * src/main/java/de/intevation/flys/artifacts/states/fixation,
1326 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
1327 src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
1328 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
1329 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java,
1330 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
1331 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
1332 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
1333 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java,
1334 src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java,
1335 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java,
1336 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1337 New. Stubs for fixation states.
1338
1339 * src/main/resources/messages.properties,
1340 src/main/resources/messages_de_DE.properties,
1341 src/main/resources/messages_en.properties,
1342 src/main/resources/messages_de.properties:
1343 Added i18n strings.
1344
1345 2012-04-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1346
1347 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
1348 Add method to calculate length of water lines.
1349
1350 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1351
1352 Most of issue454: Label waterlevels.
1353
1354 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
1355 (drawSecondaryPass): Use correct label for lines.
1356
1357 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1358
1359 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
1360 (showSeriesMinimunX, showLineLabel): Renamed field.
1361 (isShowLineLabel, setShowLineLabel): Added getters and setters for
1362 showLineLabel field.
1363 (drawSecondaryPass): Respect showLineLabel field, draw static text
1364 as placeholder for real label (stub).
1365
1366 * doc/conf/themes.xml: Define theme prop 'showlinelabel' for Lines.
1367
1368 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse theme
1369 theme prop.
1370
1371 * src/main/java/de/intevation/flys/jfree/XYStyle.java: Apply showline
1372 theme prop.
1373
1374 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1375
1376 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
1377 Cosmetics, doc.
1378
1379 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1380
1381 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
1382 Gah! Checked in out dated version.
1383
1384 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java,
1385 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
1386 Removed superfluous imports.
1387
1388 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1389
1390 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
1391 New. Simple Grubb's outlier test. Needs testing. ;-)
1392
1393 2012-04-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1394
1395 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
1396 (isMinimumX): Implemented minimum finding for x in analogy to the ones for
1397 y values. Stub to label dataset curves in plot.
1398
1399 2012-04-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1400
1401 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
1402 Cosmetics, added doc, TODO and an OPTIMIZE.
1403
1404 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1405
1406 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
1407 Make it cross platform.
1408
1409 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1410
1411 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
1412 Make it compilable.
1413
1414 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
1415
1416 Issue 657.
1417
1418 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
1419 New. Service to upload a file as base64 string embedded in xml structure.
1420
1421 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
1422 Extract shape files from zip archive and move them to artifact directory.
1423 Add the user shapefile as parameter for wsplgen calculation.
1424
1425 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
1426 Remove the artifact directory on step back.
1427
1428 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
1429 src/main/java/de/intevation/flys/exports/MapGenerator.java:
1430 Create layer to display the uploaded shapefile.
1431
1432 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java:
1433 Create a facet to output the user defined layer.
1434
1435 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1436 Added type for user shape file.
1437
1438 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java:
1439 Resized array for '-lin' parameter.
1440
1441 * doc/conf/artifacts/winfo.xml:
1442 Added facet to diplay user defined shapefile.
1443
1444 * doc/conf/conf.xml:
1445 Added file upload service.
1446
1447 * src/main/resources/messages.properties,
1448 src/main/resources/messages_de_DE.properties,
1449 src/main/resources/messages_en.properties,
1450 src/main/resources/messages_de.properties:
1451 Added i18n string.
1452
1453 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
1454
1455 Issue 560.
1456
1457 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENLayerFacet.java:
1458 New. Facet for WSPLGEN layers.
1459
1460 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java:
1461 Create a new WSPLGEN facet when creating uesk layers.
1462
1463 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
1464 src/main/java/de/intevation/flys/exports/MapGenerator.java:
1465 Use WSPLGENLayerFacet to create uesk layer.
1466
1467 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
1468 Switch back to false as return value in isQueryable().
1469
1470 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
1471
1472 Issue 560.
1473
1474 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java:
1475 Generate WSPLGEN-Layer with its own template and set the layertitle to
1476 an i18n string.
1477
1478 * src/main/java/de/intevation/flys/exports/MapGenerator.java:
1479 Call createUeskLayer with a CallContext.
1480
1481 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
1482 Set queryable to true.
1483
1484 * doc/conf/mapserver/wsplgen_layer.vm:
1485 New. Template for WSPLGEN-Layer.
1486
1487 2012-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1488
1489 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1490 Removed superfluous imports.
1491
1492 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
1493
1494 * doc/conf/themes.xml:
1495 Added mapping for manual points in historical discharge chart.
1496
1497 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
1498
1499 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1500 Fixed duplicated legend entry for manual points.
1501
1502 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
1503
1504 Issue 494.
1505
1506 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1507 Create manual points with text annotations in time charts.
1508
1509 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
1510 Add manual points to the chart.
1511
1512 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1513 Added historical discharge to chart types.
1514
1515 * doc/conf/artifacts/winfo.xml,
1516 doc/conf/artifacts/manualpoints.xml:
1517 Added manual points facet to output modes.
1518
1519 2012-04-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1520
1521 * contrib/fixoverview2html.xsl: Render optional check boxes.
1522 Use different font. TODO: Move to client,
1523
1524 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
1525 Ignore hours and seconds.
1526
1527 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de>
1528
1529 Issue 528, 637
1530
1531 * src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java:
1532 Added fields for new columns.
1533
1534 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
1535 Added columns for 'W at gauge' and fixed column header.
1536
1537 * src/main/resources/messages.properties,
1538 src/main/resources/messages_de_DE.properties,
1539 src/main/resources/messages_en.properties,
1540 src/main/resources/messages_de.properties:
1541 Added filenames for new pdf export templates.
1542
1543 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de>
1544
1545 * doc/conf/jasper/reference_gauge_end.jasper,
1546 doc/conf/jasper/reference_gauge.jasper,
1547 doc/conf/jasper/reference_gauge_start_end.jasper:
1548 Small fixes in pdf templates.
1549
1550 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de>
1551
1552 Issue 528, 637.
1553
1554 * doc/conf/jasper/reference_gauge.jasper,
1555 doc/conf/jasper/reference_en_gauge.jasper:
1556 Modified templates.
1557
1558 * doc/conf/jasper/reference_gauge_end.jasper,
1559 doc/conf/jasper/reference_gauge_start_end.jasper,
1560 doc/conf/jasper/reference_en_gauge_end.jasper,
1561 doc/conf/jasper/reference_en_gauge_start_end.jasper:
1562 New. Templates for reference curve pdf export.
1563
1564 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de>
1565
1566 Issue 528, 637.
1567
1568 * doc/conf/jasper/reference.jasper,
1569 doc/conf/jasper/reference_en.jasper:
1570 Fixed column header.
1571
1572 * doc/conf/jasper/reference_gauge.jasper,
1573 doc/conf/jasper/reference_en_gauge.jasper:
1574 New.
1575
1576 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1577
1578 * contrib/check-i18n-properties.py: Checked in unsaved version. :-/
1579
1580 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de>
1581
1582 Issue 656.
1583
1584 * src/main/resources/messages_en.properties:
1585 Added missing i18n strings.
1586
1587 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1588
1589 * contrib/check-i18n-properties.py: New. Script to check inconsistencies
1590 of i18n properties files: Detects duplicates and keys not defined in other
1591 properties files. Usage:
1592
1593 $ find -name messages\*.properties | \
1594 xargs contrib/check-i18n-properties.py
1595
1596 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1597
1598 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1599 Generate error message when more than one Q is found for given
1600 Q in "W auf freier Strecke".
1601
1602 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
1603 Added feature to adopt problems from other reports.
1604
1605 * src/main/resources/messages.properties,
1606 src/main/resources/messages_de_DE.properties,
1607 src/main/resources/messages_en.properties,
1608 src/main/resources/messages_de.properties:
1609 Added i18n for the error message.
1610
1611 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de>
1612
1613 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
1614 Use factor to calculate steps in range input mode.
1615
1616 2012-04-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1617
1618 * doc/conf/cache.xml: Increased number of fixings columns a bit.
1619
1620 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
1621 Corrected misspelled cache name. Added bebug output.
1622
1623 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java:
1624 Added debug output.
1625
1626 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1627
1628 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1629 Small fixes: The service works as expected but there seems
1630 to be a caching issue.
1631
1632 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1633
1634 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1635 Generate chart and deliver the image as the response of the service.
1636
1637 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
1638 Return null when looking for a fixing data column that does not exist.
1639
1640 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1641
1642 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
1643 Load ws and qs from database. Cache the fixings columns.
1644
1645 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java:
1646 Removed column id and added q values.
1647
1648 * doc/conf/cache.xml: Added cache for the columns of the fixings.
1649
1650 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de>
1651
1652 Fix for 'W free' validation and theme names.
1653
1654 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
1655 Append the current Q values to theme name if the previous theme has
1656 the same name.
1657
1658 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
1659 Use the start km to get min/max W values in distance mode and use the
1660 first km to get min/max W values if in location mode.
1661
1662 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de>
1663
1664 Issue 499.
1665
1666 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
1667 Added validation for 'W free' using WstValueTable min/max values.
1668
1669 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1670 Added getter for WstValueTable.
1671
1672 2012-04-05 Ingo Weinzierl <ingo@intevation.de>
1673
1674 * doc/conf/themes.xml: Defined a theme for WSPLGEN layers.
1675
1676 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
1677 Made style creation more robust against nullpointers and added an
1678 Expression class.
1679
1680 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a static
1681 method createWSPLGENStyle() and some helpers to create a WSPLGEN style.
1682
1683 * src/main/java/de/intevation/flys/exports/MapGenerator.java,
1684 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Methods
1685 for creating the WSPLGEN layer now take a style document.
1686
1687 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1688
1689 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1690 Extract parameters from input xml and fetch fixings filters and overview
1691 to find the columns to be viewed.
1692 TODO: Generate chart.
1693
1694 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java: Added
1695 boolean result to indicate if value comes from table or is interpolated.
1696
1697 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
1698 New. Factory to fetch fixings column data from cache or database. Stub by now.
1699
1700 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1701
1702 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1703 New. Service to generate a chart of fixings for given river and km applied
1704 some filters.
1705
1706 Usage:
1707 $ curl http://localhost:8181/service/fixings-km-chart \
1708 -d @fix-overview.xml > chart.png
1709
1710 The input XML is nearly the same as for the overview service.
1711 Besides the river, filters and range it accepts elements
1712 <km value="..."/> for passing the river km,
1713 <extent width="..." height="..."/> for the extent of the output chart,
1714 <mime type="..."/> for type of result. Currently ignored.
1715
1716 ATM only a static fixed sized PNG image is delivered.
1717
1718 * doc/conf/conf.xml: Added service to list of services.
1719
1720 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1721
1722 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
1723 Made bullet proof for null filters and ranges.
1724
1725 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
1726 Fixed bug which leeds to always generating a null range filter.
1727
1728 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1729
1730 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
1731 Squashed performance bug introduced in rev4070, which slowed down
1732 CSV export about 245 times!
1733
1734 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
1735 Added debug output about savings when joining neighbored nodes.
1736
1737 2012-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1738
1739 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
1740 Removed the code for filter building.
1741
1742 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
1743 New. Now contains the code for filter building. This useful because other
1744 services like the "Fixierungs-Rohdaten am KM" service need this filtering, too.
1745
1746 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
1747 Refactored the code to obtain a filtered list of fixings columns without
1748 the XML serialization, too. The "Fixierungs-Rohdaten am KM" service
1749 does not need the overview data but the ids of the fixing columns to be
1750 displayed.
1751
1752 2012-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1753
1754 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java,
1755 src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
1756 src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
1757 Derive from XMLService now.
1758
1759 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1760 Removed superfluous import.
1761
1762 2012-03-30 Ingo Weinzierl <ingo@intevation.de>
1763
1764 flys/issue460 (W-Differenzen: Frühere Berechnungen aus den Datenkorb werden doppelt geladen)
1765
1766 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
1767 code to find out all Outputs of this Artifacts. A method getOutputs()
1768 had been implemented some time ago that does exactly this work.
1769
1770 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Heavy
1771 bugfix! Adding the current state id to the list of previous state ids
1772 for temporary usage was no good idea! Now, the list of previous state
1773 ids only modifified in advance(). This solves the problem of having
1774 duplicated Outputs in the Artifact's DESCRIBE document.
1775
1776 2012-03-29 Ingo Weinzierl <ingo@intevation.de>
1777
1778 flys/issue366 (W-INFO / Abflusskurve, Diagramm: Umbenennen von Themen und Anzeige im Diagramm)
1779
1780 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
1781 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
1782 Use description from ArtifactAndFacet objects for JFreeChart Series
1783 creation.
1784
1785 2012-03-28 Ingo Weinzierl <ingo@intevation.de>
1786
1787 flys/issue362 (W-Info / Abflusskurve, Diagramm)
1788
1789 * doc/conf/themes.xml: Adjusted text color of w and q main values for
1790 computed discharge curves.
1791
1792 2012-03-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1793
1794 flys/issue639: Bezugsliniendiagramm,Achsen-Intervall-Skalierung vereinheitlichen
1795
1796 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
1797 Render only axis ticks in meters.
1798
1799 2012-03-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1800
1801 * doc/conf/themes.xml: Let hyks have a text orientation in themes.
1802
1803 2012-03-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1804
1805 Fix flys/issue491, if area fill between curve and axis, draw not only
1806 to zero.
1807
1808 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
1809 (doArea): Add an artificial dataset to set lower bounds for area.
1810
1811 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
1812 (addPoints): New convenience method to be used in future.
1813 (createGroundAtInfinity, createCeilingAtInfinity): Create artificial
1814 datasets for better areas.
1815
1816 2012-03-20 Raimund Renkert <raimund.renkert@intevation.de>
1817
1818 Issue 506.
1819
1820 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1821 Create the date from long values instead of the year.
1822
1823 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
1824 Added method to transform a String into an array of long values.
1825
1826 * doc/conf/artifacts/winfo.xml:
1827 changed data type from intrange to longrange.
1828
1829 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
1830
1831 flys/issue544 (Historische ATs: Eingabeunterstützung W/Q)
1832
1833 * src/main/java/de/intevation/flys/artifacts/services/GaugeInfoService.java:
1834 New service that returns information for gauges based on a specified
1835 river.
1836
1837 * doc/conf/conf.xml: Registered the GaugeInfoService.
1838
1839 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
1840
1841 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
1842 Skip DischargeTables that have no time interval set or that are marked
1843 as master DischargeTable.
1844
1845 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Skip
1846 DischargeTables that have no time interval set.
1847
1848 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
1849
1850 flys/issue146 (In WINFO Diagramm Abflusskurve raus, wenn nicht gewünscht)
1851
1852 * doc/conf/artifacts/winfo.xml: Do not create outputs for discharge curves
1853 at gauge any longer.
1854
1855 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
1856
1857 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe)
1858
1859 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Added
1860 the numeric value of a selected named main value to the WST column name.
1861
1862 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
1863
1864 * doc/conf/mapserver/db_layer.vm: Set the FILTER expression into double
1865 quotes (") instead of single quotes (') which allows single quotes in
1866 expressions.
1867
1868 * doc/conf/meta-data.xml: Moved the floodmaps from kilometrage to its
1869 parent folder.
1870
1871 * src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java:
1872 Fixed broken filter expression and set geometry type (MapServer does not
1873 know a 'MULTIPOLYGON').
1874
1875 2012-03-16 Raimund Renkert <raimund.renkert@intevation.de>
1876
1877 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1878 Remove unnecessary outputs from attributes instead of copying outs to
1879 new attribute element.
1880
1881 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
1882
1883 * Tagged module as 'pre2.7-2012-03-16'.
1884
1885 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
1886
1887 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
1888 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
1889 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
1890 Removed useless imports.
1891
1892 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
1893
1894 flys/issue523 (W-INFO / Bezugslinienverfahren / Linieneinstellungen / Min+Max anzeigen)
1895
1896 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
1897 Improved the look of the minimum and maximum shape of a series. They are
1898 now rectangles with a darker fill color as the line color is.
1899
1900 2012-03-15 Ingo Weinzierl <ingo@intevation.de>
1901
1902 flys/issue522 (W-INFO / Bezugslinienverfahren / Schriftgröße der Achsenbeschriftung)
1903
1904 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1905 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1906 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Label and
1907 tick label fonts for axes will now always be the same.
1908
1909 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
1910 Removed the createYAxis() method which is already implemented in an
1911 upper class. There, the method also takes the ChartSettings into account.
1912
1913 2012-03-15 Raimund Renkert <raimund.renkert@intevation.de>
1914
1915 Issue 547.
1916
1917 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
1918 Use date format with MEDIUM style.
1919
1920 * src/main/java/de/intevation/flys/utils/Formatter.java:
1921 Added date format with MEDIUM style.
1922
1923 2012-03-15 Ingo Weinzierl <ingo@intevation.de>
1924
1925 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a new
1926 method that returns the Bounds for a given XYDataset. Based on the
1927 concrete type of the XYDataset, the call is dispatched to a more specific
1928 method.
1929
1930 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1931 Removed the whole "range" stuff and some methods that are implemented in
1932 upper classes.
1933
1934 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Removed the
1935 setXRange() and setYRange() methods. In our own code, we will use Bounds
1936 instead of JFreeChart's Range instances to save range/bounds information.
1937 This is necessary to save information which is not not from type double
1938 (which is the case in Timeseries charts).
1939
1940 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Replaced
1941 usage of Range with Bounds in the whole class.
1942
1943 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
1944 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
1945 Adapted the method signature of zoom() and zoomX().
1946
1947 2012-03-14 Ingo Weinzierl <ingo@intevation.de>
1948
1949 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1950 Copied the adjustAxes() method from XYChartGenerator which enables axes
1951 label font sizes.
1952
1953 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
1954 Removed unnecessary axes creation method which is implemented in upper
1955 classes.
1956
1957 2012-03-14 Raimund Renkert <raimund.renkert@intevation.de>
1958
1959 Issue 640.
1960
1961 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1962 Remove all unnecessary output settings from attributes.
1963
1964 2012-03-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1965
1966 Partial for flys/issue358, rough stub for legenditem aggregation.
1967
1968 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1969 Added rough stub for legend aggregation.
1970
1971 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
1972
1973 * doc/conf/themes.xml: Fixed broken XML syntax.
1974
1975 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
1976
1977 * doc/conf/meta-data.xml: Modified the datacage structure of 'floodmaps'.
1978
1979 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
1980
1981 * src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java: New.
1982 This Artifacts allows loading 'floodmaps'.
1983
1984 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
1985 new Facet type "floodmap.floodmaps" which are created by
1986 WMSFloodmapsArtifact.
1987
1988 * doc/conf/artifacts/winfo.xml: Registered the "floodmap.floodmaps" facet
1989 for "floodmap" output.
1990
1991 * doc/conf/conf.xml: Registered the new WMSFloodmapsArtifact.
1992
1993 * doc/conf/themes.xml: Added a theme for the "floodmap.floodmaps" facet.
1994
1995 * src/main/resources/messages.properties,
1996 src/main/resources/messages_de_DE.properties,
1997 src/main/resources/messages_en.properties,
1998 src/main/resources/messages_de.properties: Added i18n string for
1999 "floodmap.floodmaps" title.
2000
2001 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
2002
2003 * doc/conf/meta-data.xml: Improved datacage configuration to serve
2004 floodmaps.
2005
2006 2012-03-05 Ingo Weinzierl <ingo@intevation.de>
2007
2008 flys/issue566 (ÜSK: Formalien in der Parametrisierung)
2009
2010 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java:
2011 Override getLabelFor() method to return better I18N strings for selected
2012 floodplain option.
2013
2014 * src/main/resources/messages.properties,
2015 src/main/resources/messages_de_DE.properties,
2016 src/main/resources/messages_en.properties,
2017 src/main/resources/messages_de.properties: Added options
2018 for floodplain (active/inactive) and adapted a german I18N string.
2019
2020 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2021
2022 Fix flys/issue 528 for csv.
2023
2024 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
2025 Fixed column order, reworked todos.
2026
2027 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2028
2029 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
2030 Fixed column order.
2031
2032 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2033
2034 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
2035 Stub to export the "W (cm)" column conditionally on Gauge presence.
2036
2037 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2038
2039 * src/main/java/de/intevation/flys/exports/StepCSVWriter.java:
2040 New utility to handle csv rows of more "dynamical" length.
2041
2042 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2043
2044 * src/main/java/de/intevation/flys/exports/StepCSVWriter.java:
2045 New utility to handle csv rows of more "dynamical" length.
2046
2047 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2048
2049 Fix flys/issue501 (manual points have two legend entries).
2050
2051 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2052 Respect wish to not have a legend entry.
2053
2054 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2055
2056 Fix flys/issue636 (cross-section: name of waterlevel facets).
2057
2058 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
2059 Corrected name for waterlevel facets.
2060
2061 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2062
2063 Partial fix flys/issue615 (datacage: events for fixations).
2064
2065 * doc/conf/meta-data.xml: Adjusted to make loading single events
2066 possible.
2067
2068 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2069
2070 Partial Dontcrash on flys/issue647 (NaNs from WstValueTable interpolation).
2071
2072 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
2073 Do not add data pairs where a NaN is present.
2074
2075 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2076
2077 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
2078 Cosmetics, doc.
2079
2080 2012-02-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2081
2082 Added functions to be used for fitting in
2083 the "Fixierungsanalyse" and "Extremwertermittlung".
2084
2085 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java: New.
2086 Abstract base class for functions to fit. Provides the name of the function,
2087 a short description, the names of the parameters and an initial parameter guess
2088 for the fit processe. Sub classes have to overwite the function evaluation and
2089 the partial derivative of the function in respect to the parameters.
2090
2091 TODO: Add a meachnism for the inverse function (needed for AT export) and
2092 the first derivative (needed for the respective diagram).
2093
2094 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
2095 New. Factory to fetch a function by its name.
2096
2097 * src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java: New.
2098 exp: W(Q) = m * a^Q + b
2099
2100 * src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java: New.
2101 quad: W(Q) = n*Q^2 + m*Q + b
2102
2103 * src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java: New.
2104 linear: W(Q) = m*Q + b
2105
2106 * src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java: New.
2107 log-linear: W(Q) = a*ln(m*Q + b)
2108
2109 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java: New
2110 log: W(Q) = m*ln(Q + b)
2111
2112 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java: New.
2113 pow: W(Q) = a*Q^c + d
2114
2115 !!! This power function is new in the pool of functions to be fit. !!!
2116 See my mail "Manuelle Punkte in der Fixierungsanalyse" 2011-10-27 for details.
2117 The function exp-new found in the old FLYS function pool is omitted
2118 because it is worthless and was maybe never used.
2119
2120 * src/main/java/de/intevation/flys/artifacts/math/fitting/App.java: New.
2121 Small test driver to check if the fitting is working. The points to
2122 fit are read from stdin the function to fit is determined by the
2123 system property 'function'. Example usage:
2124
2125 $ mvn -e \
2126 -Dfunction=linear \
2127 -Dexec.mainClass=de.intevation.flys.artifacts.math.fitting.App exec:java <<EOF
2128 357.390696917 7546.72096163
2129 61.4291036312 1334.54835721
2130 799.962128234 16836.7698076
2131 126.52761023 2703.69789985
2132 900.448553398 18955.0578748
2133 EOF
2134
2135 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2136
2137 * src/main/resources/messages_de.properties:
2138 Added ommitted translations.
2139
2140 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2141
2142 fix flys/issue638.
2143
2144 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
2145 (doArea): Ract to WKms as upper/lower area data again.
2146
2147 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2148
2149 Partial fix flys/issue637.
2150
2151 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java,
2152 src/main/resources/messages.properties,
2153 src/main/resources/messages_de_DE.properties,
2154 src/main/resources/messages_en.properties,
2155 src/main/resources/messages_de.properties:
2156 Modified translations.
2157
2158 2012-02-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2159
2160 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2161 - Calculate the extent of the river by the extents of the fixings.
2162 Reason: The river Elbe has only has fixings up to km 351. The other half
2163 of the river is empty which results in a sparse looking overview.
2164 - Add the name of the river as name attribute to resulting <river> element.
2165
2166 * contrib/fixoverview2html.xsl: New. Demo XSL transformation to turn
2167 the output of the overview service directly into HTML. Used in the
2168 client a variant of this script could be used for producing the content
2169 of the assistance widget. Usage:
2170
2171 $ curl http://localhost:8181/service/fixings-overview \
2172 -d @fix-overview.xml | \
2173 xsltproc contrib/fixoverview2html.xsl - \
2174 > fixings-overview.html
2175
2176 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2177
2178 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
2179 Made the filter mechanisms available via the incoming XML document.
2180
2181 1 - range: Simply add a <range from="..." to="..."/> element next to the
2182 <river> element. Optional. Defaults to full extent.
2183
2184 2 - filters: Add a <filter> element next to the <river> element.
2185 Optional. Defaults to accepting all.
2186 The <filter> element can contain the following elements:
2187
2188 <column cid="..."/>: Creates an IdFilter.
2189 <date when="..."/>: Creates a DateFilter.
2190 <date-range from="..." to="..."/>: Creates a DateRangeFilter.
2191 <sector-range from="..." to="..."/>: Create a SectorRangeFilter.
2192 <not>...</not>: Creates a NotFilter. The nested element is negated.
2193 <and>...</and>: Create an AndFilter: The nested elements are 'and'ed.
2194 <or>...</or>: Create an OrFilter: The nested elements are 'or'ed.
2195
2196 These filters need testing!
2197
2198 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2199 Made date format a public constant.
2200
2201 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2202
2203 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2204 Added a filter mechanism for generating output.
2205
2206 There are two kinds of filters:
2207
2208 1 - A range. Defaults to [-Double.MAX_VALUE, Double.MAX_VALUE]
2209 The resulting sectors are cut to this range. Sectors outside
2210 this range are omitted.
2211
2212 2 - column filters: Given a fixing column they can decide to keep
2213 or not to keep it. Following filters exist:
2214
2215 - IdFilter: Keep column if column id matches.
2216 - DateFilter: Keep column if column date matches.
2217 - DateRangeFilter: Keep column if column date is in range.
2218 - SectorRangeFilter: Keep colum if one of its q sectors is in given range.
2219 - NotFilter: Negates another nested filter.
2220 - AndFilter: Keep column if all nested filters accept column.
2221 - OrFilter: Keep column if at least one of the nested filters accepts it.
2222
2223 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2224
2225 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2226 Refactored to build the Q sectors once at construction time and not
2227 every time output is generated.
2228 This will ease the job of applying filters to the Overview.
2229
2230 2012-02-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2231
2232 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
2233
2234 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
2235 New. A service that serves an XML overview version of the fixings of a given river.
2236
2237 The input documents look like this:
2238
2239 <?xml version="1.0" encoding="UTF-8"?>
2240 <fixings>
2241 <river name="Saar"/>
2242 </fixings>
2243
2244 The output documents looks like this:
2245
2246 <?xml version="1.0" encoding="UTF-8"?>
2247 <fixings>
2248 <river from="0.0" rid="1" to="93.0"/>
2249 <events>
2250 ...
2251 <event cid="85" date="29.01.1995 00:00" name="Fixierungen/0-93_1988-2001.wst">
2252 <sector class="0" from="82.7" to="92.85"/>
2253 </event>
2254 <event cid="86" date="13.11.1996 00:00" name="Fixierungen/0-93_1988-2001.wst">
2255 <sector class="2" from="0.0" to="50.599999"/>
2256 <sector class="1" from="50.6" to="65.89"/>
2257 </event>
2258 ...
2259 </events>
2260 </fixings>
2261
2262 The <river> element contains the extent of the whole river
2263 and its db id.
2264 The <events> sections contains serveral <event> elements.
2265 They have a meassure date, db id, a name and a number of <sector>s.
2266 These sectors are q classified from/to ranges. Classes are:
2267
2268 0: smaller (MNQ+MQ)/2
2269 1: (MNQ+MQ)/2 to (MQ+MHQ)/2
2270 2: (MQ+MHQ)/2 to HQ5
2271 3: greater HQ5
2272
2273 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2274 New. Cacheable instance of the overview.
2275 TODO: Apply a filter mechanism when generating the output.
2276
2277 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java:
2278 New. Fetched the fixing overviews from cache if configured.
2279
2280 * doc/conf/conf.xml: Added the service.
2281 * doc/conf/cache.xml: Configured the cache for the fixing overviews.
2282
2283 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2284
2285 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ):
2286 Argh! Forget to check in the range method.
2287
2288 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2289
2290 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ):
2291 Symmetrical to getMinMaxW() add two methods to find min/max Q for a given
2292 km or a range. The range method is maybe a bit slow.
2293
2294 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2295
2296 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxW):
2297 Added signature to give w extend for a given km range.
2298
2299 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2300
2301 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxW):
2302 Added method to find the w extent for a given km. Useful
2303 for validating "W auf freier Strecke".
2304
2305 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
2306 Removed superfluous import.
2307
2308 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de>
2309
2310 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2311 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
2312 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
2313 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
2314 doc/conf/artifacts/winfo.xml:
2315 Renamed state data fields: wq_mode -> wq_isq
2316 wq_free -> wq_isfree
2317 wq_selection -> wq_isrange
2318
2319 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de>
2320
2321 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
2322 Write the description instead of the Q value to CSV file.
2323
2324 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
2325 Added parameter to overriden method.
2326
2327 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
2328 Get Qs without range.
2329
2330 * src/main/resources/messages.properties,
2331 src/main/resources/messages_de_DE.properties,
2332 src/main/resources/messages_en.properties,
2333 src/main/resources/messages_de.properties:
2334 Adjusted i18n string for CSV metadata.
2335
2336 2012-02-17 Ingo Weinzierl <ingo@intevation.de>
2337
2338 Part II/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
2339
2340 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2341 Apply legend specific settings (show/hide).
2342
2343 2012-02-17 Ingo Weinzierl <ingo@intevation.de>
2344
2345 Part I/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
2346
2347 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2348 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
2349 adjustPlot() from XYChartGenerator to ChartGenerator which enables the
2350 TimeseriesChartGenerator to call this method as well.
2351
2352 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2353 Call adjustPlot() in generateChart() to apply the settings specific to
2354 gridlines in the timeseries plot.
2355
2356 2012-02-16 Raimund Renkert <raimund.renkert@intevation.de>
2357
2358 Refactored the wq data fields.
2359
2360 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2361 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
2362 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
2363 Changed the wq data fields to boolean values.
2364
2365 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
2366 Changed the wq data fields to boolean values and added method that
2367 returns the km input mode.
2368
2369 2012-02-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2370
2371 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
2372 Fixed W->Q conversion for "W fuer ungleichwertige Abflusslaengsschnitte."
2373
2374 2012-02-16 Ingo Weinzierl <ingo@intevation.de>
2375
2376 flys/issue509 (Dauerlinie: Q-Achse sollte bei 0 beginnen)
2377
2378 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
2379 Set the lower bounds of the Q axis to 0 to avoid displaying negative
2380 discharge values.
2381
2382 2012-02-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2383
2384 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
2385 src/main/java/de/intevation/flys/artifacts/model/WKms.java:
2386 (guessWaterIncreasing): Removed from interface.
2387
2388 2012-02-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2389
2390 Fix flys/issue150 (exposure of gravitational anomalies)
2391
2392 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
2393 src/main/java/de/intevation/flys/artifacts/model/WKms.java:
2394 (guessWaterIncreasing): In analogy to W->WQ->WQKms defined and
2395 implemented.
2396
2397 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
2398 (needInvertAxis): Changed Parameter type to WKms (was WQKms).
2399 (doW): Use in this case weaker wkms cast to find out whether axis
2400 has to be inverted.
2401
2402 2012-02-15 Ingo Weinzierl <ingo@intevation.de>
2403
2404 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java: Fixed
2405 SQL statement to fetch hyk formations for rivers with 'km_up' = 0.
2406
2407 2012-02-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2408
2409 Another partial fix for flys/issue499: Do the W to Q conversions
2410 needed for "W am Pegel" correctly.
2411
2412 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2413 Repaired getQsForW(): The mapping from W to Q is not unique! There
2414 could be more then one Q having the the same W.
2415 Ws are not strictly monoton/sorted so doing a binary search on this
2416 is just a fail. We now scan them linearly.
2417
2418 XXX: The whole class is mess. The scaling stuff is a stupid
2419 and there is no caching.
2420
2421 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
2422 Fetch the master discharge table for converting Ws to Qs. Handle
2423 the case that there are more Qs for a given W.
2424
2425 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java,
2426 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
2427 Adjusted to new semantic.
2428
2429 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2430
2431 Partial Fix flys/issue500: text-orientation for texts.
2432
2433 * doc/conf/themes.xml: Change default text orientation for text
2434 annotations.
2435
2436 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2437 Minor cosmetics.
2438
2439 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
2440 Parse and apply text rotation field.
2441
2442 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2443
2444 Partial fix for flys/issue499 (Wasserspiegellagen: Berechnung für W frei und Pegel kaputt)
2445 There are still validation issue in the client.
2446
2447 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
2448 Fixed state evaluation for "W auf freier Strecke"/"W am Pegel".
2449 There is still an issue in the client with the input validation
2450 which prevents entering the right W values for
2451 "W auf freier Strecke". :-/
2452
2453 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2454
2455 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2456 Make it compilable again.
2457
2458 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2459
2460 Partial Fix flys/issue500: text-backgrounds for manual points.
2461
2462 * doc/conf/themes.xml: Added text-related style items to manual
2463 point themes.
2464
2465 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2466
2467 Partial Fix flys/issue500
2468
2469 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
2470 Parse whether to show text background. Apply to textannotation.
2471
2472 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2473
2474 Fix flys/issue490
2475
2476 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2477 Pass artifact and facet for doAnnotation.
2478
2479 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2480
2481 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
2482 Use AddScaleFunction instead of LinearFunction.
2483
2484 * src/main/java/de/intevation/flys/artifacts/math/AddScaleFunction.java:
2485 New. f(x) = m*(x+b). I know its aequivalent to m*x + m*b but it
2486 makes more clear that the datum [m] (PNP) is substracted before the
2487 scaling to cm is done.
2488
2489 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
2490
2491 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Bugfix: take
2492 care on empty ArtifactAndFacet objects in doAnnotations().
2493
2494 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2495
2496 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java:
2497 Inherits from ReferenceCurveGenerator now which really simplifies it a lot.
2498
2499 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
2500 Added to methods to be overwritten by sub classes.
2501
2502 * src/main/resources/messages.properties,
2503 src/main/resources/messages_de_DE.properties,
2504 src/main/resources/messages_en.properties,
2505 src/main/resources/messages_de.properties: Adjusted i8n.
2506
2507 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2508
2509 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
2510 Indexed access to getInCm.
2511
2512 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
2513 Simplified. Do not provide any data to blackboard. Only side effect the
2514 call context.
2515
2516 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
2517 Added convinience method to i18n string with defaulting to key name.
2518
2519 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
2520 Label the axis according the scale types of the data.
2521 TODO: Let the NormalizedReferenceCurveGenerator be a sub class of
2522 this.
2523
2524 * src/main/resources/messages.properties,
2525 src/main/resources/messages_de_DE.properties,
2526 src/main/resources/messages_en.properties,
2527 src/main/resources/messages_de.properties: i18n for the reference curve axes.
2528
2529 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
2530
2531 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
2532 Fixed wrong double array dimension for PDF exports and write correct
2533 differences into PDF.
2534
2535 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2536
2537 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
2538 src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
2539 Adjust function to deliver data provider ('blackboard') keys.
2540
2541 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
2542 Change the way we exploit the blackboard-mechanism. TODOs added.
2543
2544 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2545
2546 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
2547 Argh! Finally found the stupid bug in the W~W relation:
2548 Used iQ1 index on W2(Q2).
2549
2550 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2551
2552 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
2553 Improved error messsages even more.
2554
2555 * src/main/resources/messages.properties,
2556 src/main/resources/messages_de_DE.properties,
2557 src/main/resources/messages_en.properties,
2558 src/main/resources/messages_de.properties: Adjusted messages.
2559
2560 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2561
2562 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
2563 Forget to put new created WWAxisType onto blackboard.
2564
2565 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2566
2567 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
2568 Adjust offset of linear function by same factor as the values.
2569
2570 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
2571
2572 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Write
2573 correct min and max values for date axes into the info document.
2574
2575 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2576 Enabled zooming for timeseries charts.
2577
2578 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
2579
2580 * src/main/java/de/intevation/flys/jfree/Bounds.java,
2581 src/main/java/de/intevation/flys/jfree/TimeBounds.java,
2582 src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Added a method
2583 applyBounds(ValueAxis, int) that might be used to adapt the range of the
2584 axis to the bounds adding a space to the left and right.
2585
2586 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
2587
2588 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Defined
2589 new abstract methods for setting and getting Bounds. Modified and
2590 renamed getValueAxisRange(). This method is now called
2591 getValueAxisRangeFromRequest() and returns no longer a Range object but
2592 a String array that consists of the raw string values speicified in the
2593 request document.
2594
2595 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2596 Implemented the missing method getDomainAxisRange(). This method returns
2597 a Range object based on the String array returned from
2598 getValueAxisRangeFromRequest().
2599
2600 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
2601
2602 * src/main/java/de/intevation/flys/jfree/TimeBounds.java: Added new
2603 methods getLowerAsDate() and getUpperAsDate(). The toString() method
2604 will now return a string that contains a human readable date string.
2605
2606 * src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Made 'lower'
2607 always be smaller than 'upper' in the default constructor.
2608
2609 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2610
2611 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
2612 Give more precise message when an error occurs in W~W relation.
2613
2614 * src/main/resources/messages.properties,
2615 src/main/resources/messages_de_DE.properties,
2616 src/main/resources/messages_en.properties,
2617 src/main/resources/messages_de.properties:
2618 Improved error messages.
2619
2620 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
2621
2622 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Modified
2623 and renamend getDomainAxisRange(). This method is now called
2624 getDomainAxisRangeFromRequest() and returns no longer a Range object but
2625 a String array that consists of the raw string values specified in the
2626 request document.
2627
2628 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2629 Implemented the missing method getDomainAxisRange(). This method returns
2630 a Range object based on the String array returned from
2631 getDomainAxisRangeFromRequest().
2632
2633 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
2634
2635 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a
2636 helper function to determine the min and max bounds (x and y) for
2637 TimeSeriesCollections.
2638
2639 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
2640
2641 * src/main/java/de/intevation/flys/jfree/TimeBounds.java,
2642 src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Removed
2643 useless imports.
2644
2645 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2646
2647 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
2648 Add accessors to relative heights.
2649
2650 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
2651 Add relative heights (to gauge) to csv export.
2652
2653 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
2654
2655 * pom.xml: Added dependency to GeoTools swing module.
2656
2657 * src/main/java/de/intevation/flys/artifacts/map/PrintMap.java: Standalone
2658 demo application to print WMS layers to file.
2659
2660 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
2661
2662 * src/main/java/de/intevation/flys/jfree/TimeBounds.java,
2663 src/main/java/de/intevation/flys/jfree/DoubleBounds.java,
2664 src/main/java/de/intevation/flys/jfree/Bounds.java: New model classes that
2665 should be used for adapting axes ranges later.
2666
2667 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2668
2669 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
2670 Generate a valid intial i18n name.
2671
2672 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2673 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
2674 Pass call context to calculation.
2675
2676 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
2677
2678 flys/issue485 (Themen können umgenannt werden, dies wird nicht in der Legende reflektiert)
2679
2680 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2681 Use ArtifactAndFacet.setFacetDescription() to set the description for
2682 themes which are stored in the Collection's XML attribute.
2683
2684 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
2685 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
2686 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
2687 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
2688 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
2689 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
2690 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
2691 src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
2692 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
2693 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
2694 Some refactoring of doXXXOut() methods. We pass the ArtifactAndFacet
2695 objects of doOut() into those concrete doOut() methods which allows us to
2696 generate series names for chart curves.
2697
2698 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2699
2700 * doc/conf/meta-data.xml: Replaced dashes by underscores in entities
2701 to ease translation.
2702
2703 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2704
2705 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
2706 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
2707 Fixed problem with including Y-Zeros.
2708
2709 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
2710 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
2711 Removed superfluous imports.
2712
2713 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2714
2715 Allow points in "new chart"s.
2716
2717 * doc/conf/artifacts/chart.xml: Added manualpoint facets to
2718 compatibility lists.
2719
2720 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
2721
2722 * src/main/java/de/intevation/flys/jfree/Style.java: New. A Style object
2723 needs to implements a method applyTheme() which takes a
2724 XYLineAndShapeRenderer.
2725
2726 * src/main/java/de/intevation/flys/jfree/XYStyle.java: New. This subclass of
2727 Style modifies the XYLineAndShapeRenderer specified in applyTheme().
2728
2729 * src/main/java/de/intevation/flys/jfree/StyledSeries.java: New. This
2730 interface defines two methods getStyle() and setStyle() to adjust and
2731 retrieve the Style of a series.
2732
2733 * src/main/java/de/intevation/flys/jfree/StyledTimeSeries.java: New.
2734 Implementation of StyledSeries that subclasses JFreeChart's TimeSeries.
2735
2736 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: Removed the
2737 code for adapting a XYLineAndShapeRenderer. Instead of implementing this
2738 stuff in StyledXYSeries itself, this instance now implements StyledSeries
2739 and stores an instance of XYStyle.
2740
2741 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
2742 Create new instances of StyledTimeSeries now which enables styling in this
2743 chart.
2744
2745 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Enabled
2746 styling of series for all series that implement StyledSeries.
2747
2748 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2749
2750 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
2751 Be more conservative about arrays and indices in "Bezugslinienverfahren".
2752
2753 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2754
2755 Allow areas in new chart/longitudinal_section.
2756
2757 * doc/conf/artifacts/chart.xml: Added area facet to compatibility
2758 list.
2759
2760 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2761
2762 Fix flys/issue490. Allow CollisionFree..Annotations to collide with
2763 non-collision-free annotations.
2764
2765 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotationEntity.java:
2766 New, to take advantage of cheap instanceof operator.
2767
2768 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
2769 Only avoid collisions with members of same family (i.e. allow
2770 collision with annotations of other types).
2771
2772 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
2773
2774 * doc/conf/themes.xml: Added themes for historical discharge curves and
2775 the differences to a reference curve.
2776
2777 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
2778
2779 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Some
2780 bugfixes and improvements:
2781 1) take only historical discharge tables into account for calculation
2782 2) use the correct values for computing differences
2783 3) moved timerange preparation into an own method
2784
2785 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2786
2787 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
2788 Fix call to StringUtils.join .
2789
2790 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2791
2792 * src/main/resources/messages.properties,
2793 src/main/resources/messages_de_DE.properties,
2794 src/main/resources/messages_en.properties,
2795 src/main/resources/messages_de.properties:
2796 Added i18n string for waterlevels (from datacage).
2797
2798 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2799
2800 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
2801 Locale-format multiple double values also.
2802
2803 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
2804
2805 * doc/conf/artifacts/winfo.xml: Registered a new facet for difference curves
2806 to the historical discharge output.
2807
2808 * src/main/java/de/intevation/flys/artifacts/model/HistoricalWQTimerange.java:
2809 New model that is able to store a further double value "diff" besides a W,
2810 Q and a Timerange.
2811
2812 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Create
2813 new HistoricalWQTimerange instances with difference between the reference
2814 discharge table and the historical discharge tables.
2815
2816 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New type
2817 for historical differences.
2818
2819 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java: Cast
2820 Timerange array in getTimeranges().
2821
2822 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeDifferenceFacet.java:
2823 New Facet for historical discharge difference curves.
2824
2825 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
2826 Create new Facets for the difference curves if the processed data are from
2827 type HistoricalWQTimerange.
2828
2829 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
2830 Added doOut() path for difference curves.
2831
2832 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
2833 Increased the size of a double array to be able to get results from
2834 HistoricalWQTimerange.
2835
2836 * src/main/resources/messages.properties,
2837 src/main/resources/messages_de_DE.properties,
2838 src/main/resources/messages_en.properties,
2839 src/main/resources/messages_de.properties: Added translation for warning
2840 if no reference discharge table was found for the specified gauge.
2841
2842 2012-02-09 Raimund Renkert <raimund.renkert@intevation.de>
2843
2844 Added PDF export to reference curve calculation.
2845
2846 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
2847 Added PDF export.
2848
2849 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
2850 doc/conf/artifacts/winfo.xml:
2851 Add facet for PDF export to state.
2852
2853 * src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java:
2854 New. Datasource for JasperReports containing reference curve data.
2855
2856 * src/main/resources/messages.properties,
2857 src/main/resources/messages_de_DE.properties,
2858 src/main/resources/messages_en.properties,
2859 src/main/resources/messages_de.properties:
2860 Added i18n strings for JasperReports template file and calculation mode.
2861
2862 * doc/conf/jasper/reference.jasper,
2863 doc/conf/jasper/reference_en.jasper:
2864 New. Templates for reference curve PDF export.
2865
2866 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2867
2868 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java(getReferenceEndKms):
2869 Prevent duplicates in end kms for reference curve calculation.
2870
2871 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2872
2873 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2874 doc/conf/artifacts/winfo.xml: Renamed data item names to allow
2875 translations.
2876
2877 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2878
2879 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
2880 Give (Normalized)ReferenceCurveFacets are more appropriate
2881 description (to be seen in client).
2882
2883 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2884
2885 Prepare Reference curves to eat multiple locations as 'Ziel'.
2886
2887 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
2888 Cosmetics.
2889
2890 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
2891 New. State to provoke multi_location_panel.
2892
2893 * doc/conf/artifacts/winfo.xml: Made end state of ref curves a (new)
2894 EnterMultipleLocationState.
2895
2896 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
2897
2898 flys/issue483 (Historische Abflusstafeln ohne Ergebnis)
2899
2900 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Add
2901 a problem for the calculation report if no discharge tables were found
2902 for the given timerange.
2903
2904 * src/main/resources/messages.properties,
2905 src/main/resources/messages_de_DE.properties,
2906 src/main/resources/messages_en.properties,
2907 src/main/resources/messages_de.properties: Added translation for error
2908 messages created by Calculation6.
2909
2910 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2911
2912 * src/main/java/de/intevation/flys/utils/Formatter.java:
2913 Format kms in error reports at least with one digit after
2914 the decimal separator.
2915
2916 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2917
2918 Fix flys/issue468 (Fehler beim Projekt-Duplizieren)
2919
2920 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
2921 Always create a new XML document when calling report generation.
2922 XXX: There is a bug somewhere which calls error reporting twice
2923 when cloning a collection. Speculation: It has something to do with
2924 the settings stuff.
2925
2926 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
2927 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
2928 Remove superfluous imports.
2929
2930 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java:
2931 Added missing Override annotation.
2932
2933 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2934
2935 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
2936 Handle Manual Point Facets, added TODO.
2937
2938 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2939
2940 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
2941 Subclass BlackboardDataFacet to repair areas over cross sections.
2942
2943 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
2944
2945 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Let text
2946 and line annotations placed at x or y axes always be in foreground.
2947
2948 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2949
2950 Fix flys/issue474 (manual points in reference curves).
2951
2952 * doc/conf/artifacts/winfo.xml,
2953 doc/conf/artifacts/manualpoints.xml:
2954 Add manualpoints to lists just so that really everybody knows.
2955
2956 * doc/conf/themes.xml: Add styles for manual points in ref curves.
2957
2958 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2959 Add ref curve chart types.
2960
2961 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
2962 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
2963 Handle manual point facets.
2964
2965 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2966
2967 Partial Fix flys/issue474.
2968
2969 * src/main/resources/messages.properties,
2970 src/main/resources/messages_de_DE.properties,
2971 src/main/resources/messages_en.properties,
2972 src/main/resources/messages_de.properties: Added translation for
2973 normalized_reference_curve.
2974
2975 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2976
2977 Fix flys/issue475.
2978
2979 * doc/conf/themes.xml: Register theme for reference_curve_normalized.
2980
2981 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
2982
2983 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Add a "/" to the
2984 URL of the user wms if the URL configured in conf.xml doesn't end with
2985 a "/".
2986
2987 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2988
2989 Fix flys/issue472.
2990
2991 * doc/conf/themes.xml: Added theme for discharge_curve manualpoints.
2992
2993 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2994 Added discharge_curve as chart type.
2995
2996 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2997
2998 Fix flys/issue484 ((i18n: Ungleichwertige... Report))
2999
3000 * src/main/resources/messages.properties,
3001 src/main/resources/messages_de_DE.properties,
3002 src/main/resources/messages_en.properties,
3003 src/main/resources/messages_de.properties: Fixed key spelling.
3004
3005 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3006
3007 Fix flys/issue478 (Manuelle Punkte: Stil nicht änderbar).
3008
3009 * doc/conf/themes: Map correct theme to manualpoint themes.
3010
3011 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3012
3013 Partial fix flys/issue472 .
3014
3015 * doc/conf/artifacts/winfo.xml: Add manual points to compatibility
3016 list of cross_sections.
3017
3018 * doc/conf/artifacts/manualpoints.xml: Add manualpoints to list of
3019 generated facets.
3020
3021 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3022
3023 * doc/conf/themes.xml: Commented styling option for show area until
3024 area calculation works.
3025
3026 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3027
3028 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
3029 i18n the km of the error report.
3030
3031 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
3032 Fixed potential race conditions.
3033
3034 * src/main/java/de/intevation/flys/utils/Formatter.java: Added
3035 formatter for error report kms.
3036
3037 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
3038 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
3039 Removed superfluous imports.
3040
3041 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
3042 Commented out some imports. They are used be out commented code.
3043
3044 2012-02-07 Ingo Weinzierl <ingo@intevation.de>
3045
3046 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
3047 Use the correct km key for an unspecific km for fetching the whole river
3048 annotations.
3049
3050 2012-02-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3051
3052 * doc/conf/conf.xml: Added missing config of chart info generator
3053 of normalized reference curve.
3054
3055 2012-02-07 Ingo Weinzierl <ingo@intevation.de>
3056
3057 * doc/conf/conf.xml: Fixed wrong chart info generator name for historical
3058 discharge curves.
3059
3060 2012-02-07 Raimund Renkert <raimund.renkert@intevation.de>
3061
3062 Added PDF export for historical discharge curve calculations.
3063
3064 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
3065 Implemented PDF export for calculation results.
3066
3067 * src/main/java/de/intevation/flys/artifacts/model/WQTJRDataSource.java:
3068 New. Datasource for JasperReports.
3069
3070 * doc/conf/artifacts/winfo.xml:
3071 Added facet for PDF export to historical discharge curve output mode.
3072
3073 * src/main/resources/messages.properties,
3074 src/main/resources/messages_de_DE.properties,
3075 src/main/resources/messages_en.properties,
3076 src/main/resources/messages_de.properties:
3077 Added i18n strings for historical discharge curve export.
3078
3079 * doc/conf/jasper/historical-discharge.jasper,
3080 doc/conf/jasper/historical-discharge_en.jasper:
3081 New. Templates for JasperReports PDF creation.
3082
3083 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3084
3085 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
3086 Handle WWQQs, extended CSV export of reference curves.
3087
3088 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3089
3090 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
3091 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
3092 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
3093 Recactored, moved Formatter accessors to base class AbstractExporter.
3094
3095 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3096
3097 Let reference curve calculation result in specific WWQQ, extended CSV
3098
3099 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java
3100 (getWW,getWWQQ): Renamed and changed result type.
3101
3102 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java,
3103 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
3104 Result in WWQQs, not in WWs.
3105
3106 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3107
3108 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
3109 Log error as warning.
3110
3111 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3112
3113 * src/main/java/de/intevation/flys/artifacts/math/LinearFunction.java:
3114 New. Linear function f(x) = m*x + b.
3115
3116 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
3117 Do the normalizing. Cascading functions is not required.
3118
3119 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3120
3121 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveInfoGenerator.java:
3122 Added missing chart info generator for the normalized reference curves.
3123
3124 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3125
3126 * src/main/resources/messages_de_DE.properties,
3127 src/main/resources/messages_de.properties: Fix i18n.
3128
3129 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3130
3131 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
3132 Added optional boolean flag to indicated if the data should be 'normalized'.
3133 TODO: Build the cascading normalising function call chain.
3134
3135 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
3136 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3137 Fetch WWAxisTypes from call context to do the right scaling.
3138
3139 2012-02-06 Raimund Renkert <raimund.renkert@intevation.de>
3140
3141 Added service for discharge infos at a specific gauge.
3142
3143 * doc/conf/conf.xml: Added service factory entry.
3144
3145 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
3146 New. Returns description, start year and end year of discharges at a
3147 specific gauge.
3148
3149 * src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
3150 Return a more specific ui provider string.
3151
3152 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3153
3154 * doc/conf/conf.xml: Registered generator for normalized reference curves.
3155
3156 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
3157 Added "reference_curve_normalized".
3158
3159 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
3160 Added facets for normalized reference curves.
3161
3162 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java:
3163 Generator for normalized reference curves.
3164
3165 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3166
3167 * doc/conf/artifacts/winfo.xml: Added config for "reduzierte Bezugslinie".
3168
3169 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3170
3171 * doc/conf/artifacts/winfo.xml: Added error report.
3172
3173 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
3174
3175 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Set
3176 proper bounds for date axis elements; tell the transformation matrix which
3177 type it is (number/date).
3178
3179 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3180
3181 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
3182 Include location description string in csv output of referencecurve-
3183 exporter.
3184
3185 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3186
3187 * src/main/java/de/intevation/flys/artifacts/model/WW.java: Added constructor call.
3188 * src/main/java/de/intevation/flys/artifacts/model/WWQQ.java: New.
3189 Stores the Qs for the Ws, too.
3190
3191 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java: Create
3192 WWQQs instead of WWs.
3193
3194 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3195
3196 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
3197 Added further i18n stubs and slightly more data.
3198
3199 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3200
3201 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
3202 Return the Qs of the Ws, too.
3203
3204 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
3205 Adjusted to cope with the return Qs. TODO: Create WQWQ or WWQQ dataset
3206 for storing the result.
3207
3208 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3209
3210 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3211 Added further i18n stubs.
3212 Also added a second Y axis (experimental, to ease axis labeling etc.).
3213
3214 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3215
3216 * doc/conf/artifacts/winfo.xml: Register new export output and csv
3217 facet for reference curves.
3218
3219 * doc/conf/conf.xml: Register Exporter for reference curve.
3220
3221 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
3222 Primitive exporter, bland copy of another one.
3223
3224 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3225
3226 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3227 Enabled some i18n of labels.
3228
3229 * src/main/resources/messages.properties,
3230 src/main/resources/messages_de_DE.properties,
3231 src/main/resources/messages_en.properties,
3232 src/main/resources/messages_de.properties: Basic i18n for reference
3233 curves added.
3234
3235 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
3236
3237 * doc/conf/conf.xml: Registered the HistoricalDischargeCurveInfoGenerator.
3238
3239 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveInfoGenerator.java:
3240 New. This info generator returns information of a
3241 HistoricalDischargeCurveGenerator.
3242
3243 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Add an
3244 attribute "axistype" to axes nodex based on the JFreeChart Axis type.
3245 Number axes get a "number", date axes a "date".
3246
3247 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Defined an
3248 abstract method getRangesForAxis().
3249
3250 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Awaits
3251 now an instance of ChartGenerator instead of XYChartGenerator.
3252
3253 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
3254 Implemented the getRangesForAxis() method (copied from XYChartGenerator).
3255
3256 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
3257 @Override annotation to getRangesForAxis().
3258
3259 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3260
3261 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
3262 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
3263 Cosmetics.
3264
3265 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3266
3267 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
3268 Add CSV facet (not yet evaluated).
3269
3270 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
3271
3272 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
3273 New. This OutGenerator exports historical discharge curves to CSV and PDF.
3274 Currently, only the CSV export is implemented!
3275
3276 * doc/conf/artifacts/winfo.xml: Registered a new Output CSV for historical
3277 discharge curves.
3278
3279 * doc/conf/conf.xml: Registered the HistoricalDischargeCurveExporter.
3280
3281 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
3282 Generate new Facets for CSV and PDF output.
3283
3284 * src/main/java/de/intevation/flys/utils/Formatter.java: Added new functions
3285 that return number formatters for historical discharge curves and a date
3286 formatter for short dates.
3287
3288 * src/main/resources/messages.properties,
3289 src/main/resources/messages_de_DE.properties,
3290 src/main/resources/messages_en.properties,
3291 src/main/resources/messages_de.properties: Added strings for CSV header of
3292 historical discharge curve export.
3293
3294 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3295
3296 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
3297 Adjusted to name change in River ('hibernate fix').
3298
3299 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
3300
3301 * doc/conf/artifacts/winfo.xml: Adapted the data type of W/Q input values
3302 for historical discharge curve calculation (intarray -> doublearray).
3303
3304 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
3305 Adapted the data type of W/Q input values.
3306
3307 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3308
3309 First steps to serve the data in cm if we are are gauges only.
3310
3311 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
3312 Fetch map gauge station -> gauge datum from backend for reference curve.
3313
3314 * src/main/java/de/intevation/flys/artifacts/math/LinearFilterFunction.java:
3315 New. Linear transforms another function.
3316
3317 * src/main/java/de/intevation/flys/artifacts/math/FilterFunction.java:
3318 New. Allows cascading functions.
3319
3320 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
3321 New. Classifier what kind of axis types are needed.
3322
3323 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
3324 Removed. Is now obsolete.
3325
3326 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
3327 Stores gauge station kms for start and end km if they are any.
3328
3329 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
3330 Should generate a WWAxisTypes classifier via side effect to the
3331 call context.
3332
3333 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
3334 Figure out for each start/end km if its a gauge station and store this
3335 information in the result WWs.
3336
3337 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3338 Uses the WWAxisTypes classifier now to generate the right data.
3339 TODO: Use the blackboard object.
3340
3341 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3342
3343 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
3344 Removed superfluous imports.
3345
3346 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3347
3348 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
3349 Set number of interpolation steps for relation curve to 200.
3350
3351 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3352 Do not sort the XYSeries.
3353
3354 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3355
3356 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
3357 Removed. Was stub.
3358
3359 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3360
3361 Improved Reference Curves.
3362
3363 * doc/conf/artifacts/winfo.xml: Add start/end input step for reference
3364 curves.
3365
3366 * doc/conf/themes.xml: Add theme for reference curve.
3367
3368 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
3369 Disable start/end point-hack for reference curve. Go with 'live'
3370 values.
3371
3372 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
3373 i18n.
3374
3375 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
3376 New. State to enter location.
3377
3378 * src/main/java/de/intevation/flys/artifacts/states/InputDoubleState.java:
3379 New.
3380
3381 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3382 Take WW name to display in themepanel.
3383
3384 * src/main/resources/messages.properties,
3385 src/main/resources/messages_de_DE.properties,
3386 src/main/resources/messages_en.properties,
3387 src/main/resources/messages_de.properties: Added translations.
3388
3389 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
3390
3391 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Use
3392 the current date for discharge tables which doesn't have a stop time set.
3393 A warning message is written to log.
3394
3395 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
3396 Generate report facet before leaving the computeXXX() method when no
3397 calculation results has been computed.
3398
3399 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
3400
3401 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
3402 that returns the name of a reference gauge (for historical discharge
3403 curves).
3404
3405 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
3406 Create title, subtitle and axes labels for charts of this type.
3407
3408 * src/main/resources/messages.properties,
3409 src/main/resources/messages_de_DE.properties,
3410 src/main/resources/messages_en.properties,
3411 src/main/resources/messages_de.properties: Added title, subtitle and axes
3412 labels for historical discharge curves.
3413
3414 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3415
3416 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
3417 Fix.
3418
3419 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3420
3421 * src/main/resources/messages.properties,
3422 src/main/resources/messages_de_DE.properties,
3423 src/main/resources/messages_en.properties,
3424 src/main/resources/messages_de.properties: Added translations for
3425 states (will be shown in client).
3426
3427 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3428
3429 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3430 Ja!vadoc.
3431
3432 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3433 Declare getYAxisWalker as abstract to avoid weird issue with
3434 overriden methods of this name.
3435
3436 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3437
3438 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3439 Use the WW.ApplyFunctionIterator to fetch the data.
3440
3441 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
3442 Removed superfluous imports.
3443
3444 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
3445
3446 * doc/conf/artifacts/winfo.xml: Registered a ReportFacet for historical
3447 discharge curve report.
3448
3449 * doc/conf/conf.xml: Registered a ReportGenerator for historical discharge
3450 curves.
3451
3452 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Add
3453 problems if we were not able to find a Q for a given W.
3454
3455 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
3456 Generate a ReportFacet if there were problems during calculcation.
3457
3458 * src/main/resources/messages.properties,
3459 src/main/resources/messages_de_DE.properties,
3460 src/main/resources/messages_en.properties,
3461 src/main/resources/messages_de.properties: Added error messages for the
3462 case that we were not able to find a Q for a given W while calculating
3463 historical discharge curve data.
3464
3465 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
3466
3467 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
3468 Improved adding new data for historical discharge curves: skip NaN
3469 values; use JFreeChart's Day TimePeriod instead of Second.
3470
3471 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
3472
3473 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3474 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Refactoring:
3475 moved addDatasets(), applyThemes() and some other methods into
3476 ChartGenerator; enhanced the AxisDataset interface.
3477
3478 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
3479 Implemented necessary abstract methods and improved internal AxisDataset
3480 class (added new methods).
3481
3482 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
3483
3484 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a
3485 function that expands a given range. Take care on NaN in getRanges().
3486
3487 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
3488 Prevent of NullPointerExceptions in isMinimumShapeVisible() and
3489 isMaximumShapeVisible().
3490
3491 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
3492
3493 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
3494 Create new AxisDatasets and new TimeSeriesCollections for each Facet.
3495
3496 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
3497
3498 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java: Added a
3499 method getTimerange(idx) that returns the Timerange at a given index.
3500
3501 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeFacet.java:
3502 Return the correct WQTimerange object in getData().
3503
3504 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
3505
3506 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3507 src/main/java/de/intevation/flys/exports/ChartGenerator.java: More
3508 refactoring: the AxisDataset is defined by an interface in ChartGenerator
3509 now. Each subclass of ChartGenerator should implement its own AxisDataset.
3510 This allows us to provide multiple XYDataset types in different charts.
3511
3512 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
3513 Implemented some necessary methods (abstract definitions of parent class)
3514 and create new empty timeseries charts.
3515
3516 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
3517
3518 * src/main/java/de/intevation/flys/exports/ChartHelper.java: New helper
3519 class for working with charts.
3520
3521 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
3522
3523 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
3524 Removed useless import.
3525
3526 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3527 src/main/java/de/intevation/flys/exports/ChartGenerator.java: More
3528 refactoring: moved more base code from XYChartGenerator to its parent
3529 class ChartGenerator.
3530
3531 2012-02-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3532
3533 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
3534 Refactored. Use supers static field.
3535
3536 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
3537 Refactored. Use static field.
3538
3539 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
3540 src/main/java/de/intevation/flys/utils/FLYSUtils.java
3541 (getMinMax, getRiverMinMax): Refactored. Moved to FLYSUtils.
3542
3543 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
3544 Add so-called javadoc.
3545
3546 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
3547
3548 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3549 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Moved
3550 further base code from XYChartGenerator into its ChartGenerator.
3551
3552 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
3553 Override generateChart() instead of generate() which is now implemented
3554 in ChartGenerator.
3555
3556 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
3557
3558 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
3559 New. This ChartGenerator should be used for timeseries charts. Currently,
3560 this class is a stub only! WORK IS IN PROGRESS!
3561
3562 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
3563 Subclasses TimeseriesChartGenerator now instead of XYChartGenerator,
3564 because historical discharge curve charts will have a time x axis set.
3565
3566 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3567 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Moved some
3568 basic stuff from XYChartGenerator into ChartGenerator.
3569
3570 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
3571
3572 * src/main/java/de/intevation/flys/artifacts/charts/TimeseriesStepChart.java:
3573 Added standalone demo app for evaluating different timeseries charts.
3574
3575 2012-02-02 Raimund Renkert <raimund.renkert@intevation.de>
3576
3577 Issue 466: CSV export for chart themes.
3578
3579 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3580 Export a CSV file if the requested format is 'csv'.
3581
3582 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
3583 Generate the CSV file containing X-Y-data of all activated themes.
3584
3585 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
3586
3587 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
3588 Moved code to load values of a discharge table into an own static
3589 function to be able to reuse it in Calculation6.
3590
3591 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
3592 Implemented the findValueForW().
3593
3594 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3595
3596 Fake some reference curve input values to have working prototype
3597 to work on.
3598
3599 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
3600 Syntax-stunt fake reference inputs.
3601
3602 * src/main/java/de/intevation/flys/artifacts/model/WW.java
3603 (getW1): Accessor for first w at index (for the raw ww).
3604
3605 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java
3606 (doReferenceOut): Plot the raw W-over-W.
3607
3608 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
3609
3610 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Create time
3611 millis for timerange used in Calculation6.
3612
3613 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Added
3614 the first step of the calculation: fetch relevant discharge tables based
3615 on the given input parameters. The calculated values are not the right
3616 ones! Finding Ws and Qs in discharge tables is still not implemented! WORK
3617 IN PROGRESS!
3618
3619 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
3620 Create facets for each WQTimerange object calculated by Calculation6.
3621
3622 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
3623
3624 * src/main/java/de/intevation/flys/artifacts/model/Timerange.java: Added a
3625 new constructor that takes Date objects for start and end time.
3626
3627 2012-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3628
3629 * src/main/java/de/intevation/flys/artifacts/model/W.java:
3630 Forget to create ws data in constructor.
3631
3632 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3633
3634 * doc/conf/artifacts/winfo.xml: Replaced Reference Curve input state
3635 with LocationSelect-State for debugging purposes. Add output to
3636 reference.curve- state.
3637
3638 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3639
3640 * doc/conf/conf.xml: Register ReferenceCurve*Generators.
3641
3642 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3643
3644 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
3645 Cosmetics.
3646
3647 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3648
3649 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
3650 Added pro forma facet.
3651
3652 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3653
3654 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
3655 Added comment.
3656
3657 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3658
3659 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
3660 Added reference curve facet type.
3661
3662 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
3663
3664 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Fetch
3665 necessary parameters for 'historical discharge curve' calculation and call
3666 Calculation6 with those parameters.
3667
3668 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
3669 Modified default constructor and calculate() signatures and added a
3670 parameter check which is evaluated before the calculation starts.
3671
3672 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3673
3674 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java,
3675 src/main/java/de/intevation/flys/exports/ReferenceCurveInfoGenerator.java:
3676 Added outline of a new chart-generator.
3677
3678 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
3679
3680 * src/main/java/de/intevation/flys/artifacts/model/Timerange.java: New.
3681 This class might be used to store timeranges. Start and end time are
3682 stores as long (milliseconds since january 1, 1970).
3683
3684 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java:
3685 New. This class should be used to save Ws, Qs and timeranges.
3686
3687 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
3688
3689 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added helper
3690 methods to extract int[] and double[] from string.
3691
3692 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
3693
3694 * doc/conf/artifacts/winfo.xml: Registered new facet type
3695 'historical_discharge.historicalq' to the 'historical_discharge' output.
3696
3697 * doc/conf/conf.xml: Registered new HistoricalDischargeCurveGenerator for
3698 output type 'historical_discharge'.
3699
3700 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
3701 new facet type for HISTORICAL_DISCHARGE_Q.
3702
3703 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
3704 New. This ChartGenerator is used to generate new charts for historical
3705 discharge curves. WORK IN PROGRESS!
3706
3707 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: New.
3708 This class should 'compute' the historical discharge curves. WORK IN
3709 PROGRESS!
3710
3711 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeFacet.java:
3712 New. This Facet is used during the calculation of historical discharge
3713 curves.
3714
3715 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
3716 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added stubs
3717 to trigger the calculation of data used for generating historical
3718 discharge curve charts.
3719
3720 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
3721
3722 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
3723 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
3724 Removed needless imports.
3725
3726 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3727
3728 * src/main/resources/messages_de.properties,
3729 src/main/resources/messages_de_DE.properties:
3730 Fixed "W bei ..m" -> "W fuer ...n" .
3731
3732 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3733
3734 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3735 Avoid NPE, add warning to log to not forget about it.
3736
3737 2012-01-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3738
3739 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
3740 Fixed problems with unformatted numbers in error message.
3741
3742 2012-01-31 Ingo Weinzierl <ingo@intevation.de>
3743
3744 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
3745 Override getLabelFor() to return the I18N string for the selected
3746 evaluation mode.
3747
3748 2012-01-31 Ingo Weinzierl <ingo@intevation.de>
3749
3750 * doc/conf/artifacts/winfo.xml: Modified types of parameters in the
3751 'historical discharge curves' transitions.
3752
3753 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3754
3755 * doc/conf/artifacts/winfo.xml: Fix transition type (Stupid Bug 1.0 reverse).
3756
3757 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
3758
3759 * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java:
3760 Override getLabelFor() method defined in DefaultState to return the name
3761 of a Gauge based on the official number which is stored in the
3762 parameterization.
3763
3764 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3765
3766 Allow manual points in more diagram types.
3767
3768 * doc/conf/artifacts/winfo.xml: Add respective facet types to
3769 compatibility lists of output modes.
3770
3771 * doc/conf/artifacts/manualpoints.xml: Mention facet types.
3772
3773 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
3774 Added ChartType enum to ease later iteration.
3775 (IS.MANUALPOINTS): Added helper.
3776
3777 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java:
3778 Help artifact figuring out which data to provide by passing facet
3779 name.
3780
3781 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
3782 Respond to getPointData with correct data item, depending on facet
3783 name.
3784
3785 * src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
3786 Iterate over chart types. Add facets if corresponding data is found.
3787
3788 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
3789 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
3790 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
3791 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3792 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
3793 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
3794 Handle manual point facets.
3795
3796 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
3797
3798 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Clone
3799 StateData model objects to save parameters in this Artifact - create
3800 new StateData instances only if no StateData model was found for a
3801 parameter. This solves the problem of loosing the type of a StateData.
3802
3803 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
3804 Implemented a getLabelFor() method that is used to format a parameter
3805 value.
3806
3807 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
3808 Adapted method signature of transform().
3809
3810 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
3811 Override getLabelFor() method to create a well formatted label for min/max
3812 values.
3813
3814 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
3815
3816 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java:
3817 Bugfix: use correct order of parameters in DefaultStateData constructor.
3818
3819 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
3820
3821 * doc/conf/artifacts/winfo.xml: Fixed a stupid bug. Use
3822 ValueCompareTransition instead of DefaultTransition to evaluate values.
3823
3824 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
3825
3826 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
3827 Write default values for min and max items into the DESCRIBE document.
3828
3829 2012-01-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3830
3831 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
3832 Added field 'startKm' and 'endKm' to make it easier to associate
3833 gauge to km to return Ws in cm if km is at a gauge.
3834
3835 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
3836 Construct the WWs with startKm and endKm. This is necessary because
3837 if an error occurs in calcuting an in between km in a list of end kms
3838 the index does not correspond to the input value any more.
3839
3840 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
3841
3842 * doc/conf/artifacts/winfo.xml: Added transitions for "historical discharge
3843 curves" calculation.
3844
3845 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3846
3847 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
3848 (doPoints): Skip 'inactive' points.
3849
3850 2012-01-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3851
3852 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
3853 Removed the createNormalized() method because it did not
3854 solve all problems with the transformation of the W~W data we have.
3855
3856 - We need to shift the values to be based in (0, 0).
3857 - We need to linear transform the values if they are at gauges.
3858 - Copying the data is memory expensive.
3859
3860 Therefore there is now a new inner class ApplyFunctionIterator
3861 that is able to transform the values in an iterator like manner.
3862 The transform functions default to the identity.
3863
3864 * src/main/java/de/intevation/flys/artifacts/math/Sub.java: New.
3865 Simple function that subtract a scalar from the parameter.
3866
3867 * src/main/java/de/intevation/flys/artifacts/model/W.java: Added
3868 method minWs() to calulate the minimal W of the data.
3869
3870 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
3871 getData() returns a WW.ApplyFunctionIterator with identity transform.
3872
3873 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
3874 getData() returns a WW.ApplyFunctionIterator with a base shift to (0, 0).
3875
3876 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3877
3878 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
3879 Added method createNormalized() to shift the data to start in (0, 0).
3880
3881 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
3882 Returns the 'normalized' data of the reference curve.
3883
3884 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3885
3886 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
3887 New. Facet for the normalized W~W relation.
3888 TODO: Implement the on-the-fly creation logic.
3889
3890 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
3891 New. Facet for the W~W relation.
3892
3893 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: Cosmetics.
3894
3895 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3896
3897 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
3898 Added stub loop for creating facets.
3899
3900 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
3901 Cosmetics.
3902
3903 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3904
3905 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
3906 Call the 'Bezugslinienverfahren'.
3907
3908 * src/main/resources/messages.properties,
3909 src/main/resources/messages_de_DE.properties,
3910 src/main/resources/messages_en.properties,
3911 src/main/resources/messages_de.properties:
3912 I18N for the 'Bezugslinienverfahren' error messages.
3913
3914 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3915
3916 * doc/conf/themes.xml: Better theme for manual points.
3917
3918 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3919 Theme text part of manual points. Offset it a bit.
3920
3921 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3922
3923 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
3924 Fixed stupid bug.
3925
3926 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
3927
3928 * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java,
3929 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
3930 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java,
3931 src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
3932 New. States used in the 'historical discharge curve' calculation.
3933
3934 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
3935
3936 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java: New
3937 state that eases adding min/max value pairs to describe document.
3938
3939 * src/main/java/de/intevation/flys/artifacts/states/IntRangeState.java:
3940 New. Subclasses MinMaxState and allows adding min/max integer value pairs.
3941
3942 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
3943
3944 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Moved
3945 code to add items to a data node for dynamich UI into an own method.
3946
3947 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
3948
3949 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java: Removed
3950 useless import.
3951
3952 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
3953
3954 * src/main/resources/messages.properties,
3955 src/main/resources/messages_de_DE.properties,
3956 src/main/resources/messages_en.properties,
3957 src/main/resources/messages_de.properties: Added strings which are used n
3958 the calculation "historical discharge curve".
3959
3960 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3961
3962 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
3963 New. Calcutation to be created from WINFOArtifact
3964 for the 'Bezugslinienverfahren'.
3965
3966 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
3967 Added TODO about optimization of the 'Bezugslinienverfahren'.
3968 Added number of default samples of the W~W relation.
3969
3970 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
3971 Added convinience constructor to store the calculation results.
3972
3973 * ChangeLog: Removed false TODO.
3974
3975 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
3976
3977 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
3978 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
3979 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
3980 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
3981 Read jasper template file from resources to support i18n reports.
3982
3983 * doc/conf/jasper/wdifferences.jasper,
3984 doc/conf/jasper/duration.jasper,
3985 doc/conf/jasper/computed-discharge.jasper,
3986 doc/conf/jasper/waterlevel.jasper:
3987 Updated report template. Resized left margin.
3988
3989 * doc/conf/jasper/computed-discharge_en.jasper,
3990 doc/conf/jasper/duration_en.jasper,
3991 doc/conf/jasper/wdifferences_en.jasper,
3992 doc/conf/jasper/waterlevel_en.jasper:
3993 New. Templates for english reports.
3994
3995 * src/main/resources/messages.properties,
3996 src/main/resources/messages_de_DE.properties,
3997 src/main/resources/messages_en.properties,
3998 src/main/resources/messages_de.properties:
3999 Added i18n strings for template files and modes.
4000
4001 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4002
4003 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
4004 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4005 Prevent second Legend Entry for points (prior was one for the
4006 TextAnnotations and one for the points).
4007
4008 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4009
4010 Blindly render Text of manual points if it does not collide with
4011 other text.
4012
4013 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
4014 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4015 Handle TextAnnotations, create some for manual points.
4016
4017 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
4018 Added setter for TextAnnotations, documentation.
4019
4020 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4021
4022 * src/main/resources/messages.properties,
4023 src/main/resources/messages_de_DE.properties,
4024
4025 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4026
4027 Refactored class hierachy to integrate model for W~W:
4028
4029 NamedObjImpl
4030 \-- W
4031 +-- WW
4032 \-- WQ
4033 +-- WQDay
4034 \-- WQKms
4035 \-- WQCKms
4036
4037 * src/main/java/de/intevation/flys/artifacts/model/W.java:
4038 New. Base class
4039
4040 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
4041 New. Model for W~W
4042
4043 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
4044 src/main/java/de/intevation/flys/artifacts/model/WQDay.java,
4045 src/main/java/de/intevation/flys/artifacts/model/WQ.java,
4046 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
4047 Adjusted to follow the new class hierarchy.
4048
4049 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
4050 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
4051 Removed superfluous imports.
4052
4053 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4054
4055 * src/main/resources/messages.properties,
4056 src/main/resources/messages_de_DE.properties,
4057 src/main/resources/messages_en.properties,
4058 src/main/resources/messages_de.properties,
4059 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
4060 i18n for ManualPointsFacets.
4061
4062 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
4063
4064 Issue 138: PDF output for calculations.
4065
4066 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
4067 Create the PDF data source and generate the PDF report output.
4068
4069 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
4070 Add the PDF facet to state. Add export facets only once.
4071
4072 * doc/conf/artifacts/winfo.xml:
4073 Added PDF facet to state.
4074
4075 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
4076 Added new field type 'differences'.
4077
4078 * doc/conf/jasper/wdifferences.jasper:
4079 New. Template for w-differences PDF export.
4080
4081 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
4082
4083 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
4084 New method that creates and returns the chosen differences of w-difference
4085 calculation as string.
4086
4087 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
4088
4089 Issue 138: PDF output for calculations.
4090
4091 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
4092 Create the PDF data source and generate the PDF report output.
4093
4094 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
4095 doc/conf/artifacts/winfo.xml:
4096 Added PDF facet to state.
4097
4098 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
4099 Added new field type 'day'.
4100
4101 * doc/conf/jasper/duration.jasper:
4102 New. Template for duration curve PDF report.
4103
4104 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de>
4105
4106 Issue 138: PDF output for calculations.
4107
4108 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
4109 Create the PDF datasource and generate the PDF report output.
4110
4111 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
4112 doc/conf/artifacts/winfo.xml:
4113 Added PDF facet to state.
4114
4115 * doc/conf/jasper/computed-discharge.jasper:
4116 New. Template for computed discharge PDF report.
4117
4118 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de>
4119
4120 Issue 138: PDF output for calculations.
4121
4122 * pom.xml: New Dependency to net.sf.jasperreports/jasperreports and
4123 org.codehaus.groovy/groovy-all.
4124
4125 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
4126 Added methods for PDF generation.
4127
4128 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
4129 Create the PDF data source and generate the PDF report output.
4130
4131 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
4132 New. Data source for jasper reports containing the waterlevel calculation
4133 result.
4134
4135 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
4136 Added facet for PDF export to state.
4137
4138 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4139 Added PDF facet type.
4140
4141 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
4142 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
4143 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
4144 Added stub for inherited abstract method.
4145
4146 * doc/conf/artifacts/winfo.xml:
4147 Added PDF facet to outputmode 'export'.
4148
4149 * doc/conf/jasper,
4150 doc/conf/jasper/waterlevel.jasper:
4151 New. Folder for jasperreports templates and first template for
4152 waterlevel report.
4153
4154 * src/main/resources/messages.properties,
4155 src/main/resources/messages_de_DE.properties,
4156 src/main/resources/messages_en.properties,
4157 src/main/resources/messages_de.properties:
4158 Added i18n string for calculation mode.
4159
4160 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4161
4162 Renderer 'manual' points in LongitudinalSectionGenerator.
4163
4164 * pom.xml: New dependency to org.json/json.
4165
4166 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
4167 (doOut): Handle manual points.
4168 (doPoints): Add point- series.
4169
4170 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4171 Added MANUALPOINTS Facet Type.
4172
4173 * doc/conf/themes.xml: Added Default Theme for Manual Points.
4174
4175 * doc/conf/artifacts/winfo.xml: Added manual point facet to
4176 compatibility list of longitudinal section diagram.
4177
4178 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4179
4180 Cosmetics.
4181
4182 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
4183 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
4184 Removed obsolete imports.
4185
4186 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4187
4188 Add initial infrastructure for user-provided data ('manual points').
4189
4190 * doc/conf/artifacts/manualpoints.xml: Trivial state model for new
4191 Artifact.
4192
4193 * doc/conf/conf.xml: Registered manualpoint artifact and factory.
4194
4195 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
4196 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java,
4197 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
4198 New. Basic infrastructure for ManualPoints.
4199
4200 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4201
4202 * doc/conf/artifacts/winfo.xml: Removed superfluous condition checks.
4203
4204 2012-01-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4205
4206 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
4207 Cosmetics, documentation.
4208
4209 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4210
4211 * doc/conf/artifacts/winfo.xml: Add states/transitions stubs for
4212 "Bezugsllinenverfahren."
4213
4214 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
4215 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
4216 Stubs for the two new states.
4217
4218 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4219
4220 * contrib/visualize-transitions.xsl: Fixed output of the conditions
4221 of the transitions. Now you can see the circumstances
4222 when a branch is taken.
4223
4224 2012-01-25 Raimund Renkert <raimund.renkert@intevation.de>
4225
4226 Issue 461.
4227
4228 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4229 Override buildChartSection() to disable the chart subtitle entry in
4230 ChartSettings.
4231
4232 2012-01-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4233
4234 I18N for WINFO calculations messages.
4235
4236 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
4237 Allow optional arguments in error messages to support meaningful
4238 formatting containing e.g. numbers.
4239
4240 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
4241 Added a convenience getMsg() method.
4242
4243 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
4244 src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java,
4245 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
4246 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
4247 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
4248 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
4249 Adjusted the code to use the I18N symbols now.
4250
4251 * src/main/resources/messages.properties,
4252 src/main/resources/messages_de_DE.properties,
4253 src/main/resources/messages_en.properties,
4254 src/main/resources/messages_de.properties: Added the I18N strings.
4255
4256 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4257
4258 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
4259 Handle the case in "W auf freier Strecke" where more than
4260 one Q is related to a W. TODO: Generate user report.
4261
4262 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4263
4264 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
4265 Added code for the simple case of "Bezugslinienverfahren" ("W auf freier Strecke").
4266 TODO: Handle case if the model returns more than one Q for a given W.
4267
4268 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
4269 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
4270 Micro optimizations.
4271
4272 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4273
4274 Fix flys/issue452 (Annotations at second y-axis).
4275
4276 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4277 Added new type (duration_curve.mainvalues.q).
4278
4279 * doc/conf/themes.xml: Added theme mapping for new facet type.
4280
4281 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
4282 Create another Facet.
4283
4284 * doc/conf/artifacts/winfo.xml: Added new facet type to compatibility
4285 list.
4286
4287 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
4288 Handle new Facet.
4289
4290 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
4291 Added field to be able to remember which axis to stick to.
4292
4293 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
4294 Tell Annotations to stick to Q axis in the special duration_curve
4295 environment.
4296
4297 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4298 (AxisDataset): Added plotAxisIndex to now have a
4299 two-way-association.
4300 Tell own axisDatasets to which 'jfreechart'-axis they are assigned.
4301 Evaluate which axis the StickyAxisAnnotations should be sticked to,
4302 and calculate text and line positions accordingly.
4303 Removed junk.
4304
4305 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4306
4307 Fix compilation.
4308
4309 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
4310 Use StickyAxisAnnotations instead of XYTextAnnotations.
4311
4312 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4313
4314 Some unification of Annotation handling.
4315
4316 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
4317 Add a third annotation type (now have text, hyk and sticky).
4318
4319 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
4320 Use double instead of float values, removed commented code.
4321
4322 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
4323 Reduced to keep information about placements etc only. Not a
4324 Annotation (in JFreeChart sense) anymore.
4325
4326 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
4327 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
4328 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
4329 Use StickyAxisAnnotations instead of XYTextAnnotations.
4330
4331 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
4332 Added new LineStyle class.
4333
4334 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4335 Call addAnnotationsToRenderer later, where positioning information
4336 is already known.
4337 (addAnnotationsToRenderer): Deal with the three Annotation types.
4338 Instead of StickyAnnotations, add
4339 CollisionFreeXYText- and
4340 XYLineAnnotations.
4341 (Area): Helper class.
4342
4343 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4344
4345 Some unification of Annotation handling.
4346
4347 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
4348
4349 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4350
4351 Fix flys/issue395 (SVG/PDF-Export: Längsschitt enthält keine
4352 Streckenfavoriten.)
4353
4354 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
4355 Fix pdf/svg rendering of annotatios, by adding a
4356 ChartRenderingInfo-object to the chart.draw call.
4357
4358 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
4359
4360 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
4361 Added new key and getter for a short subtitle. The short subtitle is
4362 used if no range exists.
4363
4364 * src/main/resources/messages.properties,
4365 src/main/resources/messages_de_DE.properties,
4366 src/main/resources/messages_en.properties,
4367 src/main/resources/messages_de.properties:
4368 Added i18n string for shor subtitle.
4369
4370 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
4371
4372 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
4373 Removed state validation. Validation prevents drawing the diffenrences
4374 diagramm and all states except of WDifferencesState always return
4375 true.
4376
4377 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4378
4379 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
4380 New. Candidate to replace StickyAxisAnnotation eventually.
4381
4382 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4383
4384 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
4385 Added null-guards to functions parameters.
4386
4387 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4388
4389 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
4390 Respect flowing direction of river when finding valid
4391 hykformations.
4392
4393 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
4394
4395 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
4396 Add an empty facet to this state if the artifact is a Chartartifact.
4397
4398 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
4399 Do not add the range to subtitle if no range exists.
4400
4401 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
4402
4403 'New chart' for cross sections.
4404
4405 * doc/conf/artifacts/chart.xml: Updated the states and transitions for
4406 new charts.
4407
4408 * doc/conf/meta-data.xml: Added cross sections to datacage.
4409
4410 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
4411 Changed cast from WINFOArtifact to FLYSArtifact.
4412
4413 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
4414 Changed artifact data strings for chart_type.
4415
4416 * src/main/resources/messages.properties,
4417 src/main/resources/messages_de_DE.properties,
4418 src/main/resources/messages_en.properties,
4419 src/main/resources/messages_de.properties:
4420 Changed i18n string for cross sections and logitudinal sections.
4421
4422 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4423
4424 Add basic (text) styling for HYKs.
4425
4426 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4427 Minor cleanup, pass HYK theme on.
4428
4429 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4430 Apply TextStyle to TextAnnotation part for HYK zones.
4431
4432 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
4433 (TextStyle): New class to bundle text-styling info.
4434
4435 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
4436 Refactored constructors to ease setting Style in the newly
4437 created usage scenario.
4438
4439 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4440
4441 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
4442 Cleanup. Mark spot where State-based caching could happen.
4443
4444 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4445
4446 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java:
4447 Cosmetics.
4448
4449 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4450
4451 * doc/conf/cache.xml: Added Cache for HYKS.
4452
4453 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4454
4455 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
4456 Made HYKFactory.Zone Serializable.
4457
4458 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4459
4460 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
4461 Cosmetics.
4462
4463 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4464
4465 Added style definition for hyks.
4466
4467 * doc/conf/themes.xml: Added hyk style (text).
4468
4469 2012-01-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4470
4471 * doc/conf/cache.xml: Removed cache "service-distanceinfo".
4472
4473 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
4474 Now uses the annotations from the LocationProvider and the
4475 XML documents are no longer cached.
4476
4477 2012-01-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4478
4479 * doc/conf/cache.xml: Removed "annotations" cache.
4480
4481 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
4482 Removed annotation caching.
4483
4484 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
4485 Changed internal data structure to FastAnnotations which are also cached.
4486
4487 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
4488 Use FastAnnotations now which are fetched via the LocationProvider.
4489
4490 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Added
4491 time measurement for writing the CVS output.
4492
4493 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
4494 Removed superfluous import.
4495
4496 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4497
4498 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4499 Respect visibility flag of HYK facet.
4500
4501 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4502 Log malcondition, make colored hyk-box a bit smaller.
4503
4504 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4505
4506 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
4507 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
4508 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
4509 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
4510 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
4511 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
4512 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4513 Cosmetics, docs, improved logging.
4514
4515 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4516
4517 * doc/conf/meta-data.xml: Recommend hyks for current river if hit by
4518 a crosssection-out.
4519
4520 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4521
4522 Somewhat improved HYK handling and rendering.
4523
4524 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
4525 Store ids in more sensibly named data item and expose it.
4526 Spawn all facets in inactive state.
4527
4528 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
4529 Make HYK name accessible, do not query hyks by river, but by hyk-id,
4530 made query more real-world.
4531
4532 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
4533 Use hyks name as facet name, pass hyk-id when asking for hyks.
4534
4535 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4536
4537 Somewhat improved HYK handling and rendering.
4538
4539 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
4540 Added ability to store 'zones', next to text annotations.
4541
4542 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4543 (getLowestYValue, getUppestYValue, colorForHYKZone),
4544 (addBoxAnnotations): New. Create box annotations from zones.
4545
4546 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4547 (doHYK): New, handle hyk facets by adding zones to annotation
4548 container.
4549
4550 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4551
4552 Preparing improved HYK handling.
4553
4554 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
4555 (Zone.getTo): New accesor.
4556 TODOs and documentation added.
4557
4558 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
4559
4560 'New Chart' for w-differences curve.
4561
4562 * doc/conf/artifacts/chart.xml: Added empty facet to output mode.
4563
4564 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
4565 Add an empty facet if the artifact is a ChartArtifact.
4566
4567 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
4568
4569 'New Chart' for discharge longitudinal section curve.
4570
4571 * doc/conf/artifacts/chart.xml: Added transition for location input.
4572
4573 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
4574 Changed cast from WINFOArtifact to FLYSArtifact.
4575
4576 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
4577 Add an empty facet if the artifact is a ChartArtifact.
4578
4579 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
4580
4581 'New Chart' for duration curve.
4582
4583 * doc/conf/artifacts/chart.xml: Added state and transition for location input.
4584
4585 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
4586 Changed cast from WINFOArtifact to FLYSArtifact.
4587
4588 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
4589 Add an empty facet if the artifact is a ChartArtifact.
4590
4591 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4592
4593 Added accidentally ommitted HYKFacet, fixing build.
4594
4595 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java:
4596 New, stubby facet for hyk infrastructure.
4597
4598 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
4599
4600 'New Chart' for computed discharge curve.
4601
4602 * doc/conf/artifacts/chart.xml: Fixed transitions and added state for km input.
4603
4604 * src/main/java/de/intevation/flys/artifacts/model/EmptyFacet.java:
4605 New. Added an empty facet to avoid deleting an empty output.
4606
4607 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
4608 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
4609 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
4610 Changed some return values if the artifact is a ChartArtifact.
4611
4612 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
4613 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
4614 Changed casts from WINFOArtifact to FLYSArtifact.
4615
4616 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
4617 Add an empty facet if the artifact is a ChartArtifact.
4618
4619 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4620 Set a default axis range if the range is null.
4621
4622 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4623
4624 Added stub hyk infrastructure.
4625
4626 * doc/conf/artifacts/hyk.xml: Added trivial transition configuration
4627 for hyk artifacts.
4628
4629 * doc/conf/conf.xml: Register HYK artifact and its transition conf.
4630
4631 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
4632 src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java,
4633 src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
4634 Added static 'hyk' artifact, facet and state.
4635
4636 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4637
4638 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4639 Add 'hyk' facet type.
4640
4641 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4642
4643 Add hyk facet to compatibility list of winfo.xml .
4644
4645 * doc/conf/artifacts/winfo.xml: Add hyk facets to compatibility list.
4646
4647 2012-01-18 Ingo Weinzierl <ingo@intevation.de>
4648
4649 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
4650 method getDataAsLong that returns a Long representation of a data item or
4651 null if no such data item is existing or it cannot be parsed as Long.
4652
4653 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
4654 that returns the selected reference gauge (specified by 'reference_gauge'
4655 parameter) of a FLYSArtifact.
4656
4657 2012-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4658
4659 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
4660 Cache a TreeMap<km, annotation string> of the annotation values of whole
4661 rivers. This is _much_ more efficient than firing an HQL/SQL statement for
4662 each km and caching these results.
4663
4664 2012-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4665
4666 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
4667 Deleted. It is in the backend now.
4668
4669 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
4670 src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java,
4671 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
4672 src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLineFactory.java,
4673 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
4674 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
4675 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4676 Adjusted to use the fast cross section line from backend now.
4677
4678 * doc/conf/cache.xml: Store cross section lines cache on disk.
4679
4680 * src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java,
4681 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
4682 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: Removed
4683 superfluous imports.
4684
4685 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4686
4687 Fix assignment of stateId/hash in WaterlevelFacet.
4688
4689 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
4690 More verbose logging, fix hash/stateid assignment.
4691
4692 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
4693 (deepCopy): implemented.
4694
4695 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4696
4697 "Ported" StaticWQKmsArtifact to use compute-type caching mechanism.
4698
4699 * doc/conf/artifacts/staticwqkms.xml: Declare trivial info.
4700
4701 * doc/conf/conf.xml: Register staticwqkms artifact and factory.
4702
4703 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java:
4704 Sublacss DataFacet.
4705
4706 * src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java:
4707 New. State.
4708
4709 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
4710 Refactored. Most computation and stuff now done in State and Facet.
4711
4712 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4713
4714 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
4715 Minor cosmetics.
4716
4717 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4718
4719 Refactoring.
4720
4721 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
4722 Added new constructor.
4723
4724 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
4725 Refactored, subclass BlackboardDataFacet.
4726
4727 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
4728 Refactored, subclass DataFacet.
4729
4730 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
4731 Adjusted.
4732
4733 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4734
4735 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
4736 Cosmetics, added new constructor.
4737
4738 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4739
4740 Use improved caching for cross section data.
4741 !!! This commit needs heavy testing !!!
4742
4743 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
4744 Refactored to provide the map to determine the nearest cross section line
4745 neighbors for a given km to the public. This is a bit hackish because
4746 it hhould have its own factory which is then used by this service and
4747 other parts of the code.
4748
4749 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
4750 searchCrossSectionLine() now returns a FastCrossSectionLine. To find this
4751 line efficiently it uses the map of the CrossSectionKMService which
4752 already provides a nearest neighbor searching mechanism for cross
4753 section lines. The FastCrossSectionLine is fetched with the
4754 FastCrossSectionLineFactory which uses a cache as described in the
4755 previous commit.
4756
4757 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
4758 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
4759 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
4760 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
4761 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Uses
4762 the FastCrossSectionLine instead of CrossSectionLines now.
4763
4764 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
4765 Added method fetchCrossSectionProfile() to access the point data in
4766 the profile generating compatible way.
4767
4768 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java: Removed
4769 superfluous import.
4770
4771 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4772
4773 * doc/conf/cache.xml: Added cache for fast section lines chunks.
4774
4775 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java:
4776 New. Chunks of FastCrossSectionLines. Stores cross section lines for ranges
4777 of one KM.
4778
4779 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLineFactory.java:
4780 New. Access fast cross section lines. It uses the cache 'fast-cross-section-lines'
4781 configured in cache.xml to store chunks of cross section lines.
4782
4783 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
4784 New. Stores the important data (points) of a cross section line.
4785
4786 2012-01-16 Ingo Weinzierl <ingo@intevation.de>
4787
4788 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
4789 Added a new calculation option for historical discharge curves.
4790
4791 * src/main/resources/messages.properties,
4792 src/main/resources/messages_de_DE.properties,
4793 src/main/resources/messages_en.properties,
4794 src/main/resources/messages_de.properties: Added translations for
4795 historical discharge curves.
4796
4797 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4798
4799 * doc/conf/artifacts/winfo.xml: Added certain facets to to
4800 compatibility matrices.
4801
4802 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4803
4804 * doc/conf/artifacts/annotation.xml: Fixed accidental change.
4805
4806 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4807
4808 * doc/conf/artifacts/annotation.xml: Cosmetics.
4809
4810 2012-01-16 Ingo Weinzierl <ingo@intevation.de>
4811
4812 * doc/conf/meta-data.xml: Enabled old floodmap calculations for output
4813 type 'map'.
4814
4815 2012-01-13 Raimund Renkert <raimund.renkert@intevation.de>
4816
4817 Initial implementation for module 'new chart'.
4818
4819 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
4820 New. Artifact for module 'new chart'.
4821
4822 * doc/conf/artifacts/chart.xml:
4823 New. Artifact description for the new artifact.
4824
4825 * doc/conf/conf.xml:
4826 Added new artifact to config.
4827
4828 * src/main/resources/messages.properties,
4829 src/main/resources/messages_de_DE.properties,
4830 src/main/resources/messages_en.properties,
4831 src/main/resources/messages_de.properties:
4832 Added i18n strings for 'new chart' chart types.
4833
4834 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4835
4836 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
4837 Cosmetics.
4838
4839 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4840
4841 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
4842 Avoid NPE when copying data from one artifact to another.
4843
4844 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4845
4846 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4847 (expandRange): Prevent collapse due to negative values.
4848
4849 2012-01-12 Raimund Renkert <raimund.renkert@intevation.de>
4850
4851 * doc/conf/artifacts/map.xml,
4852 doc/conf/conf.xml,
4853 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
4854 Changed the MapArtifact name to 'new_map'.
4855
4856 2011-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4857
4858 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
4859 Added code to calculate the area of the generated polygons.
4860 TODO: Render the generated area sum to the plot.
4861
4862 2011-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4863
4864 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
4865 Replaced System.err.println()s with proper logging.
4866
4867 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
4868 src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java,
4869 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
4870 superfluous imports.
4871
4872 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4873
4874 flys/issue450 (i18n: Datenkorb: longitudinal-section)
4875
4876 * doc/conf/meta-data.xml: Replaced dash by underscore in
4877 longitudinal-section.
4878
4879 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4880
4881 Towards areas on other than the first axes.
4882
4883 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
4884 Changed signature on which to provide data via the blackboard.
4885 Include facets name to allow unique identification.
4886
4887 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
4888 Store name of one of the facets involved in area creation.
4889 (AreaFacet.Data): New class to hold result data.
4890
4891 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4892 New methods to find out whether we have a general Q or W type of
4893 facet.
4894
4895 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
4896 (doArea): Use new Result-Data object instead of Object[], resolve
4897 which axis to put area to.
4898 (axisIdxForFacet): New.
4899
4900 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4901 Subclass LongitudinalSectionGenerator.
4902
4903 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4904
4905 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
4906 Do not intefere with CrossSections.
4907
4908 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4909
4910 Cosmetics, cleanups.
4911
4912 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
4913 (getCrossSections, getCrossSectionNames): Removed.
4914
4915 2011-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4916
4917 flys/issue439 (Streckenfavoriten lassen sich nicht über den Datenkorb
4918 hinzuladen)
4919
4920 * doc/conf/meta-data.xml: Made Annotations available via datacage
4921 in longitudinal section, cosmetics.
4922
4923 2012-01-11 Raimund Renkert <raimund.renkert@intevation.de>
4924
4925 * doc/conf/conf.xml:
4926 Added output generator for output type 'map'.
4927
4928 * doc/conf/artifacts/map.xml:
4929 Changed output name to 'map'.
4930
4931 * doc/conf/meta-data.xml:
4932 Added new output type 'map'.
4933
4934 2011-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4935
4936 Fix flys/issue446 (Dauerline/Abflusskurve am Pegel: Eigenschaften vom
4937 Hauptwertthema nicht aufrufbar)
4938
4939 * doc/conf/themes.xml: Add default styles for mainvalues.q/w and other
4940 themes.
4941
4942 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4943
4944 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
4945 Removed XPath injection security hole. A serious one because it allowed
4946 inspecting the conf.xml file ... with all the db passwords.
4947
4948 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4949
4950 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
4951 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4952 Removed superfluous imports.
4953
4954 2012-01-11 Ingo Weinzierl <ingo@intevation.de>
4955
4956 * doc/conf/meta-data.xml: Added the definition of old calculation results
4957 for floodmaps.
4958
4959 2012-01-10 Ingo Weinzierl <ingo@intevation.de>
4960
4961 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Added
4962 methods getLayers() and removeLayer().
4963
4964 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
4965 method getFacets() which returns a list of Facets supported by this
4966 Artifact. In addition, the FLYSArtifact is now more verbose while
4967 filtering Facets for Outputs.
4968
4969 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
4970 Implemented initialize() which now copies the shapefile directory of the
4971 model Artifact and modifies its Facets (adapts the shapepath which is the
4972 uuid of the Artifact).
4973
4974 2012-01-10 Ingo Weinzierl <ingo@intevation.de>
4975
4976 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
4977 src/main/java/de/intevation/flys/collections/OutputParser.java: Made
4978 them more verbose for better debugging.
4979
4980 2012-01-09 Ingo Weinzierl <ingo@intevation.de>
4981
4982 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
4983 Initialize() now also calls State.initialize() for each State.
4984
4985 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
4986 Override initialize() which is defined in AbstractState. NOTE: Currently,
4987 this method has no code.
4988
4989 2012-01-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4990
4991 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java:
4992 New. The service to invalidate the caches. (Argh! Forgot to 'svn add')
4993
4994 2012-01-06 Ingo Weinzierl <ingo@intevation.de>
4995
4996 flys/issue298 (Karte: Automatischer Zoom auf Berechnungsergebnisse)
4997
4998 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Added a
4999 debug statement that prints out the WSPLGEN extent.
5000
5001 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create new
5002 Envelope instances for initial and max extent if they are not existing.
5003 Some debug statements have now been removed.
5004
5005 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5006
5007 Add cache for 'static' wqkms (e.g. BaseData) to default cache conf.
5008
5009 * doc/conf/cache.xml: Add Cache Config for static wqkms.
5010
5011 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java:
5012 Adjust typo in cache name, minor cosmetic.
5013
5014 2011-01-06 Raimund Renkert <raimund.renkert@intevation.de>
5015
5016 * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
5017 The map artifact has two states now and overrides describe() to
5018 generate UI sections in the describe response.
5019 The map state overrides computeAdvance() instead of computeFeed().
5020
5021 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
5022 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
5023 Changed the WMSDBArtifact in WMSDBState to FLYSArtifact and adjusted
5024 constructors in state classes.
5025
5026 * doc/conf/artifacts/map.xml:
5027 Added initial state and transition.
5028
5029 * src/main/resources/messages.properties,
5030 src/main/resources/messages_de_DE.properties,
5031 src/main/resources/messages_en.properties,
5032 src/main/resources/messages_de.properties:
5033 Added i18n strings for new state.
5034
5035 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5036
5037 Partial fix for flys/issue437 (Querprofil: Zugeladene Basisdaten
5038 ignorieren W/Q-heit, falsche Namen).
5039
5040 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
5041 Set name also for first column (zero based).
5042
5043 2012-01-06 Ingo Weinzierl <ingo@intevation.de>
5044
5045 flys/issue196 (i18n/l10n: Zahlenformate einheitlich)
5046
5047 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: New method
5048 getRawValue() that extracts the raw double value from 'name' parameter.
5049
5050 * src/main/java/de/intevation/flys/utils/Formatter.java: New method
5051 getRawFormatter() that returns a NumberFormat instance for the current
5052 locale.
5053
5054 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
5055 Localized the W/Q labels in CSV exports.
5056
5057 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5058
5059 flys/issue442 (i18n: Datenkorb: flood-protections)
5060
5061 * doc/conf/meta-data.xml: Replaced dash in flood-protection by
5062 underscore to allow translation.
5063
5064 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5065
5066 flys/issue438 (i18n: Datenkorb: additionals)
5067
5068 * doc/conf/meta-data.xml: Fix typo.
5069
5070 2011-01-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5071
5072 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java:
5073 New. Uses the CacheFactory to invalidate caches by their names.
5074 This can be used by external ETL processes like the AFT/DIPS importer
5075 to prevent cache inconsistencies.
5076
5077 Input documents look like this:
5078
5079 <caches>
5080 <cache name="my-cache"/>
5081 ...
5082 <cache name="your-cache"/>
5083 </caches>
5084
5085 Output documents look like this:
5086
5087 <caches>
5088 <cache name="my-cache">All elements removed.</cache>
5089 ...
5090 <cache name="your-cache">Error: Cache not found.</cache>
5091 </caches>
5092
5093 * doc/conf/conf.xml: Added the cache invalidation service.
5094
5095 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
5096 Added Override annotation.
5097
5098 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5099
5100 flys/issue432 (Diagrammeigenschaften/Flächenrenderer:
5101 Legenden-schriftgröße für Flächenthemen wird ignoriert)
5102
5103 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5104 Respect legend item size when generating legend items for
5105 area dataseries.
5106
5107 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de>
5108
5109 Implemented new module "new map".
5110
5111 * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
5112 New. Artifact for the new module, extends RiverAxisArtifact and
5113 contains the MapState class.
5114
5115 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
5116 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
5117 Added empty constructor to embedded state classes to allow instantiation
5118 of MapState that extends the RiverAxisState.
5119
5120 * src/main/java/de/intevation/flys/exports/MapGenerator.java:
5121 Do not generate an initialExtent element if the initial extent is
5122 empty.
5123
5124 * doc/conf/artifacts/map.xml:
5125 New. Describes the state for the new module.
5126
5127 * doc/conf/conf.xml:
5128 Added new config file.
5129
5130 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
5131
5132 flys/issue444 (error_no_export_found bei "W bei ungleichwertigem Abfluss")
5133
5134 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: If no boolean
5135 value "wq_free" exists in getWQMode(), false is the default.
5136
5137 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5138
5139 flys/issue443 (Querprofile: Hibernate LazyInitializationException)
5140
5141 * doc/conf/cache.xml: Disable cache for cross-sections.
5142
5143 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
5144
5145 flys/issue447 (W-Differenzen: Fehler beim Hinzufügen einer Parameterisierung)
5146
5147 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
5148 Added a new method cleanEmptyOutputs() which removes Outputs that have
5149 no Facets set.
5150
5151 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Call
5152 CollectionAttribute.cleanEmptyOutputs() at the end of write() to remove
5153 empty Outputs that have been added during the merge process.
5154
5155 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
5156
5157 flys/issue440 (Karte: WSPLGEN Berechnungen für Mosel schlagen fehl)
5158
5159 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Modified the
5160 getRiverBoundary() method because the signature of
5161 RiverAxis.getRiverAxis() has changed. This method will now take each
5162 geometry into account, that is retrieved by
5163 RiverAxis.getRiverBoundary().
5164
5165 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
5166 Use GeometryUtils.getRiverBoundary() to determine the boundary of a
5167 river.
5168
5169 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
5170 Create the riveraxis shapefile with all geometries returned by
5171 RiverAxis.getRiverAxis().
5172
5173 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
5174
5175 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Repaired
5176 broken items in legend. The new renderer requires the current plot. This
5177 is set now.
5178
5179 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
5180
5181 * doc/conf/themes.xml: Added a new field 'pointsize' to the virtual theme
5182 'HiddenColorLines'.
5183
5184 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added methods to
5185 parse the new field of 'HiddenColorLines'.
5186
5187 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: Apply the
5188 pointsize defined in themes.
5189
5190 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
5191
5192 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
5193 Use correct keys for buffering in getMinimum() and getMaximum().
5194
5195 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
5196
5197 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java,
5198 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
5199 src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
5200 Moved to de.intevation.flys.jfree.
5201
5202 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java,
5203 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
5204 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
5205 Moved from de.intevation.flys.exports.
5206
5207 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
5208 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
5209 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
5210 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
5211 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
5212 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
5213 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
5214 Added necessary imports.
5215
5216 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
5217
5218 * src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
5219 Buffered the computation results of getMinimum() and getMaximum().
5220
5221 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
5222
5223 flys/issue393 (Themenstileditor: Minimum anzeigen / Beschriftung anzeigen)
5224
5225 * src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
5226 New renderer that overrides JFreeChart's XYLineAndShapeRenderer. This
5227 renderer brings the option to explicitly display the minimum and/or
5228 maximum or a series as shape. Currently, there are no options to adjust
5229 the style of those shapes.
5230
5231 * doc/conf/themes.xml: Added a new virtual theme 'MinMaxPoints'. All line
5232 theme inherit from that theme now.
5233
5234 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added methods to
5235 parse the fields 'showminimum' and 'showmaximum' of 'MinMaxPoints' theme.
5236
5237 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added
5238 methods to apply the fields of the new Theme 'MinMaxPoints'.
5239
5240 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Modified
5241 the getRenderer() method which now always returns a new instance of
5242 EnhancedLineAndShapeRenderer.
5243
5244 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5245
5246 Allow styling of outline of areas.
5247
5248 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
5249 Allow styling of outline of areas.
5250
5251 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
5252 Parse outline style for areas, apply it to renderer.
5253
5254 2012-01-03 Ingo Weinzierl <ingo@intevation.de>
5255
5256 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
5257
5258 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Call
5259 the new flys-backend method Wst.determineMinMaxQFree() to determine the
5260 min/max Qs at a given kilometer.
5261
5262 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5263
5264 * doc/conf/themes.xml: Reflect name chnage of longitudinal sections
5265 area artifacts and include ColorLine style for area styles.
5266
5267 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
5268
5269 flys/issue370 (WINFO: Berechnungsausgabe W/Pegel [cm] fehlt bei Wasserspiegellage und W am Pegel)
5270
5271 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New method that
5272 extracts the double value of a WQ object's name.
5273
5274 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Adapted
5275 the header of CSV exports and the content of the "W at gauge" column.
5276
5277 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
5278 Adapted method signatures that have been changed in WaterlevelExporter.
5279
5280 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
5281
5282 * src/main/resources/messages.properties,
5283 src/main/resources/messages_de_DE.properties,
5284 src/main/resources/messages_en.properties,
5285 src/main/resources/messages_de.properties: Added strings used in the CSV
5286 export.
5287
5288 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
5289
5290 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Check
5291 if the location of a CSV row is in range of the reference gauge. Write
5292 "outside reference gauge" into CSV in such cases.
5293
5294 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
5295
5296 PART II of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe)
5297
5298 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Add the
5299 named main value of a Q and the name of the gauge used for the calculation
5300 if the WQ mode is "W at gauge" or "Q at gauge".
5301
5302 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
5303 Adapted the method signatures that have been modified in
5304 WaterlevelExporter.
5305
5306 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
5307
5308 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
5309 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
5310 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
5311 src/main/java/de/intevation/flys/exports/AxisSection.java,
5312 src/main/java/de/intevation/flys/exports/ExportSection.java,
5313 src/main/java/de/intevation/flys/exports/LegendSection.java,
5314 src/main/java/de/intevation/flys/exports/ChartSection.java: Removed
5315 unused imports.
5316
5317 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
5318
5319 PART I of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe)
5320
5321 * doc/conf/cache.xml: Registered a new Cache for the LocationProvider.
5322
5323 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
5324 New. This class is able to return the description of a location based on a
5325 river and kilometer parameter. The LocationProvider stores single
5326 locations into a Cache if one is configured for this class.
5327
5328 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
5329 Added a method that returns a single Annotation for a specific kilometer and
5330 river.
5331
5332 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
5333 getLocationDescription() that might be used to determine the description
5334 of a specified kilometer for a given river.
5335
5336 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Make use
5337 of FLYSUtils.getLocationDescription() to add a new column that contains
5338 the location description.
5339
5340 2011-12-29 Ingo Weinzierl <ingo@intevation.de>
5341
5342 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Write
5343 min/max values for free Qs into Artifact's DESCRIBE document.
5344
5345 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
5346
5347 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fixed
5348 broken order to determine the step width of Qs and Ws.
5349
5350 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
5351
5352 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
5353
5354 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
5355 Validate user defined free Q values.
5356
5357 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
5358
5359 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
5360 Compute better step width based on a maximal number of steps = 30.
5361 Results with digits are rounded up. E.g.:
5362 Q range = 9.6 - 1750
5363 Step width = 58.01
5364 Rounded result = 60
5365
5366 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
5367
5368 * src/main/java/de/intevation/flys/exports/AxisSection.java,
5369 src/main/java/de/intevation/flys/exports/LegendSection.java,
5370 src/main/java/de/intevation/flys/exports/ChartSection.java: Subclasses
5371 TypeSection to be able to use convinience methods for string, integer,
5372 double and boolean values.
5373
5374 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
5375
5376 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: The
5377 getSize() method now returns null if no width and height is specified in
5378 the request document or if width/height <= 0. It no longer returns the
5379 result of getDefaultSize().
5380
5381 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Set the
5382 size of a chart export to the size specified in the ChartSettings if
5383 there are no valid values in the request document.
5384
5385 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Set the
5386 chart size to ChartGenerator.getDefaultSize() if no valid values are
5387 returned by ChartGenerator.getSize(). This has been done autoamtically
5388 before.
5389
5390 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
5391
5392 * src/main/java/de/intevation/flys/exports/TypeSection.java: New. This
5393 Section defines some convinience methods to add/set string, integer,
5394 double and boolean values.
5395
5396 * src/main/java/de/intevation/flys/exports/ExportSection.java: New.
5397 Subclasses TypeSection. The ExportSection currently offers attributes
5398 'width' and 'height'.
5399
5400 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added
5401 getter/setter methods to support an ExportSection.
5402
5403 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create an
5404 ExportSection while initial ChartSettings creation.
5405
5406 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
5407
5408 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added and
5409 make use of a new method createLegendLabelFont() to create unified Fonts for
5410 LegendItems. This method considers the user defined size for LegendItems.
5411
5412 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
5413
5414 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5415 Implemented adjustAxes(). This method now sets the label Font of the X
5416 axis. Its size is determined by getXAxisLabelFontSize().
5417
5418 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
5419
5420 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added method
5421 getFontSize() to retrieve the font size for an axis.
5422
5423 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
5424 Modified createYAxis(int): call super.createYAxis(int) and adjust
5425 necessary settings - no Axis creation takes place here.
5426
5427 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
5428 getXAxisLabelFontSize() and getYAxisLabelFontSize(int) to retrieve the
5429 user defined font size for an axis. The getYAxisLabelFontSize() is used in
5430 createYAxis(int) to set the font size for axes labels.
5431
5432 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
5433
5434 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
5435 Override getYAxisWalker().
5436
5437 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create new
5438 instances of IdentifiableNumberAxis in createYAxis(int) default
5439 implementation.
5440
5441 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
5442
5443 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added
5444 getLabel() to retrieve the axis label.
5445
5446 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
5447 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
5448 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
5449 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
5450 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
5451 Override getDefaultXAxisLabel() and getDefaultYAxisLabel() defined in
5452 XYChartGenerator.
5453
5454 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implement
5455 getXAxisLabel() and getYAxisLabel(int). Both methods search for an axis
5456 label defined in the ChartSettings first. If no label is specified or if
5457 no ChartSettings is set, getDefaultXAxisLabel() or
5458 getDefaultYAxisLabel(int) is called to retrieve the initial/default axis
5459 label.
5460
5461 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
5462
5463 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Modified the
5464 signature of addAxisSection(). This method now accepts AxisSections only.
5465 In addition, there is a new method getAxisSection(String) that returns an
5466 AxisSection specified by its identifier.
5467
5468 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added new
5469 methods getIdentifier(), isFixed(), getUpperRange() and getLowerRange() to
5470 retrieve the attributes supported by this Section.
5471
5472 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use
5473 of axes ranges specified in ChartSettings if an axis is fixed.
5474
5475 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
5476
5477 * src/main/java/de/intevation/flys/exports/IdentifiableNumberAxis.java: New.
5478 Subclasses JFreeChart's NumberAxis and offers a getId() method which
5479 returns an identifiable key.
5480
5481 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implements
5482 a createNumberAxis() method that should be used by all subclasses to
5483 create new axes. This method returns an instance of IdentifiableNumberAxis
5484 which is required for zooming.
5485
5486 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
5487 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
5488 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
5489 Create new NumberAxis instances by using XYChartGenerator.createNumberAxis().
5490
5491 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
5492
5493 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5494 Implemented the methods getChartTitle() and getChartSubtitle(). Both
5495 methods try to get the required information from ChartSettings. If no
5496 ChartSettings is set for this OutGenerator, these methods will call
5497 getDefaultChartTitle() and getDefaultChartSubtitle().
5498
5499 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
5500 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
5501 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
5502 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
5503 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
5504 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
5505 Renamed getChartTitle() and getChartSubtitle() to
5506 getDefaultChartTitle() and getDefaultChartSubtitle(). In addition, the
5507 methods addSubtitles() became more robust - these OutGenerators add
5508 subtitles only if the subtitle is not empty.
5509
5510 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
5511
5512 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
5513 setSettings(Settings) method.
5514
5515 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
5516 Call OutGenerator.setSettings() before calling doOut() for each Facet.
5517
5518 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Implemented
5519 setSettings() and added convinience methods to access chart specific
5520 settings.
5521
5522 * src/main/java/de/intevation/flys/exports/MapGenerator.java,
5523 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
5524 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
5525 src/main/java/de/intevation/flys/exports/ATExporter.java,
5526 src/main/java/de/intevation/flys/exports/ReportGenerator.java: Implemented
5527 setSettings().
5528
5529 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
5530 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use
5531 of the attributes specified in the Settings: the title, subtitle,
5532 displayGrid and displayLegend settings are functional now.
5533
5534 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
5535
5536 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
5537 src/main/java/de/intevation/flys/exports/LegendSection.java,
5538 src/main/java/de/intevation/flys/exports/ChartSection.java: Use more
5539 concrete classes than Settings and Section in these classes to avoid a lot
5540 of castings.
5541
5542 2011-12-22 Ingo Weinzierl <ingo@intevation.de>
5543
5544 flys/issue242 (W-INFO: Fehlende Header in Datenexporten)
5545
5546 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added functions
5547 getQs(), getWs(), getGauge(), getGaugename() and getRivername() that all
5548 take a parameter FLYSArtifact.
5549
5550 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Moved the
5551 implementation of getGauge() to FLYSUtils. The getGauge() in this class
5552 just calls and returns FLYSUtils.getGauge().
5553
5554 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Write a
5555 header into a CSV export containing meta information about this export.
5556
5557 * src/main/resources/messages.properties,
5558 src/main/resources/messages_de_DE.properties,
5559 src/main/resources/messages_en.properties,
5560 src/main/resources/messages_de.properties: Added strings used in the CSV
5561 export as header.
5562
5563 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5564
5565 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
5566 (getKm): Removed, not called anymore.
5567
5568 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5569
5570 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
5571 Include km of cross-section-master in diagrams subtitle (fetched
5572 from 'blackboard'.
5573
5574 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5575
5576 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
5577 Cosmetics, docs.
5578
5579 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5580
5581 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
5582 (getInitialFacetActivity): Only newest CrossSection is initially
5583 active.
5584
5585 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5586
5587 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java
5588 (isNewest): New, query whether a CrossSection is the newest for its
5589 river, doc.
5590
5591 2011-12-21 Ingo Weinzierl <ingo@intevation.de>
5592
5593 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
5594 convinience method to retrieve the value of an data object stored at
5595 FLYSArtifact as Boolean value.
5596
5597 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method that
5598 returns the named value of a given double value. This method returns only
5599 the named value, if the WQ mode is "Q at gauge" and if the value fits to a
5600 named value. In addition to this method, there is a new method to retrieve
5601 the selected WQ mode as 'WQ_MODE' enum.
5602
5603 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
5604 Removed prepareData() and its call. The data preparation had a bad side
5605 effect: the modifications are "persisted" into cache, which has again bad
5606 side effects.
5607
5608 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Removed
5609 prepareData(). The label creation for columns in the WST export will now
5610 take place in addWSTColumn(). With help of the master Artifact (I forgot
5611 this Artifact in my last commit) we are able to replace Q values with
5612 their named main value.
5613
5614 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5615
5616 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
5617 Cover 'locations' case for initial km of cross section artifacts.
5618
5619 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5620
5621 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
5622 (initialize): Eat ld_from from master artifact.
5623 (setup): Set cross_section.km to either masters km or the lowest
5624 defined cross-section line, whatever is bigger.
5625
5626 2011-12-21 Ingo Weinzierl <ingo@intevation.de>
5627
5628 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe)
5629
5630 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
5631 stripNamedMainValue(). The result of this function is a named main value's
5632 base name without declaration of a year.
5633
5634 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
5635 method pepareData() that is called in doOut() before the data supported by
5636 the current Facet is added using addData().
5637
5638 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Override
5639 the prepareData() method to reset the name of WQKms objects. The Qs in a
5640 waterlevel export should be the Q value or the named main value if the
5641 value fits to a named main value.
5642
5643 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5644
5645 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5646 Survive cases where the first dataset has an area-renderer assigned.
5647
5648 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5649
5650 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java:
5651 Store additional parameter (whether or not to fill everything in
5652 between two curves.)
5653
5654 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
5655 Deliver additional info from artifact.
5656
5657 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
5658 Evaluate new parameter.
5659
5660 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5661
5662 * doc/conf/themes.xml: Add transparency setting to area theme style.
5663
5664 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Helper to
5665 access transparency setting in theme.
5666
5667 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
5668 Respect transparency setting.
5669
5670 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5671
5672 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
5673 Subclass BlackboardDataFacet to provide data for area calculation.
5674
5675 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
5676 Cast data to WKms instead of WQKms.
5677
5678 2011-12-20 Ingo Weinzierl <ingo@intevation.de>
5679
5680 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
5681 Use a ';' as seperator between Qs and Ws.
5682
5683 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5684
5685 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
5686 (doOut, doArea): Added handling for areafacets. Code yet mostly
5687 copied from CrossSectionGenerator.
5688
5689 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5690
5691 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
5692 Refactoring, subclass BlackboardDataFacet, remove duplicate code.
5693
5694 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5695
5696 Cosmetics.
5697
5698 * doc/conf/artifacts/winfo.xml,
5699 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5700 Renamed facet for consistency reasons.
5701
5702 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5703
5704 Make Waterlevelfacet deliver data via blackbord.
5705
5706 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
5707 Subclass BlackboardDataFacet.
5708
5709 2011-12-20 Ingo Weinzierl <ingo@intevation.de>
5710
5711 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
5712 Create all formatted string labels for Ws and Qs in this class, because
5713 this class is the only instance that knows that there are double values
5714 to format.
5715
5716 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5717
5718 Introduced new Facet that will deliver whatever getData returns via
5719 blackbord under key which is defined by convention. Attention, the
5720 data is not cached if handled this way.
5721
5722 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
5723 New facet, will be useful for easing implementation of facets that
5724 can contribute to area-computations.
5725
5726 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5727
5728 * src/main/java/de/intevation/flys/exports/VisibleAttribute.java:
5729 Removed obsolete imports.
5730
5731 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5732
5733 Removed obsolete imports.
5734
5735 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
5736 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
5737 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java,
5738 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
5739 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
5740 Removed obsolete imports.
5741
5742 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5743
5744 With StableXYDifferenceRenderer, create legend items in rectangular
5745 form, to discern "line" from "area" in legend.
5746
5747 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java
5748 (legendLine, legendShape): Renamed.
5749 (getLegendItem): Create LegendItem with fill, use PositivePaint for
5750 that.
5751
5752 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5753
5754 Added further 'area' infrastructure.
5755
5756 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
5757 New, "area dataset".
5758
5759 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
5760 (doOut): Use helper to decide if facet is an 'area' facet.
5761 (doArea): Construct StyledAreaSeriesCollection instead of two
5762 dataseries.
5763
5764 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5765 (AxisDataset.isArea): Distinguish area datasets with instanceof.
5766 (AxisDataset.addArea): New. Replaces addAreaDataset.
5767 (addAreaSeries): Simplified with new custom SeriesCollection.
5768 (applyTheme): Register and style StableXYDifferenceRenderer for
5769 StyledAreaSeriesCollections.
5770 Added various TODOs and debug output to stabilize development.
5771
5772 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5773
5774 * doc/conf/artifacts/winfo.xml: Added facets to compatibility
5775 matrices.
5776
5777 * doc/conf/themes.xml: Added Area theme defaults.
5778
5779 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5780
5781 Lay ground for having areas in longitudinal section diagrams, too.
5782 This is done by different naming of the facets.
5783
5784 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
5785 Make the name dynamic.
5786
5787 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5788 Added further facet types, helper.
5789
5790 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java:
5791 Store name for facets in data item, restrict access to some fields.
5792
5793 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
5794 Use AreaArtifacts data item to use name for facets.
5795
5796 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5797
5798 Cosmetics.
5799
5800 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java,
5801 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
5802 src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
5803 Doc.
5804
5805 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
5806 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
5807 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
5808 Whitespace.
5809
5810 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Doc and
5811 whitespace.
5812
5813 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5814
5815 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
5816 (parseBoolean): New, extracted, updated callers.
5817 (parseFillColorField, parseShowBorder): New, for area styles.
5818
5819 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
5820
5821 flys/issue202 (W-INFo: Wasserspiegellagenberechnung / Vorbelegung Strecke)
5822
5823 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
5824 Added a system property which is used to determine, if the DESCRIBE
5825 document of an Artifact should include default values (values, that have
5826 been inserted by the user some time ago) or not. The default case is,
5827 that the DESCRIBE does NOT include default values. To enable default
5828 values, set "flys.use.default.values" to "true".
5829
5830 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
5831
5832 flys/issue419 (Themen-Name "Q(null)" bei W bei ungl. A.)
5833
5834 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
5835 Use correct variable to create Facet names.
5836
5837 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
5838
5839 flys/issue380 (W-INFO / Überschwemmungskarte, falsches DGM)
5840
5841 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
5842 convinience method that returns a parameter of FLYSArtifact as Integer.
5843
5844 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Override
5845 validate() to determine, if the DGM selected by the user is valid for the
5846 current calculation range and river.
5847
5848 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5849
5850 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
5851 Roll-back accidentally committed changes.
5852
5853 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5854
5855 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
5856 (doOut): Hide 'invisible' (deleted) themes from Outgenerators.
5857
5858 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5859
5860 Added area.name data item and access to areaartifact.
5861
5862 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
5863 Rephrased debug output, do survive case where only one curve is
5864 given for area calculation (this is the "above" or "under" case).
5865
5866 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java
5867 (getAreaName): Access "area.name" data item.
5868
5869 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
5870 Respect area.name data of artifact when reproducing facets.
5871
5872 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5873
5874 * doc/conf/conf.xml: Fix, accidentally added wrong factory in last
5875 commit.
5876
5877 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5878
5879 * doc/conf/conf.xml: Register area artifact factory.
5880
5881 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5882
5883 * doc/conf/artifacts/winfo.xml: Added area artifacts to cross-section
5884 compatibility matrix.
5885
5886 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5887
5888 Add area dataseries when facet delivering one.
5889
5890 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
5891 (doOut): Handle area facets.
5892 (doArea): Register areas for area facets.
5893
5894 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5895
5896 Add simple area registerig functions.
5897
5898 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5899 (AxisDataset.addAreaDataset): New, add an area dataset.
5900 (AxisDataset.isArea): New.
5901 (addAreaSeries): New. Add Area Dataset.
5902 (applyThemes): Pass info if we have an area, to set different
5903 renderer.
5904
5905 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5906
5907 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
5908 Added convenience function and easy sybclassing.
5909
5910 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5911
5912 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5913 Register AREA ("area") facet type.
5914
5915 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5916
5917 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
5918 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
5919 Register blackboard key uuid+index and respond with data to it, as
5920 assumed by the areaartifact and facet.
5921
5922 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5923
5924 Added partial area-infrastructure.
5925
5926 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
5927 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
5928 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
5929 New artifact, facet and state for area rendering.
5930
5931 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
5932
5933 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Defined an
5934 interface YAxisWalker that allows to walk over each Y axis definition in
5935 subclasses. This walker can be retrieved using the new getYAxisWalker()
5936 method. The AxisSections are built in this class now.
5937
5938 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
5939 Implemented the YAxisWalker interface and the getYAxisWalker() method.
5940 Removed the code to build AxisSections.
5941
5942 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
5943 Implemented getYAxisLabel(int pos) and getYAxisWalker().
5944
5945 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
5946 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
5947 Implemented the getYAxisWalker() method.
5948
5949 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
5950
5951 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
5952 Some optimizations during out() operation - the CollectionAttribute is
5953 parsed a single time now (*i guess*). This code really needs some
5954 refactoring!
5955
5956 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
5957
5958 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
5959 Added an INFO message that displays the duration time for the out()
5960 operation.
5961
5962 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
5963
5964 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
5965 Calls super.buildAxisSections().
5966
5967 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5968 Implemented the method buildAxisSections(). The result list will contain
5969 an AxisSection for the X axis.
5970
5971 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
5972
5973 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Bugfix:
5974 Add new Outputs to the current CollectionAttribute if no old one is
5975 existing.
5976
5977 2011-12-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5978
5979 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
5980 Directly fetch key/value pairs when writing a collection attribute.
5981
5982 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
5983
5984 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added new
5985 functions that allow parsing a ChartSettings object from DOM Node.
5986
5987 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Parse
5988 the Settings of each Output.
5989
5990 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
5991
5992 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
5993 Added a method to set a new Settings object for a specific Output and a
5994 method to clear the list of Facets of a specific Output.
5995
5996 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: The
5997 AttributeWriter no longer creates new CollectionAttributes - it only
5998 modifies the old CollectionAttribute. At first, it clears the Facets of
5999 all Outputs. Finally, the merged Facets are added to the Outputs.
6000
6001 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6002 Added the CollectionAttribute to the AttributeWriters constructor.
6003
6004 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
6005
6006 * src/main/java/de/intevation/flys/exports/DoubleAttribute.java: New. An
6007 Attribute that stores double values.
6008
6009 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods
6010 to set values for 'fixation', 'font-size', 'lower' and 'upper'.
6011
6012 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
6013 Set new attributes mentioned above for each axis' AxisSection.
6014
6015 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
6016
6017 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods
6018 to set the axis label and id.
6019
6020 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Improved
6021 the ChartSettings that will now contain a set of AxisSections. The new
6022 buildAxisSections() method in this class is not implemented and needs to
6023 be implemented by subclasses.
6024
6025 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
6026 Override buildAxisSections() of XYChartGenerator to create an AxisSection
6027 for each axis that is able to be displayed in this sort of chart. In
6028 addition, there is a new method getYAxisLabel(int) that returns the label
6029 for a specific Y axis.
6030
6031 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
6032
6033 * src/main/java/de/intevation/flys/exports/IntegerAttribute.java: New.
6034 Concrete subclass of a DefaultAttribute for storing integer values.
6035
6036 * src/main/java/de/intevation/flys/exports/LegendSection.java: New. A
6037 concrete Section subclass to store legend specific attributes.
6038
6039 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
6040 src/main/java/de/intevation/flys/exports/StringAttribute.java: Removed
6041 needless import of org.w3c.dom.Attr.
6042
6043 * src/main/java/de/intevation/flys/exports/ChartSettings.java: ChartSettings
6044 is able to store a Section for legends now.
6045
6046 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
6047 methods to retrieve the font size of legends and if the legend should be
6048 visible or not. In addition, the ChartSettings returned by this instance
6049 will now contain a LegendSection as well.
6050
6051 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
6052
6053 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Introduced
6054 methods getChartSubtitle() and isGridVisible(). getChartSubtitle() returns
6055 in this implementation null. Concrete subclasses should override this
6056 mehtod if they require subtitles in charts. isGridVisible() determines if
6057 the grid in the chart should be visible or not. This method return always
6058 true in this implementation.
6059 In addition, the Settings object returned by getSettings() will now have a
6060 ChartSection set properly.
6061
6062 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
6063 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
6064 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
6065 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
6066 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
6067 Override getChartSubtitle().
6068
6069 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
6070
6071 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6072 Prepare the OutGenerator (process each of the Output's Facets) during the
6073 describe() operation to be able to return an initial Settings object.
6074
6075 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
6076
6077 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
6078 src/main/java/de/intevation/flys/exports/VisibleAttribute.java,
6079 src/main/java/de/intevation/flys/exports/StringAttribute.java: Fixed wrong
6080 usage of DOM operations.
6081
6082 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
6083
6084 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
6085 src/main/java/de/intevation/flys/exports/VisibleAttribute.java,
6086 src/main/java/de/intevation/flys/exports/StringAttribute.java: New.
6087 Concrete subclasses of a DefaultAttribute.
6088
6089 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
6090 src/main/java/de/intevation/flys/exports/AxisSection.java,
6091 src/main/java/de/intevation/flys/exports/ChartSection.java:
6092 Implementations for chart settings. WORK IN PROGRESS!
6093
6094 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Override
6095 the getSettings() method. The implementation here returns a ChartSettings
6096 instance.
6097
6098 * src/main/java/de/intevation/flys/exports/EmptySettings.java: Modified the
6099 node name of the settings ("art:settings" -> "settings").
6100
6101 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6102
6103 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
6104 Cosmetics, doc.
6105
6106 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6107
6108 Cosmetics.
6109
6110 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
6111 Remove needless imports.
6112
6113 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6114
6115 Fix/Guard certain misconditions.
6116
6117 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Do
6118 not crash when given null-range.
6119
6120 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
6121 Do not crash when given malformed array.
6122
6123 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6124
6125 Cosmetics.
6126
6127 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
6128 ChangeLog: Whitespace cosmetic.
6129
6130 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
6131 Annotation cosmetic.
6132
6133 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
6134 Convenience cosmetic.
6135
6136 * src/main/java/de/intevation/flys/utils/DataUtil.java:
6137 vim-magicosmetic.
6138
6139 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6140
6141 Implement new WaterLineArtifact where needed so far.
6142
6143 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6144 Declare that we implement WaterLineArtifact.
6145
6146 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
6147 (getWaterLines): Implement to fulfil new WaterLineArtifact-
6148 interface-impl. Also generate new Facet.
6149
6150 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
6151 Do not depend on WINFOArtifacts, but on WaterLineArtifacts instead.
6152
6153 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6154
6155 Added interface WaterLineArtifact to be implemented by artifacts
6156 that know how to create a water line "against" a cross section.
6157
6158 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
6159 New, straight-forward interface.
6160
6161 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
6162
6163 * src/main/java/de/intevation/flys/exports/EmptySettings.java: An
6164 implementation of the Settings interface defined in the artifact-database
6165 module. This implementation accepts no Section objects at all and creates
6166 an empty "settings" Node in its toXML() operation.
6167
6168 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Defined a new
6169 method getSettings() that returns a Settings instance.
6170
6171 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
6172 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
6173 src/main/java/de/intevation/flys/exports/MapGenerator.java,
6174 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
6175 src/main/java/de/intevation/flys/exports/ATExporter.java,
6176 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
6177 Implemented the getSettings() operation. All OutGenerators will currently
6178 return an instance of EmptySettings.
6179
6180 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6181 Before the DESCRIBE document is created, we gonna evaluate each Output
6182 defined in the Collection's attribute document, if it has a Settings
6183 object set. If this is not the case, the relevant OutGenerator is called
6184 to retrieve a new instance of Settings.
6185
6186 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
6187 Append the Settings of Outputs to the Output nodes in the XML
6188 representation.
6189
6190 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6191
6192 Recommend cross-sections.
6193
6194 * doc/conf/meta-data.xml: When having a cross-section out, recommend
6195 respective artifacts.
6196
6197 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6198
6199 Register factory for CrossSectionArtifacts.
6200
6201 * doc/conf/conf.xml: Register CrossSectionArtifact-Factory.
6202
6203 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
6204
6205 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
6206 New. This class will store the information provided in the Collection's
6207 attribute (which is a DOM document).
6208
6209 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
6210 Store an instance of CollectionAttribute and append its XML representation
6211 to the DESCRIBE document.
6212
6213 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Removed
6214 all DOM operations from this writer. Its new task is to create a new
6215 CollectionAttribute object which represents a merged version of the old
6216 CollectionAttribute and the information provided by the Collection's child
6217 Artifacts.
6218
6219 * src/main/java/de/intevation/flys/collections/AttributeParser.java: The
6220 result of AttributeParser's parse() operation is a CollectionAttribute
6221 object now. The methods getOuts() and getFacets() are as of now proxy
6222 methods that call the relevant methods of CollectionAttribute.
6223
6224 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6225 Some structural changes in the process to build the attribute Document of
6226 the Collection's DESCRIBE. We will no longer work with Document during
6227 this process but with instances of CollectionAttribute.
6228
6229 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6230
6231 Server-side of newer Cross-Section diagram construction architecture.
6232
6233 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
6234 (searchCrossSectionKmLine, getCrossSectionSnapKm),
6235 (getCrossSectionData): Removed, most functionality contained in
6236 CrossSectionArtifact.
6237 (getWaterLines): Now get CrossSectionLines to calculate water line.
6238
6239 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
6240 Get a CrossSectionLine from blackboard.
6241
6242 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
6243 Hard TODO, commented out function needed for subtitle to allow
6244 compilation.
6245
6246 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
6247 Added Empty-Dataset- guard.
6248
6249 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6250
6251 Cosmetics.
6252
6253 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6254 Cosmetics.
6255
6256 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
6257
6258 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java,
6259 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
6260 Removed superfluous imports.
6261
6262 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
6263
6264 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
6265 New. This class helps generating the DESCRIBE document of a collection.
6266
6267 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6268 Moved some of the code to create the DESCRIBE document out to
6269 CollectionDescriptionHelper.
6270
6271 2011-12-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6272
6273 Resolve todo about wrongly named cross sections.
6274 Open StaticState to allow that facets survive a compute.
6275
6276 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java
6277 (computeAdvance, computeFeed, computeInit): Override to call
6278 staticCompute.
6279 (staticCompute): New. Do nothing but be able to be overridden.
6280
6281 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
6282 (setup): Fetch facets name from db (resolves todo).
6283 (getCurrentState): override staticstates staticcompute to let
6284 facets survive a compute.
6285
6286 2011-12-12 Ingo Weinzierl <ingo@intevation.de>
6287
6288 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java,
6289 src/main/java/de/intevation/flys/wsplgen/WSPLGENCallable.java: Renamed
6290 JobExecutor to WSPLGENCallable (because it is a Callable now). In addition
6291 to the call() method which starts the WSPLGEN process, this Callable
6292 offers a cancelWSPLGEN() method to destroy a running WSPLGEN process.
6293
6294 * src/main/java/de/intevation/flys/wsplgen/WSPLGENFuture.java: A FutureTask
6295 that overrides cancel(boolean). Before this instance call
6296 super.cancel(boolean), it executes WSPLGENCallable.cancelWSPLGEN() to kill
6297 a running WSPLGEN process.
6298
6299 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: The Scheduler is
6300 no longer a Runnable. It makes now use of a ScheduledThreadPoolExecutor to
6301 schedule the incoming WSPLGENJobs. The ScheduledThreadPoolExecutor has a
6302 fixed number of worker threads that process the jobs. The number is 1 per
6303 default; it can be modified using a System property "wsplgen.max.threads".
6304
6305 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
6306 a string constant SCHEDULER.
6307
6308 * src/main/java/de/intevation/flys/wsplgen/SchedulerSetup.java: A
6309 LifetimeListener that currently implements the systemUp() method to create
6310 an instance of Scheduler. After its creation, the Scheduler is put into
6311 the GlobalContext using FLYSContext.SCHEDULER as key.
6312
6313 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
6314 Fetch the Scheduler from GlobalContext.
6315
6316 * doc/conf/conf.xml: Registered SchedulerSetup as LifetimeListener.
6317
6318 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6319
6320 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
6321 (describe): Add data items to StaticFLYSArtifacts describe-doc.
6322
6323 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6324
6325 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
6326 (addDefaultChartOutput): Convenienve function to add a chart-output.
6327
6328 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6329
6330 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
6331 Play nice with CrossSectionArtifact. Employ blackboard.
6332
6333 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
6334 Spawn a CrossSectionFacet, handle various data.
6335
6336 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
6337 Do not produce CrossSectionFacets anymore, these now "belong" to
6338 CrossSectionArtifacts.
6339
6340 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6341
6342 * doc/conf/cache.xml: Added cross_sections cache.
6343
6344 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6345
6346 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
6347 (getCrossSection, getCrossSectionUncached): New, access specific
6348 CrossSection, employ caching.
6349
6350 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6351
6352 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
6353 New artifact to handle cross-section access.
6354
6355 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de>
6356
6357 Issue 413.
6358
6359 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
6360 Apply point size from theme attribute linewidth.
6361
6362 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6363
6364 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
6365 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
6366 src/main/java/de/intevation/flys/exports/OutGenerator.java,
6367 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
6368 Cosmetics.
6369
6370 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6371
6372 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
6373 Documentation added, let a value be its own neighbour (distance 0).
6374
6375 2011-12-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6376
6377 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
6378 Added "Bezugslinie" to list of calculation alternatives.
6379
6380 * src/main/resources/messages.properties,
6381 src/main/resources/messages_de_DE.properties,
6382 src/main/resources/messages_de.properties: Added I18N.
6383
6384 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6385
6386 Further flys/issue420 fix (No Discharge Curves for Mosel).
6387
6388 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6389 (includeYRange, mergeRanges): Moved NaN-guard to lowest level.
6390 (combineXRanges): Also NaN guard the X Axis extent.
6391
6392 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6393
6394 Partial fix for flys/issue420 (Berechnete Abflusskurve: Kein Diagramm für
6395 Mosel). Protect axis extent calculation from empty or invalid
6396 datasets.
6397
6398 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6399 (includeRange, includeYRange): Renamed, updated callers.
6400 (includeYRange): Protect from merging extent with NaNs.
6401 (debugDatasets): Be more verbose on the datasets.
6402 (zoom): Doc.
6403
6404 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6405
6406 Fix flys/issue423 (Diagramm: Hauptwerte bei Abflusskurve am Pegel
6407 werden an Y-Achse nicht angezeigt) - show not "raw" (vs interpolated)
6408 values at Gauge.
6409
6410 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
6411 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
6412 Add parameterization to let facet know whether to fetch data at
6413 Gauges or at Artifacts position.
6414
6415 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
6416 Let the MainValueFacets know whether to ask for interpolated
6417 MainValues; (do not interpolate for Gauges Main Values).
6418 (getMainValuesQ, getMainValuesW): Added parameter to control
6419 interpolation.
6420
6421 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
6422
6423 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified
6424 prefix constants for Mapserver layers and renamed constants (which have
6425 been postfixes before).
6426
6427 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Adjusted
6428 usage of Mapserver constants to the changes described above.
6429
6430 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
6431
6432 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
6433 Bugfix: Evaluate the correct parameter whether to set the floodplain or
6434 not. In addition, the scenario parameter used by WSPLGEN is now set
6435 correctly.
6436
6437 >>>>>>> .r3356
6438 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6439
6440 Allow longitudinal_section.q facets in wdiff states output.
6441
6442 * doc/conf/artifacts/winfo.xml: Added longitudinal_section.q facets
6443 to w-diff states out compatibility- matrix.
6444
6445 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6446
6447 Refactored Longitudinal*/WDiff-*Generator hierarchy and change axis
6448 ordering, resolved label-i18n TODO.
6449
6450 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
6451 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
6452 Merge, avoid duplicate code, fix axis ordering in w-diff diagram,
6453 label in ls-diagramm.
6454
6455 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
6456
6457 * src/main/resources/messages.properties,
6458 src/main/resources/messages_de_DE.properties,
6459 src/main/resources/messages_en.properties,
6460 src/main/resources/messages_de.properties: Added missing state titles.
6461
6462 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6463
6464 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
6465 Do not include zero on first axis.
6466
6467 2011-12-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6468
6469 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6470 (buildArtifactNode): Include artifacts state data in description
6471 document of collection.
6472
6473 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6474
6475 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
6476 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
6477 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
6478 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
6479 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
6480 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
6481 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
6482 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
6483 src/main/java/de/intevation/flys/exports/ATExporter.java,
6484 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
6485 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
6486 src/main/java/de/intevation/flys/exports/OutGenerator.java,
6487 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
6488 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
6489 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6490 Removed superfluous imports.
6491
6492 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6493
6494 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6495 Removed import to make it compileable again.
6496
6497 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6498
6499 Introduce pre-rendering inter-facet communication phase ('blackboard
6500 pass').
6501
6502 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
6503 (doBlackboardPass): New. Before actually calling doOut, bundle
6504 ArtifactAndFacets and let them register
6505 themselfes as DataProvider in CallContext if they
6506 want ("announce on blackboard").
6507
6508 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6509
6510 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java
6511 (doOut): Adjusted signature.
6512
6513 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6514
6515 Changed doOut signature to use ArtifactAndFacet, which will be
6516 side effect of upcoming "blackboard" feature.
6517
6518 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
6519 (getRangesForDataset, getRangesForAxis): Renamed, removed TODO.
6520
6521 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java
6522 (createAxis): Update call to XYChartGenerator.getRangesForAxis,
6523 cosmetics.
6524
6525 * src/main/java/de/intevation/flys/exports/OutGenerator.java
6526 (doOut): Changed Signature to accet ArifactAndFacet instead of
6527 Artifact and Facet.
6528
6529 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
6530 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
6531 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
6532 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
6533 src/main/java/de/intevation/flys/exports/MapGenerator.java,
6534 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
6535 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
6536 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
6537 src/main/java/de/intevation/flys/exports/ATExporter.java,
6538 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
6539 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
6540 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
6541 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java
6542 (doOut): Adjusted to new signature.
6543
6544 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
6545 (adjustAxes): Removed, we do not need a (manual) second axis.
6546
6547 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6548
6549 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
6550 Fix compilation, use features of XYChartGenerator.
6551
6552 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6553 Set default behaviour such that 0 is not included in ranges.
6554
6555 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
6556 Set behaviour of axis such that 0 is not (automagically) included.
6557
6558 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6559
6560 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
6561 Fix wrong documentation.
6562
6563 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6564
6565 Fix LongitudinalSections multi-axes plotting behavior.
6566
6567 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
6568 Removed obsolete functions, use better working multi-axis
6569 magic by XYChartGenerator.
6570
6571 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6572
6573 Overhaul dataset/axis/renderer housekeeping in Mother of all
6574 ChartGenerators.
6575
6576 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6577 Refactored, keep axis/rendering relevant information in objects
6578 of new class AxisDataset. Removed some obsolete code while adding
6579 documentation.
6580
6581 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6582
6583 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
6584 Added the implementation of the 'Bezugslinienverfahren'. Should
6585 be complete but needs testing!
6586 TODO: Setup a Calculation and integrate it into WINFO.
6587
6588 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6589
6590 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6591 Refactored the code for the "berechnete Abflusskurve" to enable
6592 the "Bezugslinienverfahren" to use the same code paths. It also
6593 removes a good deal of already existing code duplication.
6594
6595 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6596
6597 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(findQsForW):
6598 Added method findQsForW(w, km) to retrieve the Qs that correspond
6599 for the given w and km.
6600
6601 This is to be called when doing a "W auf freier Strecke" calculation
6602 to find out the Qs belonging to the user given W.
6603
6604 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
6605 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
6606 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
6607 Removed superfluous imports.
6608
6609 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6610
6611 Fix bug when adding Q data in LongitudinalSectionGenerator.
6612
6613 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
6614 Add data from Q -Facet as Q over Km points.
6615
6616 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6617
6618 Added handling of empty plots.
6619
6620 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6621 (createAxes, removeEmptyRangeAxes): Survive empty datasets map, create
6622 primary axis.
6623 (recoverEmptyPlot): New.
6624
6625 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6626
6627 Let first visible axis be always on the left.
6628
6629 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6630 (createAxes): When creating axes, keep track of which is the first
6631 one. Set its location to "left".
6632
6633 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6634
6635 Use multiple axis in relevant generators.
6636
6637 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
6638 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
6639 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
6640 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
6641 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
6642 (createYAxis): Implemented.
6643 Define and use YAXIS enum for axes.
6644
6645 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6646
6647 Fix theming and legend items for plot with multiaxis feature.
6648 Decouple renderer index from dataset index.
6649
6650 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6651 (applyThemes): Do not get renderer based on dataset/axis-index but
6652 count.
6653
6654 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6655
6656 In XYChartGenerators allow more than two datasets.
6657 Assign axis to indices of datasets, do not show axis if corresponding
6658 dataset is set to be not visible.
6659 Do proper axis-setting in LongitudinalSectionGenerator only (other
6660 will follow). Based on a patch by Sascha Teichmann.
6661
6662 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6663 Keep relation between index and dataset, once its added. Compute
6664 ranges per index. Allow subclasses to override createAxes to specify
6665 internationalized labels etc.
6666
6667 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
6668 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
6669 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
6670 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
6671 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
6672 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
6673 Add datasets to first index.
6674
6675 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
6676 Implement createYAxis to create correct first, second and third
6677 axis. Added enum to easy identification of axis. Stripped down
6678 adjustAxis which was used to create second axis.
6679 Add datasets at correct indices.
6680
6681 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6682
6683 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java,
6684 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java,
6685 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6686 Cosmetics, docs.
6687
6688 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6689
6690 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
6691 Cosmetics, docs.
6692
6693 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6694
6695 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
6696 Cosmetics, docs.
6697
6698 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6699
6700 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
6701 Resolved TODO about caching certain WstValueTables.
6702
6703 2011-11-22 Ingo Weinzierl <ingo@intevation.de>
6704
6705 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java: New.
6706 This Artifact is used to allow users adding external WMS layers to their
6707 floodmaps. An ExternalWMSArtifact stores an URL of a WMS, the name and the
6708 title of the WMS layer. The internal State extends WMSBackgroundState.
6709
6710 * doc/conf/conf.xml: Registered the ExternalWMSArtifact.
6711
6712 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
6713 new type "floodmap.externalwms" which is used by the ExternalWMSArtifact.
6714
6715 * doc/conf/artifacts/winfo.xml: Allowed the "floodmap.externalwms" facet for
6716 floodmaps.
6717
6718 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
6719 Some refactoring to allow easier subclassing.
6720
6721 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6722
6723 Fixed flys/411.
6724
6725 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
6726 Use different queries to avoid costy joins.
6727
6728 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6729
6730 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
6731 Use different queries to avoid costy joins. Patch by Sascha
6732 Teichmann, minor typo-fix.
6733
6734 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6735
6736 * doc/conf/artifacts/winfo.xml: Added other.wkms.interpol facet
6737 to compatibility matrix for computed discharge curves.
6738
6739 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6740
6741 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
6742 Resolve cosmetic todo, use importData-convenience method.
6743
6744 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6745
6746 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
6747 Handle STATIC_WKMS_INTERPOL and WQ/Points as Annotations.
6748
6749 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6750
6751 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
6752 Give Facet different name when its a flood*, so that it can be
6753 understood to be e.g. a flood-protection further down the processing
6754 line.
6755
6756 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6757
6758 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6759 Prevent ArrayIndexOutOfBounds, log method entry.
6760
6761 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6762
6763 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6764 Added new Facet Type: Interpolated W/Km values.
6765
6766 2011-11-16 Ingo Weinzierl <ingo@intevation.de>
6767
6768 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
6769 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
6770 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Avoid
6771 WMS layer names that begin with digits. This would lead to invalid
6772 WMSGetFeatureInfo responses, where the name of a layer is the name of a
6773 XML node.
6774
6775 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6776
6777 * doc/conf/meta-data.xml: Added and use *_wq macros for interpolated
6778 w/q data (currently used in computed discharge curve only).
6779
6780 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6781
6782 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
6783 Handle STATIC_WQ_ANNOTATION type facets, build and add annotations
6784 for these.
6785
6786 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6787
6788 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
6789 Set Facet type (name) based on static datas name (special case
6790 everything starting with "height").
6791
6792 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6793
6794 * doc/conf/artifacts/winfo.xml: Extended compatibility matrices.
6795
6796 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6797
6798 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6799 Added new STATIC_WQ_ANNOTATIONS Facet Type.
6800
6801 2011-11-16 Ingo Weinzierl <ingo@intevation.de>
6802
6803 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
6804 Added a method isQueryable() that determines if a layer is queryable via
6805 WMS GetFeatureInfo request. This method returns false as default.
6806
6807 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
6808 Override isQueryable(). All WMSDBLayerFacets are queryable via WMS
6809 GetFeatureInfo request.
6810
6811 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6812
6813 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
6814 Added functionality to artifact to use single column wst
6815 interpolators.
6816
6817 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6818
6819 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
6820 Added methods to create WstValueTables (interpolators) for specific
6821 columns of wsts.
6822
6823 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6824
6825 * doc/conf/themes.xml: Added Point Style for other.wq data.
6826
6827 2011-11-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6828
6829 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6830 Do not re-evaluate constant size() in for-loops.
6831
6832 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6833
6834 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
6835 Get ld_locations not locations data item to determine km.
6836 (getDataAsDouble): New helper function to get data item as double.
6837
6838 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6839
6840 * doc/conf/meta-data.xml: Recommend fixations for computed discharge
6841 curve outs, minor refactoring of dc conf.
6842
6843 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6844
6845 * doc/conf/conf.xml: Added wqinterpol factory to produce
6846 WQKmsInterpolArtifacts.
6847
6848 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6849
6850 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
6851 Use StyledSeriesBuilder to add WQ data from WQKms to Series.
6852
6853 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6854
6855 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
6856 Handle interpolated WQ data.
6857
6858 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6859
6860 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
6861 Adjusted to similar implementations. Added TODO about merging with
6862 these similar implementations.
6863
6864 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6865
6866 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6867 Removed logging noise, find better suited rows for interpolation.
6868
6869 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6870
6871 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
6872 Cache WstValueTables that were fetched by wst_id.
6873
6874 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6875
6876 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
6877 (getWstName): Fix and use SQL statement.
6878
6879 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6880
6881 * src/main/java/de/intevation/flys/artifacts/model/WQFacet.java,
6882 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
6883 Added new Facet and Artifact to access W over Q data.
6884
6885 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6886
6887 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
6888 (importData): New function to copy data from one artifact to
6889 another.
6890
6891 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6892
6893 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java
6894 (getTable): New methods to get WstValueTable for given wst_id.
6895 Prepolate Arrays with NaNs.
6896
6897 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6898
6899 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
6900 (getWKmsName): Fix definition.
6901
6902 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6903
6904 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
6905 (getWKmsName): New function. Get name (description) of a WST.
6906
6907 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6908
6909 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6910 Added new "other.wq"/STATIC_WQ Facet-Type, e.g. for fixations in
6911 discharge curves.
6912
6913 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6914
6915 Picky cosmetics.
6916
6917 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java,
6918 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java,
6919 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
6920 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
6921 Cosmetics, docs.
6922
6923 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6924
6925 Added translations for Mosel, Elbe and Saar.
6926
6927 * src/main/resources/messages.properties,
6928 src/main/resources/messages_de_DE.properties,
6929 src/main/resources/messages_en.properties,
6930 src/main/resources/messages_de.properties: Added translations
6931 for Mosel, Elbe, Saar.
6932
6933 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6934
6935 Added new interpolation mechanism to WstValueTable to interpolate
6936 given columns only.
6937
6938 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java
6939 (linearW): New, interpolate a given columns w's between given rows.
6940 (interpolateWQColumnwise): New, interpolate between rows ws at a
6941 given column and km.
6942
6943 2011-11-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6944
6945 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6946 Minor doc added.
6947
6948 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6949
6950 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
6951 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java,
6952 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
6953 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
6954 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
6955 src/main/java/de/intevation/flys/themes/ThemeFactory.java:
6956 Removed dead ';' from empty bodies.
6957
6958 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6959
6960 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
6961 s/reset/resetQuick/s in TDoubleArrayLists.
6962
6963 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6964
6965 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
6966 Added system properties 'waterlevel' and 'km'. Useful to
6967 init the UI with a given waterlevel and drawing the cross-sections
6968 at the given km.
6969
6970 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
6971 Spliting by NaNs definition holes _should_ work now. Needs
6972 some more testing.
6973 TODOs:
6974 - Use log4j instead of println for logging.
6975 - Subclass XYDifferenceRenderer instead of replacing it totally.
6976
6977 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6978
6979 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
6980 Draw water, too.
6981
6982 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
6983 First code to split datasets by NaNs. WIP.
6984
6985 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6986
6987 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
6988 Draw ground with StableXYDifferenceRenderer.
6989
6990 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
6991 Removed XYDatasetToZeroMapper stuff. Not needed any longer
6992 because we use rendereres on dataset basis now.
6993
6994 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java:
6995 Removed.Not longer needed.
6996
6997 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6998
6999 * doc/conf/meta-data.xml: Include computed discharge curves in dc
7000 conf.
7001
7002 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7003
7004 * doc/conf/meta-data.xml: Somewhat unify user-part of dc config.
7005
7006 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
7007
7008 * doc/conf/themes.xml: Modified some floodmap styles and added a
7009 backgroundcolor attribute to polygon themes.
7010
7011 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
7012 Added support for backgroundcolor.
7013
7014 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse
7015 backgroundcolor from theme document. If a value is given, the
7016 backgroundcolor is set on the Mapserver style.
7017
7018 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
7019
7020 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
7021 Set correct Mapserver attribute name to adjust the width of a line.
7022
7023 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
7024
7025 * doc/conf/themes.xml: Added 'textcolor' and 'textsize' attributes to the
7026 existing 'Kms' theme.
7027
7028 * doc/conf/mapserver/fontset.txt: Defined a 'DefaultFont' that is used as
7029 default font for Mapserver labels.
7030
7031 * doc/conf/mapserver/db_layer.vm: Add a Mapserver LABELITEM if a value is
7032 provided by LayerInfo object.
7033
7034 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added a
7035 getLabelItem() method that returns null as default.
7036
7037 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override
7038 getLabelItem() to return "km" which is the database field that contains
7039 the kilometer information.
7040
7041 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java,
7042 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
7043 Added an attribute labelItem with appropriate getter/setter methods.
7044
7045 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
7046 Splitted up the internal class Clazz. Now, there are two new inner
7047 classes Style and Label that fulfill the appropriate Mapfile sections of
7048 Mapserver.
7049
7050 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Also Read font
7051 attributes and add new Clazz Label for the Mapserver layer.
7052
7053 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the
7054 "labelItem" attribute on the LayerInfo object used to fill DB layer
7055 templates.
7056
7057 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7058
7059 * doc/conf/meta-data.xml: Re-use macros to include more data to
7060 datacage in more situations.
7061
7062 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
7063
7064 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
7065 Removed needless imports.
7066
7067 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
7068
7069 * src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java: New
7070 WMSDBArtifact that creates facets for "fixpoints" relation.
7071
7072 * doc/conf/artifacts/winfo.xml: Registered "floodmap.fixpoints" as valid
7073 "floodmap" facet.
7074
7075 * doc/conf/conf.xml: Registered the new WMSFixpointsArtifact.
7076
7077 * doc/conf/themes.xml: Added a theme for "floodmap.fixpoints".
7078
7079 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7080 Facet type "floodmap.fixpoints".
7081
7082 * doc/conf/meta-data.xml: Made "floodmap.fixpoints" available via datacage.
7083
7084 * src/main/resources/messages.properties,
7085 src/main/resources/messages_de_DE.properties,
7086 src/main/resources/messages_en.properties,
7087 src/main/resources/messages_de.properties: Added titles for
7088 "floodmap.fixpoints" facets.
7089
7090 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7091
7092 * doc/conf/meta-data.xml: Refactored and (re)use macros.
7093
7094 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
7095
7096 * src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java: New
7097 WMSDBArtifact that creates facets for "buildings" relation.
7098
7099 * doc/conf/artifacts/winfo.xml: Registered "floodmap.buildings" as valid
7100 "floodmap" facet.
7101
7102 * doc/conf/conf.xml: Registered the new WMSBuildingsArtifact.
7103
7104 * doc/conf/themes.xml: Added a theme for "floodmap.buildings".
7105
7106 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7107 Facet type "floodmap.buildings".
7108
7109 * doc/conf/meta-data.xml: Made "floodmap.buildings" available via datacage.
7110
7111 * src/main/resources/messages.properties,
7112 src/main/resources/messages_de_DE.properties,
7113 src/main/resources/messages_en.properties,
7114 src/main/resources/messages_de.properties: Added titles for
7115 "floodmap.buildings" facets.
7116
7117 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
7118
7119 * src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java: New
7120 WMSDBArtifact that creates facets for "lines" relation.
7121
7122 * doc/conf/artifacts/winfo.xml: Registered "floodmap.lines" as valid
7123 "floodmap" facet.
7124
7125 * doc/conf/conf.xml: Registered the new WMSLineArtifact.
7126
7127 * doc/conf/themes.xml: Added a theme for "floodmap.lines".
7128
7129 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7130 Facet type "floodmap.lines".
7131
7132 * doc/conf/meta-data.xml: Made "floodmap.lines" available via datacage.
7133
7134 * src/main/resources/messages.properties,
7135 src/main/resources/messages_de_DE.properties,
7136 src/main/resources/messages_en.properties,
7137 src/main/resources/messages_de.properties: Added titles for facets.
7138
7139 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7140
7141 * doc/conf/meta-data.xml: Adjusted DC configuration to
7142 also allow heightmarks and base data in discharge longitudinal
7143 sections. Minor refac.
7144
7145 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7146
7147 * doc/conf/meta-data.xml: Adjusted DC configuration to let old
7148 calculations be available for discharge longitudinal sections.
7149
7150 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7151
7152 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
7153 Handle other WQKm and WKm Facets.
7154
7155 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7156
7157 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java
7158 (IS): New inner class with static method to allow queries whether
7159 a type belongs to a however-defined "group".
7160
7161 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7162
7163 * doc/conf/conf.xml: Reverted accidental commit.
7164
7165 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation
7166 for discharge longitudinal sections.
7167
7168 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7169
7170 * doc/conf/conf.xml: Reverted accidental commit.
7171
7172 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation
7173 for discharge longitudinal sections.
7174
7175 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7176
7177 Made discharge longitudinal section out compatible with annotations.
7178
7179 * doc/conf/artifacts/winfo.xml: Added facets to compatibility list
7180 for discharge longitudinal section outs.
7181
7182 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7183
7184 Extracted Annotations-Macro in dc conf, recommend Annotations for
7185 discharge longitudinal sections. (Note correction two commits later).
7186
7187 * doc/conf/conf.xml: Extracted annotations-macro, add recommendation
7188 for discharge longitudinal sections.
7189
7190 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7191
7192 Handle Annotations in DischargeLongitudinalSection diagrams.
7193
7194 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
7195 Call doAnnotations for LONGITUDINAL_ANNOTATION facets.
7196
7197 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7198
7199 Resolve code duplicate.
7200
7201 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
7202 (doAnnotationsOut): Removed duplicate code.
7203 Theoretically handle WQKMS data.
7204
7205 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
7206 Adjusted call to doAnnotationOut.
7207
7208 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
7209 (doAnnotations): Doc from LongitudinalSectionGenerator.
7210
7211 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7212
7213 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
7214 Include exception when logging issue with spline creation.
7215
7216 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7217
7218 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
7219 When during XPath evaluation an exception is thrown, log the
7220 expression that caused the trouble.
7221
7222 2011-11-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7223
7224 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
7225 Use separate XYDataset for each curve. This is needed because
7226 "Raum/Flaeche" needs specialized renderers, which are not compatible
7227 with the standard renderers.
7228
7229 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
7230 Removed superfluous import.
7231
7232 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
7233
7234 * src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java: New
7235 Artifact that is used to create WMS layers for floodplains in maps.
7236
7237 * doc/conf/conf.xml: Registered the new WMSFloodplainArtifact.
7238
7239 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7240 a new type 'floodmap.floodplain'.
7241
7242 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.floodplain' facet
7243 for floodmaps.
7244
7245 * doc/conf/themes.xml: Added a theme for 'floodmap.floodplain' facets.
7246
7247 * doc/conf/meta-data.xml: Added configuration for 'floodplain'.
7248
7249 * src/main/resources/messages.properties,
7250 src/main/resources/messages_de_DE.properties,
7251 src/main/resources/messages_en.properties,
7252 src/main/resources/messages_de.properties: Added facet titles for
7253 'floodmap.floodplain' facets.
7254
7255 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
7256
7257 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java: New
7258 Artifact that is used to create WMS layers for catchments in maps.
7259
7260 * doc/conf/conf.xml: Registered the new WMSCatchmentArtifact.
7261
7262 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7263 a new type 'floodmap.catchment'.
7264
7265 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.catchment' facet
7266 for floodmaps.
7267
7268 * doc/conf/themes.xml: Added a theme for 'floodmap.catchment' facets.
7269
7270 * doc/conf/meta-data.xml: Added configuration for 'catchments'.
7271
7272 * src/main/resources/messages.properties,
7273 src/main/resources/messages_de_DE.properties,
7274 src/main/resources/messages_en.properties,
7275 src/main/resources/messages_de.properties: Added facet titles for
7276 'floodmap.catchment' facets.
7277
7278 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
7279
7280 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: New
7281 Artifact that is used to create WMS layers for flood protected works.
7282
7283 * doc/conf/conf.xml: Registered the new WMSHwsArtifact.
7284
7285 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7286 a new type 'floodmap.hws'.
7287
7288 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.hws' facet for
7289 floodmaps.
7290
7291 * doc/conf/themes.xml: Added a theme for 'floodmap.hws' facets.
7292
7293 * doc/conf/meta-data.xml: Added configuration for 'hws'.
7294
7295 * src/main/resources/messages.properties,
7296 src/main/resources/messages_de_DE.properties,
7297 src/main/resources/messages_en.properties,
7298 src/main/resources/messages_de.properties: Added facet titles for
7299 'floodmap.hws' facets.
7300
7301 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
7302
7303 * doc/conf/mapserver/dbconnection.include: Removed. DB connections are
7304 supported by LayerInfo objects now. So, we do not need to configure it any
7305 more.
7306
7307 * doc/conf/mapserver/db_layer.vm: The database connection is provided by
7308 LayerInfo objects. The "INCLUDE dbconnection.include" has been replaced.
7309
7310 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: The inner
7311 State class got two new methods that provide information about db
7312 connection string and connection type.
7313
7314 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java,
7315 src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Both
7316 classes support getter/setter for connection and connectionType.
7317
7318 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Fill
7319 LayerInfo objects used to create DB layers with the connection and
7320 connection type provided by WMSDBLayerFacet.
7321
7322 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7323
7324 Allow height marks with points style in w-differences diagrams.
7325
7326 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
7327 Handle HEIGHTMARKS_POINTS facets.
7328
7329 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7330
7331 Made Q Duration curve initially inactive.
7332
7333 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
7334 (getInitialFacetActivity): Return 0 for DURATION_Q facets. Minor
7335 cosmetics.
7336
7337 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7338
7339 Recommend mainvalues for Duration Curve Diagrams.
7340
7341 * doc/conf/meta-data.xml: Recommend mainvalues for duration curve
7342 diagrams. refactored into macro.
7343
7344 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7345
7346 Handle MainValue Facets in Duration Curve Diagrams.
7347
7348 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
7349 Handle MainValues.
7350
7351 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
7352 Adjusted to call doAnnotations.
7353
7354 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7355
7356 Move do*Annotation* (like mainvalue) in XYChartGenerator.
7357
7358 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
7359 (doAnnotations): New, moved from DischargeCurveGenerator.
7360
7361 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java
7362 (doMainValueAnnotations): Moved to superclass.
7363
7364 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7365
7366 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
7367 Removed duplicate code.
7368
7369 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7370
7371 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
7372 (): Minor cosmetics, added stability.
7373 (getInitialFacetActivity): Let facets be inactive in duration curve
7374 diagrams.
7375
7376 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7377
7378 * doc/conf/artifacts/winfo.xml: Allow other.wqkms facets in many
7379 outputs, mainvalues in duration curves.
7380
7381 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
7382
7383 * doc/conf/mapserver/dbconnection.include: Adapted connection params for
7384 using an oracle database.
7385
7386 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
7387 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
7388 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
7389 Added Oracle support for Mapserver's DATA attribute. Oracle doesn't allow
7390 a "USING UNIQUE id" string in this attribute which is required by Postgis.
7391
7392 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
7393 Modified the geometry type of "talaue.shp" from MultiPolygon to Polygon.
7394
7395 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
7396 which returns true, if the backend uses an Oracle db instance. Otherwise,
7397 it returns false.
7398
7399 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7400
7401 Fix flys/issue406 (Themestyle-editor: themes for "other.wkms" and
7402 "other.wqkms" missing)
7403
7404 * doc/conf/themes.xml: Fixed typos in WKms and WQKms theme names.
7405
7406 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7407
7408 Fix flys/issue405 (Datacage: Recommendations get loaded twice).
7409
7410 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java
7411 (setup): Do not try/catch exception.
7412 (spawn_state): Generate just one "general" output.
7413
7414 2011-11-08 Ingo Weinzierl <ingo@intevation.de>
7415
7416 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
7417 Added a log.warn() which prints out an exception - previously it was
7418 just skipped.
7419
7420 2011-11-08 Ingo Weinzierl <ingo@intevation.de>
7421
7422 * doc/conf/meta-data.xml: Removed orphaned datacage configuration which is
7423 no longer loadable.
7424
7425 2011-11-07 Ingo Weinzierl <ingo@intevation.de>
7426
7427 * doc/conf/conf.xml: Added an "post-describe" hook which is necessary to
7428 load recommendations for "floodmaps".
7429
7430 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7431
7432 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java
7433 (loadRows, loadColumns, loadQRanges): Refactored in preparation to
7434 ability to create WstValueTables for given wst_id and
7435 column_pos (interpolation for static data).
7436
7437 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7438
7439 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
7440 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
7441 Minor, picky cosmetics.
7442
7443 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java:
7444 Removed junk.
7445
7446 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
7447 Added documentation.
7448
7449 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7450
7451 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
7452 Be more specific in what to catch.
7453
7454 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
7455
7456 * doc/conf/meta-data.xml: Added the CrossSectionTracks to the "floodmap"
7457 datacage configuration.
7458
7459 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
7460 FacetType "floodmap.qps".
7461
7462 * doc/conf/conf.xml: Defined an ArtifactFactory for the "wmspqsartifact"
7463 string. The factory will create new instances of WMSQPSArtifact.
7464
7465 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java: New. This
7466 Artifact is used to create "floodmap.qps" facets. It has an internal fixed
7467 State WMSQPSState.
7468
7469 * doc/conf/artifacts/winfo.xml: Added the "floodmap.qps" layer to the
7470 "floodmap" output.
7471
7472 * doc/conf/themes.xml: Added a theme for "floodmap.qps" facets.
7473
7474 * src/main/resources/messages.properties,
7475 src/main/resources/messages_de_DE.properties,
7476 src/main/resources/messages_en.properties,
7477 src/main/resources/messages_de.properties: Added strings for the QPS WMS
7478 layer used in floodmaps.
7479
7480 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7481
7482 Re-enable mainvalue-recommendations for computed discharge curves,
7483 as the NPE should be gone.
7484
7485 * doc/conf/meta-data.xml: Uncomment mainvalue recommendations.
7486
7487 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7488
7489 When querying metadata/datacage, use only output-names of outputs that
7490 actually exists (in the sense of having facets).
7491
7492 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
7493 Get output names from artifact, not from state.
7494
7495 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
7496
7497 * doc/conf/meta-data.xml: Removed DEMs from floodmap configuration,
7498 because we are not able to draw DEMs into maps.
7499
7500 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
7501
7502 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
7503 Subclasses WMSDBArtifact now and defines an inner class RiverAxisState
7504 which subclasses WMSDBState.
7505
7506 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
7507 Removed. The RiverAxisState is an inner class of RiverAxisArtifact now
7508 which subclasses WMSDBState.
7509
7510 * doc/conf/artifacts/riveraxis.xml: Removed, because the RiverAxisArtifact
7511 has a fixed static State only.
7512
7513 * doc/conf/conf.xml: Removed riveraxis.xml definition.
7514
7515 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7516
7517 For a Flys-Collection, add outputt to attributes-part of describe
7518 document only if they contain facets. -> Prevent empty output nodes
7519 in flys-collections outputs.
7520
7521 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
7522 (writeFacets): Added return type to indicate whether any facet was
7523 written. Decide whether to add an output-node depending on this
7524 return value.
7525
7526 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
7527
7528 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Create
7529 line and polygon layers for barriers only if they are really existing.
7530
7531 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7532
7533 Disable mainvalue-recommendations for discharge curves as they trigger
7534 a yet-to-be understood NPE.
7535
7536 * doc/conf/meta-data.xml: Comment mainvalue-recommendations for
7537 discharge curves.
7538
7539 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7540
7541 Added new matching condition for theme-mappings: the name of
7542 the output.
7543
7544 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
7545 Added output field and function to match it against a given
7546 output name.
7547
7548 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
7549 Createing ThemeMapping with output attribute from configuration.
7550
7551 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
7552 (getTheme(FLYSContext, string)): Removed, never called.
7553 (getTheme): Added outputName argument, match it.
7554
7555 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
7556 Pass outputs name until it can be matched against mapping.
7557
7558 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7559
7560 * doc/conf/themes.xml: Added default themes for other.w(q)kms.
7561
7562 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7563
7564 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
7565 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
7566 Cosmetics, reduce logging noise.
7567
7568 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7569
7570 Added access to static W_Q_Kms - data in much the same way then static
7571 WKms.
7572
7573 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java:
7574 Cache Key for static wqkms data.
7575
7576 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java:
7577 Facet for WQKms.
7578
7579 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java:
7580 Factory to access WQKms.
7581
7582 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
7583 Artifact that provides 'static' WQKms.
7584
7585 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7586 Added STATIC_WQKMS type.
7587
7588 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7589
7590 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java:
7591 New. Maps series to zero to be compatible with XYDifferenceRenderer.
7592 It returns an iterator over XYDatasets to enable splitting by NaNs,
7593 which still needs to be implemented.
7594
7595 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
7596 Uses a XYDatasetToZeroMapper now. Fixed package name.
7597
7598 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7599
7600 Added new matching options for theme-mappings to allow more
7601 overspecification of defaults (e.g. now name,description-pattern and
7602 master-artifacts attributes are matched). The first full match from
7603 the configuration file is done.
7604 New matching option in the masterAttr- field of a mapping are
7605 super-basic until new use-cases come up.
7606 Concrete new themes are point-styles of Ws when locations where chosen
7607 to calculate.
7608
7609 * doc/conf/themes.xml: Added newly defined Themes.
7610
7611 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
7612 Put master-artifact in flys-context.
7613
7614 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
7615 Accept masterAttr in constructor.
7616 (masterAttrMatches): New, check masterAttr-condition against
7617 artifact.
7618
7619 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
7620 When creating ThemeMappings, pass in masterAttr.
7621
7622 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
7623 (getTheme): Evaluate masterAttr-condition, always return first full
7624 match.
7625
7626 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7627
7628 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
7629 Added ARTIFACT key, documentation.
7630
7631 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7632
7633 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
7634 New. At the moment a pure copy of JFreeChart's XYDifferenceRenderer.
7635 Needs to be refactored to cope with its limitations:
7636
7637 - Series numbers need to be zero based. We have more than two series
7638 in our diagrams.
7639
7640 - Cannot handle definition holes indicated by NaNs. We have these
7641 cases e.g. more than one "Fliessbereich".
7642
7643 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7644
7645 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
7646 Reenabled dumping data to disk.
7647
7648 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7649
7650 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
7651 Removed superfluous import.
7652
7653 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7654
7655 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
7656 Use new pair in stack of results and connections because they are
7657 always used in pairs. Maintaining two separate stacks is not
7658 needed any longer.
7659
7660 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7661
7662 * src/main/java/de/intevation/flys/utils/Pair.java: New. A generic pair.
7663
7664 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
7665 Rewritten to useful as test bed for "Raum/Flaeche" operations.
7666
7667 2011-11-02 Ingo Weinzierl <ingo@intevation.de>
7668
7669 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added
7670 setter methods for all parameters and removed the constructors. There is
7671 just an empty constructor - all parameters need to be set via setter
7672 methods.
7673
7674 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified the
7675 creation of LayerInfo objects.
7676
7677 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java:
7678 Removed, because the internal structure and constructors of LayerInfo have
7679 changed, so that we gonna use LayerInfo for all layers now.
7680
7681 * doc/conf/themes.xml: Modified the color definitions of
7682 'floodmap.riveraxis' and 'floodmap.kms' themes and added a 'symbol' field
7683 to 'floodmap.kms'.
7684
7685 * doc/conf/mapserver/symbols.sym,
7686 doc/conf/mapserver/fontset.txt: New. Required by Mapserver.
7687
7688 * doc/conf/mapserver/db_layer.vm: Added an 'EXTENT' field that is filled
7689 using LayerInfo.getExtent().
7690
7691 * doc/conf/mapserver/mapfile.vm: Modified FONTSET directory and added a
7692 SYMBOLSET.
7693
7694 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added an
7695 abstract method getGeometryType().
7696
7697 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override
7698 getGeometryType() of WMSDBArtifact. This Artifact provides "POINT"s.
7699
7700 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
7701 Create new WMSDBLayerFacets with geometry type "LINE".
7702
7703 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
7704 Added a 'geometryType' attribute and getter/setter methods. This attribute
7705 determines the type of geometry provided by this database wms layer. Types
7706 could be "POLYGON", "POINT", "LINE" and so on.
7707
7708 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
7709 Added a 'symbol' attribute to the inner class Clazz.
7710
7711 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a function to
7712 parse the symbol field of a theme. This symbol is used for
7713 MapserverStyle.Clazz.
7714
7715 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7716
7717 Apply point theme to heightmarks when imported in longitudinal
7718 section diagram.
7719
7720 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7721 Added new FacetType HEIGHTMARK_POINTS.
7722
7723 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
7724 Allow name to be given in constructor.
7725
7726 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
7727 If heightmarks were loaded, give respective name in WKmsFacet
7728 generation.
7729
7730 * doc/conf/themes.xml: Added virtual "Points" and concrete
7731 heightmark_points - theme.
7732
7733 * doc/conf/artifacts/winfo.xml: Made longitudinal_section output
7734 compatible with heightmarks_points.
7735
7736 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
7737 Render heightmarks like other wkms.
7738
7739 * doc/conf/meta-data.xml: Changed heightmark ids such that it can be
7740 identified in StaticWKmsFacet .
7741
7742 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7743
7744 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
7745 Documentation added.
7746
7747 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7748
7749 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
7750 Fix bug where (wrong) active-attribute was set, doc.
7751
7752 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7753
7754 Refactoring to allow mainvalues in both discharge and computed
7755 discharge curve diagrams.
7756
7757 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
7758 (addPointsQW): New helper function.
7759
7760 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
7761 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
7762 Moved doMainValueQAnnotations, doMainValueWAnnotations from child-
7763 to parent-class, extracetd doDischargeOut. Use
7764 StyledSeriesBuilder.addPointsQW .
7765
7766 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7767
7768 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
7769 Removed logger/debugging noise.
7770
7771 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7772
7773 1) Pass outputs name to artifacts getInitialFacetActivity().
7774 2) Do not allow "gaps" in positions of facets in outputs in attributes
7775 of collection (prevent e.g. positions 1,3,5; will become 1,2,3
7776 instead).
7777
7778 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
7779 Pass outputname to artifacts getInitialFacetActivity(), prevent
7780 gaps in facets positions in outputs (1,3,10 become 1,2,3).
7781
7782 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7783
7784 1) Give Artifacts information about the out when they have to decide
7785 whether a given facet is initially in/active by adding parameter
7786 to getInitialFacetActivity(+outputName).
7787 2) Generate separate Set of MainValueFacets for discharge curves.
7788
7789 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
7790 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
7791 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
7792 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
7793 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
7794 (getInitialFacetActivity): Adjusted, new parameter outputName.
7795 Added MAINVALUES_{Q,W} definition.
7796
7797 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
7798 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
7799 Accept name in constructor.
7800
7801 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
7802 Create second pair of MainValuesFacets, give distinguishable names.
7803
7804 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7805
7806 Added compatibility of (computed)discharge-curve diagrams with
7807 mainvalues.
7808
7809 * doc/conf/artifacts/winfo.xml: Added mainvalues to compatibility list
7810 of (computed) discharge curve outputs. These facet-definitionss can
7811 differ in names because we can can have up to 4 mainvalue facets in
7812 one state.
7813
7814 2011-11-01 Ingo Weinzierl <ingo@intevation.de>
7815
7816 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Determine
7817 the extent of such WMS layer based on the list of RiverAxisKm objects
7818 returned by the backend.
7819
7820 2011-11-01 Ingo Weinzierl <ingo@intevation.de>
7821
7822 * doc/conf/meta-data.xml: Added a datacage node that represents a
7823 kilometer WMS layer.
7824
7825 * doc/conf/conf.xml: Added a new Artifact WMSKmArtifact.
7826
7827 * doc/conf/themes.xml: Added a style for 'floodmap.kms' facets.
7828
7829 * doc/conf/artifacts/winfo.xml: Defined 'floodmap.kms' as valid floodmap
7830 facet.
7831
7832 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7833 a 'floodmap.kms' facet.
7834
7835 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method to
7836 determine the srid of a river based on its name.
7837
7838 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: New. This
7839 Artifact should act as base Artifact for WMS layers that represent data
7840 from database datastore.
7841
7842 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: New. This
7843 Artifact is used to generate facets for kilometer WMS layers.
7844
7845 * src/main/resources/messages.properties,
7846 src/main/resources/messages_de_DE.properties,
7847 src/main/resources/messages_en.properties,
7848 src/main/resources/messages_de.properties: Added default descriptions
7849 for 'floodmap.kms' facets.
7850
7851 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7852
7853 Fix incompilability.
7854
7855 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
7856 Adjust to changed CrossSectionFacet.
7857
7858 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7859
7860 Minor preparations to handle multiple cross sections in one
7861 diagram/artifact, faking certain aspects (e.g. ability to display
7862 multiple cross sections, but let these fetch the exactly same data
7863 for now).
7864
7865 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7866 Parameterize but fake access to cross-section (always take first
7867 one).
7868 (getCrossSectionName,getCrossSectionNames): Renamed, access names
7869 of all cross-sections, so that at least facets with different names
7870 are created (they will still deliver the same data).
7871
7872 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
7873 Allow indexing.
7874
7875 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
7876 Index created cross-sections.
7877
7878 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7879
7880 Show multiple water lines and facets in cross-section diagram if
7881 multiple waterlevel values had been entered.
7882
7883 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
7884 (appendBackgroundActivity): Made static.
7885 (getWaterLines): Add 'idx' argument to specify index of queried
7886 waterlevel.
7887
7888 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
7889 Add index.
7890
7891 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
7892 Add one Facet for each of the computed waterlevels.
7893
7894 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7895
7896 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
7897 Added code to calculate intersection points.
7898
7899 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
7900 Added polygons for trivial cases. WIP
7901
7902 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7903
7904 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
7905 Made it compilable again.
7906
7907 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7908
7909 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
7910 Made X() and Y() access macros public.
7911
7912 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
7913 More code. WIP.
7914
7915 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7916
7917 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
7918 Handle start points when building polygons. Work in progress.
7919
7920 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7921
7922 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
7923 New. Vector operations on Point2D.
7924
7925 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
7926 Moved vector operations to VectorUtils.
7927
7928 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7929
7930 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
7931 Do not call size() in for loop again and again.
7932
7933 2011-10-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7934
7935 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
7936 Interim check in. Work in progress.
7937
7938 2011-10-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7939
7940 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: New.
7941 Polygon class to help creating "Raum/Flaeche" renderers with gaps in
7942 their definitions. WORK IN PROGRESS!
7943
7944 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
7945
7946 * doc/conf/themes.xml: Added a default theme for the riveraxis used in the
7947 floodmap.
7948
7949 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
7950 New. This class is used by ThemeUtil to create a style which is
7951 compatible for Mapserver-
7952
7953 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a method to
7954 retrieve a Mapserver compatible style (as string) based on a given
7955 Document (that comes from CollectionItem's attribute).
7956
7957 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java:
7958 Implemented the setStyle() and getStyle() methods.
7959
7960 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a
7961 new parameter 'style' to createDatabaseLayer(). This parameter is set on
7962 LayerInfo.
7963
7964 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create
7965 Mapserver compatible styles and call createDatabaseLayer() with this
7966 style.
7967
7968 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
7969
7970 * doc/conf/artifacts/winfo.xml: Defined "floodmap.riveraxis" and
7971 "floodmap.wmsbackground" as compatible layers for the floodmap output.
7972
7973 * doc/conf/mapserver/db_layer.vm: New. This layer template is used for
7974 Mapserver layers with database datastore.
7975
7976 * doc/conf/mapserver/dbconnection.include: New. The database configuration
7977 used in the db_layer template.
7978
7979 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
7980 getUserWMSUrl() that returns the URL to the user specific WMS server.
7981 This method requires a UUID of an Artifact to identify the owner of the
7982 Artifact.
7983
7984 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Use
7985 FLYSUtils.getUserWMSUrl() to create the URL to the user WMS for
7986 WMSLayerFacets creation.
7987
7988 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
7989 New. Subclasses WMSLayerFacet to save data and filter parameters used
7990 for database storage in Mapfiles.
7991
7992 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java: New.
7993 Subclasses LayerInfo to save database relevant parameters.
7994
7995 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
7996 Creates new WMSDBLayerFacets, so that the riveraxis layer data is
7997 fetched from database.
7998
7999 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a
8000 public method that allows creating layers (type LINE) based on
8001 WMSDBLayerFacets.
8002
8003 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Enabled
8004 support for Facets other than "floodmap.wsplgen" and "floodmap.barriers".
8005 Those other Facets are supposed to be WMSDBLayerFacets.
8006
8007 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8008
8009 Refactored, added StyledSeriesBuilder to unify adding points to
8010 XYSeries.
8011
8012 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
8013 New class to help with adding points to XYSeries.
8014
8015 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
8016 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8017 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
8018 Use StyledSeriesBuilder to add points to series.
8019
8020 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8021
8022 Added DC-conf, such that static data can be loaded from w-difference
8023 diagrams datacage.
8024
8025 * doc/conf/meta-data.xml: Minor "refactoring" (definition of two
8026 macros, allow certain static data to be loaded via datacage to
8027 w-difference diagrams, too.
8028
8029 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8030
8031 Load and display annotations in w-differences, minor polishing.
8032
8033 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
8034 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8035 Use FacetType 'instead' of string. Allow Annotations in
8036 WDifferences- diagram.
8037
8038 * doc/conf/meta-data.xml: Recommend annotations in w-differences case.
8039
8040 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8041
8042 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
8043 Survive case where a given output doesnt exist in compatibility
8044 matrix.
8045
8046 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8047
8048 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
8049 Added simpler constructor.
8050
8051 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
8052 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
8053 Adjusted construction of StaticStates.
8054
8055 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8056
8057 * doc/conf/artifacts/winfo.xml: Allow Annotations in longitudinal and
8058 w-differences diagrams.
8059
8060 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8061
8062 Use artifacts configuration (e.g. winfo.xml) to define which facets
8063 can be used in which output. Hide no-matches.
8064
8065 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
8066 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8067 Added use of "compatibility matrix". Only include facets in in
8068 collections description document that are marked compatible in the
8069 masterartifacts configuration (e.g. winfo.xml).
8070
8071 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8072
8073 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
8074 (mergeAttributes, getMasterArtifact): Extraced, updated caller.
8075 Cosmetics to reduce indentation one step.
8076
8077 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8078
8079 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java
8080 (getStateHistoryIds): New, return list of current and all previous
8081 state ids.
8082
8083 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
8084
8085 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
8086 Trigger the re-creation of FLYS mapfile if endOfLife() of this state is
8087 called.
8088
8089 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
8090
8091 * doc/conf/mapserver/mapfile.vm: The "layers" injected by VelocityEngine is
8092 now used to include layers. A single string in this list represents the
8093 path to a file which contains a LAYER section for Mapserver' Mapfile.
8094
8095 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Removed the
8096 update() call of MapfileGenerator. Mapfiles are generated by MapGenerator
8097 only which requires a FLYSArtifactCollection.doOut()!
8098
8099 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Call update()
8100 of MapfileGenerator to trigger the re-creation of mapfile(s).
8101
8102 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Collect all
8103 LAYER snippets from filesystem and inject the filepath for each snippet
8104 into the Mapfile template.
8105
8106 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8107
8108 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
8109 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java,
8110 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8111 Cosmetics, doc.
8112
8113 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8114
8115 Let OutputParser and AttributeParser collect all facets on the way.
8116
8117 * src/main/java/de/intevation/flys/collections/OutputParser.java,
8118 src/main/java/de/intevation/flys/collections/AttributeParser.java:
8119 Collect all facets while iterating over Outputs and Attributes,
8120 documentation added.
8121
8122 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8123
8124 Extracted getFlysContext from FLYSArtifacts into FLYSUtils.
8125
8126 * src/main/java/de/intevation/flys/utils/FLYSUtils.java
8127 (getFlysContext): Added, extracted from FLYSArtifact.
8128
8129 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
8130 (getFlysContext): Moved to FLYSUtils, updated callers.
8131
8132 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
8133 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8134 Update callers to getFlysContext.
8135
8136 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
8137
8138 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Bugfix:
8139 Catch IOException - flys-artifacts compiles again.
8140
8141 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
8142
8143 * doc/conf/artifacts/winfo.xml: Defined "floodmap.barriers" as valid facet
8144 for floodmaps.
8145
8146 * doc/conf/mapserver/shapefile_layer.vm: New. Currently a copy of
8147 layer.vm. This template will evolve to a special mapserver layer
8148 template with a shapefile data source.
8149
8150 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Fixed broken
8151 facet name of barriers.
8152
8153 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added
8154 public methods for creating wsplgen and barriers layer files for
8155 mapserver.
8156
8157 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Use
8158 MapfileGenerator to create new layer files for wsplgen and barriers.
8159
8160 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
8161
8162 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new
8163 method gerRiverBoundary() which returns an Envelope object (which
8164 represents the bounding box of a Geometry) of a riveraxis specified by its
8165 rivername.
8166
8167 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: Use
8168 Geometry.getRiverBoundary() to determine the max extent of a river.
8169
8170 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
8171 src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Use
8172 JTS Envelope to save the bounding boxes of WMS layers.
8173
8174 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
8175 Adapted the code to apply the changes in GeometryUtils (use Envelope to
8176 determine the max extent of the river axis).
8177
8178 * src/main/java/de/intevation/flys/exports/MapGenerator.java: New (work in
8179 progress). This Generator will currently return a map configuration in XML
8180 which consists of parameters required by OpenLayers to create a map.
8181
8182 * doc/conf/conf.xml: Registered the new MapGenerator.
8183
8184 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8185
8186 * doc/conf/meta-data.xml: Do not recommend historical data to load
8187 when having computational discharge curves.
8188
8189 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8190
8191 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8192 Reduce noise, given "error" message was more of "debug" nature.
8193
8194 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8195
8196 Restore mapping of state id to facets (essentially revert, revision
8197 3083 and 3088).
8198
8199 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8200 (getInitialFacetActivity): Be more explicit on which facets to
8201 introduce inactivated.
8202
8203 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
8204 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
8205 Minor refactoring, declare a string final static.
8206
8207 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
8208 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java,
8209 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
8210 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
8211 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
8212 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
8213 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
8214 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
8215 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
8216 Restore association from state id to facets.
8217
8218 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8219
8220 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
8221 src/main/java/de/intevation/flys/collections/OutputParser.java:
8222 Cosmetics, documentation.
8223
8224 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8225
8226 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8227 Prepare rendering of "other/static wkms" (functional) and
8228 w-differences (not yet fully functional).
8229
8230 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8231
8232 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
8233 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
8234 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
8235 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8236 Cosmetics.
8237
8238 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8239
8240 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
8241 Do not store facets in a map from stateId to list of facets, but in
8242 a pure list instead.
8243
8244 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8245
8246 * doc/conf/artifacts/winfo.xml: Adjusted to newer semantics,
8247 minor cleanups.
8248
8249 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8250
8251 Resolve association of facets to states in artifacts. This eases
8252 merging of outputs and facets and inhibition of unwanted outputs
8253 substiantially (at the price of slightly more expensive merging).
8254 Also, the semantics of artifacts configuration files (e.g. winfo.xml)
8255 is changed (facet elements within an output elements are used for
8256 merging).
8257
8258 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
8259 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java,
8260 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
8261 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
8262 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
8263 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
8264 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
8265 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
8266 Do not store facets in a map from stateId to list of facets, but in
8267 a pure list instead.
8268
8269 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8270
8271 * doc/conf/meta-data.xml: Added dc configuration for some data
8272 that can be loaded from longitudinal section diagrams.
8273
8274 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8275
8276 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
8277 Cosmetics, docs.
8278
8279 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8280
8281 Let Qs in Longitudinal Diagram be inactive, initally.
8282
8283 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8284 (getInitialFacetActivity): Do not let Facets ending with a 'q'
8285 enter in active state.
8286
8287 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8288
8289 * doc/conf/meta-data.xml: Fix broken datacage config.
8290
8291 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8292
8293 * doc/conf/meta-data.xml: Configured to include correct id to
8294 clone artifact that produces w-diff.
8295
8296 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8297
8298 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
8299 Revert correct behaviour of Annotations (the small axis tick shall
8300 always be drawn). Minor refactoring.
8301
8302 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8303
8304 * doc/conf/meta-data.xml: Added configuration to include differences
8305 in datacage when longitudinal sections are shown (yet not
8306 functional).
8307
8308 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8309
8310 * doc/conf/meta-data.xml: Cosmetics.
8311
8312 2011-10-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8313
8314 * doc/conf/themes.xml: Added theme for w_differences facets.
8315
8316 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java
8317 (createSecondAxisRange): Survive parameter-nullness for now.
8318 Added documentation.
8319
8320 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8321
8322 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
8323 New. Caching wrapper around an XML document theme. It uses ThemeUtil
8324 to access the values and stores them in instance variable.
8325 Background: ThemeUtil use XPath a lot which is expensive.
8326
8327 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java,
8328 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8329 Use ThemeAccess to style the annotations.
8330
8331 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
8332 Removed some XPath strings. They are in ThemeUtil.
8333
8334 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
8335
8336 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
8337 Added methods to parse further attributes.
8338
8339 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
8340 Apply the theme attributes and use ThemeUtils to get the attribute values.
8341
8342 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
8343 Removed the spamy debug output.
8344
8345 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8346
8347 To obtain the size of a diagram it is rendered twice. The
8348 second time the generated image is omitted so the concrete
8349 rendered image is not needed. To save CPU cycles in this pass
8350 the image is rendered to to /dev/null Graphics2D object.
8351
8352 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
8353 Added boolean system property "info.rendering.nop.graphics" (default: false).
8354 With this property set the info rendering is done via a new
8355 NOPGraphics2D opbject which does not render the image.
8356
8357 * src/main/java/de/intevation/flys/java2d/NOPGraphics2D.java:
8358 New. Implements java.awt.Graphics2D trivial empty methods.
8359 This prevents rendering.
8360
8361 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
8362 Commented out spamy debug output
8363
8364 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
8365
8366 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
8367 Draw the text background and use orientation attribute.
8368
8369 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
8370
8371 * doc/conf/themes.xml:
8372 Renamed 'textbackground' to 'backgroundcolor' to have 'color' in the
8373 attribute name.
8374
8375 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
8376 Process text attributes correctly.
8377
8378 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8379
8380 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
8381 New. Service to lookup the Nth nearest neighbors for a set of given
8382 cross section ids and kms.
8383
8384 * doc/conf/conf.xml: Registered service.
8385
8386 * doc/conf/cache.xml: Cache config.
8387
8388 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
8389 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
8390 Removed superfluous imports.
8391
8392 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
8393
8394 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
8395 Added methods to extract further attributes from theme.
8396
8397 2011-10-20 Ingo Weinzierl <ingo@intevation.de>
8398
8399 * doc/conf/themes.xml: Added main value themes for longitudinal section
8400 charts.
8401
8402 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: New. This
8403 class stores the name of a facet, the related theme and a pattern
8404 string.
8405
8406 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
8407 Read the pattern string and store a list of ThemeMapping objects in the
8408 FLYSContext.
8409
8410 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Modified
8411 getTheme() which now takes the FLYSContext, the name of a facet and an
8412 optional pattern string. Now, we can have specialized Themes for each
8413 chart type. E.g. the facet "longitudinal_section.w" maps the default
8414 Theme for W lines in longitudinal section charts. If the optional
8415 pattern string matches the pattern ".*(HQ1000)(\D.*)*", the ThemeFactory
8416 will return the Theme "LongitudinalSectionW_HQ1000".
8417
8418 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8419 Use the description of a facet as pattern string to get the relevant
8420 Theme from ThemeFactory.
8421
8422 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
8423
8424 * doc/conf/themes.xml:
8425 Added new theme attributes.
8426
8427 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8428
8429 Fix WDifference plots where masterartifact has no range set.
8430
8431 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
8432 (addSubtitles): Overridden, the master artifact has no
8433 range.
8434
8435 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8436
8437 Fix masterartifact in collections in cases where the original
8438 masterartifacts facets do not come first in certain list. Query
8439 'backend'/db instead.
8440
8441 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8442 Set 'real' master artifact, defined to be oldest belonging to this
8443 collection.
8444
8445 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
8446
8447 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
8448 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java,
8449 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
8450 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
8451 Modified the method signature of createStaticData() which now also
8452 requires a FLYSArtifact.
8453
8454 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8455 Override createStaticData() to create titles for Qs manually - we want
8456 to display the named main values if existing for the selected Qs.
8457
8458 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de>
8459
8460 * doc/conf/themes.xml:
8461 ComputedDischargeCurveW and ComputedDischargeCurveQ inherit attributes from
8462 theme 'Text'.
8463
8464 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8465
8466 Fix for flys/issue316
8467
8468 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added
8469 constructor to not sort the data.
8470
8471 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
8472 Use the not sorting constructor of StyledXYSeries.
8473
8474 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
8475
8476 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
8477 moved the code to create WSP W and Q facet names to FLYSUtils.
8478
8479 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New functions for
8480 creating WSP W and Q facet names and for querying a named main value
8481 based on a given gauge and value. The names of W and Q facets will now
8482 depend on the selected Q and Q mode: if the mode is "q at gauge" and a
8483 named value is found for the given value, the facet's name contains the
8484 named value instead of the value itself.
8485
8486 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8487
8488 Fix datacage configuration to let client load ZUS and flood
8489 protections.
8490
8491 * doc/conf/meta-data.xml: Use 'ids' instead of 'id' to help client.
8492
8493 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de>
8494
8495 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
8496 Added methods to parse text attributes from theme document.
8497
8498 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
8499 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
8500 Apply a theme to axis annotations.
8501
8502 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8503
8504 Create (data) Label from data string (client will be adjusted to send
8505 the name).
8506
8507 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
8508 Create label from input data string, documentation added, junk
8509 removed.
8510
8511 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8512
8513 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java(zoom):
8514 Do not crash if no axis is given.
8515
8516 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
8517
8518 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added
8519 getFormat() which extracts the format string from XML request document.
8520
8521 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: Adapted
8522 method signatures of exportImage(), exportSVG() and exportPDF(). All
8523 methods now take a CallContext object which stores extra chart export
8524 parameters.
8525
8526 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8527 Enabled PDF and SVG chart exports based on the "format" string given in
8528 the XML request document.
8529
8530 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8531
8532 Simplify rendereing W(Q)Kms in WDifferencesCurveGenerator.
8533
8534 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
8535 (doWOut, doWOut): Simplified.
8536
8537 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8538
8539 Render zus and flood-protections in WDifferences-diagrams.
8540
8541 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
8542 Added basic respect of "other.wkms"- facets.
8543
8544
8545 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8546
8547 Adjusted Datacage-Configuration to fetch "extra longitudinal...."
8548 (.zus) - waterlevels in certain case (in system-part).
8549
8550 * doc/conf/meta-data.xml: Adjusted to present extra-kms with
8551 staticwkms factory in certain case.
8552
8553 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de>
8554
8555 * doc/conf/themes.xml:
8556 Added new virtual theme for text with the attributes 'font', 'textcolor'
8557 and 'textsize'.
8558
8559 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8560
8561 Give StaticWKmsArtifacts proper names, and pre-deselect them.
8562
8563 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
8564 (getInitialFacetActivity): Overridden to let facets enter plot
8565 inactively.
8566 (setup): Give Facets the name of the Wst.
8567
8568 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
8569 Refactored to expose getWKmsName separately.
8570
8571 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8572
8573 Adjusted Datacage-Configuration to fetch flood-protections when
8574 waterlevels are requested (in system-part).
8575
8576 * doc/conf/meta-data.xml: Adjusted to present flood-protections with
8577 staticwkms factory in certain case.
8578
8579 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8580
8581 Register staticwkms factory.
8582
8583 * doc/conf/conf.xml: Register staticwkms factory to spawn StaticWKms-
8584 Artifacts.
8585
8586 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8587
8588 Fetch name of static WKms.
8589
8590 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
8591 Removed dependence on "kind", but fetch name for created WKms.
8592
8593 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
8594 Remove dependence on Kind.
8595
8596 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8597
8598 Store parameterization in data, not in Artifact.
8599
8600 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
8601 Resolve col_pos and wst_id field, use data instead.
8602
8603 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8604
8605 Add convenience-method to add defaultdata (string).
8606
8607 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
8608 (addStringData): Add Default (String) Data .
8609
8610 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8611
8612 Add a new Artifact and Facet (StaticWKmsArtifact, WKmsFacet) to
8613 access WKms obtainable with the WKmsFactory.
8614
8615 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
8616 New, artifact with single state to get WKms from WKmsFactory.
8617
8618 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
8619 New Facet to display W over km.
8620
8621 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
8622 Added new type name.
8623
8624 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8625
8626 Add WKMsFactory to access 'static' wst-data.
8627
8628 * src/main/java/de/intevation/flys/artifacts/model/StaticWKmsCacheKey.java:
8629 Cache Key for the static WKms data.
8630
8631 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
8632 New, creates WKms from wst-id and column. Does not yet fetch the
8633 name.
8634
8635 * doc/conf/cache.xml: Added cache configuration for static wkms data.
8636
8637 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8638
8639 Cosmetics, docs.
8640
8641 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
8642 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
8643 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
8644 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
8645 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
8646 Cosmetics, docs.
8647
8648 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8649
8650 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
8651 Added constructor that takes name, docs.
8652
8653 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8654
8655 Fix issue that Annotations do not come with theme/style.
8656
8657 * doc/conf/themes.xml: Added "Annotations" default style.
8658
8659 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8660 Set style of annotations, minor cosmetics.
8661
8662 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8663
8664 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8665 Made inner class ThemeList static.
8666 s/new Integer(small)/Integer.valueOf(small)/
8667
8668 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
8669
8670 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8671 The inner class ThemeList makes now use of ManagedDomFacet to read the
8672 attributes of Facets saved in the Collection's attribute.
8673
8674 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8675
8676 flys/issue314: Variables in datacage are now case insensitive.
8677 (H2 returns meta data variables uppercase)
8678
8679 * doc/conf/meta-data.xml:
8680 Made a statement more precise. Added some debug output.
8681
8682 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
8683 Use uppercase variable names.
8684
8685 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java,
8686 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
8687 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java,
8688 src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java:
8689 Variables are now treated as uppercase.
8690
8691 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
8692 Input variables are now treated uppercase.
8693
8694 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
8695
8696 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
8697 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
8698 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java:
8699 Prepared Facets to support a "visible" attribute.
8700
8701 * src/main/java/de/intevation/flys/collections/OutputParser.java: Adapted
8702 the constructor call of ManagedFacetAdapter.
8703
8704 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8705 The inner class ThemeList now supports the "visible" attribute of
8706 ManagedFacets.
8707
8708 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de>
8709
8710 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
8711 Added method to apply line type.
8712
8713 * doc/conf/themes.xml:
8714 Changed initial default value for line type.
8715
8716 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
8717
8718 flys/issue226 (W-INFO: Dauerlinienberechung /Abbbildung x-Achse)
8719
8720 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8721 Set the upper bound of these charts to 364.
8722
8723 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
8724
8725 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
8726 Added a function that returns a Gauge based on its name.
8727
8728 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
8729 Create proper descriptions for facets.
8730
8731 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Added a
8732 setter for labels.
8733
8734 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
8735 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
8736 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
8737 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8738 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
8739 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
8740 Use the string returned by Facet.getDescription() as series names. The
8741 ThemePanel and the Legend will always display the same titles for curves
8742 now.
8743
8744
8745 2011-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8746
8747 Fix flys/issue363 (W-INFO/ Abflusskurve, Extremwert-Rendering).
8748
8749 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
8750 (parseLineWidth): New. Get line width from Document.
8751
8752 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8753 When adding annotations, parse line width from theme, set it.
8754
8755 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
8756 When painting, set Paint and stroke early enough.
8757
8758 2011-10-14 Ingo Weinzierl <ingo@intevation.de>
8759
8760 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Put the
8761 config directory into the Velocity context. It is available as
8762 '$CONFIGDIR' in templates.
8763
8764 * doc/conf/mapserver/mapfile.vm: Set the debug file to
8765 "$CONFIGDIR/flys-user-wms.log" and added a LEGEND section.
8766
8767 * doc/conf/mapserver/wsplgen_class.vm: Adapted the class names. Those
8768 names are displayed in the image served by GetLegendGraphic.
8769
8770 2011-10-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8771
8772 Add possibility of programmatic configuration of initial "activity"
8773 state (active or inactive) of (Managed)Facets by introducing
8774 FLYSArtifact.getInitialFacetActivity. This method shall be overriden
8775 by subclasses where Facets are wanted to come to live inactive.
8776 Artifacts will be asked only once how the MangedFacet should come to live,
8777 namely when AttributeWriter finds a genuinely new Facet.
8778
8779 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
8780 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java
8781 (getInitialFacetActivity):
8782 New function to let Artifact decide whether a ManagedFacet shall
8783 initially be set to active or inactive.
8784
8785 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
8786 Accept database in constructor. For genuinely new Facets, spawn its
8787 mother artifact and ask whether the (Managed)Facet shall be active
8788 or inactive (initially).
8789
8790 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
8791 (buildOutAttributes): Pass database to AttributeWrite (which needs it
8792 to spawn artifacts), rename items parameter to reflect content.
8793
8794 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8795
8796 Cosmetics, removed obsolete imports.
8797
8798 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
8799 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
8800 Removed obsolete imports.
8801
8802 2011-10-12 Ingo Weinzierl <ingo@intevation.de>
8803
8804 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
8805 Added a further attribute "mark.selected" to the barriers feature type.
8806 This attribute is used in the client, where we are not able to remove it
8807 properly. Reading the GeoJSON string without this attribute is no longer
8808 possible... strange!
8809
8810 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8811
8812 Added i18n for label of wdiff "pair select" states data.
8813
8814 * src/main/resources/messages.properties,
8815 src/main/resources/messages_de_DE.properties,
8816 src/main/resources/messages_en.properties,
8817 src/main/resources/messages_de.properties: Added i18n for
8818 state.winfo.waterlevel_pair_select .
8819
8820 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8821
8822 Addressed "Wrong labels" [6] part of flys/issue371 (W-INFO / Differenzen:
8823 Anmerkungen zur Umsetzung) .
8824
8825 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
8826 Adjusted variable names to avoid conflict in subclasses, adjusted
8827 default value for i18n string.
8828
8829 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8830
8831 Cosmetics, docs.
8832
8833 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
8834 Cosmetics: Space after full stop in commments, slightly improved
8835 documentation, added one debug message.
8836
8837 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8838
8839 Fix remainder of flys/issue304 (Erweiterte Funktionen W-Differenzen) .
8840
8841 * doc/conf/artifacts/winfo.xml: Removed obsolete data of
8842 WDifferencesState.
8843
8844 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
8845 Re-enable facet-filtering, but adjust filters before that happens
8846 (former longitudinal_section output is now w_differences output).
8847
8848 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8849
8850 Added wdiff-chart translations.
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: Added i18n for wdiff.
8856
8857 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8858
8859 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8860 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
8861 Expose translateable Strings as constants.
8862
8863 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8864
8865 Fix most labels in w-differences charts.
8866
8867 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8868 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
8869 Remove most static final i18n-variables in favor of direct String
8870 usage or usage of methods. By this, allow easier adoption of labels
8871 in subclasses.
8872
8873 2011-10-11 Ingo Weinzierl <ingo@intevation.de>
8874
8875 flys/issue383 (Zweite Y-Achse wird beim Zoomen/Verschieben nicht angepasst.)
8876
8877 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8878 Call adjustAxes() before applying zoom settings with autoZoom(). We need
8879 to add new y-axes first before we adjust their ranges.
8880
8881 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8882
8883 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8884 s/new Integer(small)/Integer.valueOf(small)/
8885
8886 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8887
8888 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
8889 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8890 Do not fire change events for each and every data point added.
8891
8892 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8893
8894 Fix WDifferences with more than one Pair (crashed due to incorrect index for
8895 facets.)
8896
8897 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
8898 Fix wrong index for difference facets (allows for more than one
8899 difference facet per artifact without crashes).
8900
8901 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8902
8903 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
8904 Use slightly modified doWOut-implementation from
8905 LongitudinalSectionGenerator (here need to add Ws to different axis).
8906
8907 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8908
8909 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
8910 Fix import/reference.
8911
8912 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8913
8914 Let WaterlevelPairSelectState include diffids-data (if any) to enable
8915 future work on repopulation of Grid in GUI when jumping back
8916 (reparameterization).
8917
8918 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
8919 (createItems): Override to include old data.
8920
8921 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
8922
8923 flys/issue150 (Diagramm: Anzeige von W bergauf)
8924 flys/issue345 (W-INFO / Wasserspiegellagenberechnung, Diagrammausgabe)
8925
8926 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8927 Corrected the determination to invert the x axis, so that waterlines
8928 will start with their highest value at the left and end with their
8929 lowest values at the right.
8930
8931 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8932
8933 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
8934 Cosmetics, added an (@Override) annotation.
8935
8936 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java,
8937 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
8938 Cosmetics, added documentation.
8939
8940 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8941 Cosmetics, whitespace after full stops in comments, added
8942 (@Override) annotation.
8943
8944 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
8945
8946 flys/issue220 (Diagramm: Achsenbeschriftungen an verschiedenen Achsen müssen gleich aussehen)
8947
8948 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
8949 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8950 Adjusted the label font of the 2nd y-axis - now, both axes labels look
8951 equal.
8952
8953 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
8954
8955 flys/issue189 (WINFO/Dauerlinie: Sortierung der Berechnungsausgabe nach Dauerzahlen aufsteigend)
8956
8957 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: Added a
8958 method that determines if the items (days) in this object are increasing
8959 or not.
8960
8961 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
8962 Changed the order of the CSV export - the highest day is at the top of
8963 the export; the lowest day is at the bottom.
8964
8965 2011-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8966
8967 Worked on flys/issue150 (Diagramm: Anzeige von W bergauf).
8968 Still does not work in all cases.
8969
8970 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java (generateChart()):
8971 Reordered calls to ensure that the inversion of the x axis is
8972 not eliminated by other chart generation steps as a side effect.
8973
8974 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8975 Assuming that JFreeChart is inverting axis automatically if the
8976 KMs are reversed ordered only do invert only in some situations.
8977
8978 Do not invert axis for Q (@Ingo: This is wrong! We must do this
8979 if we are only displaying the Qs and the Ws are deactived).
8980
8981 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
8982
8983 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8984 Take care on empty ranges while preparing ranges for single points.
8985
8986 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
8987
8988 flys/issue114 (W-INFO: Wasserspiegellagenberechnung / Ort (Spezialfall: Generierung eines Diagramms bei punkthafter Berechnung))
8989
8990 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Expand
8991 ranges for x and y axes if there is just a single point in a series -
8992 JFreeChart requires a range where lower <> upper.
8993
8994 2011-10-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8995
8996 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
8997 src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java,
8998 src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
8999 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9000 Add whitespace after full stop in comments, minor doc improvements.
9001
9002 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
9003
9004 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
9005
9006 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9007 Adapted the process of collecting outs for Artifacts/Facets. We will now
9008 call OutGenerator.doOut() for each Artifact and Facet - never mind if
9009 the facet is activated (visible) or not. The OutGenerator should decide
9010 on its own whtat to do with facets which are "marked" as _not_ visible.
9011
9012 * src/main/java/de/intevation/flys/exports/OutGenerator.java,
9013 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
9014 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9015 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
9016 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
9017 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9018 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9019 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
9020 src/main/java/de/intevation/flys/exports/ATExporter.java,
9021 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
9022 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
9023 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
9024 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
9025 Adapted the signature of OutGenerator.doOut(). There will be a new
9026 boolean parameter "visible" that determines if the facet specified in
9027 this method is visible for this output or not.
9028
9029 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Now,
9030 that we walk over every Artifact/Facet, we are able to collect min/max
9031 data for all axes. We store these information and use them to set the
9032 ranges of x and y axes. The result of this: a chart can have proper axes
9033 set without any data in it.
9034
9035 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Use
9036 min/max ranges stored while calling doOut() for each Artifact/Facet
9037 instead of fetching those information from chart's Datasets (which could
9038 be null).
9039
9040 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
9041
9042 * src/main/java/de/intevation/flys/utils/Formatter.java: Changed the max
9043 number of digits for AT exports from 0 to 2.
9044
9045 2011-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9046
9047 * src/main/java/de/intevation/flys/exports/ATWriter.java: Get rid
9048 of buggy first line code.
9049
9050 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9051
9052 fixed flys/issue201
9053
9054 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9055 Replace >= with > in km index lookup because last km was not found.
9056
9057 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9058
9059 fixed flys/issue177
9060
9061 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
9062 Revert rev2245. Code works fine now! :-)
9063
9064 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
9065
9066 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Stores a
9067 list of XYTextAnnotations instead of FLYS specific Annotations. This
9068 makes this class suitable for other annotation types as well.
9069
9070 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
9071 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
9072 Both facets' getData() will now return an instance of FLYSAnnotation.
9073
9074 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
9075 Create XYTextAnnotations used to instantiate an object of
9076 FLYSAnnotation.
9077
9078 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9079 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9080 Removed the code to add annotations to the plot. This task is general
9081 enough to move this code to parent class.
9082
9083 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9084 Instances of this class are now able to store - besides first and second
9085 axes datasets - a list of annotations. This annotations are added to the
9086 plot after the datasets have been added. To support LegendItems for
9087 those annotions, it was necessary to create a the LegendItemCollection
9088 by ourself. This work is done while applying the themes for each series
9089 in the chart.
9090
9091 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9092
9093 Removed code duplication of guessWaterIncreasing()
9094
9095 * src/main/java/de/intevation/flys/artifacts/model/WKms.java(allKms, allWs):
9096 Added methods to fetch all kms and all ws.
9097
9098 * src/main/java/de/intevation/flys/utils/DataUtil.java: Generalized to
9099 get WKms as arguments.
9100
9101 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
9102 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
9103 src/main/java/de/intevation/flys/artifacts/model/WQ.java: Implements
9104 the extended WKms interface.
9105
9106 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9107 Uses the generalized DataUtil.guessWaterIncreasing().
9108
9109 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
9110
9111 flys/issue347 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm)
9112 flys/issue303 (Keine Streckenfavoriten, wenn nur Q im Längsschnittdiagram ausgewählt)
9113 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
9114
9115 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: New. A
9116 wrapper for Annotations which allows us to provide a description for a
9117 set of annotations.
9118
9119 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
9120 The getData() will now return an instance of FLYSAnnotation that wraps
9121 the Annotations returned by the AnnotationArtifact. The lebel of
9122 FLYSAnnotation is the description of this Facet.
9123
9124 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9125 Modified the way to add Annotations. We will no longer create an empty
9126 series to support a LegendItem for a set of Annotations, but we will add
9127 a LegendItem manually to the LegendItemCollection of the plot. In
9128 addition, we are now able to display annotations if one of the two
9129 y-axes are missing. If there are no y-axes existing, we are not able to
9130 display annotations yet.
9131
9132 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9133
9134 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
9135 Lifted the wrong point. Now all backjump corrections look fine. :-)
9136
9137 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
9138
9139 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
9140 Fixed bugs and make use of a cache for annotations now.
9141
9142 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9143
9144 Worked on flys/issue31
9145
9146 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
9147 Simplified the code a lot. Needs testing. Maybe flys/issue31 is gone
9148
9149 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
9150
9151 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9152 Fetch the WstUnit value from river - the Wst itself no longer supports a
9153 Unit iself.
9154
9155 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9156
9157 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java,
9158 src/main/java/de/intevation/flys/utils/DoubleUtil.java: Moved some generic
9159 double array code to DoubleUtil.
9160
9161 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9162
9163 * src/main/java/de/intevation/flys/utils/DoubleUtil.java (interpolateSorted):
9164 Added code to linear interpolate double values in a sorted array.
9165 Keys and values are given as double arrays. Keys need to be sorted.
9166
9167 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9168
9169 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
9170 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
9171 Removed superfluous imports.
9172
9173 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
9174
9175 flys/issue330 (Dauerlinie kann nicht berechnet werden)
9176
9177 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
9178 Add a problem if no data was found for duration curves.
9179
9180 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
9181
9182 * src/main/java/de/intevation/flys/themes/Theme.java,
9183 src/main/java/de/intevation/flys/themes/DefaultTheme.java: Added
9184 getter/setter methods to provide a facet (string) and index (int). Both
9185 values are written as attribute to the Theme's XML representation.
9186
9187 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9188 Set the "facet" and "index" values of themes.
9189
9190 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
9191
9192 flys/issue346 (W-INFO / Anzeige der Höheninformation)
9193
9194 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9195 Modified x and y axis title. The x axis title is now "RIVERNAME-km"; the
9196 y axis title is now "W[WST_UNIT]" where WST_UNIT depends on the unit of
9197 the WST.
9198
9199 * src/main/resources/messages.properties,
9200 src/main/resources/messages_de_DE.properties,
9201 src/main/resources/messages_en.properties,
9202 src/main/resources/messages_de.properties: Modified i18n expressions for
9203 x and y axis of longitudinal section charts.
9204
9205 2011-09-30 Ingo Weinzierl <ingo@intevation.de>
9206
9207 flys/issue351 (W-INFO / Wasserspiegellagenberechnungen)
9208
9209 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: Modified the
9210 explode() function that returns a list of values specified by min, max
9211 and an interval. If the last value, determined by the interval, is
9212 bigger than the max value, it is not included in the result list.
9213
9214 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9215
9216 flys/issue334 (Querprofil-Diagramm: Ausgabe dieses Diagrammtyps
9217 möglich, obwohl WSP Berechnung keine Ergebnisse liefert)
9218
9219 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
9220 (compute): Add Facets regarding CrossSections only if data available.
9221
9222 2011-09-29 Ingo Weinzierl <ingo@intevation.de>
9223
9224 flys/issue176 (Diagramm: Benennung eines Abflusses bei gewählter Höhe am Pegel)
9225 flys/issue349 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm)
9226
9227 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
9228 Create titles for W and Q waterlevel facets with proper fractions.
9229
9230 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9231
9232 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
9233 (createStaticData, getLabels): Create proper labels for differences.
9234
9235 2011-09-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9236
9237 flys/issue244 (WINFO: Export von AT-Dateien im ersten Teil unterschiedlich)
9238 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5)
9239
9240 * src/main/java/de/intevation/flys/exports/ATWriter.java: Due to a rounding
9241 issue the w's of the first line underun the minimal w of the curve at times.
9242 An extra test was introduced to suppress the output of the q's of the wrong w's.
9243
9244 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9245
9246 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
9247 Use StringUtil.wWrap , fix wrong loop, minor refac and cosmetics.
9248
9249 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9250
9251 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
9252 Extracted/use StringUtil.wWrap .
9253
9254 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
9255
9256 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
9257 Log the gauge which has been determined.
9258
9259 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
9260
9261 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5)
9262
9263 * src/main/java/de/intevation/flys/exports/ATExporter.java: Store the
9264 master Artifact which is set via setMasterArtifact(). This is required
9265 for meta information used while preparing the header row of AT exports.
9266
9267 * src/main/java/de/intevation/flys/exports/ATWriter.java: Print a header
9268 row into the AT export for being compatible with desktop FLYS.
9269
9270 * src/main/resources/messages.properties,
9271 src/main/resources/messages_de_DE.properties,
9272 src/main/resources/messages_en.properties,
9273 src/main/resources/messages_de.properties: Added header row for AT
9274 export files.
9275
9276 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
9277
9278 flys/issue328 (W-INFO / ÜSK: Auswahl der Wasserspiegellage / Auswahlunterstützung)
9279
9280 * doc/conf/meta-data.xml: Added an out 'waterlevels' that might be used to
9281 fetch user specific waterlevels (same as longitudinal sections, but
9282 without Q facet).
9283 In addition, the system specific datacage stuff is now fetched, when:
9284 a) no user-id is given
9285 b) a user-id is given and there is a parameter 'load-system'
9286
9287 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
9288 If the label of the WQKms object specified by the waterlevel selection
9289 begins with a "Q", the label is wrapped into a "W()", e.g. "W(Q=1200)".
9290
9291 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
9292
9293 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Made
9294 feed() able to remove existing data items from Artifact's data pool.
9295 Therefore, the value for the item which should be removed needs to an
9296 empty string.
9297
9298 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9299
9300 Extracted StringUtil.unbracket from WaterlevelSelectState.strip.
9301
9302 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
9303 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
9304 Extract and use StringUtil.unbracket, minor doc.
9305
9306 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
9307
9308 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
9309 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
9310 Changed access of getCurrentState() from protected to public.
9311
9312 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: We
9313 use the configured Outputs instead of the actuel Outputs of an Artifact
9314 to make recommendations, now. This has the bad side effect of giving
9315 recommendations for Outputs that we might _NOT_ be able to produce. But
9316 otherwise, we would not be able to give recommendations for states with
9317 long calculation times that start background threads for calculation (as
9318 WSPLGEN caluclations does).
9319
9320 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9321
9322 Enable "auto-scaling" axis for waterlevels in WDifference-plots.
9323
9324 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9325 (createSecondaryAxis, zoomY): Refactored to allow modification in
9326 siblings.
9327
9328 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9329 (createSecondaryAxisRange): Override to achieve expected behavior.
9330 Also adjusted label.
9331
9332 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9333
9334 In W-Difference Calculation, respect indices of selected facets.
9335
9336 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
9337 (computeAdvance): Respect index of selected facets.
9338
9339 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9340
9341 flys/issue317: (Querprofil-Diagramm: Referenzen auf CrossSectionApp entfernen)
9342
9343 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9344 Removed dependency to demo app.
9345
9346 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
9347 Refactored to use logic from the models.
9348
9349 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
9350 Moved some logic from the demo app to this model.
9351
9352 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
9353
9354 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: New. Code
9355 from FloodMapState moved to its own class with the intent, to use it in
9356 classes different from FloodMapState.
9357
9358 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9359 Removed the inner class FacetCreator.
9360
9361 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
9362 an instance of FacetCreator.
9363 NOTE: Maybe we should move the WSPLGEN parameters into an own class
9364 which might be serializable.
9365
9366 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use the
9367 FacetCreator instance stored in the WSPLGENJob to create a new WSPLGEN
9368 facet if the calculation was successfully (without errors). Finally, the
9369 facets of FacetCreator are added to the Facet list of the FLYSArtifacts.
9370
9371 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
9372
9373 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9374 Put Artifact in background mode first before starting WSPLGEN, otherwise
9375 a very fast errors (call CallContext.afterBackground() before Artifact is
9376 in Background mode) might lead to an inconsistent state.
9377
9378 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Repaired
9379 broken error num parsing.
9380
9381 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
9382
9383 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Track
9384 critical errors as well (improved regular expression for errors).
9385
9386 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9387
9388 * ChangeLog: Fixed whitespace usage.
9389
9390 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9391
9392 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java,
9393 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java
9394 src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
9395 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9396 Removed superfluous imports.
9397
9398 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
9399
9400 flys/issue68 (Diagramm: Werte an der Y-Achse benötigen i18n)
9401
9402 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
9403 method to retrieve the current/preferred locale specified by CallMeta.
9404
9405 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9406 Introduced two methods localizeDomainAxis() and localizeRangeAxis().
9407 Both methods of this class override the NumberFormat used to format axes
9408 numbers. Those methods are called by localizeAxes() - which has private
9409 access - for each domain and range axis of the current XYPlot.
9410
9411 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9412
9413 * doc/conf/cache.xml: Number of cached annotations was much
9414 to low.
9415
9416 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9417
9418 Improved w-differences diagram generation where multiple differences
9419 can be shown.
9420
9421 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
9422 New facet type.
9423
9424 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
9425 Employ new DifferenceCurveFacet, return CalculationResult that can
9426 store more than one WKms.
9427
9428 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
9429
9430 flys/issue320 (ÃœSK:Mapserver hat Probleme beim Shapefilepath mit "../" im Pfad)
9431
9432 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Use
9433 File.getCanonicalPath() to substitute "../" in shapefile directories.
9434
9435 2011-09-26 Ingo Weinzierl <ingo@intevation.de>
9436
9437 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9438 The extent of the WSPLGEN result layer is now specified by the extent of
9439 the CrossSectionTracks that matches the start and end kilometer of the
9440 WSPLGEN calculation.
9441
9442 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New function
9443 that creates the OpenLayers bounding box based on two Geometries.
9444
9445 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9446
9447 Improved w-differences diagram generation with included "absolute"
9448 values.
9449
9450 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9451 Fixed one (of two) incorrect labels.
9452 (doWaterlevelOut): Survive non-found gauge, fetch kilometer and w
9453 instead of values for w and q.
9454
9455 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9456
9457 Add positional-conflict-awareness when merging Facets for a
9458 FLYSArtifactCollection. First come first serve.
9459
9460 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
9461 (writeFacets): First, sort incoming facets into 2 groups:
9462 "genuinely new" and "already there", then for each new check
9463 whether the position is already taken. If so, push "up" (position++)
9464 until no conflict exists anymore.
9465
9466 2011-09-26 Ingo Weinzierl <ingo@intevation.de>
9467
9468 flys/issue296 (Karte: Bezeichnungen verbessern)
9469
9470 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9471 I18N of the WSPLGEN and barriers facets (WMS layers).
9472
9473 * src/main/resources/messages.properties,
9474 src/main/resources/messages_de_DE.properties,
9475 src/main/resources/messages_en.properties,
9476 src/main/resources/messages_de.properties: Added strings for the wsplgen
9477 and barriers WMS layers.
9478
9479 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9480
9481 Fix (revert) access to position in ManagedDomFacet.
9482
9483 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
9484 (getPosition): Do not add prefix when querying position ("pos")
9485 attribute, add a logger for faster future debugging.
9486
9487 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9488
9489 Squash positional conflict-bug.
9490
9491 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
9492 (mergeFacets): Removed, replaced in parts by pickFacet.
9493 (pickFacet): New, return facet to be added to document.
9494 Documentation added.
9495
9496 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9497
9498 Squash a bug about wrongly named "art:pos" attribute in ManagedDomFacet (was
9499 "pos"). Added documentation from commit message.
9500
9501 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
9502 Added documentation (commit message with minor adjustments).
9503 (getPosition, setPosition): Include PREFIX in attribute name.
9504
9505 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9506
9507 Refactoring, doc.
9508
9509 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
9510 (mergeFacets): Removed, replaced in parts by pickFacet.
9511 (pickFacet): New, return facet to be added to document.
9512 Documentation added.
9513
9514 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9515
9516 Cosmetics, docs.
9517
9518 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
9519 Documentation added.
9520
9521 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
9522
9523 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
9524 Subclasses the FLYSService now - this should improve the database
9525 connection handling.
9526
9527 2011-09-22 Bjoern Schilberg <bjoern.schilberg@intevation.de>
9528
9529 * doc/mapserver/mosel-mapfile.map:
9530 Full blown mosel wms mapfile.
9531
9532 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
9533
9534 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
9535 New. A subclass of DefaultService which is used in FLYS to init and
9536 shutdown database connections.
9537
9538 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
9539 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
9540 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
9541 Centralized the initialization and shutdown of database connections.
9542 These services now subclass FLYSService which handles the database stuff.
9543
9544 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: The
9545 current database connection is not closed here - this is done in a
9546 Service or in the CallContext.
9547
9548 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: It's
9549 not necessary to create new database connections here. We already have
9550 an existing connection which is initialized by CallContext.
9551
9552 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
9553
9554 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
9555 Override validate() of parent classes to suppress "step" validation
9556 which is not present in this state.
9557
9558 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: Added
9559 new method validateBounds() which really just validates a boundary
9560 without "step" parameter.
9561
9562 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9563
9564 Added WaterlevelArtifact to accompany WINFOArtifacts in WDifferencesPlots.
9565
9566 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
9567 New WaterlevelArtifact.
9568
9569 * doc/conf/conf.xml:
9570 Added configuration for WaterlevelArtifact configuration (path to state-xml)
9571 waterlevel-factory.
9572
9573 * doc/conf/artifacts/waterlevel.xml:
9574 New, trivial state description for Waterlevelartifact.
9575
9576 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
9577 New, only state for WaterlevelArtifact.
9578
9579 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9580
9581 Cosmetics, docs.
9582
9583 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
9584 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
9585 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9586 Cosmetics, documentation.
9587
9588 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9589
9590 Added WaterlevelOut-processing ability to WDifferencesCurveGenerator.
9591
9592 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9593 Process LONGITUDINAL_W facets.
9594
9595 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9596
9597 Improved WDifferenceState in preparation to be able to deal with multiple
9598 pairs for differences.
9599
9600 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
9601 Prepare multiple-pairs-case.
9602
9603 2011-09-21 Ingo Weinzierl <ingo@intevation.de>
9604
9605 flys/issue315 (Überschwemmungsfläche: String bei Streckenauswahl)
9606
9607 * doc/conf/artifacts/winfo.xml: Added a new state for floodmap's range
9608 input. This state will accept a km range only, there is no step width.
9609
9610 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
9611 New. The state which is used to enter a km range with step width.
9612
9613 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9614
9615 Cosmetics, improved debug output, doc.
9616
9617 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
9618 Improved debug output.
9619
9620 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
9621 Added documentation.
9622
9623 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java,
9624 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
9625 Removed commented code.
9626
9627 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
9628 Whitespace cosmetics.
9629
9630 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9631
9632 Avoid NullPointerException when drawing XYChart without data.
9633
9634 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9635 Guard calls to dataset to avoid NullPointerException.
9636
9637 2011-09-21 Ingo Weinzierl <ingo@intevation.de>
9638
9639 flys/issue325 (FLYS Client: Auswahl des DGM zeigt numerischen Wert an)
9640
9641 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Write
9642 a better label for the selected DEM into the static DESCRIBE. Use the
9643 name of the DEM file as label instead of the database id.
9644
9645 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de>
9646
9647 * doc/mapserver/fontset.txt:
9648 Added initial font set for km_annotation layer.
9649 * doc/mapserver/symbols/symbols.sym:
9650 Added square symbol for km and fixpoint layer.
9651 * doc/mapserver/saar-mapfile.map:
9652 Adjust styling in the flys karte-archiv way.
9653
9654 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
9655
9656 Tagged RELEASE 2.5
9657
9658 * Changes: Prepared changes for release.
9659
9660 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
9661
9662 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
9663 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java,
9664 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java,
9665 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
9666 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
9667 needless imports.
9668
9669 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
9670
9671 * doc/conf/meta-data.xml: Improved datacage configuration for DEMs.
9672
9673 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9674 Query DGMs by the given ID in the FLYS data pool - not by given range
9675 values.
9676
9677 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
9678
9679 * doc/conf/meta-data.xml: Added a section for DEMs to the floodmap
9680 section.
9681
9682 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9683
9684 Fix build.
9685
9686 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java:
9687 Fix build.
9688
9689 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9690
9691 Take a given WaterlevelPair-String, load artifact and plot the diff.
9692
9693 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java:
9694 Load correct artifacts.
9695
9696 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de>
9697
9698 * doc/mapserver/*: Added inital mapserver configuration files.
9699
9700 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
9701
9702 * doc/conf/meta-data.xml: Moved the system specific configuration into a
9703 macro to the top of the configuration document. Call this macro at the
9704 end of the user specific part and in the part that should contain the
9705 system specific stuff only!
9706
9707 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
9708
9709 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
9710 Defined createItem() here and adapted some method signatures, because I
9711 need the CallContext deeper in code than expected.
9712
9713 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
9714 Write the name of the selected waterlevel into the static DESCRIBE.
9715
9716 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
9717 Adapted method signatures that have been changed in DefaultState.
9718
9719 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
9720 Removed method createItem() which is now defined in the upper class
9721 DefaultState.
9722
9723 * src/main/resources/messages.properties,
9724 src/main/resources/messages_de_DE.properties,
9725 src/main/resources/messages_en.properties,
9726 src/main/resources/messages_de.properties: Added string for selected
9727 waterlevel that is displayed in static UI.
9728
9729 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
9730
9731 * src/main/resources/messages.properties,
9732 src/main/resources/messages_de_DE.properties,
9733 src/main/resources/messages_en.properties,
9734 src/main/resources/messages_de.properties: Added state label for
9735 waterlevel selection.
9736
9737 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
9738
9739 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
9740 Validate incoming data string and strip brackets.
9741
9742 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9743 Fetch waterlevel data from external Artifact if existing. If no external
9744 Artifact is specified that provides waterlevel data, we gonna try to
9745 fetch it from the current Artifact.
9746
9747 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
9748
9749 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
9750 Removed needless import which caused compile errors.
9751
9752 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
9753
9754 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
9755 Added a transform() method. This method should be used to transform
9756 input data in form of a string into a better data structure. This state
9757 provides a simple implementation which just returns a StateData object
9758 that contains exactly the input string.
9759
9760 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Transform
9761 input strings using DefaultState.transform() before they are added to
9762 its data pool.
9763
9764 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
9765
9766 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9767 Made collection solid for the case if it has no Artifacts.
9768
9769 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
9770
9771 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Fetch Artifact
9772 from ArtifactDatabase properly. Write better error logs if that process
9773 fails.
9774
9775 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9776
9777 Extend WDifferences branch to have calculations in dedicated, new state.
9778
9779 * doc/conf/artifacts/winfo.xml: Added new State and Transition in
9780 WDifferences-branch.
9781
9782 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
9783 New state.
9784
9785 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
9786 Specify to not take input, prepare getting other facets.
9787
9788 2011-09-14 Ingo Weinzierl <ingo@intevation.de>
9789
9790 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: This
9791 state now desires the UIProvider 'dem_datacage_panel'.
9792
9793 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
9794 New. This state is used to define the desired UIProvider
9795 'wsp_datacage_panel'.
9796
9797 * doc/conf/artifacts/winfo.xml: Added a new way to start a WSPLGEN
9798 calculation when choosing the calculation type 'floodmap'.
9799
9800 2011-09-14 Ingo Weinzierl <ingo@intevation.de>
9801
9802 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Merge
9803 facets only if their name AND their owner artifact are equal.
9804
9805 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9806
9807 Partial Fix flys/issue304 (3) (Baseline).
9808
9809 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9810 Show Baseline in WDifferencesPlot.
9811
9812 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9813
9814 Fix flys/issue310 (cross-section theme).
9815
9816 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue.
9817
9818 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9819
9820 Fix flys/issue310 (cross-section theme).
9821
9822 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue.
9823
9824 2011-09-13 Ingo Weinzierl <ingo@intevation.de>
9825
9826 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9827 Add an quick and simple error to the report if an error occured while
9828 WSPLGENJob creation.
9829
9830 * src/main/resources/messages.properties,
9831 src/main/resources/messages_de_DE.properties,
9832 src/main/resources/messages_en.properties,
9833 src/main/resources/messages_de.properties: Added error messages for
9834 WSPLGEN job creation errors.
9835
9836 2011-09-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9837
9838 Fix crash when drawing StickyAxisAnnotation when no range was given.
9839 User-directed issues remain ( flys/issue303 ).
9840
9841 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java
9842 (draw):
9843 Guard access to domainAxis, rangeAxis and the corresponding ranges.
9844 Warn and exit if any was null.
9845
9846 2011-09-13 Ingo Weinzierl <ingo@intevation.de>
9847
9848 flys/issue290 (Karte: Eingabe von Differenzen zw. WSP und Gelände findet
9849 keine Ausprägung in der Karte)
9850
9851 * doc/conf/mapserver/wsplgen_class.vm: Added styles for DIFF attribute.
9852
9853 * doc/conf/mapserver/mapfile.vm: Set debug default to '5'.
9854
9855 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
9856
9857 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9858 Add a first WSPLGEN status message (notifies the user about a
9859 queued job) after the job has been added to the Scheduler.
9860
9861 * src/main/resources/messages.properties,
9862 src/main/resources/messages_de_DE.properties,
9863 src/main/resources/messages_en.properties,
9864 src/main/resources/messages_de.properties: Added english and german
9865 status message text.
9866
9867 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
9868
9869 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Write
9870 shapefiles only if there are features for it existing.
9871
9872 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9873 A WSPLGEN facet is only created, if the calculation was successfully
9874 added to the Scheduler. A barrier facet is only created if the WSPLGEN
9875 calculation has been added to the scheduler AND if there are digitized
9876 geometries existing.
9877
9878 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9879
9880 Copied and slightly modified implementation of guessWaterIncreasing from
9881 WQKms to (new) DataUtils. Accidentally commited usage in last commit, to
9882 correct orientation of diagram (invert x axis).
9883
9884 * src/main/java/de/intevation/flys/utils/DataUtils.java:
9885 New file with guessWaterIncreasing implementation from WQKms,
9886 slightly adjusted.
9887
9888 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9889
9890 Cosmetics.
9891
9892 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
9893 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
9894 Cosmetics.
9895
9896 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9897
9898 Added CSV Export for W-Differences.
9899
9900 * doc/conf/conf.xml: Added Exporter.
9901
9902 * doc/conf/artifacts/winfo.xml: Removed transition over distances
9903 state, added export outputmode and facet.
9904
9905 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
9906 New, CSV-Exporter for WDifferences.
9907
9908 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
9909 Add export facet.
9910
9911 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9912
9913 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
9914 Cosmetics, docs.
9915
9916 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
9917 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
9918 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
9919 Cosmetics.
9920
9921 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
9922
9923 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
9924 Sourced the code to append a concrete data item to the static DESCRIBE
9925 part out to an own method (appendStaticData()).
9926
9927 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
9928 Override appendStaticData() to suppress the GeoJSON string to be
9929 included in the static DESCRIBE.
9930
9931 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
9932
9933 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
9934 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
9935 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
9936 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
9937 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
9938 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
9939 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
9940 Removed needless imports.
9941
9942 2011-09-09 Ingo Weinzierl <ingo@intevation.de>
9943
9944 * src/main/java/de/intevation/flys/artifacts/model/CalculationMessage.java:
9945 New. A subclass of Message (in the Artifacts system). It stores a
9946 string message and a progress (in form of step x/y).
9947
9948 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: The observer
9949 now writes background messages into the artifact system using the
9950 CallContext.addBackgroundMessage(). We use instances of
9951 CalculationMessage here, that makes the WINFOArtifact able to put
9952 progress information into the Artifact's DESCRIBE as well.
9953
9954 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Write
9955 status message and progress information into the DESCRIBE if the
9956 Artifact has started a background process.
9957
9958 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9959
9960 Fix flys/issue280 .
9961
9962 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
9963 Do not draw boxes around annotations.
9964
9965 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9966
9967 Fix flys/issue279 .
9968
9969 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9970 Fix behaviour in various thinkable malconditions.
9971
9972 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9973
9974 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9975 Made one case of cross section fetching more robust.
9976
9977 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9978
9979 Fix Facet name and Legend of W-Differences, also insert state to specify
9980 distance.
9981
9982 * doc/conf/artifacts/winfo.xml: Add additional transitions to walk over
9983 distances state.
9984
9985 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
9986 Set facets description.
9987
9988 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9989 Take facets description as legend.
9990
9991 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9992
9993 Added configuration to kick-in w-differences branch of winfo.
9994
9995 * doc/conf/conf.xml: Register new (w-differences) OutputGenerators.
9996
9997 * doc/conf/artifacts/winfo.xml: Register new state and transitions.
9998
9999 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
10000 Added new (w-differences) calculation mode.
10001
10002 * src/main/java/de/intevation/flys/exports/WDifferencesCurveInfoGenerator.java:
10003 New file, implementing naive approach to display w-differences
10004 (accidentially omitted in last commit).
10005
10006 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10007
10008 Added very stubby WDifferences State/OutGenerator for WINFOArtifact.
10009
10010 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10011 Added w_differences facet type.
10012
10013 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
10014 New file, implements naive approach to calculate w-differences (of
10015 calculations identified by hardcoded uuids!) and register respective facet.
10016
10017 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
10018 New file, implementing naive approach to display w-differences.
10019
10020 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10021
10022 Implement getArtifact(uuid,context) in FLYSUtils.
10023
10024 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getArtifact):
10025 Added implementation, partially resolving a TODO. Added logger instance.
10026
10027 2011-09-08 Ingo Weinzierl <ingo@intevation.de>
10028
10029 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java:
10030 New. This sublcass of Calculation saves warnings and errors that occur
10031 while WSPLGEN is running.
10032 Note, that the interface of this class doesn't exactly apply the interface
10033 of Calculation. Maybe, we should generalize this interface!
10034
10035 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
10036 an instance of WSPLGENCalculation now. We use this instance to save
10037 warnings and errors.
10038
10039 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Use the
10040 WSPLGENCalculation to save errors and warnings.
10041
10042 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java:
10043 New. This facet is used for WSPLGEN reports. It stores an instance of
10044 WSPLGENCalculation which saves ERRORS and WARNINGS that occur while
10045 WSPLGEN execution.
10046
10047 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10048 Create a WSPLGENReportFacet for WSPLGEN reports.
10049
10050 * doc/conf/conf.xml: Added an OutputGenerator 'report' for WSPLGEN
10051 reports.
10052
10053 * doc/conf/artifacts/winfo.xml: Added an output 'report' for WSPLGEN
10054 reports.
10055
10056 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10057
10058 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
10059 src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java,
10060 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
10061 Cosmetics, docs.
10062
10063 2011-09-08 Ingo Weinzierl <ingo@intevation.de>
10064
10065 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: Small
10066 adjustments that makes it easier to subclass this observer.
10067
10068 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: New. A
10069 sublcass of JobObserver which analyses the WSPLGEN output for errors and
10070 warnings.
10071
10072 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use
10073 JobObserver and ProblemObserver to track the whole WSPLGEN output and
10074 print number of errors/warnings to log output.
10075
10076 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10077
10078 Added translation of w_differences.
10079
10080 * src/main/resources/messages_de_DE.properties,
10081 src/main/resources/messages_de.properties,
10082 src/main/resources/messages_en.properties,
10083 src/main/resources/messages.properties:
10084 Added "w_differnces" translation.
10085
10086 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
10087
10088 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
10089 a new attribute 'background-processing' to the DESCRIBE of this
10090 Artifact. Its value is 'true' if this Artifact has started a background
10091 thread which has not finished yet - otherwise it is 'false.
10092
10093 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
10094
10095 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
10096 src/main/java/de/intevation/flys/utils/GeometryUtils.java: Moved the
10097 code to determine the extent of a river based on its axis to
10098 GeometryUtils.
10099
10100 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10101 Determine the extent of the selected river and set the WMSLayerFacet's
10102 extent attribute.
10103
10104 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10105
10106 Added Themeing support for CrossSection Diagrams.
10107
10108 * doc/conf/themes.xml:
10109 Added new themes and mappings, slightly modified longitudinalsection
10110 theme.
10111
10112 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10113
10114 In CrossSection Diagram fix subtitle to display the km of which the data is
10115 actually displayed (maybe contrasting users wish).
10116
10117 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10118 (getCrossSectionSnapKm): New method to fetch the actual km of crosssection.
10119
10120 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10121 Add correct km to charts subtitle.
10122
10123 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10124
10125 Fix various display-issues like i18n in cross-section diagram.
10126
10127 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10128 Set description of facets to expected values.
10129
10130 * src/main/java/de/intevation/flys/artifacts/exports/CrossSectionGenerator.java:
10131 Fix i18n of chart title. Set subtitle to expected value, pass facets
10132 description to StyledSeries to see expected legend.
10133
10134 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10135
10136 Cosmetics, resolved refactoring todo.
10137
10138 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java
10139 (compute, computeAdvance, computeFeed): Refactored, extracted method,
10140 resolving duplicate code and TODO.
10141
10142 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10143
10144 Fix waterline "calculation" at given km. Chosen approach is
10145 "head-through-wall".
10146
10147 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10148 Some refactoring to do the same calculation twice easier and be able
10149 to "cross" waterline against correct profile data.
10150
10151
10152 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10153
10154 Fix setting of kilometer for profile (not yet waterlevel) of cross section
10155 diagram.
10156
10157 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10158 (getCrossSectionData): Respect corss_section.km data; do naive linear
10159 search for profile data for this km.
10160
10161 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
10162 Declare a ComputeType.
10163
10164 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10165 Implement computeFeed.
10166
10167 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10168
10169 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
10170 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10171 Minor cosmetics.
10172
10173 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10174
10175 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
10176 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
10177 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
10178 src/main/java/de/intevation/flys/artifacts/state/DefaultState.java:
10179 Cosmetics, docs.
10180
10181 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
10182
10183 * doc/conf/mapserver/barrier_polygons_class.vm,
10184 doc/conf/mapserver/barrier_lines_class.vm,
10185 doc/conf/mapserver/wsplgen_class.vm: Default Mapserver styles for
10186 barriers and WSPLGEN results. Those styles are only used as long as we
10187 don't have map specific themes (as already used in charts).
10188
10189 * doc/conf/mapserver/layer.vm: Implements a fallback mechanism for styling
10190 barrier lines/polygons and WSPLGEN results.
10191
10192 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added a
10193 getStyle() method that currently returns "null". This method needs to be
10194 implemented when map themes are introduced.
10195
10196 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
10197
10198 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Renamed
10199 some attributes to make their job in the mapfile more obvious.
10200
10201 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10202 new facet type for barriers.
10203
10204 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: Add
10205 a facet for the barriers layer.
10206
10207 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Parse
10208 barriers (lines and polygons) and create two new layers for each type -
10209 those layers are grouped.
10210
10211 * doc/conf/mapserver/layer.vm: Renamed attribute based on changes in
10212 LayerInfo and added support for Group-Layers.
10213
10214 2011-09-06 Raimund Renkert <raimund.renkert@intevation.de>
10215
10216 * doc/conf/conf.xml:
10217 Added driver to database configuration for use with postgresql.
10218
10219 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
10220
10221 * doc/conf/mapserver/mapfile.vm: Removed FONTSET attribute and set quotes
10222 for SHAPEPATH.
10223
10224 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
10225
10226 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
10227 Removed. We gonna use the WMSLayerFacet until now.
10228
10229 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10230 Add a WMSLayerFacet after we triggered the Scheduler to start a WSPLGEN
10231 calculation.
10232
10233 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
10234
10235 * doc/conf/mapserver/layer.vm,
10236 doc/conf/mapserver/mapfile.vm: Small bugfixes and style improvements.
10237
10238 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Trigger the
10239 MapfileGenerator after a WSPLGEN job has finished regardless if it has
10240 been finished successfully or not.
10241
10242 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
10243
10244 * pom.xml: Added Apache Velocity 1.7 for templating support.
10245
10246 * doc/conf/conf.xml: Added config options for mapserver/template relevant
10247 stuff.
10248
10249 * doc/conf/mapserver/mapfile.vm,
10250 doc/conf/mapserver/layer.vm: New. A default mapfile template and a
10251 template used for layers.
10252
10253 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: New.
10254 This class is used while reading WMS layer relevant information from
10255 filesystem.
10256
10257 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: New. This
10258 thread is used for creating mapfiles for Mapserver. The MapfileGenerator
10259 runs in daemon mode (own thread) and creates mapfiles based on WMS
10260 layer relevant information read from filesystem.
10261
10262 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
10263 src/main/java/de/intevation/flys/utils/FLYSUtils.java: Moved shapefile
10264 specific XPath expressions from FloodMapState to FLYSUtils which is a
10265 better place to use it in other classes (as MapfileGenerator).
10266
10267 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
10268
10269 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java:
10270 Bugfixed broken attribute assignment.
10271
10272 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Call
10273 CallContext.afterBackground() after a WSPLGEN job has finished to remove
10274 the background lock from Artifact.
10275
10276 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10277 Call CallContext.afterCall(BACKGROUND) to lock the Artifact for
10278 background processing.
10279
10280 2011-09-02 Ingo Weinzierl <ingo@intevation.de>
10281
10282 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: New. This
10283 class is used to start WSPLGEN for a specific WSPLGENJob. The System
10284 property "wsplgen.bin.path" tells the JobExecutor where the WSPLGEN
10285 binary is placed (which means in general, the property points to the
10286 'wsplgen.exe').
10287
10288 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: New. This
10289 scheduler currently allows to start just a single WSPLGEN Thread. All
10290 WSPLGEN calculations should be started using Scheduler.addJob().
10291
10292 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: New. This
10293 thread reads log messages from WSPLGEN and listens for specific
10294 messages. It should be used to update status messages of the WSPLGEN
10295 calculation that is currently running.
10296 There is a System property that tells the JobObserver to log all WSPLGEN
10297 output to log4j: enable WSPLGEN output with "-Dwsplgen.log.output=true".
10298
10299 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Added
10300 the FLYSArtifact, the current working directory and the CallContext.
10301
10302 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10303 Use the Scheduler to start new WSPLGEN calculations.
10304
10305 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10306
10307 Add CrossSectionInfoGenerator.
10308
10309 * src/main/java/de/intevation/flys/exports/CrossSectionInfoGenerator.java:
10310 New, trivial implementation of CrossSectionInfoGenerator.
10311
10312 * doc/conf/conf.xml:
10313 Register CrossSectionInfoGenerator.
10314
10315 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10316
10317 Cleanups of CrossSection*.
10318
10319 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10320 New methods to retrieve name of utilized CrossSection.
10321
10322 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10323 Cleanup, get rid of copied unused method, documentation and more sensible
10324 translations.
10325
10326 * src/main/resources/messages_de_DE.properties,
10327 src/main/resources/messages_de.properties,
10328 src/main/resources/messages_en.properties,
10329 src/main/resources/messages.properties:
10330 Added cross_section* translations, also cleanups.
10331
10332 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
10333
10334 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10335 Set the "typ" attribute of lines and polygons in barrier shapefiles.
10336
10337 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
10338
10339 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10340 Set the Z values of line and polygon barrier geometries. Both barrier
10341 shapefiles will contain 3D geometries now.
10342
10343 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10344
10345 Get real data to display in CrossSection (although ignorant of
10346 parameterization), making use of the showcase code of the CrossSectionApp-
10347 Standalone application.
10348
10349 * doc/conf/artifacts/winfo.xml: Add new facet (~waterline) to state/out.
10350
10351 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10352 New methods to get relevant data. So far just takes the first value of
10353 everything and assuming a waterlevel at 130m.
10354
10355 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
10356 New Facet responsible of water level in cross section.
10357
10358 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
10359 Made some functionality publicly and statically available.
10360
10361 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
10362 Update call.
10363
10364 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added new
10365 Facet type.
10366
10367 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10368 Added new Facet to out.
10369
10370 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10371 Respect new facet and facets data.
10372
10373 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
10374
10375 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Close an open
10376 shapefile transaction and catch exceptions which are thrown while
10377 shapefile creation here. If there occured an error, this functions
10378 returns FALSE, otherwise TRUE.
10379
10380 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10381 Removed exception handling while shapefile creation - this is done in
10382 GeometryUtils now.
10383
10384 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
10385
10386 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10387 Renamed the file for WSPLGEN required waterlevels to "waterlevels.wst".
10388 WSPLGEN did not work with the former "waterlevels.txt" file.
10389
10390 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
10391
10392 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New static
10393 function that builds new SimpleFeatureTypes with additional attributes.
10394
10395 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10396 Write attributes "ELEVATION" and "KILOMETER" into the crosssection
10397 tracks shapefiles.
10398
10399 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
10400
10401 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
10402 stub that should return a FLYSArtifact based on a given UUID.
10403
10404 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10405 Write the selected WST file for WSPLGEN. Note, that this is the WST file
10406 of the current WINFO artifact. Furthermore, there is currently no way
10407 for the user to select a column from WST file, so we currently use the
10408 column that is written to WST file at first.
10409
10410 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
10411
10412 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
10413 the parameter order of a compute(...) method. This makes me able to call
10414 this without a hash value.
10415
10416 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
10417 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
10418 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
10419 Adapted the parameter order of the compute() call (see above).
10420
10421 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10422
10423 More bones to CrossSection sceleton.
10424
10425 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
10426 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
10427 New, yet trivial implementations of Factory and Facet for CrossSections.
10428
10429 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10430 Add new CrossSection- (instead of Default-)Facet.
10431
10432 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
10433 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10434 Adjusted to use (touch) new Factory and Facet.
10435
10436 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10437
10438 Cosmetics.
10439
10440 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10441 Cosmetics.
10442
10443 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10444
10445 Cosmetics.
10446
10447 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
10448 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
10449 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
10450 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10451 Removed obselete imports.
10452
10453 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10454 Removed obselete imports, whitespaces.
10455
10456 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10457 Whitespaces, docs.
10458
10459 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10460
10461 Fix translations of Main Values Facets.
10462
10463 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10464 Do acrobatics to keep state transient but get translated title.
10465
10466 * src/main/java/de/intevation/flys/artifacts/MainValuesQFacet.java,
10467 src/main/java/de/intevation/flys/artifacts/MainValuesWFacet.java:
10468 Changed constructor to get description (which is then already be translated)
10469 dynamically, adjust deepCopy.
10470
10471 * src/main/java/de/intevation/flys/states/StaticState.java:
10472 Adjust constructor accordingly.
10473
10474 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10475
10476 Add sceleton for CrossSection outs.
10477
10478 * doc/conf/artifacts/winfo.xml:
10479 Added new output mode to respective state of winfo artifact configuration.
10480
10481 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10482 Add new Dummy-Facet in state.
10483
10484 * doc/conf/conf.xml:
10485 Registered new OutputGenerator.
10486
10487 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10488 Added new CROSS_SECTION type.
10489
10490 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10491 New, stubby skeleton for an CrossSectionGenerator.
10492
10493 * src/main/resources/messages_de_DE.properties,
10494 src/main/resources/messages_de.properties,
10495 src/main/resources/messages_en.properties,
10496 src/main/resources/messages.properties:
10497 Added cross_section translation, also cleanups (e.g. main values).
10498
10499 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
10500
10501 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Marked
10502 required parameters with a comment.
10503
10504 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10505 Export floodplains (german 'Talaue') to shapefile and write its file
10506 path into the WSPLGEN job.
10507
10508 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
10509
10510 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10511 Search for a DGM that fits to the current river and km range and write
10512 its file path into the WSPLGEN job.
10513
10514 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
10515
10516 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Improved
10517 exception handling: exceptions are catched in GeometryUtils now.
10518
10519 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10520 Write river axis and crosssections to shapefiles and save shapefile
10521 pathes in WSPLGENJob.
10522
10523 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
10524
10525 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10526 Use the coorect SRID for reading GeoJSON and writing line/polygon
10527 shapefiles.
10528
10529 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Use a
10530 concrete coordinate system while feature type creation.
10531
10532 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
10533
10534 * pom.xml: Added GeoTools 2.7.2 dependencies for Shapefile, GeoJSON and
10535 EPSG support.
10536
10537 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Store
10538 'LIN' parameter in a list now. A WSPLGEN parameter might contain many
10539 LINs.
10540
10541 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New functions
10542 to create FeatureTypes and to write shapefiles.
10543
10544 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10545 Write user specified barriers into a shapefile placed in the artifact
10546 directory.
10547
10548 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
10549
10550 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
10551 that extracts the SRID defined in the global configuration file for a
10552 given river.
10553
10554 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
10555 Removed the code that extracts the river SRID - use FLYSUtils instead.
10556
10557 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10558
10559 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
10560
10561 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
10562 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
10563
10564 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10565
10566 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
10567
10568 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
10569 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
10570 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
10571 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
10572 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
10573 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
10574
10575 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10576
10577 Commit accidentally omitted result of refactoring (WINFO/FLYSUtils/getRiver).
10578
10579 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10580 Removed implementations of getRiver, update calls to use FLYSUtils.
10581
10582 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10583
10584 Interpolate Q main values, generate interpolated W main values on the fly from
10585 Q main values.
10586
10587 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10588 (getGaugeDatum): removed, obsolete
10589 (getLocation): new, gets location
10590 Use WstValueTable to look up interpolated Qs of MainValues. In absence of
10591 the same functionality for Ws, generate W Main Values from Q Main Values.
10592
10593 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10594
10595 Use new helper class FLYSUtils, minor refactorization.
10596
10597 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10598 Use new functionality of helper class, convenience of FLYSArtifact.
10599
10600 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10601
10602 Refactored to use new Helper class FLYSUtils, moved getRiver-functionality
10603 in there.
10604
10605 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getRiver):
10606 New function to retrieve river of an artifact, slightly modified from
10607 WINFOArtifact.
10608
10609 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
10610 Removed implementations of getRiver, update calls to use FLYSUtils.
10611
10612 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10613
10614 Minor cosmetics.
10615
10616 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10617 Resolved a TODO.
10618
10619 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
10620 Added some documentation.
10621
10622 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
10623 Minor cosmetic.
10624
10625 2011-08-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10626
10627 * doc/conf/meta-data.xml: Made it Oracle compatible.
10628
10629 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
10630 If running in debug mode log executed statements.
10631 Helps debugging Oracle connections.
10632
10633 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
10634
10635 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10636 Set some WSPLGENJob parameters which are stored at FLYSArtifact.
10637
10638 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
10639
10640 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New. This helper
10641 class should provide some basic FLYS stuff. Currently, there are functions
10642 that return the km range/location.
10643
10644 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
10645 the methods that return the km range/locations. This is implemented in
10646 FLYSUtils now.
10647
10648 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
10649 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
10650 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Adapted
10651 the WINFO method calls to retrieve the km range/locations - call
10652 FLYSUtils now.
10653
10654 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
10655
10656 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New method
10657 to destroy a single state.
10658
10659 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10660
10661 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10662 Cosmetic, remove debug output and comments, minor style adjustments.
10663
10664 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10665
10666 Added limited themeing-support for MainValues.
10667
10668 * doc/conf/themes.xml:
10669 Added Q/W-MainValues themes.
10670
10671 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10672 Added limited theming support, add legend entry for main values.
10673
10674 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
10675
10676 * doc/conf/conf.xml: Added a configuration node that points to the directory
10677 where shapefiles should be stored in.
10678
10679 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: New.
10680 This class is used to save/write the parameter for a WSPLGEN calculation.
10681 WSPLGEN's *.par files are written using the toFile() method.
10682
10683 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10684 A directory for all WSPLGEN stuff is created in computeAdvance() - those
10685 directory and all its contained files are removed in endOfLife().
10686
10687 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10688
10689 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
10690 New Util to work with theme-related stuff.
10691
10692 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10693
10694 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10695 Use NamedDoubles instead of MainValues, try to adjust scale of Ws.
10696
10697 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10698 Use NamedDoubles instead of MainValues, generalize annotation handling, to
10699 allow easier reusability and themeing.
10700
10701 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
10702 Added convenience constructor, exemplary switch on bordered text.
10703
10704 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10705
10706 * doc/conf/meta-data.xml:
10707 Recommend MainValues for Computed discharge curves.
10708
10709 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10710
10711 New NamedDouble class which implements a <String,double>-pair.
10712
10713 * src/main/java/de/intevation/flys/artifacts/model/NamedDouble.java:
10714 New, implementation of a double with a string or vice versa.
10715
10716 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
10717
10718 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
10719 State.endOfLife() for all States when endOfLife() of the Artifact is
10720 called.
10721
10722 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10723
10724 Also plot "W"-MainValues (on vertical axis), take correct parameters, but
10725 do not convert to correct scale (cm vs NN+m).
10726
10727 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
10728 Naive attempt at allowing the vertical axis to be sticked at.
10729
10730 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10731 Store Q and W MainValues separately, add them to plot as annotations.
10732
10733 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10734 Serve the MainValues, parameterized on river and location, Q and W.
10735 Removed Facet-implementation.
10736
10737 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10738 Updated Facet Types.
10739
10740 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
10741 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
10742 New, trivial facets, extracted from MainValuesArtifact.
10743
10744 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
10745
10746 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
10747 State.endOfLife() of each State that is no longer in the queue of the
10748 artifact when this artifact steps back to a previous state.
10749
10750 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10751
10752 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10753 Plot MainValues delivered by MainValuesFacet in much the same ways than
10754 Annotations in LongitudinalSection plots.
10755
10756 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10757
10758 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
10759 Prepare further differentiation between Annotations that stick to X or Y-
10760 Axis, copied some positioning logic into StickyAxisAnnotation
10761 implementation.
10762
10763 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10764
10765 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10766 Minor cosmetics.
10767
10768 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10769
10770 Added MainValue-Fetching-Capabilities to MainValuesArtifact.
10771
10772 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
10773 (initialize, getMinValues):
10774 Let MainValuesArtifact return "real" MainValues, although ignorant of all
10775 parameterization.
10776
10777 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10778
10779 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
10780 (MainValueFacet):
10781 Improved and straightened implementation, added code-Annotations and Todos.
10782
10783 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10784
10785 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
10786 (MainValueFacet):
10787 Improved and straightened implementation, added code-Annotations and Todos.
10788
10789 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10790
10791 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
10792 (getState):
10793 Resolved multiple creation of state (yet not very clean).
10794
10795 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10796
10797 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
10798 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10799 Cosmetics, docs.
10800
10801 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
10802 Cosmetics.
10803
10804 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10805
10806 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10807 Added new (MainValues) Facet-Type.
10808
10809 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
10810
10811 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
10812 Added a method that returns a River object based on its database id.
10813
10814 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: The
10815 data that is required for this artifact is fetched from database instead
10816 from a Master-Artifact. The creation of static artifacts should use
10817 database ids instead of cloning a Master-Artifact.
10818
10819 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
10820
10821 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10822 Removed needless imports.
10823
10824 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10825
10826 Added configuration for factory and rule for MainValueArtifacts.
10827
10828 * doc/conf.xml:
10829 Add a mainvalue factory to serve MainValueArtifacts.
10830
10831 * doc/conf/meta-data.xml:
10832 Recomment mainvalue artifact when computed_discharge_curve can be put out.
10833
10834 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10835
10836 Let MainValuesArtifact have a state, outputmode and facet.
10837
10838 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
10839 New, a non-abstract DefaultState.
10840
10841 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10842 Progressed with implementation, use StaticState to hook output modes and
10843 facet in; use (Static)FLYSArtifact implementation.
10844
10845 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10846
10847 Smaller cosmetics.
10848
10849 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
10850 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
10851 Cosmetics in comments.
10852
10853 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
10854 Added @Override annotations.
10855
10856 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
10857 Use brackets to improve readability of ternary operator.
10858
10859 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10860
10861 * doc/conf/meta-data.xml: Use "ids" in user specific part, too.
10862
10863 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10864
10865 * doc/conf/meta-data.xml: s/db-ids/ids/g to unify system and user specific
10866 loading.
10867
10868 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10869
10870 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
10871 Extracted access to state and states in order to have fewer places to
10872 modify when going for single/trivial state- artifacts.
10873
10874 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
10875
10876 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
10877 Append the river's srid to the WMSLayerFacet.
10878
10879 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10880
10881 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10882 Minor fixes, ressurect Facet implementation as inner class.
10883
10884 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
10885
10886 * doc/conf/artifacts/winfo.xml: Moved the input of barriers one state
10887 earlier where the scenario is selected as well.
10888
10889 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
10890 This state now desires the "map_digitize" UI provider and returns both
10891 items "scenario" and "uesk.barriers" in the dynamic describe part.
10892
10893 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10894 Removed the UI provider and the computeFeed() which is no longer needed,
10895 because there is no more user input in this state.
10896
10897 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
10898
10899 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
10900 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
10901 Repaired broken xpath expressions (the config changed in one of the last
10902 commits) and make use of the variable support in xpath expressions to
10903 replace the rivername.
10904
10905 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java:
10906 Save the rivername while initializing this artifact. This is now
10907 necessary, because each river can have its own background wms
10908 configured.
10909
10910 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
10911
10912 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
10913 Repaired broken river-wms initialization.
10914
10915 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10916
10917 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java,
10918 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
10919 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
10920 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java,
10921 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
10922 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
10923 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java,
10924 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
10925 src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
10926 Made facets cloneable with the right type.
10927
10928 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
10929 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10930 Removed superfluous imports.
10931
10932 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
10933
10934 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
10935 Declare the first artifact of an output as master artifact (artifacts
10936 are ordered by their creation time).
10937
10938 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10939
10940 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10941 Removed facet interface.
10942
10943 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
10944 Make artifacts cloneable. TODO: Override deepCopy() in subclassed
10945 states and facets.
10946
10947 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
10948
10949 * doc/conf/conf.xml: Added the MapInfoService and adapted the floodmap
10950 configuration. Now, each river can have its own background wms layer
10951 defined.
10952
10953 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
10954 New. This service returns some basic information used to create maps for
10955 a specific river. The name of the desired river needs to be defined at
10956 "/mapinfo/river/text()".
10957
10958 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
10959 Adapted an xpath expression that points to the srid of a river in the
10960 floodmap configuration (which changed).
10961
10962 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10963
10964 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
10965 Build out/facet filter from XML document passed at creation time.
10966
10967 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10968
10969 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
10970 Added some code to filter outs/facets by an optional positive list.
10971 This is needed to only expose parts of the facets. This
10972 is needed for artifacts which are loaded into a collection.
10973 TODO: create the filter from the XML document passed at creation
10974 time.
10975
10976 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10977
10978 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved all
10979 WINFO specific code to WINFOArtifact. FLYSArtifact is now only revolving
10980 about state affairs.
10981
10982 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-inserted
10983 the specific stuff here.
10984
10985 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
10986 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
10987 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
10988 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
10989 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
10990 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
10991 Adjusted the casts.
10992
10993 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10994
10995 * doc/conf/meta-data.xml: Filter by outs in user template part.
10996
10997 2011-08-22 Ingo Weinzierl <ingo@intevation.de>
10998
10999 * doc/conf/artifacts/winfo.xml: Defined an input value for the GeoJSON
11000 string to save user defined barriers in the map.
11001
11002 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
11003 Added a computeFeed() method. In addition, this state now prefers the
11004 "noinput" UI provider.
11005
11006 2011-08-19 Ingo Weinzierl <ingo@intevation.de>
11007
11008 * doc/conf/conf.xml: Each river requires a SRID definition. This
11009 definition is used to transform the river's geometries into the desired
11010 projection.
11011
11012 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
11013 This facets are able to save a SRID.
11014
11015 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
11016 The extent that is written into the WMSLayerFacet is determined by the
11017 boundary of the geometry.
11018
11019 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New. A
11020 utility class that provides helper functions for geometries. Currently,
11021 one function is defined, that creates a boundary string for OpenLayers.
11022
11023 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11024
11025 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
11026 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
11027 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
11028 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
11029 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
11030 src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
11031 Removed superfluous imports.
11032
11033 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11034
11035 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
11036 Removed CallContext from state validation. It is not needed and hindered
11037 the extraction of all out of an artifact if you don't have a
11038 call context (like initial scan of datacage database).
11039
11040 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11041 Extract all outs now.
11042
11043 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
11044 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
11045 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
11046 src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java,
11047 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
11048 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
11049 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
11050 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
11051 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
11052 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
11053 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
11054 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
11055 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
11056 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
11057 src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
11058 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
11059 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
11060 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11061 Adjusted calls.
11062
11063 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11064
11065 * src/main/resources/messages.properties,
11066 src/main/resources/messages_de_DE.properties,
11067 src/main/resources/messages_en.properties,
11068 src/main/resources/messages_de.properties:
11069 Added lacalization of "Streckenfavoriten".
11070
11071 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11072
11073 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11074 Picky white-space cosmetics.
11075
11076 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11077
11078 Added stub implementation of new MainValuesArtifact.
11079
11080 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
11081 New. Stub implementation for new MainValuesArtifact.
11082
11083 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11084
11085 Fixed flys/issue262
11086
11087 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
11088 Unified user and system tempate.
11089 Looks for "/artifact-database/metadata/template/text()"
11090 in conf.xml. Defaults to "${artifacts.config.dir}/meta-data.xml". If user id is
11091 given its the default connection for contexts.
11092
11093 * doc/conf/conf.xml: Adjusted
11094 * doc/conf/meta-data-system.xml, doc/conf/meta-data-user.xml: Deleted.
11095 * doc/conf/meta-data.xml: Unified version of user and system template.
11096
11097 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java:
11098 Adjusted the test program.
11099
11100 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11101
11102 Fixed flys/issue260
11103
11104 * doc/conf/meta-data-user.xml: Uses master_artifacts view now.
11105
11106 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11107
11108 * doc/conf/datacage.sql: Added view master_artifacts to select
11109 the master artifacts of the collections more easily.
11110 To upgrade existing database:
11111
11112 CREATE VIEW master_artifacts AS
11113 SELECT a2.id AS id,
11114 a2.gid AS gid,
11115 a2.state AS state,
11116 a2.creation AS creation,
11117 ci2.collection_id AS collection_id
11118 FROM collection_items ci2
11119 JOIN artifacts a2
11120 ON ci2.artifact_id = a2.id
11121 JOIN (SELECT ci.collection_id AS c_id,
11122 MIN(a.creation) AS oldest_a
11123 FROM collection_items ci
11124 JOIN artifacts a
11125 ON ci.artifact_id = a.id
11126 GROUP BY ci.collection_id) o
11127 ON o.c_id = ci2.collection_id
11128 WHERE a2.creation = o.oldest_a;
11129
11130 TODO: Use the view in the templates.
11131
11132 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11133
11134 * doc/conf/meta-data-user.xml: Removed state filter because it was broken.
11135 Simplified by joining two contexts.
11136
11137 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11138
11139 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
11140 Fix issues with lines of annotation when zoomed (wrong scale used).
11141
11142 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11143
11144 Added legend for annotations to LongitudinalSectionDiagram.
11145
11146 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11147 Added a pseudo-dataseries/collection to employ existing infrastructure for
11148 displaying localized label for Annotations (yet unthemed).
11149
11150 * src/main/resources/messages.properties,
11151 src/main/resources/messages_de_DE.properties,
11152 src/main/resources/messages_en.properties,
11153 src/main/resources/messages_de.properties:
11154 Made label-string available for localization.
11155
11156 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11157
11158 Moved StickyAxisAnnotation into new package de.intevation.flys.jfree .
11159
11160 * src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java:
11161 Deleted/moved to src/main/java/de/intevation/flys/jfree/ .
11162
11163 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
11164 New/moved from src/main/java/de/intevation/flys/export/ , adjusted
11165 package statement, made class public.
11166
11167 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11168 Added import statement for de.intevation.flys.jfree.StickyAxisAnnotation .
11169
11170 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11171
11172 Extracted and renamed CustomAnnotation to StickyAxisAnnotation. Also removed
11173 needless imports.
11174
11175 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11176 src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java:
11177 Extracted class implementation CustomAnnotation and renamed to
11178 StickyAxisAnnotation.
11179
11180 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11181
11182 Improved CustomAnnotations and rendering thereof, now including an
11183 "axis mark" (little line at axis), also prepared possibility to put
11184 annotations on Y-axis.
11185
11186 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11187 Improved CustomAnnotation to include marks on the axis and better spacing
11188 from it.
11189
11190 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11191
11192 Implemented proof-of-concept collision-detection when drawing
11193 CustomAnnotations (text only).
11194
11195 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
11196 Pass a fresh ChartRenderingInfo-Object to createBufferedImage, such that
11197 information can be collected while rendering.
11198
11199 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11200 Exploit the fact that XYTextAnnotation already registers drawn shape in the
11201 ChartRenderingInfo if it exists and either an URL or tooltip is set.
11202 Before drawing, calculate own shape and compare against already registered
11203 shapes.
11204
11205 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11206
11207 Implemented (yet dummy) custom Annotation class.
11208
11209 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11210 Added implementation of yet dummy CustomAnnotation class.
11211
11212 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11213
11214 Slightly improved rendering of annotations.
11215
11216 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11217 Slightly improved rendering of annotations. Still no valid collision
11218 detection. Annotations are drawn every 2 km; first come first serve.
11219
11220 2011-08-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11221
11222 Fix for flys/issue191
11223
11224 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(longestIncreasingWRangeIndices):
11225 Added a method to find the longest index range with increasing w values.
11226
11227 * src/main/java/de/intevation/flys/exports/ATWriter.java: Export the longest
11228 range of monotone increasing w values instead of the first one.
11229 TODO: The first line of the export is still broken.
11230
11231 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
11232 Removed superfluous import.
11233
11234 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11235
11236 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
11237 Resolved two TODOs: get Annotations of selected River, get "point"
11238 Annotations only.
11239
11240 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11241
11242 Added functionality to query range and point-annotations only to
11243 AnnotationFactory.
11244
11245 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java
11246 (getPointAnnotations, getAnnotationsBreadth):
11247 New functions to query breadth and point-only annotations.
11248
11249 2011-08-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11250
11251 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
11252 Added a development mode for recommendations. Enabled with
11253 stetting system property 'flys.datacage.recommendations.development' to true.
11254 When set the XML template are re-read if the timestamps of the
11255 files have changed so you do not have to restart the server again and again.
11256
11257 * doc/conf/meta-data-user.xml: Sort collections by creation time in descending order.
11258
11259 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11260
11261 Rather picky cosmetics only.
11262
11263 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
11264 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java,
11265 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
11266 src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java,
11267 src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
11268 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
11269 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
11270 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11271 End comments on a full stop, separate from closing '*/' by whitespace,
11272 adjusted javadoc comments.
11273
11274 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11275
11276 Made Annotations visible in LongitudinalSection diagrams.
11277
11278 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
11279 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11280 Register new Facet Type, let LongitudinalSectionGenerator include
11281 Annotations in diagram (yet unfiltered and independent of river).
11282
11283 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11284
11285 * doc/conf/conf.xml,
11286 doc/conf/artifacts/annotation.xml,
11287 doc/conf/meta-data-system.xml:
11288 Added configuration for AnnotationArtifacts.
11289
11290 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11291
11292 Added demo- implementation of a AnnotationArtifact and its Facet.
11293
11294 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
11295 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
11296 src/main/java/de/intevation/flys/artifacts/states/AnnotationRiverState.java:
11297 New. Initial version of an AnnotationArtifact and its State and Facet.
11298
11299 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11300
11301 * doc/conf/datacage.sql: Extended schema for artifacts and collections
11302 to have creation times, too.
11303
11304 To update existing databases:
11305
11306 ALTER TABLE artifacts ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp;
11307 ALTER TABLE collections ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp;
11308
11309 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11310 Store creation times for artifacts and collections, too.
11311
11312 * src/main/resources/datacage-sql/org-h2-driver.properties,
11313 src/main/resources/datacage-sql/org-postgresql-driver.properties:
11314 Adjusted SQL statements.
11315
11316 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11317
11318 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11319 Make it compilable again (BackendListener interface changed).
11320
11321 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11322
11323 * doc/conf/meta-data-user.xml: Added grouping element around w/q of each
11324 longitudinal section artifact.
11325
11326 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java,
11327 src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java:
11328 Added some debugging capabilities.
11329
11330 * src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java:
11331 Added isEmpty() method.
11332
11333 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
11334 Now it is possible to nest <dc:elements> into other elements in the <dc:context>
11335 body. This is useful and needed for grouping and repeating results.
11336
11337 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11338
11339 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
11340 User connection was cached, system was not. Lead to incorrect results.
11341
11342 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11343
11344 * doc/conf/meta-data-user.xml: Added <old_calculations> element
11345 around old calculations.
11346
11347 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11348
11349 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
11350 Cosmetic: Replaced usage of legacy java.util.Stack with java.util.Deque.
11351
11352 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11353
11354 * doc/conf/meta-data-user.xml: Use 'CAST(x AS uuid)' instead of 'x::uuid'
11355 to be more compatible.
11356
11357 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11358
11359 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
11360 If given an artifact place its identifier into parameters passed to template.
11361 Fixed swapped user/system connections if using the user template.
11362
11363 * doc/conf/meta-data-user.xml: Recommend w/q facet from old calculations
11364 if an artifact was given that represents a longitudinal section
11365 "Laengsschnitt".
11366
11367 TODO I: The template uses PostgreSQL specific UUID casts.
11368 TODO II: We need to find a way only to recommend the master artifacts.
11369
11370 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11371
11372 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
11373 Added a <dc:comment> tag to place comments in the meta data templates.
11374 <!-- ... --> comments are copied through.
11375
11376 * doc/conf/meta-data-user.xml: Added a simple test.
11377
11378 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11379
11380 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
11381 Be a bit more tolerant about empty strings for UUIDs of artifact and user.
11382
11383 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11384
11385 Bring user specific meta data service to life.
11386
11387 * doc/conf/conf.xml: There are now two templates to configure:
11388 The system template (only the data from the backend) and the
11389 user template (the datcage db and the backend db),
11390
11391 * doc/conf/meta-data-template.xml: Deleted.
11392 * doc/conf/meta-data-user.xml: New. The user specific template. TODO: Write it!
11393 * doc/conf/meta-data-system.xml: New. The system template.
11394
11395 * src/main/java/de/intevation/flys/artifacts/datacage/templating/NoneUserSpecific.java:
11396 Deleted.
11397 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
11398 New. The logic to fill the templates.
11399
11400 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
11401 Adjusted to follow the new call signatures.
11402
11403 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
11404 Refactored. Removed the old code and only leave the new service. Following
11405 XPaths are evaluated on the incomming document:
11406
11407 "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional.
11408 Used to fill the template enviroment.
11409 "/art:meta/art:user-id/@value" The UUID of the user. Optional.
11410 If given the user specific template is filled.
11411 "/art:meta/art:outs/@value" The list of outs used to recommend for the
11412 various outputs.
11413 "/art:meta/art:parameters/@value" A list of key/value pairs to inject more
11414 filters to the templating.
11415
11416 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java:
11417 Change to follow the new recommendations semantics.
11418
11419 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
11420 Added symbolic constants to distinguish "user" and "system" db connections.
11421
11422 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11423
11424 * doc/conf/conf.xml:
11425 Cosmetics, let comments start with a capital and end on a full stop,
11426 removed incorrect comment.
11427
11428 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11429
11430 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11431 Cosmetics, let comments start with a capital and end on a full stop.
11432
11433 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11434
11435 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java(extractOutputNames):
11436 Fixed potential NPE.
11437
11438 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11439
11440 Added support for more than one db connection in datacage templating.
11441
11442 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
11443 Now you can pass a list of named db connections to the build process.
11444 The purpose is to mix more then one database (e.g. the backend db and
11445 the user specific one).
11446
11447 To use this feature you can add an "connection" attribute
11448 to <dc:context> with the name of the connection to use.
11449 If no connection name is given the last used is used again.
11450 Initially the first connection in the given list is used.
11451 If the context is left the connection that was active before
11452 will be active again in a stacking manner.
11453
11454 When creating NamedConnection objects you can set a boolean flag
11455 if the results coming from the connection should be cached. This
11456 is useful e.g. for the user specific database which runs in-memory
11457 so caching would introduce some superfluous overhead.
11458
11459 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
11460 When executing the queries explicitly pass if caching should be used.
11461
11462 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11463
11464 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11465 Forgot to fetch dialect dependent SQL statement for deleting
11466 artifacts by uuid.
11467
11468 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11469
11470 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11471 Set the name of the collections at initial scan, too.
11472
11473 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11474
11475 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11476 Fixed wrong SQL references.
11477
11478 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11479
11480 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11481 Fixed two NPEs.
11482
11483 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11484
11485 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java,
11486 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11487 Forwarded kill collections and artifacts events to datacage.
11488
11489 * src/main/resources/datacage-sql/org-h2-driver.properties,
11490 src/main/resources/datacage-sql/org-postgresql-driver.properties:
11491 Added statement to delete artifact by uuid.
11492
11493 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11494
11495 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
11496 Made it compilable again. The signature of BackendListener has changed.
11497
11498 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11499
11500 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11501 Completed the backend listener stuff.
11502
11503 TODO I: Added some cleanup for orphaned artifacts.
11504 TODO II: Figure out a way to delete collections/artifacts
11505 which are delete from backend without the
11506 backend API.
11507
11508 * src/main/resources/datacage-sql/org-h2-driver.properties,
11509 src/main/resources/datacage-sql/org-postgresql-driver.properties:
11510 Added needed statements.
11511
11512 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11513
11514 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11515 Update collection names on change. Remove artifacts from collections.
11516
11517 * src/main/resources/datacage-sql/org-h2-driver.properties,
11518 src/main/resources/datacage-sql/org-postgresql-driver.properties:
11519 Added needed statements.
11520
11521 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11522
11523 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
11524 Call datacage with the global context. This is needed to access the state engine.
11525
11526 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: Changed
11527 signatures to take the global context, too. Create artifacts via backend listener
11528 interface.
11529
11530 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11531
11532 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
11533 Fixed recursion bug.
11534
11535 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11536
11537 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
11538 Added debug output.
11539
11540 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11541
11542 * doc/conf/conf.xml: Added backend listener for datacage.
11543
11544 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
11545 New. Proxies backend listener calls to datacage.
11546
11547 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11548 Implements backend listener. TODO: Update the datacage database
11549 according the change calls.
11550
11551 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11552
11553 * src/main/java/de/intevation/flys/artifacts/services/meta,
11554 src/main/java/de/intevation/flys/artifacts/datacage/templating:
11555 Moved/renamed package to better fit the common semantics.
11556 DataCage.java is now call NoneUserSpecific.java to reflect the
11557 fact that it is the template for the user independent db
11558 analysis.
11559
11560 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
11561 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
11562 Ajusted imports and calls.
11563
11564 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11565
11566 * doc/conf/conf.xml: For documentation purposes added a out-commented
11567 section with the default configuration of the datacage.
11568
11569 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11570
11571 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11572 Delete the artifacts at before initial scan, too. They are independent
11573 from users. Fixed problem when writing state data content.
11574
11575 * src/main/resources/datacage-sql/org-h2-driver.properties: Added
11576 statement to delete the artifacts at initial scan, too.
11577
11578 * src/main/resources/datacage-sql/org-postgresql-driver.properties:
11579 New. PostgreSQL version of the statements. The database scheme
11580 is the same as H2. Very useful for debugging.
11581
11582 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11583
11584 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11585 Added kludge for the types of artifact data. They seem to be null
11586 in some circumstances. Needs to be debugged!
11587
11588 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11589
11590 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java:
11591 Fixed default connection URL to use a namend in-mermory database.
11592
11593 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11594
11595 * doc/conf/datacage.sql: Fixed constraint.
11596
11597 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11598 Added some debug output.
11599
11600 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11601
11602 * doc/conf/datacage.sql: Removed artifact_id from facet because there
11603 is a link via out_id -> outs.id: artifact_id -> artifacts to
11604 find the corresponding artifact.
11605
11606 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
11607 src/main/resources/datacage-sql/org-h2-driver.properties: Store
11608 facets of outs into datacage db at initial scan.
11609
11610 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11611
11612 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
11613 src/main/resources/datacage-sql/org-h2-driver.properties:
11614 Store outs of artifacts into datacage db at initial scan.
11615 TODO: store facets.
11616
11617 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11618
11619 * doc/conf/datacage.sql: Added 'type' column in artifacts data.
11620 Maybe useful for filtering.
11621
11622 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
11623 src/main/resources/datacage-sql/org-h2-driver.properties:
11624 Store artifact data into db at initial scan.
11625 TODO: store outs and facets.
11626
11627 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11628
11629 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
11630 src/main/resources/datacage-sql/org-h2-driver.properties:
11631 Add artifacts into datacage db at initial scan.
11632 TODO: Store data, outs and facets.
11633
11634 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11635
11636 * doc/conf/datacage.sql: Fixed spelling in sequence name.
11637
11638 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
11639 src/main/resources/datacage-sql/org-h2-driver.properties: Simply add
11640 collection item at initial scan if artifact was stored before.
11641 TODO: Store new artifacts.
11642
11643 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11644
11645 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
11646 src/main/resources/datacage-sql/org-h2-driver.properties: Add
11647 collections at initial scan.
11648
11649 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11650
11651 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
11652 src/main/resources/datacage-sql/org-h2-driver.properties: Add users
11653 at initial scan.
11654
11655 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11656
11657 * doc/conf/datacage.sql: Using sequences for id generation now
11658 to make schema more compatible.
11659
11660 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11661
11662 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
11663 src/main/resources/datacage-sql/org-h2-driver.properties: Clear database
11664 before initial scan.
11665
11666 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11667
11668 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java:
11669 Deleted. This stuff comes from the artifact database now.
11670
11671 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java:
11672 New. The db config of the datacage database.
11673
11674 * src/main/resources/datacage-sql/org-h2-driver.properties: New.
11675 The SQL statements needed for the datacage.
11676
11677 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11678 Make use of the db config.
11679
11680 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11681
11682 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
11683 New. A artifact database lifetime listener to build the initial
11684 index of the artifacts in database.
11685
11686 * doc/conf/conf.xml: Added the datacage to the list of lifetime
11687 listeners.
11688
11689 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11690
11691 * doc/conf/datacage.sql: Added an explicit table for the outs
11692 of an artifact.
11693
11694 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11695 Make the current outs of an artifact accessible only with
11696 the global context.
11697
11698 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11699
11700 * doc/conf/datacage.sql: Added ON DELETE CASCADE constraints.
11701 Added state in facet.
11702
11703 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11704
11705 * doc/conf/datacage.sql: New. H2 Schema for the datacage database.
11706 Uses special features like IDENTITY (autoincrement) typed columns.
11707
11708 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java:
11709 Pooled connection.
11710
11711 * pom.xml: Added dependencies to H2 and Apache DBCP.
11712
11713 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11714
11715 * src/test/java/de/intevation/flys/artifacts/AppTest.java,
11716 src/main/java/de/intevation/flys/artifacts/App.java: Removed.
11717 This the stupid "Hello, World!" app initially created by the
11718 maven archetype. It was never used.
11719
11720 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11721
11722 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
11723 Argh! Usage the DOM was not thread safe (discovered with ab).
11724
11725 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11726
11727 * doc/conf/meta-data-template.xml: '$recommended' lead to XPath
11728 errors. Using "dc:contains($parameters, 'recommended')" helps.
11729
11730 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java,
11731 src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
11732 Added some debugging.
11733
11734 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
11735 Added parameters as 'parameters' to parameters. Usefull to check
11736 for containment of variables.
11737
11738 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11739
11740 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
11741 Added 'if log.isDebugEnabled() {}'.
11742
11743 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11744
11745 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
11746 Made Artifact UUID optional and accept extra parameters, too. This enables
11747 the service to be used without an arttifact and test all filters.
11748
11749 <art:meta xmlns:art="http://www.intevation.de/2009/artifacts">
11750 <art:outs value="computed_discharge_curve,floodmap"/>
11751 <art:parameters value="river:Elbe"/>
11752 <art:filters value="recommended"/>
11753 </art:meta>
11754
11755 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
11756 'contain' accept Maps and collection, too.
11757
11758 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
11759 Made artifact option (= null) in recommendations.
11760
11761 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11762
11763 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
11764 Moved connection specific into inner class. The enables the reuse of the
11765 compiled statement.
11766
11767 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: The
11768 SQL statements are now only compiled once at creation time of the builder.
11769 Each connection now reuses them.
11770
11771 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11772
11773 * doc/conf/cache.xml: Added configuration for static datacage db access.
11774
11775 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: Using
11776 caches seems to need an explicit System.exit().
11777
11778 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
11779 Added support for caching the SQL statements and there results.
11780
11781 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: Some
11782 clean up. Reordered code for performance. Strip SQL statements more
11783 aggressively.
11784
11785 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
11786 Made it Serializable.
11787
11788 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
11789 Introduced system property 'flys.artifacts.cache.config.file' to make
11790 the caching configurable without pulling up the whole stack.
11791
11792 2011-07-22 Ingo Weinzierl <ingo@intevation.de>
11793
11794 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11795 Prepared the FLYSArtifactCollection to support the storage of already
11796 loaded recommendations in its attribute document.
11797
11798 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11799
11800 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
11801 Adjusted to use the DataCage recommendations. The incomming document
11802 can pass the artifacts UUID by '/art:outs/@value' the outs as a
11803 comma separated list in '/art:outs/@value' and optional a set of
11804 filters comma separated in '/art:filters/@value'.
11805
11806 If UUID and OUTS are not given the old service is used. This
11807 should be removed as soon as the client uses the new service.
11808
11809 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11810
11811 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
11812 Allow '-' in variable names.
11813
11814 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
11815
11816 * doc/conf/meta-data-template.xml: Now, the river-id is really added to
11817 the factory node of the wmsbackground layer.
11818
11819 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
11820
11821 * doc/conf/meta-data-template.xml: Added the river-id to the factory node
11822 of the riveraxis and wmsbackground layer.
11823
11824 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11825
11826 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java,
11827 src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
11828 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
11829 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
11830 Adjusted to implement changed Service interface.
11831
11832 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
11833
11834 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Refactored
11835 the method that retrieves the Outputs for the Artifact. Now, we are able
11836 to query the Outputs for the current state, and all outputs separately.
11837
11838 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: The
11839 recommendations provided by this monitor will take the Outputs of the
11840 current state only into account.
11841
11842 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
11843
11844 * doc/conf/meta-data-template.xml: Added conditions for each output type.
11845 Splitted the "floodmap" output into two parts: a recommended one and a
11846 complete one. The recommended part will only build the document tree for
11847 the recommended artifacts; the complete part will build the whole document
11848 tree that is available for a floodmap.
11849
11850 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
11851 This Hook now uses the DataCage to generate the recommended artifacts.
11852 The output-defaults configurtion is needless now.
11853
11854 * doc/conf/output-defaults.xml: Removed. The configuration of recommended
11855 artifacts takes place in meta-data-template.xml.
11856
11857 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
11858 Bugfix: the DataCage didn't start working if its builder was NOT null,
11859 but it shouldn't start if the builder IS null.
11860
11861 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11862
11863 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
11864 Now it is possible to directly pass a Node as a root to the builder.
11865 The owning document if fetch by Node.getOwnerDocument(). This is
11866 useful if you want to generate the recommendation directly into
11867 an already existing document under a given node.
11868
11869 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
11870 Changed the signature of recommend() to accept a node where to
11871 append the recommendations.
11872
11873 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11874
11875 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
11876 Added a macro mechanism:
11877
11878 <dc:macro name="keine-fuenf">
11879 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text>
11880 </dc:macro>
11881 <dc:call-macro name="keine-fuenf"/>
11882 <dc:call-macro name="keine-fuenf"/>
11883 <dc:call-macro name="keine-fuenf"/>
11884
11885 Macros can be defined everywhere in the template
11886 with 'macro'. There bodies can contain all valid elements
11887 including other 'macro's and 'call-macro's. They are
11888 called with their 'name' with 'call-macro'. The control flow
11889 is continued inside the body of the called macro and
11890 will continue right after the calling 'call-macro' when
11891 the macro body is finished.
11892
11893 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11894
11895 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
11896 Added a new 'if' construct similiar to XSLT:
11897
11898 <dc:if test="not(dc:contains($outs, '5'))">
11899 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text>
11900 </dc:if>
11901
11902 The control flow is continued inside the 'if' if the 'test' attribute
11903 as an XPath expression on an empty document evalutes to true.
11904 Else the inside is skipped. There is no 'else'. Use 'choose'/'otherwise'
11905 if you need this.
11906
11907 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11908
11909 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
11910 Added a recommend() method to generate recommendations for
11911 a given artifact, outs and extra parameters.
11912
11913 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added
11914 method to extract all data at once.
11915
11916 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11917
11918 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
11919 New. Custom XPath function provider. Provides
11920 'dc:contains(Object [] haystack, Object needle)' by now. Should be
11921 useful to check containments in 'out' lists later.
11922
11923 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
11924 Register the FunctionResolver to the evaluated XPaths.
11925
11926 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java:
11927 Added code to parse
11928 "param:a,b,c" to "param" -> new String [] { "a", "b", "c" } to
11929 help testing the 'dc:contains' XPath function.
11930
11931 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
11932
11933 * doc/conf/conf.xml: Added wms configurations for Saar, Mosel and Elbe.
11934 Each river supported by FLYS requires such a WMS configuration. A WMS
11935 should contain layers for the river axis, buildings, kilometer labels
11936 and maybe a background layer as well.
11937
11938 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
11939 Added key that is used to store a map of WMS URLs - for each river a
11940 WMS URL.
11941
11942 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
11943 Parse the river WMS from global configuration.
11944
11945 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
11946 Create WMSLayerFacets with URLs based on the river and the river wms
11947 configuration stored in the FLYSContext.
11948
11949 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
11950 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
11951 Adapted the initialize() signature and the method call of computeInit()
11952 which requires a FLYSContext to retrieve the river WMS configurations.
11953
11954 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
11955 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
11956 Added the context object parameter to the computeInit() method.
11957
11958 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
11959 initialize() with the context object - which is a FLYSContext or a
11960 CallContext.
11961
11962 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11963
11964 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java:
11965 Check if builder was created properly before using it.
11966
11967 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
11968 Implements now variable provider for XPath expressions.
11969
11970 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
11971 Added new choose/when/otherwise construct similiar to XSLT
11972
11973 <dc:choose>
11974 <dc:when test="$river = 'Mosel'">
11975 <dc:text>Es ist die Mosel.</dc:text>
11976 </dc:when>
11977 <dc:when test="$river = 'Saar'">
11978 <dc:text>Es ist die Saar.</dc:text>
11979 </dc:when>
11980 <dc:otherwise>
11981 <dc:text>Es ist weder Mosel noch Saar.</dc:text>
11982 </dc:otherwise>
11983 </dc:choose>
11984
11985 A 'choose' block can contain a list of 'when's and an optional
11986 'otherwise'. For each 'when' the test attribute is evaluated
11987 as an XPath expression on an empty document. The result of
11988 the evaluation is taken as a boolean value. If its value is
11989 true the control flow is continued inside the corresponding
11990 'when' and the other choose elements are not tested.
11991 If the value is values the testing continues with the next
11992 'when'. If no 'test' expression is evaluated to true, the
11993 control flow continues inside the 'otherwise'. If no 'otherwise'
11994 is given nothing happens at all.
11995
11996 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
11997
11998 * doc/conf/conf.xml: Added a config section for floodmaps. Currently, the
11999 background layer's url and layername is defined here.
12000
12001 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
12002 Read the background layer configuration from conf.xml. Those values are
12003 used to create the WMSLayerFacet.
12004
12005 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
12006
12007 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
12008 The background layer facet will no longer have an extent set.
12009
12010 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
12011
12012 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
12013 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
12014 Set the extent of the created WMSLayerFacets and i18n its descriptions.
12015
12016 * src/main/resources/messages.properties,
12017 src/main/resources/messages_de_DE.properties,
12018 src/main/resources/messages_en.properties,
12019 src/main/resources/messages_de.properties: Added I18N strings for the
12020 background an river axis layer.
12021
12022 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
12023
12024 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
12025 This facet type has a method to set the extent of a WMS layer. The
12026 extent is written to the facets XML node in toXML() as well.
12027
12028 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
12029
12030 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
12031 the signature of setup() which requires a CallMeta parameter now.
12032
12033 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
12034 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: Use
12035 the CallMeta object retrieved in setup() to call initialize(). It is now
12036 able to i18n things.
12037
12038 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12039
12040 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: New.
12041 Standalone app to debug the datacage template. To use in a maven environment:
12042
12043 -Dmeta.data.template=PATH_TO_META_DATA-TEMPLATE.XML \
12044 -Dmeta.data.parameters=river:Mosel \
12045 -Dmeta.data.output=OUTPUT.XML \
12046 -Dflys.backend.user=DB_USER \
12047 -Dflys.backend.password=DB_PASSWORD \
12048 -Dflys.backend.url=DB_CONNECTION_URL \
12049 -Dexec.mainClass=de.intevation.flys.artifacts.services.meta.App
12050
12051 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12052
12053 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
12054 New. First step to factor out the "Datenkorb" logic into a service independent
12055 singleton.
12056
12057 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
12058 Uses the "Datenkorb" singleton now.
12059
12060 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
12061
12062 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
12063 Removed "index" property, because it is already existing in parent
12064 class.
12065
12066 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12067
12068 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
12069 Improved error handling.
12070
12071 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12072
12073 * src/main/resources/metadata/template.xml: Deleted.
12074
12075 * doc/conf/meta-data-template.xml: New. Was template.xml
12076
12077 * doc/conf/conf.xml: Made meta data template configurable.
12078
12079 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
12080 Load template from configuration not from resources.
12081
12082 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12083
12084 * src/main/resources/metadata/template.xml: s/[a-z]+-id/db-id/
12085 Make database ids identifiable with unique name "db-id".
12086
12087 2011-07-19 Ingo Weinzierl <ingo@intevation.de>
12088
12089 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
12090 Override the toXML() method. Subclasses can now write their own XML
12091 representation.
12092
12093 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
12094 New. This ManagedFacet uses an Element (DOM) to store the information
12095 about a facet. The intent of this facet type is to represent a facet
12096 stored in an Collection attribute. Different facets can have different
12097 attributes that we need to parse, but the only thing ManagedFacets need
12098 to do, is to adjust the attributes "active" and "position". So, those
12099 values are set directly on the Element, the other attributes aren't
12100 touched.
12101
12102 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java:
12103 New. This facet is a wrapper for another facet. This subclass of a
12104 ManagedFacet overrides the toXML() method. The XML representation is
12105 defined by the inner facet that is stored as member variable. The
12106 ManagedFacet specific attributes "artifact", "facet", "pos" and "active"
12107 are added manually.
12108
12109 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Uses
12110 the toXML() method to write a facet node into the attribute document.
12111
12112 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Uses
12113 the ManagedDomFacet to save the information of a facet which is
12114 contained in the attribute part of a Collection's DESCRIBE document.
12115
12116 * src/main/java/de/intevation/flys/collections/OutputParser.java: Uses the
12117 ManagedFacetAdapter to save a facet, because we want to keep the
12118 specific facet to be able to write its specific XML representation into
12119 the Collection's DESCRIBE document.
12120
12121 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12122 Adapted the XPath of facets stored in the attribute part of the
12123 DESCRIBE.
12124
12125 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
12126
12127 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
12128 method that returns the Outputs for the Artifact.
12129
12130 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12131 Adapeted the call of OutputParser.
12132
12133 * src/main/java/de/intevation/flys/collections/OutputParser.java:
12134 Simplified the code to read the Outputs of Artifacts. This parser will
12135 now longer parse the DESCRIBE documents of the Artifacts, but query the
12136 Outputs via FLYSArtifact.getOutputs() directly.
12137
12138 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
12139
12140 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
12141 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
12142 Adapted the function call of ProtocolUtils.appendOutputModes().
12143
12144 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
12145 Override toXML() to add the URL and layernames to the XML representation
12146 of this facet.
12147
12148 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
12149
12150 * doc/conf/artifacts/wmsbackground.xml,
12151 doc/conf/artifacts/riveraxis.xml: New configurations for an Artifact
12152 that is used as background layer in floodmaps, and an artifact that is
12153 used as layer showing the river axis in a floodmap.
12154
12155 * doc/conf/output-defaults.xml: New file to configure default artifacts
12156 for specific output states. E.g. the floodmap state recommends a
12157 background layer and a layer displaying the river axis. In suche case,
12158 the floodmap state recommends two artifacts for the two layers.
12159
12160 * doc/conf/conf.xml: Added new artifacts/artifact-factories and a Hook to
12161 monitor artifacts (-> CollectionMonitor.java).
12162
12163 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
12164 New. This facet is used to represent a layer in a map. So, this facet
12165 stores information about a WMS URL and the layer names provided by this
12166 WMS.
12167
12168 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
12169 facet types for the wmsbackground and riveraxis.
12170
12171 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
12172 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java:
12173 New. An artifact and its default state. The intent of these classes is
12174 to generate WMSLayerFacets which represent background layers in maps.
12175
12176 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
12177 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: New.
12178 An artifact and its default state. The intent of these classes is to
12179 generate WMSLayerFacets which represent layers that display a river
12180 axis.
12181
12182 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
12183 Added the INIT ComputeType.
12184
12185 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
12186 case for the INIT ComputeType while computing data.
12187
12188 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
12189
12190 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
12191 Added a method computeInit() which is called to initialize data/facets
12192 after an artifact has been created.
12193
12194 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Repaired
12195 broken XPath.
12196
12197 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
12198
12199 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
12200 Removed the code to generate new artifacts. Instead of creating new
12201 artifacts automatically, we decided to suggest creating new artifacts
12202 from specific types. Therefore, the DESCRIBE document of the artifacts
12203 is extended with a node that contains recommended artifact types.
12204
12205 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12206 FLYSArtifacts might be setup with the identifier of an other
12207 FLYSArtifact. Subclasses are able to override a method called
12208 initialize(Artifact, GlobalContext). This might be helpful to extract
12209 required values or clone artifacts.
12210
12211 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
12212
12213 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
12214 Adapted the signature of createArtifactContext() - it returns an
12215 instance of GlobalContext now.
12216
12217 2011-07-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12218
12219 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
12220 Debugged the water fill algorithm. Added a lot of logging.
12221
12222 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
12223 Added a text field to give a water level to fill in.
12224
12225 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
12226
12227 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
12228 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved code
12229 to create the output modes based on the given facets to FLYSArtifact. In
12230 addition, FLYSArtifact got a new method that returns a specific input
12231 value as string.
12232
12233 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: New.
12234 This hook monitors the "post-feed" and "post-advance". If the monitored
12235 Artifact's state has configured recommended artifacts, this hook will
12236 create new Artifacts.
12237
12238 TODO: We have to add the UUIDs of the new Artifacts to the DESCRIBE
12239 document of the artifact to let the client know, that there are new
12240 recommended Artifacts.
12241
12242 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: New.
12243 This Artifact is the base class for Artifacts, that represent static
12244 data. E.g. this could be a decoration theme in a chart or a background
12245 layer in the map.
12246
12247 * src/main/java/de/intevation/flys/artifacts/states/OutputState.java: New.
12248 This state might be used as base class for states, that doesn't require
12249 any user input, but only provide static Facets added by a computeFeed()
12250 operation. So, subclasses need to implement computeFeed() only.
12251
12252 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12253
12254 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
12255 New. Standalone Swing-App to test cross sections from database without the
12256 hassles of our complete software stack. Runnable from a maven environment:
12257
12258 $ mvn -e \
12259 -Dflys.backend.user=DB_USER \
12260 -Dflys.backend.password=DB_PASSWD \
12261 -Dflys.backend.url=DB_CONNECTION_URL \
12262 -Dexec.mainClass=de.intevation.flys.artifacts.charts.CrossSectionApp \
12263 exec:java
12264
12265 You can set the river to be used with the system property 'river'.
12266 Defaults to 'Mosel'.
12267
12268 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
12269 Removed superfluous imports.
12270
12271 2011-07-13 Ingo Weinzierl <ingo@intevation.de>
12272
12273 * doc/conf/artifacts/winfo.xml: The FloodMapState has a new Outputmode
12274 called "floodmap" now.
12275
12276 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: New.
12277 This facet is used to generate WSPLGEN results.
12278
12279 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
12280 the WSPLGENFacet.
12281
12282 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12283 This state will now generate WSPLGENFacets.
12284
12285 2011-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12286
12287 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
12288 Fixed corner case.
12289
12290 2011-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12291
12292 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: New.
12293 fillWater() generates a list of wet lines for a given profile and a
12294 given water level.
12295
12296 2011-07-08 Ingo Weinzierl <ingo@intevation.de>
12297
12298 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
12299 Outputs created while generating the DESCRIBE document will now have the
12300 'type' member set.
12301
12302 * src/main/java/de/intevation/flys/collections/OutputParser.java: Read the
12303 'type' member from DESCRIBE document.
12304
12305 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
12306
12307 * doc/conf/artifacts/winfo.xml: Removed a typo.
12308
12309 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
12310
12311 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
12312 DataFacet are now able to store the ID of the state which has created
12313 this Facet.
12314
12315 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12316 Initialize DataFacets with the ID of this state. This is necessary to
12317 renew the waterlevel data if it is no longer existing in the cache.
12318
12319 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
12320
12321 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: A
12322 report facet can now store the state's id and the artifact's hash value
12323 when it has been created.
12324
12325 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12326 Initialize the ReportFacet and WaterlevelFacet with state id and hash
12327 information. This has been necessary to retrieve reports and waterlevels
12328 in states after this one - in states that we need to enter for floodmap
12329 parameterization.
12330
12331 2011-07-05 Ingo Weinzierl <ingo@intevation.de>
12332
12333 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java:
12334 Changed the desired UI provider.
12335
12336 2011-07-05 Ingo Weinzierl <ingo@intevation.de>
12337
12338 * doc/conf/artifacts/winfo.xml: Added the option to continue the
12339 waterlevel parameterization with the intent to create flood maps.
12340
12341 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12342 This state is no longer a final state. The user has the option to
12343 continue with the parameterization for flood maps based on the current
12344 waterlevel. Therefore, this states desires the "continue" UI provider.
12345 Clients should recognice this to just step to the next state or display
12346 a button that lets the user step to the next state manually.
12347
12348 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java,
12349 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
12350 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
12351 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
12352 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
12353 src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java:
12354 New. These states are used to parameterize a further calculation type:
12355 flood map.
12356
12357 * src/main/resources/messages.properties,
12358 src/main/resources/messages_de_DE.properties,
12359 src/main/resources/messages_en.properties,
12360 src/main/resources/messages_de.properties: Required strings for the
12361 flood maps states.
12362
12363 2011-07-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12364
12365 Fix(?) for flys/issue114
12366
12367 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
12368 Make guessing a bit more robust.
12369
12370 2011-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12371
12372 Added the math needed to calculate "W-Differenzen" in "Laengsschnitten".
12373 Needs testing!
12374
12375 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
12376 Made it an interface to be usable in more than one inheritance chain.
12377
12378 * src/main/java/de/intevation/flys/artifacts/model/NamedObjectImpl.java:
12379 Implements the NamedObject interface and is the new base class of
12380 WQ and WKmsImpl.
12381
12382 * src/main/java/de/intevation/flys/artifacts/model/WKms.java:
12383 New. Interface to associate kms with ws.
12384
12385 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
12386 Changed the base class to NamedObjectImpl. Renamed getKms(int)
12387 to getKm(int) to make clear it return a single scalar value
12388 and fullfil the WKms interface.
12389
12390 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
12391 New. Implements the WKms interface. Intended to be a lightweight
12392 datastore for "zusaetzliche Laengsschnitte" and as results
12393 of the WKmsOperations.
12394
12395 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
12396 Changed base class to NamedObjectImpl.
12397
12398 * src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java:
12399 New. Operations on WKms data.
12400 Currently only the SUBTRACTION operation is implemented. This
12401 one is needed to calculate the "W-Differenzen". The operation
12402 is insensitive about the km directions of the datasets. Missing
12403 values are interpolated linear.
12404
12405 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
12406 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12407 Adjusted to satisfy the signature change of WQKMs.
12408
12409 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
12410
12411 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: New. This
12412 XYSeries stores the style information that should be used to render this
12413 series. These information are stored as raw XML documents. A public
12414 method can be used to apply those style information to a
12415 XYLineAndShapeRenderer.
12416
12417 Note: The only two attributes currently supported by StyledXYSeries
12418 items are "linesize" and "linecolor".
12419
12420 * doc/conf/themes.xml: Added some more basic themes for the four
12421 calculation methods.
12422
12423 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: This
12424 generator now tries to apply themes for all series contained in the
12425 chart. If a series is no instance of StyledXYSeries, the default
12426 renderer is used.
12427
12428 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
12429 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
12430 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12431 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12432 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12433 Removed the code that had been introduced to adapt renderers statically.
12434 Now, each of these concrete ChartGenerators instantiates StyledXYSeries
12435 items to put the curves into the chart. Those items contain style
12436 information now!
12437
12438 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
12439
12440 flys/issue135 (Diagramm: Trotz abgeschalteter Themen bleiben Beschriftungen bestehen)
12441
12442 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The way
12443 to store datasets has changed. Until this revision, the concrete
12444 generators managed their own datasets. E.g. the
12445 DischargeLongitudinalSectionGenerator had three datasets: w, q and
12446 corrected w. Now, there are just two datasets, managed by this base
12447 generator - one dataset for the first Y axis and one dataset for the
12448 second Y axis. This makes it easier to remove axes, that have no data to
12449 be displayed. All concrete chart generators have to add their XYSeries
12450 using two methods: addFirstAxisSeries() and addSecondAxisSeries().
12451
12452 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
12453 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
12454 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12455 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12456 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12457 Those concrete chart generators no longer manage datasets themself but
12458 they use the two methods described above, to plot the data to the first
12459 or second Y axis.
12460
12461 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
12462
12463 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
12464 Added the option to use a filter to reduce the number of items returned
12465 by this service.
12466
12467 2011-06-30 Ingo Weinzierl <ingo@intevation.de>
12468
12469 flys/issue159 (WINFO: Radiobutton - Ortsauswahl bei "W für ungleichwertigen Abflusslängsschnitt" entfernen)
12470
12471 * doc/conf/artifacts/winfo.xml: Changed the kilometer range input for
12472 calculation 4. This calculation type requires a kilometer range. So,
12473 after choosing the calculation 4, the transition model leads to a state
12474 that just allows the input of a kilometer range with no option to
12475 enter locations.
12476
12477 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
12478 New. A base state for the kilometer selection for calculations. The
12479 target of this state is to provide facets for the duration curves.
12480
12481 * src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java:
12482 New. This state is used to enter a kilometer range. The difference to
12483 the LocationDistanceSelect state is, that there is no option to enter
12484 locations.
12485
12486 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
12487 Improved this state to be the base state for calculation ranges.
12488
12489 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java
12490 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java
12491
12492 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
12493 state no longer inherits from RangeState which now is used as base
12494 state for kilometer ranges.
12495
12496 * src/main/resources/messages.properties,
12497 src/main/resources/messages_de_DE.properties,
12498 src/main/resources/messages_en.properties,
12499 src/main/resources/messages_de.properties: Added new i18n strings for
12500 the DistanceSelect state.
12501
12502 2011-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12503
12504 * pom.xml: Downgraded Trove to 1.1-beta-5, because the new
12505 later ones are removed from the maven repos.
12506
12507 The functionality we need is in 1.1 so this downgrade should
12508 cause no problems.
12509
12510 Would be nice if we would support the maintainers of trove to
12511 bring there new versions back into the main maven repos.
12512
12513 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
12514
12515 * pom.xml: Repaired the JBoss repository which place has changed.
12516
12517 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
12518
12519 Tagged RELEASE 2.4
12520
12521 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
12522
12523 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
12524 src/main/java/de/intevation/flys/exports/WstWriter.java:
12525 Append the corrected W column (if existing) to the WST export.
12526
12527 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12528
12529 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
12530 Guessing increaing w is not based on direct neighbors any more.
12531 The second to be compared with is choosen by random of
12532 the values before the first one. This makes the guessing
12533 more robust against 'plateaus' of equal w values.
12534
12535 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12536
12537 * src/main/java/de/intevation/flys/exports/ATWriter.java: Array
12538 for constructing the spline was too large leading to non-increasing
12539 values.
12540
12541 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12542
12543 Fix for flys/issue150
12544
12545 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
12546 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12547 Invert the x axis if its guessed that water is increasing.
12548
12549 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12550
12551 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(guessWaterIncreasing):
12552 Added a method to guess based on a given factor of the size (default 0.05)
12553 if the water levels are increasing. Needed to determine in which direction
12554 the water level curve should be orientated. Based on random to avoid
12555 running over large dataset each time a diagram is generated.
12556
12557 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
12558
12559 flys/issue177 (WINFO: Abflusskurven am Pegel verursachen ein Hängen des Servers)
12560
12561 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
12562 Commented out code to generate time ranges for series names. There
12563 seems to be a problem while loading the discharge tables of a gauge or
12564 while determining the start and/or end time of such discharge tables.
12565
12566 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12567
12568 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace.
12569
12570 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12571
12572 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12573 Removed dead code.
12574
12575 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12576
12577 Fix for flys/issue173
12578
12579 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
12580 Fixed the way the gauge was found for a given interval.
12581 The old way does not work because it was just tested if
12582 the station point was inside the segments which is not
12583 necessarily true. The obvious solution to simply check
12584 the overlapping intervals does not work either because
12585 the gauge ranges touch each other and so more than
12586 one gauge are returned in these cases. The River.maxOverlap()
12587 is now used to find the gauge with the max overlapping
12588 range.
12589
12590 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12591
12592 Fix for flys/issue147
12593
12594 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
12595 Removed the 'kmUp' flag. It was an left over from former
12596 WSP calculations (w/o ref km) leading to wrong results now.
12597
12598 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12599 Don't pass the kmUp flag to the calculation.
12600
12601 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12602 Added debug output to see the value of 'wq_free'.
12603
12604 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12605
12606 Fix for flys/issue86
12607
12608 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12609 The reference gauge for calculations "am Pegel" was determined
12610 wrong.
12611
12612 2011-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12613
12614 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
12615 Conversion w->q was broken. This should fix a number of issues
12616 around "W am Pegel" calculations.
12617
12618 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12619 Issue an error report if a w->q conversion fails.
12620
12621 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12622 The gauge to convert w->q with its discharge table was determined wrong.
12623
12624 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
12625
12626 flys/issue174 (Diagramm: Q-Linie wird bei initialem Laden des Diagramms
12627 anders dargestellt als bei Ansicht auf gesamten Wertebereich)
12628
12629 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12630 The chart will now have upper margins again.
12631
12632 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
12633
12634 flys/issue172 (Diagramm: Ursprung der Diagramme bei Dauerzahlen)
12635
12636 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
12637 Charts of this type will have the lower X value set to "0".
12638
12639 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12640
12641 * src/main/java/de/intevation/flys/exports/ATWriter.java:
12642 Results are now in cm. Made it more robust against corner cases.
12643
12644 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
12645 Removed superfluous import.
12646
12647 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12648
12649 * doc/conf/artifacts/winfo.xml, doc/conf/conf.xml:
12650 Added facet config for AT exports.
12651
12652 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12653 Added 'at' facet type.
12654
12655 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
12656 Generate AT facets.
12657
12658 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12659
12660 * src/main/java/de/intevation/flys/exports/ATExporter.java: New.
12661 Exporter for AT facets. Needs testing.
12662
12663 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12664
12665 * src/main/java/de/intevation/flys/exports/ATWriter.java: New.
12666 Writer for AT files. New code because our data model differs
12667 from Desktop-FLYS. Needs testing.
12668
12669 2011-06-23 Ingo Weinzierl <ingo@intevation.de>
12670
12671 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
12672
12673 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12674 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
12675 Moved the method that adjusts the X-axis to include the "0" value from
12676 ComputedDischargeCurveGenerator to DischargeCurveGenerator. Now, both
12677 charts will include the "0" on the X-axis.
12678
12679 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12680
12681 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
12682 Based on WQ now to make it exportable as AT.
12683
12684 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12685
12686 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
12687 New. Base class for WQKms.
12688
12689 TODO 1: make it a base class for WQDay, too,
12690 TODO 2: Generate instances of WQ instead of WQKms in "Abflusskurven"
12691 calculations. This will save memory.
12692
12693 AT exporter will get instances of this class as data model
12694
12695 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
12696 Add default constructor to ease inheritance.
12697
12698 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
12699 Based on WQ now. Removed code allready defined in base class.
12700
12701 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12702
12703 * doc/conf/artifacts/winfo.xml: Add TODOs for error reports
12704 of "Abflusskurven am Pegel". Maybe we don't need them?
12705
12706 * doc/conf/conf.xml: Configure report for each calculated output type.
12707
12708 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
12709
12710 flys/issue164 (Berechnung 4: Umgekehrtes Berechnungsintervall führt zur)
12711
12712 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
12713 Create the items with range information for W and Q which allows the
12714 client to validate the user inserted values.
12715
12716 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12717
12718 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12719 Arguments in filling datastructure were flip. Now
12720 the "Abflusskurve am Pegel" looks correct again.
12721
12722 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
12723 Removed superfluous imports.
12724
12725 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12726
12727 Improved situtation on rendering "Abflusskurve am Pegel". Not
12728 fully working, yet.
12729
12730 * doc/conf/artifacts/winfo.xml: Generate facets for the location path, too.
12731
12732 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Misspelled
12733 the facet which prevented the facets from being to the outputs.
12734
12735 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
12736 Extended to store the hash and the state id of the producing artifact/state
12737 else it results in NPEs because the data is calculated on later (wrong) states.
12738
12739 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
12740 Store the state id and the hash in the facet, too.
12741
12742 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Add two
12743 method to do calculations for a state the artifact is currently not in
12744 and fetching the current state id.
12745
12746 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12747
12748 * doc/conf/artifacts/winfo.xml: Generate facets for "Abflusskurven am Pegel"
12749 Not working by now. :-/
12750
12751 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New facet type
12752 for "Abflusskurven am Pegel"
12753
12754 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Do calculation
12755 in the artifact not in the output generator.
12756
12757 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
12758 Generate the new facets.
12759
12760 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
12761 Fetch data from facet.
12762
12763 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
12764
12765 flys/issue161 (Diagramm: Q-Achse in W-Längsschnitten immer bei Q=0)
12766
12767 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12768 The Q axis (which is the second y axis) initially contains the 0 value.
12769 After a zoom action has taken place, this behaviour is no longer
12770 supported.
12771
12772 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12773
12774 Draw correction curve again.
12775
12776 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
12777 Use correction curve to map plot to axes. Not doing so prevented
12778 the correction curve from being drawn!
12779 Smaller code cleanups and simplifications.
12780
12781 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
12782 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
12783 Added methods to directly access the components w, q and c
12784 at a given index.
12785
12786 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
12787 Attribute access via DOM instead of XPath.
12788
12789 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12790 Code simplification.
12791
12792 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
12793
12794 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
12795
12796 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Splitted
12797 up zooming for x and y axes to be able to override specific axis
12798 zoom behaviour.
12799
12800 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
12801 The lower bound of the x axis (which is the Q axis in such chart) is
12802 always 0.
12803
12804 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
12805
12806 flys/issue90 (Diagramm: Trennung derDiagrammfläche und Achsenaufheben)
12807
12808 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12809 Added a margin between chart data and chart axes.
12810
12811 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12812
12813 Fix for flys/issue158
12814
12815 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
12816 Checks for right class now.
12817
12818 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12819
12820 Fix for flys/issue154
12821
12822 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
12823 Checks for right class now.
12824
12825 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12826
12827 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12828 Only generate 'outs' if they have facets.
12829
12830 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
12831 'boolean ? true : false' <=> 'boolean'
12832
12833 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
12834
12835 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12836 Added the time-to-live to the DESCRIBE document.
12837
12838 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12839
12840 * doc/conf/artifacts/winfo.xml: Configured states to generate report facets.
12841
12842 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12843
12844 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
12845 Return the report.
12846
12847 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
12848 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
12849 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
12850 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12851 Generate report facets if there are problems with the calculations.
12852 TODO: Adjust winfo.xml to configure the facets.
12853
12854 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12855
12856 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
12857 New. Generator for calculation reports.
12858
12859 * doc/conf/conf.xml: Added ReportGenerator.
12860
12861 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12862 Added type 'report'.
12863
12864 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
12865 Specialized facet for serving reports. TODO: Added them to the
12866 calculation states.
12867
12868 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
12869 Looped through CallMeta for i18n purposes. TODO: do i18n
12870
12871 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12872 Removed superfluous import.
12873
12874 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
12875 Added some override annotations.
12876
12877 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12878
12879 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java:
12880 New. Used to transport the data and the error report.
12881
12882 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
12883 src/main/java/de/intevation/flys/artifacts/model/Calculation1.java,
12884 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
12885 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
12886 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java,
12887 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
12888 src/main/java/de/intevation/flys/artifacts/model/Calculation.java,
12889 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
12890 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
12891 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
12892 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
12893 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
12894 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
12895 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
12896 Use the CalculationResult now.
12897
12898 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12899
12900 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
12901 Allow an explicit reference km to enable calculation "am Pegel".
12902
12903 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12904 If a calculation "am Pegel" is done, take start km of the
12905 calculation range and find the gauge in which range it is located.
12906 Take the station of the gauge as the reference km. If no gauge
12907 is found the calcualtion falls back to calculation "auf freier Strecke".
12908
12909 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12910 Replaced another inefficient attribute extraction via XPath
12911 with direct DOM access.
12912
12913 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12914
12915 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
12916 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
12917 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
12918 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12919 Removed dead code.
12920
12921 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12922
12923 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java
12924 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
12925 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
12926 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
12927 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
12928 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
12929 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
12930 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
12931 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12932 Only generate facets when needed.
12933
12934 * src/main/java/de/intevation/flys/collections/OutputParser.java:
12935 Removed more XPath for simply accessing attributes of an element.
12936
12937 * doc/conf/cache.xml: 200 elements in memory for "computed.values" are enough,
12938 LRU as eviction strategy is sufficent.
12939
12940 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
12941 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Use
12942 more 'standard' Java naming conventions.
12943
12944 2011-06-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12945
12946 Merged in the facet-slt branch to bring in the 'facet' feature.
12947
12948 * doc/conf/artifacts/winfo.xml: Fixed some facets.
12949
12950 * doc/conf/cache.xml: Added a "computed.values" cache to store the
12951 results of the WINFO calculations.
12952
12953 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
12954 Add support for index per facet to make them unique and identifiable.
12955
12956 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12957 New. Inteface to be used to access the facet names of the configuration.
12958
12959 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: New.
12960 A facet to be used to have raw access to the computed data of an artifact.
12961 Useful to export things like CSV and WST.
12962
12963 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: New.
12964 Specialized facet to access the water level data stored in WQKms arrays.
12965
12966 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java: New.
12967 Specialized facet to access the duration data stored in WQDay data structures.
12968
12969 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Facets are
12970 now generated dynamically from the current available ones stored with
12971 the artifact.
12972
12973 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Added
12974 methods computeAdvance() and computeFeed() called if artifact is fed or
12975 adance. This overwritten in subclasses to do the state depending calculations.
12976
12977 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
12978 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
12979 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
12980 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
12981 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: These
12982 states overwrites the computeAdvance() and computeFeed() methods to do
12983 the corresponding WINFO calculations.
12984
12985 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Calls
12986 computeAdvance() and computeFeed() if artifact is fed or advanced. Centralized
12987 the caching mechanism.
12988
12989 * src/main/java/de/intevation/flys/exports/AbstractExporter.java,
12990 src/main/java/de/intevation/flys/collections/AttributeParser.java,
12991 src/main/java/de/intevation/flys/collections/OutputParser.java,
12992 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
12993 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12994 Adjusted the code to cope with the indices of the facets. Used
12995 DOM to access the attributes instead of XPath. Removed smaller bugs
12996 concerning position generation.
12997
12998 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
12999 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
13000 src/main/java/de/intevation/flys/exports/OutGenerator.java:
13001 Forwarded facet references.
13002
13003 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
13004 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
13005 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
13006 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
13007 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
13008 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
13009 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
13010 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
13011 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
13012 Uses facets to fetch data and generate output now.
13013
13014 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
13015
13016 * doc/conf/artifacts/winfo.xml: Added a new parameter "wq_free" that
13017 determines the mode of calculation 1. If it is "false" (default),
13018 the calculation should be bound to a gauge.
13019
13020 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
13021 method to retrieve the information about the "wq_free" parameter.
13022
13023 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
13024
13025 * doc/conf/artifacts/winfo.xml: Added a facet for corrected W in
13026 computation 4.
13027
13028 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13029
13030 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
13031 Got rid of namespace in result document.
13032
13033 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
13034
13035 flys/issue77 (Diagramm: Beschriftung der Kurven bei Dauerlinien)
13036
13037 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
13038 Give the curves in the chart names.
13039
13040 * src/main/resources/messages.properties,
13041 src/main/resources/messages_de_DE.properties,
13042 src/main/resources/messages_en.properties,
13043 src/main/resources/messages_de.properties: Added titles for duration
13044 chart curves.
13045
13046 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13047
13048 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
13049 Write top 'Oberkante' and bottom 'Unterkante' to out going XML
13050 if they exist.
13051
13052 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
13053
13054 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
13055 Write the min/max W/Q ranges as art:range elements into the DESCRIBE.
13056
13057 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
13058
13059 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
13060 This state that is used to retrieve locations will now write the
13061 kilometer range of the selected river into the DESCRIBE document.
13062
13063 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13064
13065 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
13066 New. Factored out version of "Wasserspiegellage" calculation.
13067 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
13068
13069 Removed some dead code.
13070
13071 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
13072 Added Override annotation and used quick access method.
13073
13074 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13075 Looped through error reporting use by interpolate.
13076
13077 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13078 Used factored out version of calculation 1. Removed dead code.
13079
13080 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13081
13082 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java:
13083 New. Factored out version of "Abflusskurve".
13084
13085 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13086 Loop errors through w/q at km interpolation.
13087
13088 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13089 Use factored out version of calculation 2.
13090
13091 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13092
13093 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
13094 New. Factored out version of "Dauerzahlen".
13095
13096 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13097 Loop errors through for q->w interpolations.
13098
13099 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
13100 Added constructor to directly create with calculated results.
13101
13102 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
13103 Added method to return the number of problems.
13104
13105 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13106 Use factored out version of calculation 3.
13107
13108 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13109
13110 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
13111 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java,
13112 src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
13113 Added methods to remove NaN values.
13114
13115 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13116
13117 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
13118 New. Base class for calculations. Used to collect problems occuring
13119 during calculation.
13120
13121 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
13122 Extends Calculation now. Looped through the problem reports to
13123 base class.
13124
13125 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
13126 Looped through the problem reports.
13127
13128 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
13129
13130 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
13131 Append the min/max range and a transformation matrix for each axis.
13132
13133 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
13134 Instantiate the InfoGeneratorHelper with a XYChartGenerator instance.
13135
13136 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13137 Changed the zoom operation. The zoom values defined in the chart request
13138 document are no longer absolute values for a specific axis. Those values
13139 represent percental values for the start and end point of x and y axes.
13140 E.g. a chart has three axes with the following ranges:
13141 - x axis : 0 - 10
13142 - y axis 1: 20 - 40
13143 - y axis 2: 40 - 90
13144 - zoom values for x: 0.1 - 0.9 (10% - 90%)
13145 - zoom values for y: 0.2 - 0.8 (20% - 80%)
13146 The produced chart will have the following ranges:
13147 - x axis : 1 - 9
13148 - y axis 1: 24 - 36
13149 y axis 2: 50 - 80
13150
13151 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
13152
13153 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
13154 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
13155 Map datasets to axes correctly.
13156
13157 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13158
13159 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
13160 Determine the gauges by their station positions. This hopfully
13161 fixes the problem with wrong assigned gauges and invalid segments.
13162
13163 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13164
13165 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
13166 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
13167 Added more debug output.
13168
13169 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
13170
13171 flys/issue103 PART 1 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz)
13172
13173 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
13174 Selected values are formatted with the current locale. The static part
13175 of the DESCRIBE document will now contain i18n formatted numbers.
13176
13177 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
13178
13179 flys/issue93 (WINFO: Benennung der Berechnungsart korrigieren)
13180
13181 * src/main/resources/messages_de_DE.properties,
13182 src/main/resources/messages_de.properties: Changed the name of
13183 calculation 4.
13184
13185 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
13186
13187 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13188 Made the range determination more robust against NaN values.
13189
13190 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
13191
13192 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13193 The second y axis is set to position "1". It was set to "2" before, but
13194 in that case, there was no position "1".
13195
13196 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13197
13198 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
13199 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
13200 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
13201 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
13202 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
13203 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
13204 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
13205 s@m³/s@m\\u00b3/s@
13206
13207 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13208
13209 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
13210 Only generate an axis element if a axis really exists.
13211
13212 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13213
13214 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
13215 Simpified array swapping.
13216
13217 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13218
13219 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
13220 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13221 Use java.util.List instead of java.util.Vector
13222
13223 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
13224 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
13225 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
13226 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13227 Removed superfluous imports.
13228
13229 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13230
13231 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
13232 createItem() is not abstract any longer to avoid code repetitionin sub classes.
13233
13234 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
13235 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
13236 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
13237 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
13238 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
13239 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
13240 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
13241 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
13242 Removed duplicated code, inserted default constructors and Override annotations.
13243
13244 2011-06-07 Ingo Weinzierl <ingo@intevation.de>
13245
13246 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
13247 Append axes range information to the info document.
13248
13249 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13250
13251 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13252 If feed() fails do not store invalid values in database.
13253
13254 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13255
13256 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
13257 Removed asymmetrical "- 1" from width calculation.
13258
13259 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13260
13261 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
13262 Fixed problem when more than one value per segment are given.
13263
13264 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13265
13266 Refactored version of "Berechnung 4"
13267
13268 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
13269 Added instance fields for a reference point (= location of gauge)
13270 and backup of values (needed for naming).
13271
13272 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
13273 Added a constructor to be created from a WQKms. This is helpful
13274 if a WQKms is replaced by a back jump correction.
13275
13276 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
13277 New. Outfactored version of "W bei ungleichmaessigen Abflusslaengsschnitt".
13278 Much cleaner now and it should have a better handling of the corner
13279 cases.
13280
13281 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13282 Removed the linear interpolation stuff. It is now in Linear. Removed
13283 the LinearRemap interpolation method because it is not needed any
13284 longer. Added a method to interpolate a given km with a given
13285 function.
13286
13287 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13288 Removed the old calc 4 and used the new one.
13289
13290 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
13291 Deleted. Not needed any longer.
13292
13293 * src/main/java/de/intevation/flys/artifacts/math/Function.java:
13294 New. Interface for a uni-variate real function.
13295
13296 * src/main/java/de/intevation/flys/artifacts/math/Identity.java:
13297 New. Implements Function with f(x) = x
13298
13299 * src/main/java/de/intevation/flys/artifacts/math/Linear.java:
13300 New. Implements Function with f(x) = m*x + b
13301
13302 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13303 Factored some stuff out to DoubleUtil. Removed some dead code.
13304 Does some rounding correct.
13305
13306 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: New.
13307 Centralized utils surrounding common double operations.
13308
13309 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
13310 Removed superfluous imports.
13311
13312 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
13313
13314 flys/issue90(Diagramm: Trennung der Diagrammfläche und Achsen aufheben)
13315
13316 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13317 Determine the ranges of x and y axes. If no zoom ranges are given, we
13318 will determine the min and max xy values in the dataset manually,
13319 because JFreeCharts adds a margin to the left and right of the data
13320 area automatically..
13321
13322 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
13323
13324 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
13325 the chart creation into an own public method. This lets the
13326 ChartInfoGenerator create charts without duplicating code.
13327
13328 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
13329 Limited the possible class for generators to XYChartGenerator. This
13330 enables the ChartInfoGenerator class to do the whole chart creation
13331 stuff itself without outsourcing the code to concrete subclasses.
13332
13333 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
13334 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
13335 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
13336 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
13337 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
13338 Removed the code to generate charts - this is done in ChartInfoGenerator
13339 now.
13340
13341 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
13342
13343 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
13344 methods to extract the x and y ranges from request document.
13345
13346 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
13347 method that zooms the chart to the specified x and y ranges.
13348
13349 2011-06-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13350
13351 * doc/conf/conf.xml: Set collection ttl to 6 hours.
13352
13353 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13354
13355 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
13356 New. Parse segments only once.
13357
13358 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13359 Expose new parser to artifacts. TODO: Use it.
13360
13361 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13362
13363 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13364 Changed interpolation methods to interpolate to an arbitrary position
13365 in a given double result array as a preparation for segment independent
13366 calculation.
13367
13368 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13369 Removed superfluous import.
13370
13371 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
13372 Fixed cause for crashing: Run back too far in some siutations.
13373
13374 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13375 Refactored range code a bit. Needs more work.
13376
13377 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
13378
13379 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
13380 Interchange the lower and upper x value of the chart if the x-axis is
13381 inverted before the matrix values are computed. Now, the matrix is able
13382 to work with charts that have an inverted x-axis.
13383
13384 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
13385
13386 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: New. A
13387 chart info generator generates a document that contains meta information
13388 for a specific chart. Concrete instances of this abstract class need to
13389 instantiate concrete ChartGenerators and dispatch nearly all methods of
13390 an OutGenerator (init(), doOut(), setMaster()) to this instance. The
13391 generate() method is implemented in the ChartInfoGenerator itself. It
13392 creates a chart with help of the ChartGenerator instance and builds a
13393 document that contains meta information of this chart.
13394
13395 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: New.
13396 This helper is used to create the chart info document. At the moment,
13397 the only information that is included in this document is a
13398 transformation matrix to transform image coordinates into chart
13399 coordinates.
13400
13401 NOTE: The transformation matrix creation needs some work to support
13402 charts with inverted X axis.
13403
13404 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
13405 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
13406 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
13407 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
13408 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
13409 Concrete instances of ChartInfoGenerator that create the chart info for
13410 the currently supported chart types.
13411
13412 * doc/conf/conf.xml: Registered new OutGenerators.
13413
13414 2011-05-31 Ingo Weinzierl <ingo@intevation.de>
13415
13416 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13417 Added support for the 'type' paramter of the collection's out()
13418 operation.
13419
13420 2011-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13421
13422 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
13423 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13424 Use an explicit reference km for interpolation now.
13425
13426 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13427
13428 * doc/conf/cache.xml: Introduced cache to store the distance info per river.
13429 This boosts performance in following ab setup from 3.61 to 39.91 requests/secs.
13430
13431 $ ab -c 20 -n 1000 -p distances.xml http://127.0.0.1:8181/service/distanceinfo
13432
13433 $ cat distances.xml
13434 <?xml version="1.0" encoding="UTF-8"?>
13435 <art:river xmlns:art="http://www.intevation.de/2009/artifacts">Elbe</art:river>
13436
13437 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: Added
13438 an iterator result to avoid construction expensive interim lists.
13439
13440 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: Use
13441 the cache if configured.
13442
13443 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13444
13445 flys/issue82
13446
13447 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13448 Only successful interpolations are named.
13449
13450 2011-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13451
13452 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
13453 Make it work independent of river flow direction.
13454
13455 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
13456 Fixed bug in ordering segments
13457
13458 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-enabled
13459 calculation of the back jump correction. Fixed more flow direction issues.
13460
13461 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
13462
13463 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13464 Removed call of XMLDebug class which is not in the version control.
13465
13466 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
13467
13468 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13469 Moved the code part that skips themes right after the part that sets the
13470 master artifact for the OutGenerator. We need this master artifact to
13471 display empty charts - master artifact is used to create titles and
13472 axes.
13473
13474 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
13475
13476 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13477 Deactivated themes are not put into the chart.
13478
13479 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
13480
13481 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
13482 Repaired broken XPath expressions to find the output modes in an
13483 attribute document of a collection.
13484
13485 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: This
13486 writer will now create a document that has a root node art:attribute.
13487 Before these changes, the document's root node was art:outputs which is
13488 part of the attribute document but not the right root node.
13489
13490 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13491 Adapted some XPath expressions and corrected the the process to create
13492 attribute documents.
13493
13494 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13495
13496 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
13497 Made it work independent of from/to order.
13498
13499 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13500 Added method to extract the ranges correctly from data.
13501
13502 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13503 Use the correct ranges. Comment out backjump detection temporarily.
13504
13505 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13506
13507 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
13508 Generate fields for w/q input depend on flow direction.
13509
13510 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13511 Moved km up question out of loop.
13512 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13513
13514 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13515 Take the flow direction into account.
13516
13517 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
13518 Prevent NPE.
13519
13520 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
13521 Allow to be 'from' greater than 'to' in ranges.
13522
13523 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Negate
13524 step if 'from' is greater than 'to'.
13525
13526 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13527
13528 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13529 Round exploded values to a precision of 1e-6.
13530
13531 2011-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13532
13533 Qs are now stored in ranges for each column.
13534
13535 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
13536 Deleted.
13537
13538 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
13539 Was WstValueTableFactory2.
13540
13541 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
13542 node linking bug. Removed dead code.
13543
13544 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13545 Q values are now stored in range trees by each column. The qs of the rows
13546 are removed and the calculations are adjusted. Removed dead code.
13547
13548 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13549
13550 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
13551 Moved cache name to WstValueTableCacheKey. Do not cache null references.
13552
13553 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
13554 Moved cache name into this class.
13555
13556 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13557 Store QRangeTree for each column of value table. TODO: Use them!
13558
13559 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
13560 Intended as a replacement for WstValueTableFactory, but is work in progress.
13561
13562 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
13563 index errors and added methods to dump as graphviz graph.
13564
13565 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
13566
13567 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
13568 Improved the validation of WQ values.
13569
13570 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Use the
13571 correct input data object to determine the selected WQ mode (range or
13572 single input).
13573
13574 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
13575
13576 ISSUE-40 (part I/II)
13577
13578 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
13579 Write default values (values already selected by the user before) of the
13580 input data items into DESCRIBE.
13581
13582 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
13583
13584 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
13585 Removed needless imports.
13586
13587 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
13588
13589 ISSUE-85 (part III/III)
13590
13591 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
13592 Added a static function that returns the kilometer values (double[])
13593 from locations input (whitespace separated double values).
13594
13595 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
13596 the getKms() method. It will now return a computed array of kilometers
13597 if we had inserted a range, or it will return the inserted kilometers if
13598 we had inserted locations.
13599
13600 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13601
13602 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
13603 Moved cache key to separate class.
13604
13605 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
13606 New. The new cache key class.
13607
13608 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13609
13610 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
13611 Model to store the q values of a WST column efficiently. First
13612 building block not to store the q values directly aside the
13613 w values.
13614
13615 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
13616
13617 ISSUE-85 (part I/III)
13618
13619 * doc/conf/artifacts/winfo.xml: Added two further field 'ld_mode' and
13620 'ld_locations' to the range/locations state to track the selected mode
13621 and locations.
13622
13623 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
13624 Added methods to validate the user inserted locations.
13625
13626 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
13627 method to determine of a range or locations have been inserted.
13628
13629 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
13630
13631 ISSUE-62 (part II/II)
13632
13633 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Dump the
13634 artifacts state/data in DEBUG mode in describe().
13635
13636 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
13637 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
13638 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
13639 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
13640 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
13641 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
13642 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
13643 States will no longer store data. The only reason for states storing
13644 StateData is to know about the necessary data for this state. If a State
13645 needs to access the user input for a specific StateData object, it needs
13646 to query the FLYSArtifact which stores the data.
13647
13648 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
13649
13650 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
13651 method to dump the artifacts state(s)/data.
13652
13653 2011-05-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13654
13655 flys/issue84
13656
13657 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
13658 Forget to select wst kind.
13659
13660 2011-05-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13661
13662 flys/issue81
13663
13664 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13665 weights for kms were swapped.
13666
13667 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
13668
13669 Tagged RELEASE 2.3.1
13670
13671 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
13672
13673 * Changes: Prepared changes for the upcoming release.
13674
13675 2011-05-20 Hans Plum <hans@intevation.de>
13676
13677 * NEWS:
13678 Hint to Release 2.3.1. For further information look into module
13679 flys-client/NEWS
13680
13681 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13682
13683 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java (getExplodedValues):
13684 Increment kms array size by one to take the end of range, too.
13685
13686 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13687
13688 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
13689 Sort by rows (should not be necessary).
13690
13691 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13692 Use unsharp km lookup (epsilon = 0.0001). This fixes the problem
13693 that some kms were not found.
13694
13695 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
13696
13697 flys/issue66
13698
13699 * src/main/resources/messages_en.properties: Fixed broken template.
13700
13701 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
13702
13703 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13704 Set the name of the computed discharge curve objects.
13705
13706 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13707 The curves of this chart will now have names that consist of the word
13708 'Discharge Curve', the river name and the kilometer that has been used
13709 for the computation.
13710
13711 * src/main/resources/messages.properties,
13712 src/main/resources/messages_de_DE.properties,
13713 src/main/resources/messages_en.properties,
13714 src/main/resources/messages_de.properties: Added i18n strings for the
13715 computed discharge curves.
13716
13717 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13718
13719 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13720 Added convenience method isQ() to determine if we are
13721 doing Q calculations.
13722
13723 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13724 Reintroduced titles for the "W for unausgeglichene Abfluesse".
13725
13726 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
13727
13728 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
13729 The curves will now have names that consist of the gauge name and its
13730 valid time range.
13731
13732 * src/main/resources/messages.properties,
13733 src/main/resources/messages_de_DE.properties,
13734 src/main/resources/messages_en.properties,
13735 src/main/resources/messages_de.properties: Added i18n strings for the
13736 discharge curves.
13737
13738 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13739
13740 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13741 Removed dead code.
13742
13743 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13744
13745 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13746 Use the correct method to generate kms.
13747
13748 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
13749 Added some logging to test the map in debug mode.
13750
13751 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13752
13753 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13754 Made getExplodedValues static.
13755
13756 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13757 Use new logic to calculate "W für ungleichwertige Abfluesse".
13758 Not working, yet.
13759
13760 * ChangeLog: Fixed former entry.
13761
13762 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
13763
13764 * doc/conf/artifacts/winfo.xml: Registered the WST export for discharge
13765 longitudinal sections.
13766
13767 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Set the
13768 names of the discharge longitudinal section computation results.
13769
13770 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
13771 The W/Q curves in the chart will now have names.
13772
13773 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
13774 The WstWriter is filled with column names in an own method. So, we are
13775 able to override this process in subclasses.
13776
13777 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
13778 Adapted the column names for the WST export.
13779
13780 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13781
13782 Work on flys/issue69
13783
13784 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13785 Use new logic to calculate "Wasserstand/Wasserspiegellage".
13786 Compared to desktop FLYS are the results are structurally right
13787 but a bit off in the positions after the decimal points.
13788 Maybe a result of the interpolation? Need to debug this.
13789
13790 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
13791
13792 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13793 W and Q curves will now have names based on the defined W or Q values
13794 for the waterlevel computation.
13795
13796 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
13797
13798 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
13799 New. This object is used to give objects a name.
13800
13801 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Inherit
13802 from NamedObject now. Because we need to display names for those objects
13803 in different places.
13804
13805 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The WQKms
13806 objects returned by a waterlevel computation will now have names.
13807
13808 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
13809 Insert the column names for the WSTs into the WstWriter.
13810
13811 * src/main/java/de/intevation/flys/exports/WstWriter.java: The column
13812 names are written into the head of the WSTs now.
13813
13814 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
13815
13816 * src/main/java/de/intevation/flys/artifacts/model/WstLine.java: New. This
13817 class is used to store the W/Q values of a specific kilometer of a WST.
13818
13819 * src/main/java/de/intevation/flys/exports/WstWriter.java: New. A writer
13820 that creates WSTs.
13821
13822 TODO: The header of the WSTs is not finished. The Q descriptions are
13823 missing.
13824
13825 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
13826 Enabled WST exports.
13827
13828 * doc/conf/artifacts/winfo.xml: Registered the WST export for waterlevels.
13829
13830 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
13831
13832 * src/main/java/de/intevation/flys/utils/Formatter.java: New. This class
13833 supports functions to retrieve formatters for specific types of data
13834 used in FLYS.
13835
13836 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
13837 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
13838 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
13839 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
13840 Removed the formatter declaration - the whole formatter stuff is done in
13841 Formatter now.
13842
13843 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
13844
13845 ISSUE-72
13846
13847 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
13848 Repaired broken XPath expressions to extract start and end kilometer.
13849
13850 2011-05-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13851
13852 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13853 Removed the Hibernate loading stuff.
13854
13855 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
13856 New. The Hibernate loading.
13857
13858 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13859 Use the WstValueTableFactory for loading now.
13860
13861 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
13862
13863 Tagged RELEASE 0.1 aka Version 2.3.0
13864
13865 2011-05-16 Hans Plum <hans@intevation.de>
13866
13867 * NEWS:
13868 New. Giving some user specific perspective to new functionality and
13869 changes. This file references releases dates only; details can be find
13870 in the client module at flys-client.
13871
13872 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13873
13874 First step to calculate "W fuer ungleichwertige Abfluesse" correctly.
13875 flys/issue55
13876
13877 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
13878 New. Remaps "gleichwertige" Q values to the corresponding
13879 "ungleichwertige" Q values depending on km.
13880
13881 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13882 Remap the Q values "ungleichwertig" depending on the
13883 "gleichwertige" ones.
13884
13885 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13886
13887 First step to fix flys/issue69
13888
13889 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13890 New code path to implement the calculation of "Wasserstand/Wasspiegellage"
13891 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code.
13892
13893 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
13894
13895 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes
13896 file to get to know about the changes of the version numbers.
13897
13898 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
13899
13900 ISSUE-37
13901
13902 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This
13903 state would be happy if there is a UI provider called "river_panel".
13904
13905 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
13906
13907 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
13908 methods that return the requested chart size as integer array [width,
13909 height]. The requested size is read from the incomding request document.
13910
13911 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size
13912 of a chart is no longer static. The requested size is fetched using
13913 ChartGenerator.getSize().
13914
13915 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
13916
13917 ISSUE-52
13918
13919 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13920 The X-Axis of such a chart is inverted, if the head of the river is not
13921 at kilometer 0. This type of charts always have the head of the river at
13922 the left side.
13923
13924 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13925
13926 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
13927 Make incoming XML symmetric to DistanceInfoService.
13928
13929 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
13930
13931 ISSUE-47
13932
13933 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
13934 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
13935 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13936 Adjusted temporarily the color of the W, Q and corrected W curves to
13937 distinguish each other.
13938
13939 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
13940
13941 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13942 Adjusted the plot of xy charts - the gridlines are displayed now.
13943
13944 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
13945
13946 ISSUE-53
13947
13948 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
13949 Added a method that returns the preferred locale based on the available
13950 locales of the server and the desired locales of the request (CallMeta).
13951
13952 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
13953 method that creates a number formatter with minimum and maximum digits.
13954
13955 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
13956 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
13957 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
13958 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
13959 Formatted the number values of the CSV exports.
13960
13961 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
13962
13963 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java:
13964 New. A data structure that enables us to save a data triple: a range
13965 that consist of lower and upper double value and a set of values that
13966 belong to this range.
13967
13968 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
13969 Implemented the validation of W/Q values.
13970
13971 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
13972
13973 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New
13974 method to retrieve i18n messages based on keys.
13975
13976 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
13977 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
13978 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
13979 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
13980 Added headers for CSV exports.
13981
13982 * src/main/resources/messages.properties,
13983 src/main/resources/messages_de_DE.properties,
13984 src/main/resources/messages_en.properties,
13985 src/main/resources/messages_de.properties: Added new i18n strings for
13986 CSV headers.
13987
13988 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13989
13990 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
13991 Fetches river name from incoming XML document. If no river is given all
13992 infos about all rivers are listed.
13993
13994 * src/main/resources/metadata/template.xml: Templates honors the 'river'
13995 parameter.
13996
13997 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
13998 Extended to pass parameters to the templating. Added support for
13999 type conversion.
14000
14001 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
14002 Take parameters as an initial stack frame.
14003
14004 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java:
14005 New. Converts types off stacked variables.
14006
14007 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
14008
14009 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
14010 method to add subtitles to charts. The implementation in this class does
14011 not add any subtitle. Concrete subclasses may override this method to
14012 add some.
14013
14014 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
14015 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14016 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14017 Add subtitles to charts.
14018
14019 * src/main/resources/messages.properties,
14020 src/main/resources/messages_de_DE.properties,
14021 src/main/resources/messages_en.properties,
14022 src/main/resources/messages_de.properties: Added i18n templates for
14023 compound messages (chart subtitles).
14024
14025 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
14026
14027 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
14028 Added new methods to retrieve translated compound messages.
14029
14030 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
14031
14032 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
14033 method to set the master artifact that should be used for some special
14034 operations.
14035
14036 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
14037 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
14038 Implement the setMasterArtifact() method of the interface.
14039
14040 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14041 Call OutGenerator.setMasterArtifact().
14042
14043 NOTE: The determination of the master artifact needs to be implemented!
14044
14045 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
14046
14047 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
14048 hard coded dev code that defined a WQ mode.
14049
14050 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14051
14052 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
14053 Stripped ugly extra whitespace from output introduced by
14054 templating.
14055
14056 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14057
14058 * src/main/resources/metadata/template.xml: Added forgotten
14059 columns of fixation WSTs.
14060
14061 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
14062
14063 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
14064 method to retrieve i18n strings.
14065
14066 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
14067 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
14068 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14069 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14070 Enabled i18n support for chart title and axes labels.
14071
14072 * src/main/resources/messages.properties,
14073 src/main/resources/messages_de_DE.properties,
14074 src/main/resources/messages_en.properties,
14075 src/main/resources/messages_de.properties: Added i18n strings for the
14076 chart types above.
14077
14078 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
14079
14080 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
14081 New. This OutGenerator exports the data of a discharge longitudinal
14082 section computation.
14083
14084 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter.
14085
14086 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the
14087 discharge_longitudinal_section state.
14088
14089 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14090
14091 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
14092 Added code to make back jump correction work with both
14093 potential flow directions.
14094
14095 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14096
14097 * src/main/resources/metadata/template.xml:
14098 Added data cage configuration for 'Längsschnitt'.
14099
14100 2011-05-06 Ingo Weinzierl <ingo@intevation.de>
14101
14102 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge
14103 longitudinal sections.
14104
14105 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A
14106 derived dataset to store W/Q values with corrected Ws for a kilometer
14107 range.
14108
14109 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new
14110 methods and a new constructor to initialize this data object with a
14111 predefined set of values.
14112
14113 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
14114 methods to retrieve the W/Q values for the 'discharge longitudinal
14115 section' computation.
14116
14117 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New
14118 methods to retrieve and compute data used for the 'discharge
14119 longitudinal section' computation.
14120
14121 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
14122
14123 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
14124 Bugfix: just write the ranges of gauges into the DESCRIBE if the
14125 'wq_values' data item is required.
14126
14127 * src/main/resources/messages.properties,
14128 src/main/resources/messages_de_DE.properties,
14129 src/main/resources/messages_en.properties,
14130 src/main/resources/messages_de.properties: Added i18n messages used in
14131 the DESCRIBE of the WQAdapted state.
14132
14133 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
14134
14135 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14136 Changed the title of the y-axis (now 'W [NN+m]').
14137
14138 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
14139
14140 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the
14141 output state for creating 'discharge longitudinal section' charts.
14142
14143 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
14144 method that returns all gauges of the selected river based on a the
14145 given kilometer range.
14146
14147 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New.
14148 This state creates a set of elements for the DESCRIBE that consist of a
14149 tuple of kilometer values. The number of elements depend on the number
14150 of gauges intersected by the given kilometer range.
14151
14152 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
14153 New. This state is the output state that is reached after the 'discharge
14154 longitudinal section' computation has been chosen.
14155
14156 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
14157
14158 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default
14159 step width between two kilometers added - if no step width is given,
14160 this default width is used.
14161
14162 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
14163
14164 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14165 Fixed a potential NullPointerException if there is just a single
14166 kilometer given to create a longitudinal section.
14167
14168 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14169
14170 * pom.xml: Added http://repository.jboss.org/maven2 repo
14171 to fix flys/issue30
14172
14173 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14174
14175 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14176 To make diagram generation possible ws are now generated from qs
14177 because they are many ws having different qs.
14178
14179 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
14180
14181 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
14182 Fetch the WQ data from WINFO artifact and write those values into the
14183 CSV export.
14184
14185 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
14186
14187 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
14188 methods to compute and retrieve the data for discharge curves (computed).
14189
14190 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14191 Fetch the computed discharge curve data from WINFOArtifact and add the
14192 values into the JFreeChart dataset.
14193
14194 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
14195
14196 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable
14197 the WINFO artifact for computing discharge curves.
14198
14199 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge
14200 curves and exports for its data.
14201
14202 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
14203 New. This state is reached if the user chose the computed discharge
14204 curve.
14205
14206 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14207 New. This is only a stub implementation at the moment. This
14208 OutGenerator should create computed discharge curves later. It extends
14209 the DischargeCurveGenerator which should do the same stuff for discharge
14210 curves for gauges.
14211
14212 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
14213 New. This is only a stub implementation at the moment. This OutGenerator
14214 should create the exports of the discharge curve computation.
14215
14216 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
14217
14218 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration
14219 curve state (CSV export).
14220
14221 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve
14222 computations.
14223
14224 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New.
14225 This abstract OutGenerator represents the base class for exporting
14226 computed data. Currently, the CSV export is supported.
14227
14228 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved
14229 the most code to export to CSV into the AbstractExporter.
14230
14231 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
14232 New. This exporter exports the computed data of a duration computation.
14233
14234 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
14235
14236 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14237 Modified a wrong debug statement which would confuse the user.
14238
14239 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
14240
14241 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel
14242 state (CSV export).
14243
14244 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels.
14245
14246 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New.
14247 This OutGenerator exports the data of a waterlevel computation. Note:
14248 It is necessary to specify the desired facet (e.g.
14249 'waterlevel_export.csv').
14250
14251 * pom.xml: Added a dependency to OpenCSV.
14252
14253 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
14254
14255 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14256 Introduced an "export" output target. If the target is "export", a
14257 facet (read from the incoming xml document) is a necessary parameter
14258 that determines which facets are written to the output.
14259
14260 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
14261
14262 * src/main/resources/messages_en.properties: Bugfix: replaced german
14263 string (copy & paste mistake).
14264
14265 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
14266
14267 * src/main/resources/messages.properties,
14268 src/main/resources/messages_de_DE.properties,
14269 src/main/resources/messages_en.properties,
14270 src/main/resources/messages_de.properties: Added new i18n strings for
14271 for the location selection.
14272
14273 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
14274
14275 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
14276 New. An OutGenerator for creating duration curves.
14277
14278 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A
14279 model class to store necessary data for creating W and Q facets of a
14280 duration curve. This model stores W, Q and Days.
14281
14282 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
14283 Added a function to retrieve tuples of (day, q) based on a given gauge -
14284 these tuples are necessary for creating duration curves.
14285
14286 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
14287 methods to compute and retrieve the data necessary for creating duration
14288 curves.
14289
14290 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
14291 Bugfix: improved the access to the location array (avoid
14292 NullPointerException).
14293
14294 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves.
14295
14296 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14297
14298 * contrib/visualize-transitions.xsl: State quoting was done wrong.
14299
14300 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
14301
14302 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the
14303 final state for creating duration curves.
14304
14305 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
14306 New. This state should be reached to just insert an array of locations.
14307
14308 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
14309 New. This state is reached if the duration curve calculation is
14310 selected.
14311
14312 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted
14313 getDistance() so that it takes care on inserted locations - not just
14314 inserted ranges.
14315
14316 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14317
14318 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
14319 Flush/persist caches at program exists.
14320
14321 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14322 Commented out too eloquent debug output.
14323
14324 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
14325
14326 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
14327 Uses the methods of FLYSArtifact to retrieve the necessary information
14328 rivername and selected distance.
14329
14330 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14331
14332 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14333 Added interpolateW method to take reference to result ws array
14334 as an argument to avoid expensive array allocations in km iterating
14335 loops.
14336
14337 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
14338 Added a constructor to create backing trove datastructure
14339 with the right capacity.
14340
14341 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14342 Move allocation of result ws out of km loop.
14343
14344 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
14345
14346 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ
14347 selection state. Those items are necessary to store the information
14348 about the selected mode (range/single selection) and the values of the
14349 single selection.
14350
14351 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If
14352 there is no value for a data item, this item is not written into the
14353 static DESCRIBE part.
14354
14355 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
14356 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
14357 Renamed the method to validate upper and lower values.
14358
14359 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
14360 state can now handle values inserted in the single selection. Therefore,
14361 new validate methods has been added.
14362
14363 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
14364 methods getWs() and getWs() take care on the values inserted in the
14365 single insert mode of the client which enables the user to insert single
14366 W and Q.
14367
14368 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14369
14370 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
14371 Repaired getQForW() by calculating indices on right dimension.
14372
14373 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
14374
14375 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
14376 methods for retrieving selected W values (getWs()).
14377
14378 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
14379 method for retrieving waterlevel data takes care on selected Ws, now.
14380 The selected Ws are transformed using the DischargeTables.getQForW()
14381 into Q values.
14382
14383 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
14384
14385 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
14386 Removed an unused parameter 'result' of getQForW().
14387
14388 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
14389
14390 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed
14391 the getDataset() method and replaced it with a addDataset() method.
14392 On this way, concrete subclasses of this OutGenerator can have multiple
14393 datasets (e.g. different datasets for W and Q). This abstract method is
14394 called after the chart generation is finished.
14395
14396 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14397 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
14398 Both classes implement the addDataset() method. The
14399 LongitudinalSectionGenerator has already multiple datasets for W and Q.
14400 Both are added to the chart - both have an own range axis.
14401
14402 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14403
14404 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14405 Use the cache for the wst value table if configured.
14406
14407 * doc/conf/cache.xml: Choose a more precise name for the
14408 wst value table cache.
14409
14410 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14411
14412 * pom.xml: Added dependency to Ehcache. Apache 2.0 license.
14413
14414 * doc/conf/conf.xml: Added configuration of ehcache.
14415
14416 * doc/conf/cache.xml: New. Cache configurations.
14417
14418 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
14419 New. Factory to access caches.
14420
14421 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14422
14423 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
14424 Forgot to add.
14425
14426 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
14427 New. Given a database connection and a XML template it generates
14428 an output with meta data about the database.
14429
14430 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
14431 New. Holds prepared statements optimized to be run in the stack of
14432 contextes.
14433
14434 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
14435 New. Model to hold a hierarchical scope of variables.
14436
14437 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
14438 New. Stores data set fetched from a sql select to be iterated in
14439 a context.
14440
14441 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
14442 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14443 Removed superfluous imports.
14444
14445 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14446
14447 * doc/conf/conf.xml: Added meta data service.
14448
14449 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
14450 Stub for the meta data service.
14451
14452 * src/main/resources/metadata/template.xml: Initial template for
14453 the meta data service.
14454
14455 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
14456
14457 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14458 Bugfix: Now, curves for Q values are drawn into a longitudinal section
14459 chart as well. Therefore, it was necessary to change the datastructure
14460 of the inner class ThemeList that stores all themes included in a chart
14461 in an ordered list (stored in a java.util.Vector now).
14462
14463 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
14464
14465 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An
14466 abstract base class for ChartGenerators that create XY charts.
14467
14468 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
14469 Sourced the generate() method out to the XYChartGenerator.
14470
14471 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14472 Implemented the methods to add W and Q facets to the chart.
14473
14474 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
14475
14476 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved
14477 the calculation of the step with for ranges.
14478
14479 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
14480
14481 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a
14482 method that returns the number of elements stored in the data pool.
14483
14484 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14485
14486 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
14487 Added a get() method which takes destination array as an
14488 argument.
14489
14490 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
14491
14492 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the
14493 data structure to store w, q and kms values from List<Double> to
14494 TDoubleArrayList which stores native double values instead of big
14495 Double values.
14496
14497 * pom.xml: Added the GNU Trove dependency.
14498
14499 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
14500
14501 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the
14502 name a the requested facet to doOut(). Concrete generators should just
14503 create output for this facet now.
14504
14505 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
14506 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14507 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
14508 Adapted the method signature of doOut().
14509
14510 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14511 Adapted the method call of OutGenerator.doOut().
14512
14513 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
14514
14515 * doc/conf/themes.xml: Added mappings for the facets
14516 longitudinal.section.w and longitudinal.section.q.
14517
14518 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
14519
14520 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some
14521 methods to retrieve necessary information for computing the data of a
14522 waterlevel.
14523
14524 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
14525 methods to compute and retrieve the data of a waterlevel computation.
14526
14527 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
14528
14529 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This
14530 model class represents a pool of data triples that consist of W, Q and
14531 Kms information. This class might be used to compute data for creating
14532 longitudinal section curves (which are based on those W, Q and Kms
14533 values).
14534
14535 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
14536
14537 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14538 Bugfix: Removed endless loop and a bug while iterating over Hibernate
14539 results.
14540
14541 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
14542
14543 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14544 New. An OutGenerator that creates longitudinal section curves.
14545
14546 NOTE: This is just the stub - the out creation needs to be implemented!
14547
14548 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator.
14549
14550 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
14551
14552 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section.
14553
14554 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
14555
14556 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New.
14557 This state should be reached if the 'calc.surface.curve' calculation
14558 method has been chosen.
14559
14560 * doc/conf/artifacts/winfo.xml: Modified a transition and added the
14561 WaterlevelState. This state is reached if the 'calc.surface.curve'
14562 calculation method has been chosen. It currently has 1 output - a
14563 longitudinal section that is not implemented yet!
14564
14565 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
14566
14567 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java:
14568 New. This transition is valid if the a data object of the current
14569 artifact equals/notequals a configured value in the transition model.
14570
14571 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
14572
14573 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
14574 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes:
14575 - Adapted the parameters of the isStateReachable() call - added the
14576 artifact and the current state.
14577 - Append the outputs of a current state if the state is filled with
14578 valid data.
14579
14580 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
14581
14582 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
14583 Added the missing init() method that has been introduced in the
14584 interface some commits ealier.
14585
14586 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
14587 Call init() after a Transition has been created.
14588
14589 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
14590
14591 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
14592 Bugfix: Introduced a <art:outputs> node in the attribute document of a
14593 Collection that contains further <art:output> nodes - instead of having
14594 multiple <art:output> nodes at toplevel of the document.
14595
14596 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14597 Adapted the XPath to retrieve the outputs in the attribute document of a
14598 Collection.
14599
14600 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14601
14602 * contrib/visualize-transitions.xsl: Added to create a
14603 Graphviz digraph out of the config.xml. Usage:
14604
14605 $ xsltproc --stringparam base-dir ../doc/conf/ \
14606 contrib/visualize-transitions.xsl \
14607 doc/conf/conf.xml > transitions.dot
14608
14609 $ dot -Tsvg -o transitions.svg transitions.dot
14610
14611 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
14612
14613 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
14614 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
14615 If no data has been inserted so far, an IllegalArgumentException is
14616 thrown.
14617
14618 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
14619
14620 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java::
14621 A lot of new methods to retrieve the theme of a facet - used while
14622 creating the output of a facet/artifact. If a facet has no theme yet, it
14623 is initialized.
14624
14625 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
14626
14627 * src/main/java/de/intevation/flys/collections/AttributeParser.java,
14628 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed
14629 useless imports.
14630
14631 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
14632
14633 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An
14634 abstract OutGenerator that might be used to create chart output. Some
14635 basic things that are equal in all charts should be done here!
14636
14637 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
14638 This OutGenerator no longer implements the OutGenerator directly, but it
14639 extends the ChartGenerator now.
14640
14641 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
14642
14643 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14644 Restructured the out() operation of a collection: Now, we collect a list
14645 of artifacts/facets and use this for the OutGenerator. Its doOut()
14646 method gets the attribute of an artifact - the position and the active
14647 state is managed by the Collection itself.
14648
14649 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
14650
14651 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New.
14652 a specialized facet that stores information about its position and its
14653 state (active/inactive) in an output of a collection.
14654
14655 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New.
14656 This parser takes the attributes (XML) of a collection and extracts the
14657 contained outputs with its facets. The result is a Map<String, Output>.
14658
14659 * src/main/java/de/intevation/flys/collections/OutputParser.java: New.
14660 This parser is used to query the artifact's DESCRIBE and to extract the
14661 supported outputs. The result is a Map<String, Output>.
14662
14663 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New.
14664 This writer merges the outputs contained in an attribute of a collection
14665 with the outputs of a collection's artifacts.
14666
14667 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14668 The attributes of a collection are written into its DESCRIBE document
14669 now. The OutputParser and AttributeParser are used to read the supported
14670 attributes by the collection and its artifacts - the AttributeWriter is
14671 used to merge both attributes and create a final attribute document.
14672
14673 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
14674
14675 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java,
14676 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
14677 The facet-2-theme mappings are initialized at startup and stored in the
14678 FLYSContext.
14679
14680 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a
14681 function that retrieves a theme from FLYSContext based on its name.
14682
14683 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14684
14685 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14686 Corrected a silly c&p mistake.
14687
14688 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14689
14690 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
14691
14692 Implementation of the "Ruecksprungkorrektur" to be done in
14693 "W fuer angepassten Abflusslaengschnitt".
14694
14695 All tests show the expected results. In some corner cases the
14696 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur"
14697 has some definition shortcomings:
14698
14699 a - What should happend when you cannot find point 2 because
14700 you cannot step back one quarter from point 3 because there
14701 is no data there any more (river too short in this direction)?
14702 The implemented algorithm raises point 3' only to an
14703 according factor. E.g. If you can step back the whole quarter
14704 distance the elevation is the full quarter. If you can
14705 step back only the half of the quarter the elevation is
14706 only an eighth.
14707
14708 b - If the water heights between point 2 and 3 are constant then
14709 the algorithm will produce a spline interpolation that
14710 lowers those values. Is this intended?
14711
14712 For real data the back jumps are expected to be more in the middle
14713 of the distance ranges so the corner cases are maybe not so
14714 important.
14715
14716 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
14717 Removed superfluous import.
14718
14719 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
14720
14721 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug
14722 code that has been commited by accident.
14723
14724 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
14725
14726 * doc/conf/themes.xml: New. A first small theme configuration.
14727
14728 * doc/conf/conf.xml: Added a link to the theme configuration.
14729
14730 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
14731 Defined a key that is used to store a themes map in the FLYSContext.
14732
14733 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
14734 The theme configuration is read at startup and the themes are stores in
14735 the FLYSContext.
14736
14737 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
14738
14739 * src/main/java/de/intevation/flys/themes/Theme.java,
14740 src/main/java/de/intevation/flys/themes/DefaultTheme.java:
14741 New. The interface and its default implementation that represents themes
14742 used to style charts and maps.
14743
14744 * src/main/java/de/intevation/flys/themes/ThemeField.java,
14745 src/main/java/de/intevation/flys/themes/DefaultThemeField.java:
14746 New. The interface and its default implementation that represents fields
14747 in themes. A theme might be "Lines" and one of its field might be
14748 "Color" or "Size".
14749
14750 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory
14751 that creates new themes based on a theme configuration.
14752
14753 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14754
14755 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14756 Implementation of "Abflusskurve/Abflusstafel" calculation.
14757
14758 Added method interpolateWQ() which takes an km and results in a
14759 tuple of two double arrays containing the w/q values interpolated
14760 between the surrounding w/q values of the table.
14761 w values are interpolated linear, q values with a cubic spline.
14762
14763 Drawing w over q gives you the discharge table at the given km.
14764
14765 !!! This code needs testing !!!
14766
14767 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14768
14769 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0)
14770
14771 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14772
14773 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
14774 Fix problem when sorting by q (copied w instead of q).
14775
14776 2011-04-20 Ingo Weinzierl <ingo@intevation.de>
14777
14778 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
14779 Fixed broken HQL statement.
14780
14781 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14782
14783 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14784 add a method interpolateW() which takes an array of
14785 q values and returns an equal sized array of w values.
14786 This is essentially the "Wasserstand/Wasserspiegellagen" calculation
14787 of desktop FLYS.
14788
14789 If you want to do a calculation with given w values you have
14790 to convert the w values with DischargeTables.getQForW() first.
14791
14792 !!! This code needs heavy testing !!!
14793
14794 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14795
14796 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
14797 We need a getQForW() method and not getWForQ() because when
14798 doing a "Wasserstand/Wasserspiegellagen" calculation with given
14799 w values these values need to be translated to q values with
14800 the master discharge table.
14801
14802 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14803
14804 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
14805 Sorting of q values was done wrong.
14806
14807 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
14808
14809 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
14810 Ordered the list of annotations returned by this factory based on its
14811 range.
14812
14813 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
14814
14815 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
14816 New. This service returns an XML document that includes the main values
14817 of a gauge based on a river name, a start and an end point.
14818
14819 * doc/conf/conf.xml: Registered the MainValuesService.
14820
14821 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
14822
14823 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
14824 A factory that provides methods to return MainValues.
14825
14826 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14827
14828 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
14829 Added static method getWForQ() to interpolate a w value for
14830 a given q value based on a given discharge table.
14831
14832 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14833
14834 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
14835 Added convenience constructors/methods to ease the access to the master
14836 discharge table of a gauge.
14837
14838 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14839
14840 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14841 Moved the query complexity into view 'wst_value_table' and
14842 used this instead.
14843
14844 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14845
14846 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14847 Fetches w/q value tables from the backend. TODO: Move this
14848 to the backend and use a view.
14849
14850 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
14851
14852 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
14853 the error key that is thrown if no input data was found so that the key
14854 is usable for GWT's i18n mechanism.
14855
14856 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
14857
14858 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
14859 The inserted river is validated now (overrides validate() of
14860 DefaultState).
14861
14862 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
14863
14864 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
14865 The inserted calculation method is validated now (overrides validate()
14866 of DefaultState).
14867
14868 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
14869
14870 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14871 The input data of feed() are validated using the DefaultStates
14872 validate() method.
14873
14874 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
14875 New method validate() that needs to be overidden by concrete subclasses.
14876 It should return true, if the data of the State is fine, otherwise it
14877 should raise an exception.
14878
14879 NOTE: The exceptions are not translated in the server but in the client!
14880
14881 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New.
14882 This abstract class exists to provide some methods for handling ranges.
14883 Currently, there is a method that validates a given range based on
14884 min/max values.
14885
14886 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
14887 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
14888 Implemented input data validation for ranges.
14889
14890 NOTE: The input validation of concrete values has not been implemented
14891 yet!
14892
14893 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
14894
14895 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14896 Removed debug code that has been commited by accident :-/
14897
14898 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
14899
14900 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
14901 getGauge() method returns the first gauge based on the given start and
14902 end point of the river.
14903
14904 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
14905 Fixed potential bugs: if no gauge could be determined, the default
14906 values for W and Q are the minimum and maximum double values.
14907
14908 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
14909
14910 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills
14911 the DESCRIBE with default values for W and Q.
14912
14913 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
14914
14915 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
14916 New. Returns Wst object - based on a river.
14917
14918 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
14919
14920 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now
14921 provides some methods that return some basic objects inserted while
14922 parameterization: River, Gauge and so on.
14923
14924 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
14925
14926 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
14927 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
14928 Bugfix: Repaired broken imports of the SessionHolder.
14929
14930 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
14931
14932 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
14933 Moved this class to flys-backend.
14934
14935 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
14936 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
14937 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
14938 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java,
14939 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
14940 Adapted imports of the SessionHolder.
14941
14942 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14943
14944 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
14945 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
14946 Acquire/release sessions in services to avoid db connection leaks.
14947
14948 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
14949
14950 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
14951 Changed some method signatures - added a reference to the owner
14952 Artifact.
14953
14954 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
14955 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
14956 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
14957 Modified method signatures based on the changes in DefaultState.
14958
14959 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
14960 Added default values to the dynamic part of DESCRIBE.
14961
14962 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
14963
14964 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
14965 Added a function that returns a River object based on a given river
14966 name.
14967
14968 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14969
14970 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
14971 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
14972 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
14973 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
14974 Static methods are using the SessionHolder, too.
14975
14976 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
14977
14978 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
14979 Added the setup() method that has been added to the interface
14980 description in the last commits.
14981
14982 * doc/conf/conf.xml: Registered the SessionCallContextListener as
14983 CallContext.Listener.
14984
14985 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
14986
14987 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
14988 Bugfix: Call correct method to retrieve an instance of
14989 SessionFactoryProvider.
14990
14991 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14992
14993 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
14994 New. Contains thread local session holder for hibernate sessions.
14995
14996 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
14997 Uses session from SessionHolder.
14998
14999 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
15000 Interacts with SessionHolder now.
15001
15002 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
15003 Removed superfluous import.
15004
15005 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
15006
15007 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
15008 Implementation of a CallContext.Listener to open/close Hibernate
15009 Sessions for each request.
15010
15011 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
15012
15013 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
15014 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15015 Some modifications related to the last commit - modification of the
15016 describe() signature of a State.
15017
15018 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
15019
15020 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java:
15021 Removed. We do not need a state to select a gauge - the selection takes
15022 place by choosing a start and an end point.
15023
15024 2011-04-13 Ingo Weinzierl <ingo@intevation.de>
15025
15026 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
15027 Bugfix: added missing label node to root node and a namespace to the
15028 data node.
15029
15030 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
15031
15032 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15033 The name of the artifact 'winfo' is written into the DESCRIBE document
15034 now. We need this to have a proper way to distinguish between different
15035 artifacts in the UI.
15036
15037 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
15038
15039 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix:
15040 States are filled with data before they describe themself.
15041
15042 2011-04-11 Ingo Weinzierl <ingo@intevation.de>
15043
15044 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
15045 New. A factory that returns the annotations of a specific river.
15046
15047 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
15048 New. This service provides a document that contains information about
15049 distances of a river.
15050
15051 * doc/conf/conf.xml: Registered the DistanceInfoService.
15052
15053 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
15054
15055 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15056 This collection overrides the out() operation now. The incoming request
15057 document is read and the related OutGenerator is used to create the
15058 output.
15059
15060 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
15061 the code to create discharge curves. It has moved to the
15062 DischargeCurveGenerator which now does this work.
15063
15064 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
15065
15066 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The
15067 generate() method throws an IOException now.
15068
15069 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
15070 New. This OutGenerator creates discharge curves.
15071
15072 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
15073
15074 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
15075 the visibility of the getData() method. It's now public, because the
15076 OutGenerator needs an artifact's data.
15077
15078 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15079
15080 * src/**/*.java: Removed trailing whitespace.
15081
15082 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15083
15084 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15085 Make project compilable again by
15086 commenting out a not existing XMLDebug reference.
15087
15088 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
15089
15090 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
15091 Added code to parse the configured OutGenerators and to save them (in a
15092 map) in the FLYSContext.
15093
15094 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
15095 Added a key that is used to save the OutGenerators Map in the context.
15096
15097 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
15098
15099 * src/main/java/de/intevation/flys/exports/OutGenerator.java:
15100 New. This interface is used to generator different types of output.
15101 ArtifactCollections will make use of this interface to create a
15102 collected output of all its artifacts.
15103
15104 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
15105
15106 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15107 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase
15108 operations instead.
15109
15110 * TODO: Removed 'remove Backend reference' TODO.
15111
15112 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
15113
15114 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the
15115 discharge curve output mode. This output now provides three facets - W,
15116 Q and the curve itself.
15117
15118 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
15119
15120 Tagged RELEASE 0.1
15121
15122 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
15123
15124 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO
15125 artifact configuration.
15126
15127 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
15128
15129 * src/main/resources/messages_de_DE.properties,
15130 src/main/resources/messages_de.properties: Changed a german string.
15131
15132 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
15133
15134 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
15135 Modified the available calculation modes and its order in the DESCRIBE
15136 document.
15137
15138 * src/main/resources/messages.properties,
15139 src/main/resources/messages_de_DE.properties,
15140 src/main/resources/messages_en.properties,
15141 src/main/resources/messages_de.properties: Adapted the names of
15142 calculation modes.
15143
15144 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
15145
15146 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15147 Added the hash code of an artifact to the artifact part of the
15148 collection's DESCRIBE document.
15149
15150 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
15151
15152 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed
15153 the background color of discharge curves to white.
15154
15155 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15156
15157 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
15158 Cache the scale, too. Otherwise two calls to getValues() with
15159 different arguments will result in the same output.
15160
15161 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
15162
15163 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
15164 Introduced a 'scale' parameter in the getValues() method.
15165
15166 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled
15167 the out() operation with code that draws a discharge table of one or
15168 more gauges specified by the given range in entered in a previous state.
15169
15170 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
15171
15172 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
15173 New. A helper class to exports charts.
15174
15175 * pom.xml: Added dependencies to iText, Batik and JFreeChart.
15176
15177 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15178
15179 * src/main/java/de/intevation/flys/importer/PegelGltParser.java:
15180 Fixed swap of operands.
15181
15182 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15183
15184 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
15185 New. Load gauges for a river and filter them for given
15186 ranges.
15187
15188 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15189
15190 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
15191 Store data in a double [][] instead of interleaved double []
15192 to be compatible with org.jfree.data.xy.DefaultXYDataset.
15193
15194 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
15195
15196 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove
15197 the Backend reference from FLYSArtifactCollection.
15198
15199 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
15200
15201 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15202 Added missing artifact namespace of an attribute in the DESCRIBE
15203 document.
15204
15205 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
15206
15207 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15208 New. This ArtifactCollection overrides the DefaultArtifactCollection to
15209 implement FLYS specific describe() and out() operations.
15210
15211 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the
15212 DefaultArtifactCollection for this application.
15213
15214 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15215
15216 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
15217 New. Fetches values of discharge tables in form of packed
15218 w/q double arrays for given gauges.
15219
15220 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
15221 Removed needless import.
15222
15223 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
15224
15225 * src/main/resources/messages_de_DE.properties: Added a german resource
15226 bundle to avoid exceptions in the flys artifacts. Sometimes, the
15227 Resources class is not able to find a 'de_DE' bundle and throws an
15228 exception. This is really strange, because it should use the 'de' bundle
15229 in that case, but it doesn't.
15230
15231 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
15232
15233 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
15234 some code to append the output modes of previous states to the DESCRIBE
15235 document.
15236
15237 TODO: Determine if the current state is already filled with data and
15238 append its output modes as well!
15239
15240 2011-03-22 Ingo Weinzierl <ingo@intevation.de>
15241
15242 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with
15243 an output mode 'discharge_table'.
15244
15245 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
15246
15247 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15248 Write human readable strings as label attribute into the DESCRIBE
15249 output. Those labels are used to be displayed in the GUI.
15250
15251 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
15252
15253 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
15254 Added some further calculation types.
15255
15256 * src/main/resources/messages.properties,
15257 src/main/resources/messages_en.properties,
15258 src/main/resources/messages_de.properties: Added i18n strings for the
15259 calculation types
15260
15261 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
15262
15263 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15264 Implemented the step-back part of the advance() operation.
15265
15266 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
15267
15268 * src/main/resources/messages_de.properties: Fixed a german umlaut.
15269
15270 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
15271
15272 * doc/conf/artifacts/winfo.xml: Added new states for entering a
15273 location/distance and w/q.
15274
15275 * src/main/resources/messages.properties,
15276 src/main/resources/messages_en.properties,
15277 src/main/resources/messages_de.properties: New string for the
15278 location/distance and w/q input states.
15279
15280 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
15281
15282 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
15283 New. A state for the W/Q input of the WINFO parameterization.
15284
15285 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
15286
15287 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15288 Append an attribute 'uiprovider' to the dynamic UI node.
15289
15290 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
15291 New. A state for the location/distance selection of the WINFO
15292 parameterization.
15293
15294 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
15295
15296 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15297 Added a new method getUIProvider() that might be overriden by concreted
15298 subclasses that should be rendered with a specific UIProvider.
15299
15300 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
15301
15302 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15303 The static UI part is created by the previous states now. This makes it
15304 possible to group the data objects (which is necessary to group the
15305 objects in the ui).
15306
15307 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15308 Added a describeStatic() method that creates a node that contains the
15309 data of that state.
15310
15311 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
15312
15313 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
15314 Removed TODO: the document contains the rivers provided by the backend
15315 now.
15316
15317 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15318
15319 * pom.xml: Added dependency to flys backend.
15320
15321 * src/main/java/de/intevation/flys/artifacts/model/River.java:
15322 Removed. We are using the backend model now.
15323
15324 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
15325 Fetches the rivers from the backend.
15326
15327 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
15328 Import fixes.
15329
15330 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15331
15332 * doc/conf/conf.xml: Added section for database backend configuration.
15333
15334 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15335
15336 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
15337 Fixed build error coming from different import of XMLUtils.
15338
15339 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
15340
15341 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15342 Appended the missing label node that contains the human readable name of
15343 the data item.
15344
15345 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
15346
15347 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
15348 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15349 I18N of strings for the DESCRIBE document.
15350
15351 * src/main/resources/messages.properties,
15352 src/main/resources/messages_en.properties,
15353 src/main/resources/messages_de.properties: I18N strings for the
15354 calculcation mode state.
15355
15356 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
15357
15358 * doc/conf/artifacts/winfo.xml: Modified the winfo states.
15359
15360 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted
15361 the artifact regarding the changes of the last commit. The states
15362 describe() method creates the dynamic UI node - the artifact needs to
15363 apply this node.
15364
15365 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
15366 New. The state for choosing the calculation mode.
15367
15368 * src/main/resources/messages.properties,
15369 src/main/resources/messages_en.properties,
15370 src/main/resources/messages_de.properties: Added i18n strings for the
15371 calculation mode state.
15372
15373 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
15374
15375 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15376 New. This is the base state for the FLYS application. It provides a
15377 method that creates the dynamic ui node for the DESCRIBE.
15378
15379 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
15380 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both
15381 classes extend the abstract base class DefaultState.
15382
15383 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
15384
15385 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
15386 New. This class retrieves the i18n strings from a ResourceBundle.
15387
15388 * src/main/resources/messages.properties,
15389 src/main/resources/messages_en.properties,
15390 src/main/resources/messages_de.properties: Resource files for german and
15391 english translation.
15392
15393 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
15394
15395 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
15396 the data that have been inserted in former states into the static node
15397 of the DESCRIBE.
15398
15399 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
15400
15401 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
15402 operations feed() and advance() return the description of the artifact
15403 using the describe() operation. This avoids additional server round trips
15404 in the client - the clients gets to know about the new state of the
15405 artifact immediately.
15406
15407 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
15408
15409 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15410 Implemented a part (step forward) of the advance operation.
15411
15412 * TODO: Implement Step-Back in advance operation.
15413
15414 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
15415
15416 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15417 Implemented the abstract method getName(). It returns the constant
15418 'winfo' string.
15419
15420 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15421 Implemented the feed action. The data of an incoming feed() operation is
15422 stored in StateData objects that are saved in a map in the artifact.
15423
15424 NOTE: There is no input validation and no i18n of error messages (see
15425 TODO).
15426
15427 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
15428
15429 * TODO: This file contains some open points that need to be done.
15430
15431 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
15432
15433 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This
15434 artifact serves as the default artifact for the FLYS application.
15435
15436 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This
15437 artifact now inherits from FLYSArtifact. Furthermore, there is one big
15438 change: we don't store the State objects itself in the artifact, but
15439 just the identifier of those. This makes the artifact smaller and more
15440 compatible agains previous versions of the software.
15441
15442 2011-03-08 Ingo Weinzierl <ingo@intevation.de>
15443
15444 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
15445 New. This service will retrieve a list of provided rivers.
15446
15447 * doc/conf/conf.xml: Added a configuration for the RiverService.
15448
15449 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
15450
15451 * doc/conf/conf.xml: Added a section user-factory and collection-factory in
15452 the factories part of the configuration.
15453
15454 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
15455
15456 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
15457 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider'
15458 attribute.
15459
15460 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
15461
15462 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
15463 RiverSelect state is called to create the UI part of the describe
15464 document.
15465
15466 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
15467 Implemented the dynamic UI part of describe(). The static part is not
15468 inserted into the describe document at the moment. We need a reference to
15469 the previous states for this.
15470
15471 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
15472
15473 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
15474 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model
15475 class that represents a river and its factory to create concrete river
15476 instances.
15477 NOTE: Currently, this is just a mockup. The factory just returns two
15478 static rivers "Mosel" and "Saar" without a connection to a backend.
15479
15480 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
15481
15482 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The
15483 input data of a state is initialized with empty StateData objects after
15484 the State has been created.
15485
15486 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states
15487 which now fits better to the class name of the implementation.
15488
15489 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
15490
15491 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
15492 describe document returned by this artifact now contains the current state
15493 and the reachable states.
15494
15495 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
15496
15497 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
15498 The transitions are put into the TransitionEngine with the ID of the state
15499 - not longer with the artifact name. On this way, we are able to fetch
15500 just the transitions for a specific state, instead of all the transitions
15501 of an artifact.
15502
15503 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
15504
15505 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe()
15506 returns the artifact's uuid and hash value. The whole implementation of
15507 describe() is still outstanding.
15508
15509 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
15510
15511 * doc/conf/artifacts/winfo.xml: Removed useless config stuff.
15512
15513 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
15514 useless methods, and improved the init process - the first state is set as
15515 the current state for this artifact.
15516
15517 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
15518 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New.
15519 The states are used in the first two steps of the WINFOArtifact.
15520 Currently, they just implement stubs of the necessary methods setup() and
15521 describe().
15522
15523 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
15524
15525 * src/main/java/de/intevation/flys/artifacts/states/State.java,
15526 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java,
15527 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java:
15528 Removed. These classes are placed in the artifact-database now.
15529
15530 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java,
15531 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
15532 Adapted imports of Transition.
15533
15534 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New.
15535 This factory should be used to create concrete State objects.
15536
15537 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
15538 a constant key to store the StateEngine in the context.
15539
15540 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
15541 New method that initializes the states at application start.
15542
15543 2011-02-03 Ingo Weinzierl <ingo@intevation.de>
15544
15545 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The
15546 interface description of a state.
15547
15548 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java,
15549 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
15550 New. The interface description and a default implementation of a
15551 transition.
15552
15553 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java:
15554 New. The TransitionEngine stores all transitions for each artifact and
15555 should be used to determine, if an artifact can advance from one state to
15556 another.
15557
15558 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
15559 New. Transitions should be created by using this class.
15560
15561 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New.
15562 The Flys context. It currently defines keys to store important components
15563 in the context.
15564
15565 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
15566 New. The context factory initializes the basic components of the
15567 application. Currently, the TransitionEngine is created and all artifacts
15568 with its transitions are read from the global configuration and stored in
15569 the FLYSContext.
15570
15571 * pom.xml: Added a dependency to the 'artifacts-common' package.
15572
15573 * doc/conf/artifacts/winfo.xml: Corrected the classname of the
15574 DefaultTransition.
15575
15576 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory.
15577
15578 2011-02-02 Ingo Weinzierl <ingo@intevation.de>
15579
15580 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact
15581 server.
15582
15583 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an
15584 WINFO artifact.
15585
15586 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of
15587 an artifact for a WINFO parameterization.
15588
15589 * pom.xml: Set the source code version to 1.5.
15590
15591 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15592
15593 * src/**, pom.xml: Added initial maven project.
15594 * ChangeLog: new.

http://dive4elements.wald.intevation.org