comparison flys-artifacts/ChangeLog @ 3468:f37e7e8907cb

merged flys-artifacts/2.8.1
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:39 +0200
parents b9c2becbcc9e
children 38fb6b410601
comparison
equal deleted inserted replaced
3387:5ffad8bde8ad 3468:f37e7e8907cb
1 2012-07-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2
3 * src/main/java/de/intevation/flys/artifacts/model/QWDDateRange.java:
4 New class. QWD and a DateRange.
5
6 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
7 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
8 Produce QWDDateRanges in state, consume in generator.
9
10 2012-07-26 Ingo Weinzierl <ingo@intevation.de>
11
12 * doc/conf/artifacts/fixanalysis.xml: Registered new Output
13 'fix_vollmer_wq_curve'.
14
15 * doc/conf/conf.xml: Registered new FixWQCurveGenerator for
16 'fix_vollmer_wq_curve'.
17
18 * src/main/resources/messages.properties,
19 src/main/resources/messages_de_DE.properties,
20 src/main/resources/messages_en.properties,
21 src/main/resources/messages_de.properties: Added new names for Facets
22 used in 'fix_vollmer_wq_curve' Output.
23
24 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
25 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
26 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
27 Make use of FitResult (parent of FixAnalysisResult) which is enough for
28 these Facets instead of casting the calculation result to
29 FixAnalysisResult.
30
31 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java:
32 Fixed potential NullpointerException.
33
34 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
35 Create new Facets for WQ curve, fix events and outliers.
36
37 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
38 Add subtitles only if the required data (date period and referenence
39 period) are existing. Otherwise do not add a subtitle.
40
41 2012-07-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
42
43 * src/main/resources/messages.properties,
44 src/main/resources/messages_de_DE.properties,
45 src/main/resources/messages_en.properties,
46 src/main/resources/messages_de.properties:
47 Adjusted i18n strings (vollmer).
48
49 2012-07-26 Christian Lins <christian.lins@intevation.de>
50
51 * doc/conf/virtual-themes.xml,
52 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
53 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
54 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
55 src/main/java/de/intevation/flys/themes/ThemeAccess.java,
56 src/main/java/de/intevation/flys/themes/TextStyle.java,
57 src/main/java/de/intevation/flys/themes/LineStyle.java,
58 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
59 src/main/java/de/intevation/flys/themes/PointStyle.java,
60 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java,
61 src/main/java/de/intevation/flys/jfree/XYStyle.java,
62 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
63 Line labels and point labels share same styles and code.
64 Point labels can have a background color.
65
66 2012-07-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
67
68 * src/main/resources/messages.properties,
69 src/main/resources/messages_de_DE.properties,
70 src/main/resources/messages_en.properties,
71 src/main/resources/messages_de.properties:
72 Adjusted i18n strings (vollmer).
73
74 2012-07-26 Ingo Weinzierl <ingo@intevation.de>
75
76 * doc/conf/artifacts/fixanalysis.xml: Registered new Output
77 'fix_waterlevel_export' for FixRealizingCompute State.
78
79 * doc/conf/conf.xml: Registered new WaterlevelExport Generator for
80 'fix_waterlevel_export'.
81
82 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
83 Create proper CSV, WST and PDF Facets with hash and State id.
84
85 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Made
86 WaterlevelExporter support FixRealizingResult objects.
87
88 2012-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
89
90 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWaterlevelFacet.java:
91 Removed instanceof hack to fetch the WQKms of the fix realizations.
92
93 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWaterlevelFacet.java:
94 New. Subclass of WaterlevelFacet. Used to fetch the WQKms the fix realization way.
95
96 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
97 Create the subclassed waterlevel facets.
98
99 2012-07-25 Ingo Weinzierl <ingo@intevation.de>
100
101 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
102 Create proper facets for Ws and Qs.
103
104 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
105
106 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
107 Also add Q-Facet.
108
109 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
110
111 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
112 Add WaterlevelFacet.
113
114 * doc/conf/artifacts/fixanalysis.xml:
115 Add output and facet compability.
116
117 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
118
119 * src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
120 Fix data names in FixRealizingAccess.
121
122 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
123
124 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
125 Handle slightly different access to Fixation-WQKms.
126
127 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
128
129 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
130 Handle slightly different access to Fixation-WQKms.
131
132 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
133
134 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java:
135 Fix (last?) vol(l)mer naming issue.
136
137 2012-07-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
138
139 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java,
140 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java
141 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
142 src/main/java/de/intevation/flys/themes/ThemeMapping.java:
143 s/.equals("")/.length() == 0/
144
145 2012-07-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
146
147 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java,
148 src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java,
149 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
150 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
151 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
152 Removed some superfluous casts.
153
154 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
155
156 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
157 Removed some inner whitespace.
158
159 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
160
161 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
162 New base class for fixing analysis results.
163
164 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java,
165 src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingResult.java:
166 Inherits from FixResult.
167
168 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
169 Calculation returns FixRealizingResult.
170
171 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
172 Remove superfluous import.
173
174 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
175 Cosmetics.
176
177 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
178
179 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
180 Broke over long line.
181
182 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
183 Added some getters.
184
185 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
186 Calculated the Q -> Ws. TODO: Produce result.
187
188 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
189
190 * src/main/resources/messages.properties,
191 src/main/resources/messages_de_DE.properties,
192 src/main/resources/messages_en.properties,
193 src/main/resources/messages_de.properties:
194 Adjusted i18n strings (vollmer).
195
196 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
197
198 * src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java:
199 Set ld_mode so that FLYSUtils can use it.
200
201 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
202
203 * src/main/resources/messages.properties,
204 src/main/resources/messages_de_DE.properties,
205 src/main/resources/messages_en.properties,
206 src/main/resources/messages_de.properties:
207 Adjusted i18n strings (vollmer).
208
209 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
210
211 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
212 Handle FixationArtifacts with as much care as WINFOArtifacts,
213 by using refactore FLYSUtils.
214
215 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
216
217 Towards per-Gauge-input of W/Q values for FixationArtifact.
218
219 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
220 src/main/java/de/intevation/flys/utils/FLYSUtils.java:
221 (getGauges): Refactored, moved from WINFOArtifact to FLYSUtils.
222
223 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
224 Handle unlucky differences in names of data for
225 WINFOArtifact/FixationArtifact.
226
227 * doc/conf/artifacts/fixanalysis.xml:
228 (Re-)use WQAdapted State for fix.analysis.
229
230 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
231
232 * doc/conf/artifacts/winfo.xml,
233 src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java,
234 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
235 src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java,
236 src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java,
237 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
238 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
239 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
240 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
241 Cosmetics, docs.
242
243 2012-07-23 Christian Lins <christian.lins@intevation.de>
244
245 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
246 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
247 Moved code to convert W to Q at gauge to segments to be reusable.
248
249 2012-07-23 Christian Lins <christian.lins@intevation.de>
250
251 * doc/conf/themes.xml,
252 doc/conf/second-themes.xml,
253 doc/conf/default-themes.xml:
254 Remove line style attributes from FixingReferenceEvents theme.
255
256 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
257
258 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java
259 src/main/java/de/intevation/flys/artifacts/model/Segment.java:
260 Moved reference point comparator to segment class be be reusable
261 in FixA 'ausgelagerte Wasserspiegellagen'.
262
263 2012-07-23 Christian Lins <christian.lins@intevation.de>
264
265 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
266 Simplify annotation code.
267
268 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
269
270 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
271 Made abstract. Sub classes have to overwrite innerCalculate()
272 calculate() now figures out the fixings overview and the function
273 to fit and passes it to innerCalculate()
274
275 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java,
276 src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
277 Overrides innerCalculate() now.
278
279 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
280
281 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
282 Prevent NPE in getOutputForState(). Why does this happen?
283
284 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
285
286 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java,
287 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
288 Made curve fitting over the given calculation range reusable. Removed dead code.
289
290 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
291
292 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
293 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
294 Moved more common code into base class.
295
296 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
297
298 * contrib/fixoverview2html.xsl: Clip the displayed from/to ranges
299 of the gauges to the max extent of the events.
300
301 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
302
303 * contrib/fixoverview2html.xsl: Embed german and english translations
304 into the stylesheet. This should be better done by importing
305 an external resource depending on the choosen locale!
306
307 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
308
309 * contrib/fixoverview2html.xsl: Introduced i18n to transformation.
310
311 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
312
313 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
314 Wrong epsilon was taken so sector aggregation was not working
315 leading to too large result documents and wrong range display
316 on client side.
317
318 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
319
320 * contrib/fixoverview2html.xsl: Render the names of the gauges into
321 the header line. Full name and spread is displayed as a tooltip.
322
323 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
324
325 * doc/conf/artifacts/minfo.xml: Use SQPeriodSelect state for the input of
326 a time range. The difference to PeriodSelect is the UI provider desired
327 by this state.
328
329 * src/main/java/de/intevation/flys/artifacts/states/sq/SQPeriodSelect.java:
330 New subclass of PeriodSelect; this state wants to be rendered in a
331 'sq.period.select' UI provider.
332
333 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
334
335 * contrib/fixoverview2html.xsl: To help developing the
336 HTML overview stylsheet more quickly bring back in sync with
337 version of the flys-client.
338
339 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
340
341 * doc/conf/artifacts/minfo.xml: Changed the parameters for SQ relation
342 period selection; only a single period is allowed now.
343
344 * src/main/java/de/intevation/flys/artifacts/states/PeriodSelect.java: New
345 class that allows the selection of a time period.
346
347 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
348 Reduced support of time periods to a single period.
349
350 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
351 Adapted the usage of SQRelationAccess which method signature has
352 changed; it returns a single DateRange instance only.
353
354 * src/main/resources/messages.properties,
355 src/main/resources/messages_de_DE.properties,
356 src/main/resources/messages_en.properties,
357 src/main/resources/messages_de.properties: Modified the keys of the
358 state for SQ relation time period input.
359
360 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
361
362 * src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
363 Disabled legends in this overview.
364
365 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
366
367 * src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
368 Removed superfluous imports.
369
370 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
371
372 * src/main/resources/messages_de.properties,
373 src/main/resources/messages.properties,
374 src/main/resources/messages_de_DE.properties,
375 src/main/resources/messages_en.properties:
376 Fixed anomalies.
377
378 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
379
380 * src/main/java/de/intevation/flys/exports/ReportGenerator.java,
381 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
382 src/main/java/de/intevation/flys/exports/ATExporter.java,
383 src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java,
384 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
385 src/main/java/de/intevation/flys/exports/MapGenerator.java,
386 src/main/java/de/intevation/flys/exports/OutGenerator.java,
387 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
388 Added a setCollection() method that allows the caller of OutGenerators
389 to set a reference to a FLYSArtifactCollection.
390
391 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
392 Use setCollection() to set the reference to the current
393 FLYSArtifactCollection before using OutGenerators.
394
395 * doc/conf/conf.xml: Registered the SQOverviewGenerator.
396
397 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
398
399 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
400 Add a list of gauges which intersect the range of the selected columns:
401
402 <fixings>
403 <gauges from="..." to="..." name="..."/>
404 ...
405 <gauges from="..." to="..." name="..."/>
406 </fixings>
407
408 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
409 Store the name of the gauge, too.
410
411 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java:
412 Load the names of the gauges from database, too.
413
414 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
415
416 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
417 Some minor refactoring.
418
419 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
420 Call super constructor to retrieve the common data from the artifact.
421
422 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
423
424 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
425 New. Common base class for Fix*Calculations.
426
427 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
428 Moved common stuff to base class FixCalculation.
429
430 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
431 Inherit from FixCalculation.
432
433 * src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
434 Extract parameters that are only relevant for the
435 'Ausgelagerte Wasserspiegellagen' calculation.
436
437 isQ(): Must we convert the given values from W to Q first?
438 Used data field: 'fix_isq'
439 getSegments(): Segments same semantics as WINFO's
440 'W fuer ungleichwertige Abfluesse.'
441 Used data field: 'fix_segments'
442
443 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
444 src/main/java/de/intevation/flys/artifacts/access/FixAccess.java:
445 Cosmetics.
446
447 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
448
449 * src/main/java/de/intevation/flys/artifacts/access/FixAccess.java:
450 New. Common base class for the Fix*Access.
451
452 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java,
453 src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
454 Now inherit from FixAccess.
455
456 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
457
458 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
459 Prevent NPE.
460
461 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
462
463 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
464 Use constant to lookup column instead of dynamically allocated array.
465
466 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
467
468 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
469 Removed.
470
471 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java:
472 Re-added here.
473
474 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
475 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
476 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
477 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
478 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java,
479 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
480 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
481 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
482 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
483 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
484 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
485 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
486 src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java,
487 src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java,
488 src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
489 Adjusted.
490
491 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
492
493 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
494 New. Stub for 'Ausgelagerte Wasserspiegellagen' calculation.
495
496 * src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
497 New. Stub for accessing the artifact to extract the relevant parameters
498 for the 'ausgelagerte Wasserspiegellagen' calculation.
499
500 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
501 Call the calculation if the state is reached.
502
503 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
504 Removed trailing whitespace.
505
506 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
507
508 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java:
509 Deleted.
510
511 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
512 Re-added here.
513
514 * doc/conf/artifacts/fixanalysis.xml: Adjusted. BTW: Vollmer is spelled with two 'l's.
515
516 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
517
518 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
519 Removed.
520
521 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
522 Re-added.
523
524 * doc/conf/artifacts/fixanalysis.xml: Adjusted.
525
526 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
527
528 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
529 Deleted
530
531 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
532 Re-added.
533
534 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java,
535 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
536 Adjusted class name usage.
537
538 2012-07-19 Christian Lins <christian.lins@intevation.de>
539
540 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
541 src/main/resources/messages.properties,
542 src/main/resources/messages_de_DE.properties,
543 src/main/resources/messages_en.properties,
544 src/main/resources/messages_de.properties:
545 native2ascii with properties files.
546 Show analysis periods as subtitle in W/Q chart.
547
548 2012-07-19 Christian Lins <christian.lins@intevation.de>
549
550 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
551 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
552 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
553 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
554 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java,
555 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
556 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
557 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
558 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
559 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
560 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
561 src/main/resources/messages.properties,
562 src/main/resources/messages_de_DE.properties,
563 src/main/resources/messages_en.properties,
564 src/main/resources/messages_de.properties:
565 Add subtitle to Fix W/Q chart.
566 Move addSubtitle() code from generators up to ChartGenerate which saves
567 a lot of duplicate code.
568
569 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
570
571 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
572 Deleted.
573
574 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java:
575 Re-added.
576
577 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
578 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
579 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
580 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
581 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
582 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
583 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
584 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
585 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
586 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
587 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
588 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
589 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
590 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
591 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
592 Adjusted class name usage.
593
594 2012-07-19 Ingo Weinzierl <ingo@intevation.de>
595
596 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
597 Sourced code to set default values of a parameter to an own method.
598 Subclasses should override this method.
599
600 * src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java:
601 Set default value for outliers to "3".
602
603 2012-07-19 Christian Lins <christian.lins@intevation.de>
604
605 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java,
606 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
607 src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
608 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
609 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java,
610 src/main/resources/messages.properties,
611 src/main/resources/messages_de_DE.properties,
612 src/main/resources/messages_en.properties,
613 src/main/resources/messages_de.properties:
614 Add kilometer info to chart titles.
615
616 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
617
618 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
619 src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
620 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
621 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
622 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
623 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
624 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
625 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
626 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
627 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
628 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java,
629 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
630 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
631 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
632 src/main/java/de/intevation/flys/exports/ChartSettings.java,
633 src/main/java/de/intevation/flys/jfree/XYStyle.java:
634 Use Integer.parseInt() instead of Integer.valueOf() + Autounboxing.
635
636 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
637
638 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
639 Replaced "string -> object -> native -> object" by simple "string -> object".
640 Removed stupid duplicate XPathing.
641
642 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
643
644 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
645 Use only blue as point color.
646
647 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
648
649 Adjusted Delta W(t) CSV exporter to customers wishes.
650
651 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
652 Reordered columns, removed description, added W and formatted date
653 via i18n.
654
655 * src/main/java/de/intevation/flys/utils/Formatter.java:
656 Added method to get a formatter based on pattern and locale.
657
658 * src/main/resources/messages.properties,
659 src/main/resources/messages_de_DE.properties,
660 src/main/resources/messages_en.properties,
661 src/main/resources/messages_de.properties:
662 Adjusted i18n strings.
663
664 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
665
666 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
667 Classify each discharge range by the gauges which intersect it.
668
669 * src/main/java/de/intevation/flys/artifacts/model/Range.java:
670 Added convinience constructor.
671
672 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
673 Added method to return all gauges.
674
675 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
676
677 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
678 Use bandwidth parameter for width of band, adjusted name to be
679 displayed in legend.
680
681 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
682
683 * doc/conf/default-themes.xml,
684 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
685 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
686 Change bandwidth type to double (still bugged, round integers still
687 work, though).
688
689 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
690
691 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
692 Added column for time range.
693
694 * src/main/resources/messages.properties,
695 src/main/resources/messages_de_DE.properties
696 src/main/resources/messages_en.properties
697 src/main/resources/messages_de.properties:
698 Added i18n strings.
699
700 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
701 Fixed stupid formatting bug.
702
703 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
704
705 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
706 Added discharge column.
707
708 * src/main/resources/messages.properties,
709 src/main/resources/messages_de_DE.properties,
710 src/main/resources/messages_en.properties,
711 src/main/resources/messages_de.properties:
712 Added missing strings.
713
714 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
715
716 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
717 Removed trailing whitespace.
718
719 2012-07-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
720
721 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
722 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
723 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
724 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java,
725 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
726 src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java,
727 src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
728 Cosmetics, doc.
729
730 2012-07-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
731
732 Partial implementation of issue720 (bandwith for curves), in
733 longitudinal section ws only, no styling, integer-based.
734
735 * doc/conf/default-themes.xml: Add bandwidth to fields of longitudinal
736 section facets.
737
738 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Add bandwidth
739 theme parsing.
740
741 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
742 If bandwidth is set, add an area data series with datapoints
743 above/under the actual data points.
744
745 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
746 Helper for adding points with offset.
747
748 2012-07-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
749
750 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
751 Use Q_BPEGEL as symbolic name for Q
752
753 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
754 Out commented the LEFT JOINs which produce a lot of empty and
755 redundant data. Bring them back in when we treat subsamples right.
756
757 2012-07-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
758
759 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
760 Added getValue() method.
761
762 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
763 Store location of calculation in result, too.
764
765 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
766 Added method getTotalCount() to return the number of used S/Q pairs.
767
768 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java:
769 Store location of result, too.
770
771 * src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java:
772 Write parameters as export result.
773
774 2012-07-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
775
776 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
777 Bit of doc.
778
779 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
780 TODO for automatic official lines added.
781
782 2012-07-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
783
784 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
785 Out commented debug output which caused OOM errors.
786
787 2012-07-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
788
789 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java,
790 src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
791 Q is not taken from MESSUNG.Q but from MESSUNG.Q_BPEGEL
792
793 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
794 Fixed indentation. More macros.
795
796 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
797 Removed trailing whitespace.
798
799 2012-07-16 Ingo Weinzierl <ingo@intevation.de>
800
801 * Tagged module as '2.8'.
802
803 2012-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
804
805 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java,
806 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java,
807 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java,
808 src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java,
809 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
810 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java,
811 src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java,
812 src/main/java/de/intevation/flys/artifacts/states/PeriodsSelect.java,
813 src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
814 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
815 src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java,
816 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
817 src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java,
818 src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java,
819 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
820 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java,
821 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
822 src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java,
823 src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java,
824 src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java,
825 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
826 src/main/java/de/intevation/flys/artifacts/model/WQFacet.java:
827 Removed same package imports.
828
829 2012-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
830
831 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
832 Lowered log level.
833
834 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
835
836 * doc/conf/meta-data.xml: Allow manual loading of official lines in
837 longitudinal_discharge diagrams.
838
839 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
840
841 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
842 Prevent nasty NPE (hidden by autobox).
843
844 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
845
846 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
847 Suppress data points with values <= 0 because they kill JFreeChart's
848 log/log diagrams.
849
850 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
851
852 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
853 Fixed more SQL syntax errors.
854
855 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
856 Generate more than one SQResult (To my big suprise it's possible).
857
858 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java,
859 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java.
860 src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
861 Made more NPE bullet proof.
862
863 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
864
865 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
866 Fixed problem with string operation precedence.
867
868 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
869
870 * doc/conf/meta-data.xml: very basic official lines matching the current
871 artifact (for this it is wrongly placed in previous calc.-part, for
872 now.
873
874 2012-07-13 Christian Lins <christian.lins@intevation.de>
875
876 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java:
877 Create shapefile directory instead of shapefile 'file'.
878
879 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
880
881 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
882 src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java,
883 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
884 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
885 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
886 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
887 Removed translation whitespace.
888
889 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
890
891 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
892 src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
893 Finally! SQResult is build and should be ready for display. :-)
894
895 2012-07-13 Christian Lins <christian.lins@intevation.de>
896
897 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
898 src/main/java/de/intevation/flys/utils/GeometryUtils.java:
899 Fix and workaround NullPointerExceptions.
900
901 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
902
903 * src/main/java/de/intevation/flys/wsplgen/WSPLGENCallable.java,
904 src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
905 src/main/java/de/intevation/flys/wsplgen/JobObserver.java,
906 src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java,
907 src/main/java/de/intevation/flys/wsplgen/Scheduler.java,
908 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
909 src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
910 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
911 src/main/java/de/intevation/flys/artifacts/MapArtifact.java,
912 src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
913 src/main/java/de/intevation/flys/exports/MapGenerator.java:
914 Organized and added missing imports.
915
916 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
917
918 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new
919 functions to reproject an Envelope from one CoordinateReferenceSystem to
920 antoher.
921
922 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
923 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
924 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
925 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
926 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
927 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
928 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
929 src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
930 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
931 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
932 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
933 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
934 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
935 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
936 The getExtent() method will now return the extent of the layer in the
937 coordinate reference system that is configured for the specific river.
938
939 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
940
941 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java,
942 src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java,
943 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java,
944 src/main/java/de/intevation/flys/artifacts/model/WSPLGENLayerFacet.java,
945 src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java,
946 src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java:
947 Moved to subpackage map.
948
949 * src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENLayerFacet.java,
950 src/main/java/de/intevation/flys/artifacts/model/map/WMSLayerFacet.java,
951 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENJob.java,
952 src/main/java/de/intevation/flys/artifacts/model/map/WMSDBLayerFacet.java,
953 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENCalculation.java,
954 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENReportFacet.java:
955 Moved from upper package.
956
957 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
958
959 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
960 src/main/java/de/intevation/flys/exports/OutputHelper.java,
961 src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
962 Added missing vim lines.
963
964 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
965
966 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
967 src/main/java/de/intevation/flys/exports/OutputHelper.java:
968 Removed trailing whitespace.
969
970 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
971
972 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
973 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
974 Removed superfluous imports.
975
976 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
977
978 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
979 Only use first period of the time periods given by the UI.
980
981 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java:
982 Added some more index checking.
983
984 2012-07-13 Raimund Renkert <raimund.renkert@intevation.de>
985
986 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java:
987 New. Facet for chart overview in sq relation.
988
989 * src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
990 New. Generator for chart overview. This generator is not used jet.
991 Currently we generate the overview on client side by putting all charts in a
992 simple grid, cause the charts rendered by this generator are empty.
993
994 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
995 Added new Facet type.
996
997 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
998 Add facets for overview.
999
1000 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1001 Avoid a NPE in legend entry aggregation.
1002
1003 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1004 Moved log output to avoid NPE.
1005
1006 * doc/conf/artifacts/minfo.xml:
1007 Added new output for chart overview.
1008
1009 2012-07-13 Raimund Renkert <raimund.renkert@intevation.de>
1010
1011 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1012 Refactored. Moved some functionality to FLYSContext and OutputHelper.
1013
1014 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
1015 Added 'getOutGenerator' to get a concrete generator. Moved from
1016 FLYSArtifactCollection.
1017
1018 * src/main/java/de/intevation/flys/exports/OutputHelper.java:
1019 New. Provides the 'doOut' functionality for FYLSArtifactCollection.
1020
1021 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1022
1023 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
1024 Handle the error case of accessing wrong indexed SQ relation
1025 more smoothly.
1026
1027 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1028
1029 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
1030 Added access to the data of GSIEBSATZ and SSIEBUNG.
1031
1032 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1033
1034 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
1035 Added the left joins to the GSIEBSATZ and SSIEBUNG tables.
1036
1037 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1038
1039 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
1040 Do not store null values from database.
1041
1042 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1043
1044 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
1045 New. Container for measurements. Helps to extract the S/Q fractions.
1046
1047 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
1048 Now uses the measurements container.
1049
1050 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
1051 Added convenience methods to extract the different fractions.
1052 DONE: Q, S_SS, S_SF
1053 TODO: S_BL_S, S_BL_FG, S_BL_CG, S_BL
1054
1055 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java,
1056 src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
1057 Relax existence of SIEBSATZID.
1058 We have to use a left join during data extraction anyway.
1059 We force the existence of Q because we cannot do the fitting if
1060 we don't have them.
1061
1062 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1063
1064 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
1065 New. Access to the data from the SedDB.
1066
1067 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
1068 Load measurements from SedDB.
1069
1070 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
1071 Force NOT NULL for discharge values, too.
1072
1073 * src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
1074 Indentation fix.
1075
1076 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
1077 Iterate over all given periods.
1078
1079 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1080
1081 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java:
1082 Fixed wrong logger class.
1083
1084 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1085
1086 src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
1087 Filter out the meassures which don't have a related 'Siebsatz'.
1088
1089 doc/conf/cache.xml: Added forgotten cache for sq-overview.
1090
1091 src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
1092 Added vim line.
1093
1094 2012-07-12 Christian Lins <christian.lins@intevation.de>
1095
1096 * doc/conf/default-themes.xml,
1097 doc/conf/virtual-themes.xml,
1098 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1099 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
1100 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
1101 src/main/java/de/intevation/flys/themes/ThemeAccess.java:
1102 Add showpointlabel style attribute. Refactor some styles to make use of
1103 general attributes in the virtual themes.
1104
1105 * src/main/java/de/intevation/flys/utils/GeometryUtils.java,
1106 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
1107 Suppress or fix some warnings.
1108
1109 2012-07-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1110
1111 * doc/conf/conf.xml: Fix class name.
1112
1113 2012-07-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1114
1115 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
1116 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
1117 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
1118 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
1119 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
1120 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
1121 src/main/java/de/intevation/flys/exports/ChartExportHelper.java,
1122 src/main/java/de/intevation/flys/exports/WstWriter.java,
1123 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1124 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
1125 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
1126 Various cosmetic doc fixes.
1127
1128 2012-07-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1129
1130 * doc/conf/meta-data.xml: Make official lines available in dc for
1131 manual loading in longitudinal sections.
1132
1133 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1134
1135 * src/main/java/de/intevation/flys/artifacts/model/sq/Sieve.java:
1136 Simulates a sieve to separate the differen fractions from each other.
1137
1138 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1139
1140 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java,
1141 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
1142 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
1143 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1144 Removed trailing whitespace.
1145
1146 2012-07-11 Christian Lins <christian.lins@intevation.de>
1147
1148 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java,
1149 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
1150 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
1151 src/main/resources/messages.properties,
1152 src/main/resources/messages_de_DE.properties,
1153 src/main/resources/messages_en.properties,
1154 src/main/resources/messages_de.properties:
1155 Delta W(t) chart subtitle now with real values and correct i18n.
1156
1157
1158 2012-07-11 Christian Lins <christian.lins@intevation.de>
1159
1160 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
1161 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1162 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1163 Re-add HYK rendering code again to CrossSectionGenerator (fix for #712).
1164
1165
1166 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1167
1168 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java,
1169 src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
1170 Removed superfluous imports.
1171
1172 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1173
1174 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
1175 Made km separating of dates epsilon tolerant and avoid empty date lists.
1176
1177 2012-07-10 Raimund Renkert <raimund.renkert@intevation.de>
1178
1179 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java:
1180 New. Service that generates an overview chart for measuring points.
1181
1182 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
1183 New. Instance of measuring points overview data.
1184
1185 * src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
1186 New. Foctory for overview data objects.
1187
1188 * doc/conf/conf.xml:
1189 Added new service to config.
1190
1191 * src/main/resources/messages.properties,
1192 src/main/resources/messages_de_DE.properties,
1193 src/main/resources/messages_en.properties,
1194 src/main/resources/messages_de.properties:
1195 Added i18n strings.
1196
1197 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1198
1199 Fix for issue694.
1200
1201 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
1202 Also resolve edge cases (last/first cross section km).
1203
1204 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1205
1206 Partial fix for issue694 (Heightmarks snap to nearest cross section
1207 line).
1208
1209 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
1210 Extended signature of getWaterLines to allow behaviour of only
1211 delivering data if it snaps to the km (is closest).
1212
1213 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
1214 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1215 Documentation, updated signature of getWaterLines().
1216
1217 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
1218 Remember if Heightmarks are displayed, if so deliver data
1219 only if cross-section is closest (snap).
1220
1221 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
1222 Make next and previous km of cross-sections available as data.
1223
1224 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
1225 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
1226 Provide next and previous cross-section km via blackboard, adjusted
1227 call to getWaterLines.
1228
1229 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1230
1231 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1232 Removed trailing whitespace.
1233
1234 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1235
1236 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
1237 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
1238 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java,
1239 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
1240 src/main/java/de/intevation/flys/exports/ChartExportHelper.java,
1241 src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java,
1242 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1243 src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java,
1244 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1245 src/main/java/de/intevation/flys/exports/OutGenerator.java,
1246 src/main/java/de/intevation/flys/exports/FlowVelocityGenerator.java:
1247 Fix various documentation issues.
1248
1249 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1250
1251 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
1252 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
1253 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
1254 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java,
1255 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
1256 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java,
1257 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
1258 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java,
1259 src/main/java/de/intevation/flys/exports/ChartHelper.java,
1260 src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java,
1261 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
1262 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
1263 Fix various issues in the hard-to-find documentation.
1264
1265 2012-07-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1266
1267 * pom.xml: Configure javadoc mojo to include doc for protected/private.
1268
1269 2012-07-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1270
1271 * contrib/themes2html.xsl: Create a list of direct sub themes
1272 of a theme.
1273
1274 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1275
1276 * doc/datacage-config-manual/Makefile: New, added Makefile.
1277
1278 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1279
1280 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
1281 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
1282 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
1283 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
1284 src/main/java/de/intevation/flys/jfree/HasLabel.java:
1285 Cosmetics, docs.
1286
1287 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1288
1289 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
1290 Fixed XPath typo.
1291
1292 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1293
1294 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1295 Removed dynamic XPaths to pervent potential XPath injections.
1296
1297 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1298
1299 * contrib/themes2html.xsl: New. Transformation to get a better
1300 overview of themes.xml. Usage:
1301
1302 $ xsltproc --path doc/conf \
1303 contrib/themes2html.xsl \
1304 doc/conf/themes.xml \
1305 > themes.xhtml
1306
1307 Use browser to view the resulting file.
1308
1309 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1310
1311 * doc/conf/second-themes.xml: Name the second themegroup 'second'
1312 instead of 'default' to avoid clashes with the real 'default'
1313 themegroup.
1314
1315 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1316
1317 * doc/conf/default-themes.xml,
1318 doc/conf/virtual-themes.xml,
1319 doc/conf/themes.xml,
1320 doc/conf/second-themes.xml:
1321 Added xml processing instruction.
1322
1323 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1324
1325 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLog.java,
1326 src/main/java/de/intevation/flys/artifacts/access/Access.java,
1327 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
1328 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
1329 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorA.java,
1330 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorB.java,
1331 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorC.java,
1332 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorD.java,
1333 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorE.java,
1334 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorF.java,
1335 src/main/java/de/intevation/flys/exports/ChartArea.java,
1336 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
1337 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
1338 Added vim lines.
1339
1340 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1341
1342 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
1343 src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
1344 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
1345 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
1346 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
1347 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java:
1348 Replaced tabs with four spaces each.
1349
1350 2012-07-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1351
1352 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1353 src/main/java/de/intevation/flys/exports/ChartArea.java,
1354 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1355 Removed superfluous imports.
1356
1357 2012-07-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1358
1359 * src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java,
1360 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
1361 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
1362 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1363 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1364 Removed trailing whitespace.
1365
1366 2012-07-06 Christian Lins <christian.lins@intevation.de>
1367
1368 * doc/conf/*-themes.xml,
1369 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1370 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
1371 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
1372 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
1373 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java,
1374 src/main/resources/messages.properties,
1375 src/main/resources/messages_de_DE.properties,
1376 src/main/resources/messages_en.properties,
1377 src/main/resources/messages_de.properties:
1378 Add styles for W(t) domain markers.
1379
1380 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
1381 Remove false @override.
1382
1383 2012-07-06 Christian Lins <christian.lins@intevation.de>
1384
1385 * doc/conf/themes.xml,
1386 doc/conf/second-themes.xml,
1387 doc/conf/default-themes.xml:
1388 Add missing themes for fixation charts.
1389
1390 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1391
1392 Fix issue705 (names for mainvalues in export).
1393
1394 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
1395 Documentation and use NamedMainValues irrespective of WQ-type (
1396 single vs range).
1397
1398 2012-07-06 Christian Lins <christian.lins@intevation.de>
1399
1400 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1401 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1402 W(t) chart label rotation now working (see #684)
1403
1404 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1405
1406 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1407 Removed solved TODO.
1408
1409 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1410
1411 Fix issue710 (crashing diagrams with only one point).
1412
1413 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1414 Expand the range/bounds where its added.
1415
1416 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1417
1418 * src/main/java/de/intevation/flys/exports/ChartGenerator.java
1419 (expandPointRange): Fix weird code with help of new ChartHelper
1420 method.
1421
1422 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1423
1424 * src/main/java/de/intevation/flys/exports/ChartHelper.java
1425 (expandBounds): New, expand bounds by given percentage.
1426
1427 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1428
1429 * src/main/java/de/intevation/flys/artifacts/math/Distance.java:
1430 New distance helper module.
1431
1432 2012-07-06 Christian Lins <christian.lins@intevation.de>
1433
1434 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1435 Remove debugging code.
1436
1437 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1438 Remove HYK references and code.
1439
1440 2012-07-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1441
1442 * doc/datacage-config-manual/datacage-config-manual.tex:
1443 Changed inclusions to include new content file.
1444
1445 * doc/datacage-config-manual/content.tex: Content from doc/datacage.txt,
1446 xml formatted.
1447
1448 2012-07-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1449
1450 * doc/datacage-config-manual/datacage-config-manual.tex,
1451 doc/datacage-config-manual/README,
1452 doc/datacage-config-manual/title.tex:
1453 Added stub of tex-version of datacage config documentation.
1454
1455 2012-07-05 Christian Lins <christian.lins@intevation.de>
1456
1457 * doc/*-themes.xml:
1458 Add textorientation field.
1459
1460 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1461 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1462 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1463 src/main/java/de/intevation/flys/exports/ChartArea.java:
1464 Move annotation related code to base class ChartGenerator.
1465
1466 2012-07-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1467
1468 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
1469 Prevent casting exception.
1470
1471 2012-07-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1472
1473 issue487 (wrong area calculation).
1474
1475 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
1476 Fix area calculation.
1477
1478 2012-07-04 Ingo Weinzierl <ingo@intevation.de>
1479
1480 * doc/conf/themes.xml: Moved theme groups to own XML files to improve the
1481 structure.
1482
1483 * doc/conf/second-themes.xml,
1484 doc/conf/default-themes.xml,
1485 doc/conf/virtual-themes.xml: New XML files for themes / theme groups; each
1486 theme group in one single file.
1487
1488 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
1489 Improved logging; print number of theme groups and themes in it as INFO.
1490
1491 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1492
1493 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1494 Only show labels if enabled in theme. Commented (failed) trials to get the
1495 text rotation right.
1496
1497 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1498
1499 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1500 Fix certain AIOOBs that were caused by the fact that QWDs can end up in two
1501 different series.
1502
1503 2012-07-03 Raimund Renkert <raimund.renkert@intevation.de>
1504
1505 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1506 Implemented mergeRanges to combine y bounds in timeseries charts.
1507
1508 2012-07-03 Raimund Renkert <raimund.renkert@intevation.de>
1509
1510 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveInfoGenerator.java,
1511 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtInfoGenerator.java:
1512 New. Added chart info generator for WQ and delta W(t) chart.
1513
1514 * doc/conf/conf.xml:
1515 Added info generators to config.
1516
1517 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1518
1519 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1520 Very basic, unstyled, always-on labels of points in DeltaWt-Diagrams.
1521
1522 2012-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1523
1524 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1525 Replaced Arrays.asList(new String[] { "a", "b" }).contains("a") code.
1526
1527 2012-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1528
1529 * doc/conf/themes.xml,
1530 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
1531 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
1532 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
1533 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
1534 src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java,
1535 src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
1536 Removed trailing whitespace.
1537
1538 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
1539
1540 * doc/conf/themes.xml: Added missing themes for middle bed height curves.
1541
1542 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
1543
1544 * src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
1545 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java:
1546 New Access objects to access relevant information of Artifacts specific
1547 to bed heights and flow velocity calculations.
1548
1549 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
1550 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
1551 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
1552 src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java,
1553 src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
1554 Use *Access objects to get required information from Artifact.
1555
1556 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Moved
1557 methods to access specific information for calculations to *Access
1558 objects.
1559
1560 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1561
1562 Fix issue695 (labeling of waterlines).
1563
1564 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
1565 (doCrossSectionWaterLineOut): Handle labels more individually.
1566
1567 * src/main/java/de/intevation/flys/jfree/XYStyle.java
1568 (applyShowLineLabel): Tell renderer that there is something to do in case
1569 any label is switched on.
1570
1571 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
1572
1573 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
1574 src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java,
1575 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
1576 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
1577 src/main/java/de/intevation/flys/artifacts/model/DifferenceCurveFacet.java,
1578 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
1579 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
1580 src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java,
1581 src/main/java/de/intevation/flys/artifacts/geom/Lines.java,
1582 src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
1583 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
1584 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
1585 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
1586 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1587 src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java,
1588 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1589 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1590 src/main/java/de/intevation/flys/themes/ThemeAccess.java,
1591 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
1592 Fixed various bugs (package declarations, moved classes to correct
1593 places).
1594
1595 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
1596
1597 * doc/conf/themes.xml: Removed line properties from fixation point themes
1598 and added missing point properties.
1599
1600 2012-07-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1601
1602 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
1603 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
1604 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
1605 Cosmetics.
1606
1607 2012-07-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1608
1609 issue654.
1610
1611 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
1612 Do not include type in hash for legend item.
1613
1614 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1615
1616 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
1617 Generate CSV for facet 'fix_parameters'.
1618
1619 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
1620 Be more eloquent on which kind of facet the exporter does not
1621 like.
1622
1623 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1624
1625 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
1626 Made it more symmetrical to FixationCompute.
1627
1628 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
1629 Removed fake result stuff. Fetch parameters from SQRelationAccess.
1630
1631 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1632
1633 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java:
1634 Remove some evidence that the authors of this software
1635 do not know Java at all.
1636
1637 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1638
1639 Part of flys/issue687
1640
1641 * src/main/java/de/intevation/flys/exports/ATWriter.java:
1642 New. Samples fitting function to AT files.
1643
1644 !!! Untested and expected to be slightly broken. !!!
1645
1646 * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
1647 Made some formatting things public to be reusable.
1648
1649 * src/main/resources/messages.properties,
1650 src/main/resources/messages_de_DE.properties,
1651 src/main/resources/messages_en.properties,
1652 src/main/resources/messages_de.properties:
1653 Added i18n strings for AT headers.
1654
1655 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1656
1657 * doc/conf/artifact-db.xml,
1658 doc/conf/cache.xml,
1659 doc/conf/meta-data.xml: Removed trailing whitespace.
1660
1661 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1662
1663 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1664 Removed embedded class IdGenerator.
1665
1666 * src/main/java/de/intevation/flys/utils/IdGenerator.java:
1667 New. Re-added the id generator as top level class.
1668
1669 2012-06-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1670
1671 Added parameter exporter for fixings analysis.
1672 Part of flys/issue689
1673
1674 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
1675 New. Exports the contents of the parameters of the fix analysis.
1676
1677 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
1678 Added visitor interface to visit all rows of the parameters.
1679
1680 * doc/conf/artifacts/fixanalysis.xml: Added new facet for
1681 parameter export.
1682
1683 * doc/conf/conf.xml: Register the new parameter exporter.
1684
1685 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1686 Added facet type.
1687
1688 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1689 Fixed indentation.
1690 Removed some programming oddities.
1691 Create facet for parameter export.
1692
1693 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
1694 Removed code which is already contained in the base class.
1695
1696 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
1697 Cleaned up code.
1698
1699 2012-06-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1700
1701 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
1702 Deleted
1703
1704 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
1705 Re-added here
1706
1707 * doc/conf/conf.xml: Adjusted package name of DeltaWtExporter.
1708
1709 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1710
1711 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveInfoGenerator.java:
1712 New. Added chart info companion for FixDerivedCurveGenerator.
1713
1714 * doc/conf/conf.xml: Added to configuration.
1715
1716 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
1717 Code clean up.
1718
1719 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFunction.java:
1720 Simplified. Not Serializable any more because its only a transient object.
1721
1722 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
1723 Clean up. Simplified. Removed dependency from Function2DAdapter because
1724 we are doing our own sampling.
1725
1726 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionInfoGenerator.java:
1727 Removed empty last line.
1728
1729 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1730 Small cosmetics.
1731
1732 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
1733 Do not notify listeners when add data series.
1734
1735 * src/main/java/de/intevation/flys/jfree/Function2DAdapter.java:
1736 Removed. Obsolete.
1737
1738 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1739
1740 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1741 Removed superfluous import.
1742
1743 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1744
1745 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionInfoGenerator.java:
1746 New. Added chart info companion for FixLongitudinalSectionGenerator.
1747
1748 * doc/conf/conf.xml: Added to configuration.
1749
1750 2012-06-29 Christian Lins <christian.lins@intevation.de>
1751
1752 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
1753 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1754 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1755 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
1756 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
1757 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1758 Unfinished work on generalizing annotations in ChartGenerators.
1759
1760 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1761
1762 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
1763 Fixed parameter name.
1764
1765 * src/main/resources/messages_de_DE.properties,
1766 src/main/resources/messages_de.properties:
1767 Fixed typo.
1768
1769 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1770
1771 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
1772 Finished the access to the S/Q relation stuff.
1773
1774 * doc/conf/artifacts/minfo.xml:
1775 State "state.minfo.sq.periods" returns the value as string
1776 symmetrical to state "state.fix.analysisperiods".
1777
1778 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java:
1779 Deleted.
1780
1781 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java:
1782 Re-added here because its of use not only in the fix analysis
1783 but also in the S/Q relation.
1784
1785 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
1786 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
1787 src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java,
1788 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
1789 src/main/java/de/intevation/flys/artifacts/access/Access.java,
1790 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
1791 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1792 Adjusted the imports for the moved DateRange.
1793
1794 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1795
1796 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
1797 New. Artifact access for the S/Q relation. TODO: Add more parameters.
1798
1799 * src/main/java/de/intevation/flys/artifacts/access/Access.java:
1800 Remove trailing whitespace.
1801
1802 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
1803 Added more debug output.
1804
1805 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1806
1807 * src/main/java/de/intevation/flys/artifacts/access/Access.java: New.
1808 Base class for *Access of FLYSArtifacts.
1809
1810 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
1811 Extends Access now.
1812
1813 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1814
1815 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
1816 Removed dead code.
1817
1818 2012-06-28 Christian Lins <christian.lins@intevation.de>
1819
1820 * doc/conf/themes.xml,
1821 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1822 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
1823 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1824 src/main/java/de/intevation/flys/themes/ThemeAccess.java:
1825 Set text orientation to horizontal for points in Fixation W/Q curve.
1826
1827 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1828 Fix overlapping indices of facets.
1829
1830 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1831
1832 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
1833 Added method to figure out which discharge sectors of the
1834 the analysis periods really contains data.
1835
1836 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1837 Only emit analysis period / discharge sectors which really contain data.
1838
1839 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1840
1841 Moved FixationArtifactAccess into own package access because there are
1842 more *Access to come e.g. SQRelationAccess.
1843
1844 TODO: Refactor the code for WINFO to use this *Access pattern. This
1845 results in much cleaner, better scaling and better understandable code.
1846
1847 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java: Deleted.
1848 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java: New.
1849
1850 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
1851 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
1852 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
1853 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
1854 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
1855 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
1856 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
1857 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
1858 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
1859 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
1860 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
1861 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
1862 src/main/java/de/intevation/flys/artifacts/access,
1863 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
1864 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1865 Adjusted imports.
1866
1867 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
1868 Removed superfluous imports.
1869
1870 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1871
1872 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
1873 If fitting fails for tolerance of 1e-10 increase it incremental
1874 by factor of 10 to 1e-3 and only bail out if it fails on this level.
1875
1876 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1877
1878 * src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java:
1879 Fixed da/dQ but the fitting still does not work for the function. :-/
1880
1881 2012-06-27 Christian Lins <christian.lins@intevation.de>
1882
1883 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1884 Show only dates as point labels.
1885
1886 2012-06-27 Christian Lins <christian.lins@intevation.de>
1887
1888 * doc/conf/conf.xml:
1889 Fix typo in generator class for fix_longitudinal_section_curve
1890
1891 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1892
1893 Create and handle new manual line facets.
1894
1895 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
1896 Added new constructor to play nice with upcoming facet-type.
1897
1898 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
1899 Added functionality to serve as WaterLineFacet (calculate water
1900 line against cross section profile).
1901
1902 * src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
1903 Extended to generate cross section water line facets, too.
1904
1905 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
1906 Handle new Facet Type.
1907
1908 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1909
1910 FacetType for upcoming cross_section.manualline facet.
1911
1912 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1913 Added Facet Type and IS-helper dor upcoming facet.
1914
1915 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1916
1917 Configure Themes and compatibility of upcoming
1918 cross_section.manualline facet.
1919
1920 * doc/conf/artifacts/winfo.xml,
1921 doc/conf/artifacts/manualpoint.xml:
1922 Add upcoming facet to compatibility lists.
1923
1924 * doc/conf/themes.xml: Register theme for upcoming facet.
1925
1926 2012-06-27 Christian Lins <christian.lins@intevation.de>
1927
1928 * doc/conf/conf.xml:
1929 Add output generator for 'fix_derived_curve'
1930
1931 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1932 Add some ugly formatted point labels.
1933
1934 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1935
1936 Moved describe() and the generating of output into FLYSArtifact.
1937
1938 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
1939 This the base class so it should contain common code!
1940
1941 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
1942 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
1943 src/main/java/de/intevation/flys/artifacts/ChartArtifact.java,
1944 src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java,
1945 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
1946 Moved common code into base class.
1947
1948 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1949 Removed superfluous imports.
1950
1951 2012-06-27 Christian Lins <christian.lins@intevation.de>
1952
1953 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1954 Use JFreeUtil.sampleFunction2D() to sample a StyledXYSeries.
1955
1956 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
1957 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
1958 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
1959 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
1960 Add ctor with addtional custom facet index parameter.
1961
1962 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1963 Introduce IdGenerator to generate unique facets IDs within an output,
1964 so themes can now be applied properly to points and lines.
1965
1966 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1967
1968 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
1969 Removed some expensive XPath usage. Some quick profiling
1970 showed that up to 7% of our code (excluding Hibernate, H2, Restlet, etc.)
1971 were spend in these XPaths. A lot of time
1972
1973 !!! Please, please, dear fellow programmers do not use XPath for fetching
1974 !!! trivial things that are easily accessible via DOM, too!
1975
1976 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1977
1978 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java,
1979 src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java:
1980 Refactored to better fit the data types of SQResult.
1981
1982 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1983
1984 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
1985 Removed trailing whitespace.
1986
1987 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1988
1989 * src/main/java/de/intevation/flys/artifacts/model/sq/SQ.java:
1990 Added method to validate point.
1991
1992 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
1993 Added method to callback to re-initialize the function to fit.
1994
1995 * src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java:
1996 New. Shell for fitting of one SQ fraction.
1997
1998 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1999 Removed superfluous import.
2000
2001 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2002
2003 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
2004 New. Specialized outlier test for the S/Q relation.
2005 Outliers are accepted in multiples of the standard deviation.
2006
2007 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2008
2009 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2010 Only generate outlier facet when we done the prepocessing.
2011
2012 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2013
2014 Enable legend aggregation in time series charts.
2015
2016 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2017 Call super.aggregateLegendEntries.
2018
2019 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2020
2021 Legend Item Aggregation refactoring.
2022
2023 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
2024 src/main/java/de/intevation/flys/exports/ChartGenerator.java
2025 (aggregateLegendEntries): Moved up from XYChartGenerator to ChartGenerator.
2026
2027 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2028
2029 Legend Item Aggregation refactoring.
2030
2031 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
2032 New (extracted from XYChartGenerator).
2033
2034 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2035 Extracted legend item aggregation to LegendProcessor.
2036
2037 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2038
2039 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2040 Removed trailing whitespace.
2041
2042 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2043
2044 Minor polish for LegendItem-Aggregation.
2045
2046 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2047  Define and use static SPACE Shape.
2048
2049 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2050
2051 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
2052 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
2053 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
2054 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
2055 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
2056 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java:
2057 Completed inverse stubs.
2058
2059 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2060
2061 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
2062 Register the singletons instead of new objects.
2063
2064 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
2065 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
2066 src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java,
2067 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java,
2068 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
2069 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
2070 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
2071 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java:
2072 Link the functions to there inverses via getInverse().
2073
2074 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2075
2076 Implemenation of the inverses of the fitting functions. Needed
2077 for the AT export of the calculated curves.
2078
2079 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
2080 Added abstract method getInverse() to get the inverse of the
2081 function.
2082
2083 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
2084 src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java,
2085 src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java,
2086 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java,
2087 src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
2088 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java,
2089 src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java:
2090 Implements the getInverse() method.
2091
2092 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLog.java,
2093 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
2094 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
2095 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
2096 src/main/java/de/intevation/flys/artifacts/math/fitting/InvExp.java,
2097 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
2098 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLinear.java:
2099 Implements the inverses of the function above. Some are still
2100 stubs.
2101
2102 2012-06-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2103
2104 Fix issue663 ("step" curves for Q).
2105
2106 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
2107 (addStepPointsKmQ): New, add "step" points for series.
2108
2109 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
2110 Use new StyledSeriesBuilder function.
2111
2112 2012-06-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2113
2114 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2115 Fix LegendAggregation; prevent single aggregated legend item to
2116 overflow by splitting it into many, but iconless legenditems.
2117
2118 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2119
2120 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
2121 Fixed typo in I18N key.
2122
2123 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2124
2125 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
2126 Finished I18N.
2127
2128 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
2129 Accept callback to label legend items.
2130
2131 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: Added interface
2132 LabelGenerator to create labels for entries.
2133
2134 * src/main/resources/messages.properties,
2135 src/main/resources/messages_de_DE.properties,
2136 src/main/resources/messages_en.properties,
2137 src/main/resources/messages_de.properties:
2138 Added strings.
2139
2140 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2141
2142 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java:
2143 Removed trailing whitespace.
2144
2145 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2146
2147 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
2148 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
2149 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
2150 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
2151 Removed superfluous imports.
2152
2153 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2154
2155 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
2156 Uses I18N now.
2157
2158 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
2159 Added convenience constructor for creating date formatters with strings.
2160
2161 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
2162 Added variadic method format().
2163
2164 * src/main/resources/messages.properties,
2165 src/main/resources/messages_de_DE.properties,
2166 src/main/resources/messages_en.properties,
2167 src/main/resources/messages_de.properties:
2168 Added strings.
2169
2170 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
2171
2172 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
2173 New. Generator for longitudinal sections in fix analysis.
2174
2175 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
2176 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
2177 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java:
2178 New. Facets for longitudinal sections chart in fix analysis.
2179
2180 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2181 Added new facet types.
2182
2183 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2184 Add facets for new chart.
2185
2186 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
2187 Fixed NPE.
2188
2189 * doc/conf/artifacts/fixanalysis.xml:
2190 Added facets to config.
2191
2192 * doc/conf/themes.xml:
2193 Added new themes.
2194
2195 * doc/conf/conf.xml:
2196 Added new chart generator.
2197
2198 * src/main/resources/messages.properties,
2199 src/main/resources/messages_de_DE.properties,
2200 src/main/resources/messages_en.properties,
2201 src/main/resources/messages_de.properties:
2202 Added i18n strings.
2203
2204 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
2205
2206 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2207 Look for the attribut "outline" to render shape outlines in charts.
2208
2209 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
2210 Add the "outline" attribute.
2211
2212 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
2213
2214 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
2215 Do not add entries ending with " " to legend.
2216
2217 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2218
2219 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
2220 Prevent that the plot becomes to small if only one point is drawn.
2221
2222 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2223
2224 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2225 Added debug output about the concrete coeffs found by the fitting.
2226
2227 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
2228 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java:
2229 Re-checked the partial deviations to the coeffs. Write the formulas
2230 more human readable.
2231
2232 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2233
2234 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: If a label collides
2235 with a other labels try to draw it on the other side of the point.
2236 This results in more labeled points which is useful because you cannot zoom
2237 in for details in the fixings km chart.
2238
2239 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
2240 Paint measured points blue and interpolated green.
2241
2242 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
2243 Set background color to white.
2244
2245 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2246
2247 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2248 Interpolated and measured values where switched.
2249
2250 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2251
2252 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
2253 Label the points in diagram and show if they are interpolated or not.
2254
2255 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
2256 New. Extended XYSeriesCollection to cope with QWs
2257
2258 * src/main/java/de/intevation/flys/utils/Formatter.java: Added formatters
2259 to be fetched only over CallMeta. CallContext are not present in services.
2260
2261 * src/main/java/de/intevation/flys/java2d/ShapeUtils.java: New. Some code
2262 to handle Shapes.
2263
2264 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: New. Shape
2265 renderer. This is a simplified version of the shape renderer
2266 from fixings analysis in desktop FLYS.
2267
2268 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2269
2270 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2271 Re-added accidentially removed code.
2272
2273 2012-06-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2274
2275 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
2276 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2277 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
2278 src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
2279 Removed trailing whitespace.
2280
2281 2012-06-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2282
2283 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2284 Removed TODOs about I18N
2285
2286 * src/main/resources/messages.properties,
2287 src/main/resources/messages_de_DE.properties,
2288 src/main/resources/messages_en.properties,
2289 src/main/resources/messages_de.properties:
2290 Added strings for fixing analysis.
2291
2292 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2293
2294 * src/main/java/de/intevation/flys/utils/KMIndex.java:
2295 OpenJDK javac 1.6.0_24 seems to be more picky about
2296 correct usage of generics.
2297
2298 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2299
2300 * contrib/add-i18n-numbers.py: New. Script to prefix
2301 the values of property files with a small number to
2302 make the keys identifiable even through the UI.
2303
2304 Apply in the same manner as contrib/check-i18n-properties.py
2305
2306 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2307
2308 * src/main/resources/messages_de.properties,
2309 src/main/resources/messages.properties,
2310 src/main/resources/messages_de_DE.properties:
2311 Repaired inconsistencies.
2312
2313 2012-06-24 Christian Lins <christian.lins@intevation.de>
2314
2315 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
2316 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2317 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
2318 src/main/java/de/intevation/flys/jfree/XYStyle.java:
2319 Add debug logs.
2320
2321 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
2322 src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
2323 Draw the W/Q function as StyledXYSeries.
2324
2325 2012-06-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2326
2327 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2328 Re-enable legend entry aggregation, take the threshold from
2329 settings.
2330
2331 2012-06-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2332
2333 * src/main/java/de/intevation/flys/exports/ChartSettings.java:
2334 Parse and set legend aggregation value.
2335
2336 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2337
2338 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java,
2339 src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java,
2340 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
2341 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
2342 Removed trailing whitespace.
2343
2344 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2345
2346 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
2347 Added bug output when creating Q sector markers.
2348
2349 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
2350 Added toString() method.
2351
2352 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2353
2354 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
2355 Set the aggregation threshold value.
2356
2357 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2358
2359 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java,
2360 src/main/java/de/intevation/flys/collections/OutputParser.java:
2361 Cosmetics, doc.
2362
2363 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2364
2365 * src/main/java/de/intevation/flys/exports/WstWriter.java:
2366 Cosmetics.
2367
2368 2012-06-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2369
2370 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
2371 Draw domain markers for borders of Q sectors. There is some kind of glitch
2372 in in the Q sector classifaction code or the db data is strange.
2373
2374 Because of the common code basis this affects the fixings calculations, too. :-(
2375
2376 2012-06-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2377
2378 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2379 Calculate the standard deviation of the Q sector delta Ws, too.
2380
2381 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
2382 Store the standard deviation of the Q sector delta Ws, too.
2383 Indexed 0..3; NaN means the std dev for this sector is not existing.
2384
2385 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2386
2387 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
2388 added method getSectorBorder(int). With this method you can figure
2389 the three discharge sector borders. Returns NaN if border is
2390 not there. Usage:
2391
2392 GaugeFinderFactory ggf = GaugeFinderFactory.getInstance();
2393 GaugeFinder gf = ggf.getGaugeFinder("Elbe");
2394 if (gf == null) { /* FAIL */ }
2395 GaugeRange gr = gf.find(km); // km is the km where you are.
2396 if (gr == null) { /* FAIL */ }
2397
2398 double m0 = gr.getSectorBorder(0); // Draw as marker if not NaN
2399 double m1 = gr.getSectorBorder(1); // Draw as marker if not NaN
2400 double m2 = gr.getSectorBorder(2); // Draw as marker if not NaN
2401
2402 Labels should be:
2403 '(MNQ+MQ)/2' for m0
2404 '(MQ+MHQ)/2' for m1
2405 'HQ5' for m2
2406
2407 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2408
2409 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java:
2410 New. Cache access to per river gauge finders. This very useful
2411 if you want to draw the discharge sectors of river at a given
2412 km into a diagram.
2413
2414 * doc/conf/cache.xml: Added cache 'gauge-finders'.
2415
2416 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
2417 Added find(double km) method to find GaugeRange by km.
2418
2419 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2420 Uses the instance of the GaugeFinderFactory to access the
2421 gauge ranges.
2422
2423 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
2424 Simplified code.
2425
2426 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2427
2428 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
2429 New. Moved out of FixingsOverview.
2430
2431 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2432 Moved GaugeFinder into top level class.
2433
2434 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2435
2436 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
2437 New. Moved out of FixingsOverview.
2438
2439 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2440 Moved GaugeRange into top level class.
2441
2442 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2443
2444 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2445 Prevent some NPEs.
2446 !!! This is not a fix for the real problem !!!
2447
2448 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2449
2450 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
2451 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
2452 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
2453 Removed superfluous imports.
2454
2455 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2456
2457 * src/main/java/de/intevation/flys/artifacts/model/Range.java:
2458 New. Moved out of FixingsOverview.
2459
2460 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2461 Moved Range into top level class.
2462
2463 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
2464 src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java,
2465 src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
2466 Adjusted imports.
2467
2468 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2469
2470 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2471 Fixed problem with select the wrong meta data (date, descriptions, etc.)
2472 for a data column.
2473
2474 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2475
2476 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
2477 Fixed stupid i/j switch bug.
2478
2479 2012-06-21 Raimund Renkert <raimund.renkert@intevation.de>
2480
2481 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2482 Updated i18n.
2483
2484 * src/main/resources/messages.properties,
2485 src/main/resources/messages_de_DE.properties,
2486 src/main/resources/messages_en.properties,
2487 src/main/resources/messages_de.properties:
2488 Added i18n string for delta W(t) chart.
2489
2490 2012-06-21 Raimund Renkert <raimund.renkert@intevation.de>
2491
2492 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2493 Added attribution for single series styling.
2494
2495 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
2496 Skip legend items for interpolated point series.
2497
2498 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
2499 Split analysis and reference points into two chart series. Added attribute
2500 for interpolated points for different styling.
2501
2502 * src/main/java/de/intevation/flys/jfree/Style.java:
2503 Added getter for renderer.
2504
2505 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
2506 Implemented getter for renderer.
2507
2508 2012-06-21 Christian Lins <christian.lins@intevation.de>
2509
2510 * doc/conf/artifacts/fixanalysis.xml,
2511 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2512 Split fix_sector_average_wq in four facet types, one for each class (_0, _1, ..)
2513
2514 * doc/conf/themes.xml:
2515 Update themes for WQ curve
2516
2517 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2518 Fix for small issue with sector average points
2519
2520 2012-06-21 Christian Lins <christian.lins@intevation.de>
2521
2522 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2523 Adapt doAverageSectorOut() to reflect changes in Facet.
2524
2525 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
2526
2527 Added delta W(t) chart in fix analysis.
2528
2529 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2530 Added facet types for deta W(t) chart.
2531
2532 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
2533 Changed facet index to determine the sector index and the analysis period
2534 index.
2535
2536 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2537 Calculate a facet index including the sector index and the analysis period
2538 index.
2539 Added new facet for delta W(t) chart.
2540
2541 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java:
2542 New. Facet to display the standard deviation in delta W(t) chart.
2543
2544 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
2545 New. Generator for the delta W(t) chart.
2546
2547 * doc/conf/artifacts/fixanalysis.xml:
2548 Updated facets in outputmodes.
2549
2550 * doc/conf/conf.xml:
2551 Added output generator to config.
2552
2553 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
2554
2555 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2556 New methods to add domain and value axis markers to the plot.
2557
2558 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
2559
2560 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
2561 Added reference events to CSV export.
2562
2563 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
2564
2565 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
2566 Changed data type from QW[] to QWD[] to have delta Ws in reference events.
2567
2568 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
2569
2570 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
2571 Moved function instantiation to alway have a valid function instance.
2572
2573 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
2574
2575 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2576 Fixed binary search.
2577
2578 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2579
2580 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2581 Bring binarySearch with epsilon more to source of binarySearch of Collections.
2582 Still not working properly. Why?
2583
2584 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2585
2586 Avoid problems with corrected Ws in cross-sections; hacky solution,
2587 issue680.
2588
2589 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
2590 (waterLineC): New, get corrected W.
2591
2592 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
2593 Create C-facet with other index.
2594
2595 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2596
2597 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
2598 Cosmetics, doc.
2599
2600 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2601
2602 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
2603 Cosmetics, doc.
2604
2605 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2606
2607 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2608 Now respects the selected events and reference period correctly.
2609
2610 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
2611 referenceStart and referenceEnd are now melted into referencePeriod.
2612
2613 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2614 Add a new filter IdsFilter which is more efficent to check than a
2615 OrFilter with a list of IdFilters inside.
2616
2617 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
2618 Expose the new IdsFilter to the XML representation in form of
2619 <columns cids="<list of whitespace separated ids"/>
2620
2621 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
2622
2623 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
2624 Fixed broken naming of chart curves.
2625
2626 * src/main/resources/messages.properties,
2627 src/main/resources/messages_de_DE.properties,
2628 src/main/resources/messages_en.properties,
2629 src/main/resources/messages_de.properties: Renamed facets for SQ
2630 relation chart curves.
2631
2632 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
2633
2634 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
2635 Create a compound index value for SQOutlierFacets. This index is based
2636 on the index of the result object (to get the correct data) and the
2637 iteration of the outliers. This compound index is used to make
2638 SQOutlierFacets unique to FLYSCollection's DESCRIBE document.
2639
2640 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java:
2641 Parse the index of the result object and the iteration number from index
2642 property.
2643
2644 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
2645 Added some more debug output.
2646
2647 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
2648
2649 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2650 Create only SQ objects with values > 0. Otherwise JFreeChart will break
2651 during chart creation (values for logarithmic axes have to be > 0).
2652
2653 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
2654
2655 * doc/conf/themes.xml: Adjusted the color of SQ Facets (lines and points)
2656 as shown in examples.
2657
2658 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
2659
2660 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
2661 Create new Facets with proper i18n label.
2662
2663 * src/main/resources/messages.properties,
2664 src/main/resources/messages_de_DE.properties,
2665 src/main/resources/messages_en.properties,
2666 src/main/resources/messages_de.properties: Added i18n strings for facet
2667 names.
2668
2669 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
2670
2671 * src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorA.java,
2672 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorB.java,
2673 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorC.java,
2674 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorD.java,
2675 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorE.java,
2676 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorF.java:
2677 New concrete chart generators. Each fraction of the SQ relation
2678 calculation has its own generator now. This is because they all have
2679 different chart titles and labels.
2680
2681 * doc/conf/conf.xml: Let SQ relation charts use more concrete generators.
2682
2683 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
2684 Implemented getDefaultXAxisLabel() getDefaultYAxisLabel().
2685
2686 * src/main/resources/messages.properties,
2687 src/main/resources/messages_de_DE.properties,
2688 src/main/resources/messages_en.properties,
2689 src/main/resources/messages_de.properties: Added i18n strings for chart
2690 titles and axes labels.
2691
2692 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2693
2694 Fix issue681 (wrong vertical lines in duration curve q-mainvalues on
2695 second y-axis).
2696
2697 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2698 Fix vertical line if on second y-axis.
2699
2700 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2701
2702 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
2703 Restrict q-filter facet to the differences case.
2704
2705 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2706
2707 * doc/conf/artifacts/waterlevel.xml: Add Q-facets to compatibility list.
2708
2709 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
2710 Add Q-facets to filter facet list.
2711
2712 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2713
2714 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java,
2715 src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
2716 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2717 Removed trailing whitespace.
2718
2719 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2720
2721 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java: Directly
2722 sample "our" Function objects instead of JFreeChart Function2Ds.
2723
2724 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
2725 Removed JFreeChart Function2D wrapper and directly use our Function
2726 objects.
2727
2728 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2729
2730 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
2731 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2732 Removed superfluous imports.
2733
2734 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2735
2736 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
2737 Calculate the standard deviation of the delta Ws of the referencen points, too.
2738
2739 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2740 Store the standard deviation of delta Ws of reference points into
2741 a parameters column "std-dev".
2742
2743 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
2744
2745 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java: New function to
2746 sample a Function2D. This method is used, because JFreeChart's
2747 DataUtilities.sampleFunction2D() returns an instance of XYSeries but we
2748 need StyledXYSeries.
2749
2750 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java: Added a
2751 method to retrieve parameter values for a list of parameter names.
2752
2753 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2754 Create a fake Parameters object for the SQ curve.
2755
2756 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
2757 Added getMinQ() and getMaxQ() to determine the Q range.
2758
2759 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFunction.java: New
2760 model class that stores a Function and a min and max Q value.
2761
2762 * src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java:
2763 Return a SQFunction instance based on the parameters and Q range of the
2764 SQFractionResult.
2765
2766 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java: Use
2767 JFreeUtil's new function sampleFunction2D to create a StyledXYSeries for
2768 the SQ curve.
2769
2770 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2771
2772 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2773 Store into QWs if they are interpolated.
2774
2775 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java,
2776 src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
2777 Stores boolean if the values are interpolated.
2778
2779 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2780
2781 * src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java:
2782 Name derivative S'(Q).
2783
2784 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2785
2786 * doc/conf/artifacts/winfo.xml: Add Q-Facets to compatibility list of dis-c.
2787
2788 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
2789
2790 * doc/conf/themes.xml: Added theme mappings for sq relation fractions b - f.
2791
2792 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
2793
2794 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java: Renamed
2795 the former SQResult to SQFractionResult. This class is now used to store a
2796 set of SQFractionResults for each SQ calculation.
2797
2798 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
2799 Former SQResult.
2800
2801 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2802 Create new fake SQFractionResults for fraction A, B and C (used for
2803 testing).
2804
2805 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java,
2806 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java,
2807 src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
2808 Added the 'fractionIdx' property to get to know which fraction should be
2809 represented.
2810
2811 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java: Create
2812 Facets for each SQResult and SQFractionResult.
2813
2814 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2815
2816 * src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java:
2817 New. S(Q) = a*Q^b
2818
2819 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
2820 Registered new function.
2821
2822 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
2823
2824 * src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
2825 Implemented getData(). It returns the SQ[] of
2826 SQResult.getMeasurements().
2827
2828 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java: Create
2829 proper facet for sq measurements and corrected constructor call of
2830 SQOutlierFacet.
2831
2832 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
2833 Generalized doSQMeasurementsOut() and doSQOutliersOut() to one single
2834 method doSQOut() which is able to handle SQ[] data.
2835
2836 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
2837
2838 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Changed the
2839 default behavior: line labels are not visible if no config option is set!
2840
2841 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2842
2843 * doc/conf/conf.xml: Load config of rest server and floodmap over
2844 external entities, too.
2845
2846 * doc/conf/floodmap.xml, doc/conf/rest-server.xml: New.
2847 External config.
2848
2849 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2850
2851 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
2852 The reference points are now wrapped in QWDs. This enables the
2853 plotting of Delta W(t) data for the reference points.
2854
2855 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
2856 Added convenience constructor.
2857
2858 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
2859 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
2860 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2861 Adjusted.
2862
2863 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
2864 Cosmetics.
2865
2866 2012-06-18 Christian Lins <christian.lins@intevation.de>
2867
2868 * doc/conf/artifacts/fixanalysis.xml:
2869 Remove fix_analysis_periods_wq from fix_wq_curve facet.
2870
2871 * doc/conf/themes.xml:
2872 Add fixing themes for other theme groups.
2873
2874 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2875 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java:
2876 Debug output added.
2877
2878 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2879
2880 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
2881 Added vim line, made class public.
2882
2883 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2884
2885 * doc/conf/conf.xml: Using external system entities to configure databases.
2886 !!!
2887 !!! FROM NOW ON YOU CAN YOUR conf.xml FROM TRUNK.
2888 !!! Adjust the database credentials via the *-db.xml files
2889 !!! which are included.
2890 !!!
2891
2892 * doc/conf/artifact-db.xml: New. Configuration for the artifact database.
2893 * doc/conf/seddb-db.xml: New. Configuration for the SedDB
2894 * doc/conf/backend-db.xml: New. Configuration for the FLYS3 database.
2895 * doc/conf/datacage-db.xml: Configuration for the datacage datacage.
2896
2897 2012-06-18 Raimund Renkert <raimund.renkert@intevation.de>
2898
2899 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
2900 Fixed constructor.
2901
2902 2012-06-18 Christian Lins <christian.lins@intevation.de>
2903
2904 * doc/conf/themes.xml:
2905 Add themes for fixing facets.
2906
2907 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2908 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
2909 Use FixFacetUtils.getMaxQ() to retrieve max Q.
2910 Interpolate km values instead of strict binary search.
2911
2912 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
2913 Added, contains static getMaxQ() method.
2914
2915 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
2916 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2917 Some issues fixed.
2918
2919 2012-06-18 Ingo Weinzierl <ingo@intevation.de>
2920
2921 * doc/conf/themes.xml: Fixed broken color strings.
2922
2923 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added new functions
2924 that return colors for points.
2925
2926 * src/main/java/de/intevation/flys/themes/ThemeAccess.java: Added new
2927 function that returns the color for points.
2928
2929 * src/main/java/de/intevation/flys/jfree/XYStyle.java: Added new method to
2930 apply the color of points (independent of the specified line color).
2931
2932 2012-06-18 Ingo Weinzierl <ingo@intevation.de>
2933
2934 * doc/conf/themes.xml: Added themes for SQ relation charts
2935 ('sq_a_measurement', sq_a_outlier' and 'sq_a_curve').
2936
2937 2012-06-18 Raimund Renkert <raimund.renkert@intevation.de>
2938
2939 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java:
2940 New. Abstract chart generator for fix analysis. This generator adds the
2941 current km to the context.
2942
2943 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
2944 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2945 Generators now extend the FixCahrtGenerator.
2946
2947 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
2948 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2949 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
2950 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2951 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
2952 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
2953 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
2954 Get the current km from context.
2955
2956 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
2957 Removed getter for current km.
2958
2959 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2960
2961 * src/main/java/de/intevation/flys/artifacts/map/PrintMap.java,
2962 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
2963 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java,
2964 src/main/java/de/intevation/flys/artifacts/states/DischargeState.java,
2965 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
2966 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
2967 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
2968 src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
2969 Removed repeated x.size() calls from for loops.
2970
2971 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2972
2973 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
2974 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2975 Removed superfluous imports.
2976
2977 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2978
2979 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java,
2980 src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java,
2981 src/main/java/de/intevation/flys/artifacts/model/WQTJRDataSource.java:
2982 Added missing 'else's in if/else ladders.
2983
2984 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2985
2986 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
2987 Fixed string comparision for identity.
2988
2989 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2990
2991 * src/main/java/de/intevation/flys/**/*.java: Added missing vim lines.
2992
2993 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2994
2995 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2996 Removed tabs. Set log level from INFO to DEBUG because this case
2997 is much too common.
2998
2999 2012-06-17 Christian Lins <christian.lins@intevation.de>
3000
3001 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3002 Comments added.
3003
3004 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
3005 Logging output added.
3006
3007 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
3008 Max Q is now determined by parameter.interpolate().
3009
3010 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
3011 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
3012 Use getCurrentKmFromRequest() in output generation.
3013
3014 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3015 Typo in method description.
3016
3017 2012-06-15 Raimund Renkert <raimund.renkert@intevation.de>
3018
3019 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
3020 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
3021 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
3022 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
3023 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
3024 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
3025 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
3026 The getData() method now takes a km parameter to get the data at a specific
3027 km.
3028
3029 2012-06-15 Ingo Weinzierl <ingo@intevation.de>
3030
3031 * src/main/java/de/intevation/flys/artifacts/model/sq/SQ.java: New model to
3032 store values for S/Q.
3033
3034 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java: New
3035 model class that should be used to store calculation results of SQ
3036 relation.
3037
3038 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3039 Create a fake SQResult.
3040
3041 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java:
3042 Set missing required properties, so that this facet will be able to
3043 re-calculate results again if the results are not in cache.
3044
3045 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
3046 Create correct number of facets for parameter A for outliers Facet.
3047
3048 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
3049 Create a JFreeChart XYSeries from SQResult's outliers Facet.
3050
3051 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
3052 method to create X axes. The SQRelationGenerator overrides this method,
3053 because it requires a logarithmic axis.
3054
3055 2012-06-15 Raimund Renkert <raimund.renkert@intevation.de>
3056
3057 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
3058 Added getter for current km.
3059
3060 2012-06-15 Ingo Weinzierl <ingo@intevation.de>
3061
3062 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
3063 new functions to determine if a Facet is a SQ curve, measurement or
3064 outlier independend of their parameter.
3065
3066 * src/main/java/de/intevation/flys/exports/sq/SQRelationInfoGenerator.java,
3067 src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java,
3068 src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java:
3069 Stubs for chart and export generators.
3070
3071 * doc/conf/conf.xml: Registered new output-generators for SQ relation
3072 charts and exports.
3073
3074 * src/main/resources/messages.properties,
3075 src/main/resources/messages_de_DE.properties,
3076 src/main/resources/messages_en.properties,
3077 src/main/resources/messages_de.properties: Added i18n strings for CSV
3078 export of SQ relations.
3079
3080 2012-06-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3081
3082 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace.
3083
3084 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3085
3086 * doc/conf/conf.xml: Added out commented block for SedDB configuration.
3087
3088 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3089
3090 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
3091 Some code cleanup.
3092
3093 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3094
3095 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
3096 Added more debug output.
3097
3098 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
3099 Interpolate the coeffs for the function to be drawn.
3100
3101 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
3102 Made code more robust for none existing data.
3103
3104 2012-06-14 Ingo Weinzierl <ingo@intevation.de>
3105
3106 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
3107 new Facets for MINFO SQ relation calculation.
3108
3109 * doc/conf/artifacts/minfo.xml: Added output for chart and data export for
3110 sq relation calculation. Registered new facets.
3111
3112 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
3113 src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java,
3114 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java,
3115 src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
3116 Stubs for calculation and Facets used for SQ relation calculation.
3117
3118 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
3119 Override computeAdvance() and implemented a stub for calculation and
3120 Facet creation.
3121
3122 2012-06-11 Raimund Renkert <raimund.renkert@intevation.de>
3123
3124 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
3125 Changed filter string to 'Messstelle'.
3126
3127 2012-06-14 Ingo Weinzierl <ingo@intevation.de>
3128
3129 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
3130 Fetch only cross section tracks that have a name 'qps' set for WSPLGEN
3131 calculation.
3132
3133 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3134
3135 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
3136 Use binary search again.
3137
3138 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3139
3140 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
3141 Removed superfluous import.
3142
3143 2012-06-13 Christian Lins <christian.lins@intevation.de>
3144
3145 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
3146 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
3147 Workaround for IndexOutOfBoundsException.
3148
3149 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
3150 Output generator for fixing derived curve.
3151
3152 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
3153 Use binary search with epsilon again.
3154
3155 2012-06-13 Ingo Weinzierl <ingo@intevation.de>
3156
3157 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
3158 Added more debug/warn log statements.
3159
3160 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java: Do
3161 not add empty objects into the calculation result.
3162
3163 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
3164 Take care on empty QWD objects.
3165
3166 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3167
3168 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java,
3169 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
3170 src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
3171 Max Q is store in column "max_q" in Parameters now. So function can be plotted
3172 bewtween calculated kms, too.
3173 For function sampling use something like this.:
3174
3175 double [] maxQ = parameters.interpolate("km", 42.3", new String [] { "max_q" });
3176 double maxSampleQ = 10000d;
3177
3178 if (maxQ != null) {
3179 maxSampleQ = Math.min(2000d, Math.abs(maxQ[0]));
3180 maxSampleQ += 0.05*maxSampleQ;
3181 }
3182
3183 2012-06-13 Christian Lins <christian.lins@intevation.de>
3184
3185 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3186 Add missing imports and correct coding issues.
3187
3188 2012-06-12 Christian Lins <christian.lins@intevation.de>
3189
3190 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
3191 Use KMIndex.search() (with epsilon) instead of KMIndex.binarySearch().
3192
3193 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
3194 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3195 Move marker generation to XYChartGenerator.
3196
3197 2012-06-12 Christian Lins <christian.lins@intevation.de>
3198
3199 * doc/conf/conf.xml:
3200 Add fix_wq_curve output generator.
3201
3202 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
3203 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
3204 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
3205 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
3206 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
3207 Add additional null-checks to prevent NullPointerExceptions when accessing empty
3208 facets.
3209
3210 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
3211 getMaxQ() now returns constant '1000' until it is properly fixed.
3212
3213 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
3214 Code for generating charts more or less complete but untested due to bugs in facets.
3215
3216 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3217
3218 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3219 Added method double [] interpolate(keyName, key, columnNames).
3220 This construct is better suited for the extraction of
3221 coefficients for building functions. In pseudo code:
3222
3223 fitting.Function function =
3224 FunctionFactory.getInstance().getFunction("log");
3225
3226 double km = 42.35;
3227
3228 double [] coeffs = parameters.interpolate(
3229 "km", km, function.getParamterNames());
3230
3231 math.Function f = function.instantiate(coeffs);
3232
3233 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3234
3235 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
3236 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
3237 Removed superfluous imports.
3238
3239 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3240
3241 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3242 Added interpolate methods that return an array of linear interpolated
3243 values for a given key. Say you have a column named "km" you can call
3244 'values = parameters.interpolate("km", 12)' to fetch a set
3245 of proportional interpolated parameters even if there are only
3246 "km": 10 and "km": 15 in the data structure. Returns null if out of bounds.
3247
3248 2012-06-11 Raimund Renkert <raimund.renkert@intevation.de>
3249
3250 * doc/conf/artifacts/minfo.xml:
3251 Added states and transitions for S-Q-relation.
3252
3253 * src/main/java/de/intevation/flys/artifacts/states/PeriodsSelect.java,
3254 src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java,
3255 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
3256 New. States for multiple periods input, outliers input and final
3257 S-Q-relation.
3258
3259 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
3260 Added name filter for locations.
3261
3262 * src/main/resources/messages.properties,
3263 src/main/resources/messages_de_DE.properties,
3264 src/main/resources/messages_en.properties,
3265 src/main/resources/messages_de.properties:
3266 Added i18n strings for states.
3267
3268 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3269
3270 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
3271 Fixed broken logger class.
3272
3273 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3274 Re-establish old indentation.
3275
3276 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3277
3278 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
3279 (doWOut): Interpolate values from WKms.
3280
3281 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3282
3283 * src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
3284 Enable caching.
3285
3286 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3287
3288 * doc/conf/meta-data.xml: Simplified choice of gauges for discharge c.
3289
3290 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
3291 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
3292 Create better name for facets, minor refactoring, polishing.
3293
3294 * src/main/resources/messages.properties,
3295 src/main/resources/messages_de_DE.properties,
3296 src/main/resources/messages_en.properties,
3297 src/main/resources/messages_de.properties:
3298 Added i18n strings.
3299
3300 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3301
3302 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
3303 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
3304 Cosmetics, docs
3305
3306 2012-06-07 Raimund Renkert <raimund.renkert@intevation.de>
3307
3308 * src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
3309 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3310 Use i18n strings.
3311
3312 * src/main/resources/messages.properties,
3313 src/main/resources/messages_de_DE.properties,
3314 src/main/resources/messages_en.properties,
3315 src/main/resources/messages_de.properties:
3316 Added i18n strings.
3317
3318 2012-06-07 Raimund Renkert <raimund.renkert@intevation.de>
3319
3320 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3321 Changed facet description.
3322
3323 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3324
3325 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java,
3326 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
3327 src/main/java/de/intevation/flys/utils/FLYSUtils.java:
3328 Cosmetics, doc.
3329
3330 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3331
3332 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java:
3333 Fix issues, import river, documentation, more debug.
3334
3335 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3336
3337 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java:
3338 Hard-code state id, instruct computation to result in facets.
3339
3340 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3341
3342 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
3343 Doc.
3344
3345 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
3346
3347 Added facet for derivate curve and fixed facet names.
3348
3349 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
3350 New. Facet for derivate curve.
3351
3352 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
3353 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
3354 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
3355 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
3356 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
3357 Added name for facet to constructor.
3358
3359 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3360 Add one facet for each output using a different name.
3361
3362 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
3363 Added facet names.
3364
3365 * doc/conf/artifacts/fixanalysis.xml:
3366 Changed facet names.
3367
3368 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3369
3370 * src/main/java/de/intevation/flys/exports/MiddleBedHeightExporter.java:
3371 Trivial doc.
3372
3373 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3374
3375 * doc/datacage.txt: More documentation of datacage conf.
3376
3377 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
3378
3379 Added new facet for analysis periods and updated facet names.
3380
3381 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java:
3382 New. Facet for analysis periods. Returns the date ranges for the analysis
3383 periods.
3384
3385 * doc/conf/artifacts/fixanalysis.xml,
3386 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
3387 Added new facet and updated facet names.
3388
3389 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
3390 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
3391 Updated facet names.
3392
3393 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3394
3395 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
3396 Minor doc.
3397
3398 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3399
3400 * doc/datacage.txt: More documentation of datacage conf.
3401
3402 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
3403
3404 Implemented facets and splitted up the event facet.
3405
3406 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixEventsFacet.java:
3407 Removed.
3408
3409 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
3410 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
3411 New. Facets for events.
3412
3413 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
3414 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
3415 Implemented getData().
3416
3417 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3418 Add new event facets.
3419
3420 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
3421 Fixed return value.
3422
3423 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3424
3425 * src/main/java/de/intevation/flys/jfree/Function2DAdapter.java:
3426 New. Adapter class to brigde de.intevation.flys.artifacts.math.Function
3427 to org.jfree.data.function.Function2D.
3428
3429 Function2D objects can be used by org.jfree.data.general.DatasetUtilities
3430 to sample functions into XYDatasets.
3431 See DatasetUtilities.sampleFunction2D()
3432
3433 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3434
3435 * doc/datacage.txt: New file that will contain datacage configuration
3436 documentation.
3437
3438 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
3439
3440 * doc/conf/artifacts/fixanalysis.xml:
3441 Fixed outputmodes.
3442
3443 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3444
3445 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
3446 Local variable shadowed instance variable.
3447
3448 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3449
3450 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3451 Fixed index problem with name of chi^2.
3452
3453 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
3454
3455 Added facets for fix analysis.
3456
3457 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
3458 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
3459 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
3460 src/main/java/de/intevation/flys/artifacts/model/fixings/FixEventsFacet.java:
3461 New. Facets for W/Q-Chart in fix analysis. FixAvSectorFacet is implemented,
3462 the others are just stubs.
3463
3464 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3465 Add facets to artifact after calculation.
3466
3467 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
3468 Added method to get the current km for charts. The km is used for
3469 synchronous navigation in fix analysis charts.
3470
3471 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
3472 Added new facet types.
3473
3474 * doc/conf/artifacts/fixanalysis.xml:
3475 Added facets to config.
3476
3477 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3478
3479 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3480 Added some binary search methods. TODO: Sort by column.
3481
3482 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3483
3484 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
3485 Use new data structures for export.
3486
3487 * src/main/java/de/intevation/flys/utils/KMIndex.java:
3488 Implements java.lang.Iterable now.
3489
3490 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWT.java,
3491 src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
3492 Removed. Obsolete.
3493
3494 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
3495 Removed superfluous import.
3496
3497 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3498
3499 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
3500 Prevent duplicates in analysis periods.
3501
3502 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java:
3503 Added equals.
3504
3505 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3506
3507 * src/main/java/de/intevation/flys/utils/EpsilonComparator.java:
3508 Removed. Obsolete now.
3509
3510 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3511
3512 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java:
3513 Improved collision detection.
3514
3515 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
3516 Avoid collisions of line labels, documentation.
3517
3518 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
3519 Use JFreeUtil.
3520
3521 * src/main/java/de/intevation/flys/jfree/CollisionFreeLineLabelEntity.java:
3522 New, ChartEntity class for Line labels.
3523
3524 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3525
3526 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
3527 Store the QWs that are actually used in the fitting as referenced.
3528
3529 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3530 Store the referenced QWs for each km. TODO: Use same index structure.
3531
3532 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
3533 Store the referenced QWs, too.
3534
3535 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3536
3537 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResults.java:
3538 Removed. Obsolete.
3539
3540 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3541
3542 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriodsKM.java:
3543 Removed. Not needed any longer.
3544
3545 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3546 Store the AnalysisPeriod per km into FixResult.
3547
3548 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
3549 Uses KMIndex<AnalysisPeriod []> instead of DeltaWTsKM now.
3550
3551 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
3552 Commented out old code.
3553 TODO: Rewrite exporter to use AnalysisPeriods.
3554
3555 2012-06-05 Ingo Weinzierl <ingo@intevation.de>
3556
3557 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Override
3558 endOfLife() to remove files and directories produced for WMS output.
3559
3560 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3561
3562 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java:
3563 New jfreechart-related utility class.
3564
3565 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3566
3567 * src/main/java/de/intevation/flys/utils/Formatter.java:
3568 (getMeterFormat): New.
3569 Doc.
3570
3571 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
3572 i18n and formatting for line labels.
3573
3574 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3575
3576 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
3577 Added better doc and TODO.
3578
3579 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3580
3581 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
3582 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
3583 Now uses the KMIndex for outliers.
3584 TODO: Use KMIndex for DeltaWTs, too.
3585
3586 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3587
3588 * src/main/java/de/intevation/flys/utils/KMIndex.java: New.
3589 Serializable index structure to find objects by there km.
3590 TODO: Use in fixings analysis.
3591
3592 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3593
3594 * src/main/java/de/intevation/flys/utils/EpsilonComparator.java:
3595 Fixed sign problem in comparison.
3596
3597 2012-06-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3598
3599 Implemented outlier checks in fixings analysis. Expected to be
3600 still broken, but the code is in the right place now and has the
3601 right structure.
3602
3603 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
3604 Fixed endless loop.
3605
3606 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3607 Added further set methods for indexed access.
3608
3609 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
3610 New. Out factored fitting code from FixCalculation. Checks for outliers, too.
3611
3612 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3613 Moved fitting code out to separate class. Streamlined code a bit.
3614
3615 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
3616 Store the outliers from fitting in separate data structure, too.
3617
3618 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java: New.
3619 Base class for delta W/t data. Used as storage for outliers.
3620
3621 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
3622 Is a sub class of QW now.
3623
3624 2012-06-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3625
3626 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3627 Store Chi^2 of fitting into result, too.
3628
3629 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3630 Added indexed set method.
3631
3632 2012-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3633
3634 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
3635 Added inner class Derivative representing the first derivative of the
3636 function. Can be instantiated with a given set of parameters.
3637
3638 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
3639 src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
3640 src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java,
3641 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java,
3642 src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java,
3643 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java:
3644 Added the derivatives of all fitting functions.
3645
3646 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3647
3648 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3649 Calculate the Delta W/ts +
3650 the average Delta W/ts per Q sector per analysis period.
3651 !!! Very complicated stuff !!!
3652 TODO:
3653 - Store results into the new data structures AnalysisPeriod and
3654 AnalysisPeriods.
3655 - Remove the old DeltaWTsKM and DeltaWT.
3656 - Adjust the facets and the export.
3657
3658 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
3659 Added convinience constructor.
3660
3661 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
3662 Added sector filter.
3663
3664 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
3665 Expose the new sector filter to the fixing overview service. Syntax:
3666 <sector value="<value>"/>
3667
3668 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3669
3670 * src/main/java/de/intevation/flys/utils/DateAverager.java:
3671 New. Averages a list of dates preventing overflows.
3672
3673 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3674
3675 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
3676 Added a km filter to find columns which touches a given km.
3677
3678 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
3679 Expose the new km filter to the fixing overview service. Syntax:
3680 <position km="<value>"/>
3681
3682 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3683
3684 Better persistence model for delta w/t calculations. Supports
3685 storage of Q sector averages, too. TODO: Use the new model.
3686
3687 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
3688 New. Will be used as a replacement for DeltaWT.
3689
3690 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
3691 New. Will be used as a replacement for DeltaWTsKM.KM.
3692
3693 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriodsKM.java:
3694 New. List<AnalysisPeriodsKM> Will be used as a replacement for DeltaWTsKM.
3695
3696 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3697
3698 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
3699 src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
3700 Use DateRange objects now.
3701
3702 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java: New.
3703 Model for date ranges. To be used in re-factored persistance model.
3704
3705 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3706
3707 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
3708 Added method to find the Q sector of fixing column for a given km.
3709 Useful to classify fixing events at certain kms.
3710
3711 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3712
3713 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
3714 Fixed access to analysis periods.
3715
3716 2012-05-30 Raimund Renkert <raimund.renkert@intevation.de>
3717
3718 * doc/conf/artifacts/fixanalysis.xml:
3719 Changed data fields to a single string data field. The data contains a
3720 string of semi-colon separated 'long' value pairs.
3721
3722 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
3723 Process the new data.
3724
3725 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3726
3727 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
3728 trivial doc.
3729
3730 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
3731 Removed disturbing comment.
3732
3733 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java
3734 (SimpleAxis): Add ommitted Y_AXIS2 to enum.
3735
3736 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3737
3738 solve issue417: duration curve annotations as line to curve.
3739
3740 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
3741 (createStickyLineAnnotation): New.
3742 Resolved todos, use the line style.
3743
3744 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3745
3746 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3747 Doc, TODOs added.
3748
3749 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3750
3751 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
3752
3753 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3754 Consider theme setting before drawing line to curve.
3755
3756 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3757
3758 * doc/conf/themes.xml: Donate own theme for mainvalues.
3759
3760 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3761
3762 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3763 Fit from Q to W not from W to Q!
3764 Delta w/t's are now in cm.
3765 Slimmed down fitting error report.
3766
3767 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
3768 Changed default column header of delta W to cm.
3769
3770 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3771
3772 Made Delta W/t calculation work.
3773
3774 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
3775 Added toString() method.
3776
3777 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java:
3778 Fixed problem accessing Ws.
3779
3780 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3781 Fixed silly 'name.equals(name)' bug. This mainly prevented delta W/t
3782 computation from working.
3783
3784 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
3785 More deug code.
3786
3787 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3788 More debug code. Simplified access to data a bit.
3789
3790 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
3791 Allow CSV exporter to throw IOExceptions.
3792
3793 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
3794 More debug output. Flush CSV after writing.
3795
3796 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3797
3798 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3799 Units of step is in meter and not km. Added more debug output.
3800
3801 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3802 Stupidly forgot to add facet to return the delta w/t as CSV.
3803
3804 2012-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3805
3806 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
3807 There was a cast to WINFOArtifact where a cast to FLYSArtifact
3808 is sufficient. This prevented generating error reports that
3809 does not inherit from WINFOArtifact like FixationArtifact.
3810
3811 2012-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3812
3813 * doc/conf/artifacts/fixanalysis.xml,
3814 doc/conf/conf.xml: Added CSV and error report generator/facets.
3815
3816 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
3817
3818 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
3819 CrossSectionFactory.isNewest() will return true if the CrossSection is
3820 the only CrossSection found in the database. No IndexOutOfBounds is
3821 thrown.
3822
3823 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
3824
3825 * Tagged module as '2.7'.
3826
3827 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
3828
3829 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
3830 Don't break chart creation if no hyks are existing.
3831
3832 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3833
3834 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java,
3835 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
3836 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
3837 src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
3838 Removed superfluous imports.
3839
3840 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3841
3842 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
3843 Added getters to access the inner data structures.
3844
3845 * src/main/java/de/intevation/flys/utils/Formatter.java: Added formatting
3846 support for delta w/t exports of fix analysis.
3847
3848 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
3849 New. CSV exporter for delta w/ts of fix analysis.
3850
3851 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
3852 Reordered imports.
3853
3854 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3855
3856 * src/main/java/de/intevation/flys/artifacts/model/fixings/FitResult.java:
3857 Removed. Obsolete.
3858
3859 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
3860 New. Stores the result of the fixing analysis.
3861
3862 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3863 Return the right structure (FixResult) from the calculation.
3864
3865 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3866
3867 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3868 Fixed stupid index bug.
3869
3870 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3871
3872 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3873 Call the computing.
3874
3875 2012-05-25 Ingo Weinzierl <ingo@intevation.de>
3876
3877 * doc/conf/conf.xml: Use the correct Artifacts for wms fixpoints and
3878 floodmaps (they were interchanged).
3879
3880 2012-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3881
3882 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResults.java:
3883 New. Stores all results of a fixing analysis.
3884
3885 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
3886 New. Km indexed container for Delta W/t diagrams.
3887
3888 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3889 Create FixResults and DeltaWTsKM now to store the results.
3890
3891 2012-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3892
3893 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
3894 Replaced another silly "@attribute" XPATH with direct getAttribute()
3895 call.
3896
3897 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3898
3899 Draw line of mainvalues to duration curve hit point to ground.
3900
3901 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3902 Also work for q-value case on second y-axis, refactored.
3903
3904 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
3905 Doc and fix.Doc and fix.
3906
3907 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3908
3909 Also draw lines to curve from q-mainvalues in dur. curve
3910
3911 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
3912 In analogy to the W-case, calculate where line from main value hits
3913 a wqday-curve from DurationCurve.
3914
3915 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3916
3917 Draw line of w-mainvalue to duration curve hit point to ground.
3918
3919 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3920 If StickyAxisAnnotation has a hit point set, also add line annotation
3921 from the crossing point to the x-axis.
3922
3923 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3924
3925 Draw line of w-mainvalue to duration curve, baby version.
3926
3927 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
3928 Added field "hitPoint", when a line to a point should be drawn
3929 - leveraging this annotation into the second dimension.
3930
3931 * src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
3932 Calculate where mainvalue hits a duration curve.
3933
3934 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3935 If StickyAxisAnnotation has a hit point set, add line annotation
3936 to hit (the duration) curve.
3937
3938 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
3939
3940 * doc/conf/themes.xml:
3941 Added a warning to not use virtual themes for facets.
3942
3943 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
3944
3945 * doc/conf/themes.xml:
3946 Added concrete themes for maps.
3947
3948 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3949
3950 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3951 Moved parameter of addAnnotations out, renamed to addVisibleAnnotation.
3952
3953 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
3954 Adjusted.
3955
3956 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
3957
3958 * doc/conf/themes.xml:
3959 Added concrete themes for areas.
3960
3961 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3962
3963 * doc/conf/meta-data.xml: Load mainvalues in reference curves.
3964
3965 * doc/conf/artifacts/winfo.xml: Add mainvalues to compatibility list
3966 of reference curves; fix typo.
3967
3968 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3969
3970 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3971 Render mainvalues as annotations.
3972
3973 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
3974 Render static wkms data.
3975
3976 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3977
3978 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3979 Cosmetic.
3980
3981 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3982
3983 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java,
3984 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
3985 (flipStickyAxis): Allow easy change of sticky axes.
3986
3987 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3988
3989 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
3990 (getWaterlevelData): Exception for discharge case.
3991
3992 * src/main/java/de/intevation/flys/utils/FLYSUtils.java
3993 (getLocations): Exception for discharge case.
3994
3995 2012-05-24 Raimund Renkert <raimund.renkert@intevation.de>
3996
3997 Issue 667.
3998
3999 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
4000 Added data to jfreechart data source.
4001
4002 2012-05-24 Ingo Weinzierl <ingo@intevation.de>
4003
4004 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
4005 src/main/java/de/intevation/flys/artifacts/services/ThemeListingService.java,
4006 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
4007 src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
4008 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
4009 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
4010 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
4011 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
4012 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
4013 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
4014 src/main/java/de/intevation/flys/themes/ThemeGroup.java: Removed
4015 needless imports.
4016
4017 2012-05-24 Ingo Weinzierl <ingo@intevation.de>
4018
4019 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Reproject
4020 geometries into the coordinate reference system defined in the
4021 configuration.
4022
4023 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4024
4025 * doc/conf/meta-data.xml: Include other "thematic" heights for
4026 reference curve relative points dc conf.
4027
4028 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4029
4030 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
4031 Cosmetics.
4032
4033 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
4034 Added TODO.
4035
4036 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4037
4038 * doc/conf/artifacts/relativepoint.xml,
4039 doc/conf/conf.xml: Remove relativepoint artifact remainders, so far
4040 all cases are covered by facet.
4041
4042 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4043
4044 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
4045 Handle reference curve case, slightly refactored.
4046
4047 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
4048 Handle points in doOut.
4049
4050 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4051
4052 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
4053 Expose data via blackboard.
4054
4055 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4056
4057 * doc/conf/meta-data.xml: Serve fixations
4058 with relative points for reference curves.
4059
4060 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4061
4062 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
4063 (getReferenceStartKm, getReferenceEndKms): Made public.
4064
4065 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4066
4067 * doc/conf/artifacts/winfo.xml: Add relative point to compatibility
4068 list of reference curve out.
4069
4070 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4071
4072 * doc/conf/artifacts/winfo.xml: Remove second facet from
4073 StaticWKmsArtifact from compatibility list of duration curves.
4074
4075 * doc/conf/themes.xml: Add basic theme for relativepoint.
4076
4077 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4078
4079 * doc/conf/meta-data.xml: Serve floodprotections and heightmarks
4080 with relative points for duration curves.
4081
4082 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4083
4084 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
4085 Handle relative points in doOut.
4086
4087 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4088
4089 * doc/conf/meta-data.xml: Serve fixations with relative points
4090 for duration curves.
4091
4092 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4093
4094 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
4095 Use superclass static field and method.
4096
4097 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4098
4099 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
4100 Handle duration curve case. Do a linear interpolation of the day.
4101
4102 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4103
4104 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java:
4105 Be a DataProvider, provide the duration curve and its km.
4106
4107 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4108
4109 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
4110 (getWAtKmLin): Linear interpolating version of getWAtKm.
4111
4112 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4113
4114 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
4115 Add (dummy-) implementation of a relative point facet.
4116
4117 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
4118 Use superclass infrastructure. Spawn RelativePointFacet.
4119
4120 * doc/conf/winfo.xml: Add relativepoint facet to compatibility list
4121 of duration curve out.
4122
4123 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4124 Add RELATIVE_POINT Facet Type.
4125
4126 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
4127
4128 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
4129 Allow instantiation of a function with concrete parameters.
4130
4131 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
4132 Enable indexed access to parameter names.
4133
4134 * src/main/java/de/intevation/flys/artifacts/model/fixings/FitResult.java:
4135 New. Bundles the results of the fitting.
4136
4137 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWT.java:
4138 New. Stores results of Delta W/t calcs.
4139
4140 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4141 Calculate Delta W/t s, too.
4142
4143 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
4144 Make component filters ('and', 'or') more easy to construct.
4145
4146 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
4147
4148 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
4149 src/main/java/de/intevation/flys/themes/ThemeFactory.java:
4150 Improved startup performance.
4151
4152 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4153
4154 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java
4155 (getDatacageIDValue): New, extracted from various duplicates.
4156
4157 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
4158 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
4159 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
4160 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
4161 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
4162 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
4163 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
4164 Use getDatacageIDValue() from superclass or static context.
4165
4166 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4167
4168 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
4169 Define XPath to access "id" value of element coming from datacage-document.
4170
4171 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
4172 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
4173 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
4174 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
4175 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
4176 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
4177 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
4178 Use xpath defined in superclass.
4179
4180 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4181
4182 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
4183 Whitespace-Cosmetics.
4184
4185 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4186
4187 * doc/conf/relativepoint.xml: New artifact-state-config for upcoming
4188 artifact.
4189
4190 * doc/conf/conf.xml: Register artifact factory and artifact for
4191 upcoming artifact.
4192
4193 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
4194
4195 * src/main/java/de/intevation/flys/themes/ThemeGroup.java:
4196 New. A theme group takes a set of themes configured in the themes.xml.
4197
4198 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
4199 Read the theme groups configured in the themes.xml.
4200 Improved reading the xml file. Thanks to Sascha for the patch.
4201
4202 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
4203 Get a theme using the new parameter themegroup.
4204
4205 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
4206 Create theme groups while configuring themes.
4207
4208 * src/main/java/de/intevation/flys/artifacts/services/ThemeListingService.java:
4209 New. This service returns a list with all configured theme groups, each
4210 containing exactly one theme filtered by name.
4211 The theme name has to be provided as parameter.
4212
4213 * doc/conf/conf.xml:
4214 Added new service to config.
4215
4216 * doc/conf/themes.xml:
4217 Introduced theme groups and added new group.
4218
4219 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4220
4221 * doc/conf/meta-data.xml: Repair CS-DC-Conf, allow loading
4222 waterlevels, add fixations and heightmarks.
4223
4224 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4225
4226 * doc/conf/artifacts/winfo.xml: Cosmetics.
4227
4228 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4229
4230 * doc/conf/meta-data.xml: Allow loading of fixations in cross-sections.
4231
4232 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4233
4234 * src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
4235 More debugging of discharge curve issue.
4236
4237 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4238
4239 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
4240 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java
4241 (getDischargeCurveData): Moved to more specific class.
4242
4243 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java:
4244 Cosmetics, be louder in miscondition.
4245
4246 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4247
4248 * doc/conf/meta-data.xml: Allow loading of fixations and thmatic
4249 heights in longitudinal sections, make discharge-curve-misbehavior
4250 testable with trunk.
4251
4252 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4253
4254 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
4255 Render discharge outs (was own out once).
4256
4257 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4258
4259 * doc/conf/artifacts/winfo.xml: Allow cross-section stuff in
4260 dischargelongitudinal state.
4261
4262 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
4263 Add CrossSectionWaterLineFacets, will trigger the cross section output.
4264
4265 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4266
4267 * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
4268 Added vim line.
4269
4270 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
4271 Removed empty line.
4272
4273 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4274 Removed invalid/not helpful comments.
4275
4276 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
4277 (outputExists): Doc.
4278
4279 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4280
4281 * src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
4282 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java:
4283 Adjusted ui providers to make parameter names unique in client.
4284
4285 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4286
4287 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
4288 Fixed short evaluation problem.
4289
4290 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
4291 Added more debuf output.
4292
4293 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4294
4295 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
4296 New. Access the state data of fixings artifacts.
4297
4298 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4299
4300 * doc/conf/artifacts/fixanalysis.xml: Make "start" and "end" parameters
4301 unique in fixings artifact states.
4302
4303 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4304
4305 * doc/conf/winfo.xml: Extend compatibility lists.
4306
4307 * doc/conf/conf.xml: Add gaugedischarge factory and artifact.
4308
4309 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java,
4310 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
4311 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
4312 New, State, Facet and Artifact to access discharge curves of gauges.
4313
4314 * doc/conf/gaugedischarge.xml: New trivial state model for gaugedis.
4315
4316 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4317
4318 * doc/conf/meta-data.xml: Allow loading of prev. reference curves.
4319
4320 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4321
4322 * doc/conf/meta-data.xml: (yet unused) sceleton for ref-curve dc conf.
4323
4324 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de>
4325
4326 * src/main/resources/messages.properties,
4327 src/main/resources/messages_de_DE.properties,
4328 src/main/resources/messages_en.properties,
4329 src/main/resources/messages_de.properties:
4330 Added i18n strings for fix analysis.
4331
4332 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de>
4333
4334 * src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java:
4335 Implemented static data for state.
4336
4337 * doc/conf/artifacts/fixanalysis.xml:
4338 Changed transition in 'volmer' states.
4339
4340
4341 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4342
4343 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
4344 Include km in names of duration curve facets.
4345
4346 * src/main/resources/messages.properties,
4347 src/main/resources/messages_de_DE.properties,
4348 src/main/resources/messages_en.properties,
4349 src/main/resources/messages_de.properties: Adjusted i18n for
4350 duration curve facet names (now include km).
4351
4352 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4353
4354 * doc/conf/meta-data.xml: Allow loading of previous duration curves and
4355 fixations in duration curves.
4356
4357 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
4358
4359 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
4360 Take the current km range into account in getOptions().
4361
4362 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
4363
4364 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
4365 doc/conf/artifacts/minfo.xml: Adapted facets for middle bed height. We
4366 now distinguish between epochs and singles.
4367
4368 * doc/conf/conf.xml: Registered new output generator for middle bed height.
4369
4370 * doc/conf/themes.xml: Added new themes for middle bed height epoch and
4371 single curves.
4372
4373 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
4374 Take the km range into account.
4375
4376 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
4377 Create facets for single and epochs.
4378
4379 * src/main/java/de/intevation/flys/exports/MiddleBedHeightInfoGenerator.java,
4380 * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java:
4381 Chart and info generator for middle bed height charts.
4382
4383 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
4384
4385 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java:
4386 Added new methods that create names for singles and epochs.
4387
4388 * src/main/java/de/intevation/flys/utils/Formatter.java: Added number
4389 formatters used to export middle bed heights values.
4390
4391 * src/main/java/de/intevation/flys/exports/MiddleBedHeightExporter.java:
4392 New exporter for middle bed heights values.
4393
4394 * doc/conf/conf.xml: Registered new output generator for middle bed height
4395 exports.
4396
4397 * src/main/resources/messages.properties,
4398 src/main/resources/messages_de_DE.properties,
4399 src/main/resources/messages_en.properties,
4400 src/main/resources/messages_de.properties: New i18n strings for middle
4401 bed height facets and csv export.
4402
4403 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
4404
4405 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java:
4406 New model class for storing data for middle bed height exports (chart,
4407 data exports).
4408
4409 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
4410 New Calculation that generates new MiddleBedHeightData.
4411
4412 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightFacet.java:
4413 New Facet which is used for middle bed height charts.
4414
4415 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
4416 new facet type for middle bed height curves.
4417
4418 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
4419 Calculate middle bed height data using MiddleBedHeightCalculation and
4420 create new facets for charts and csv export.
4421
4422 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Added new
4423 methods that return the IDs of selected single bed heights and epoch bed
4424 heights.
4425
4426 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
4427
4428 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
4429 Implemented getOptions() and getLabelFor().
4430
4431 2012-05-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4432
4433 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4434 Stabilized legend item aggregation.
4435
4436 2012-05-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4437
4438 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4439 Extensive - although mostly trivial - doc adds.
4440
4441 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
4442
4443 * doc/conf/artifacts/minfo.xml: Added states and transitions for MINFO
4444 middle bed height calculation.
4445
4446 * src/main/java/de/intevation/flys/artifacts/states/MultiStringArrayState.java:
4447 New. Nearly a copy of MultiIntArrayState but uses String values.
4448
4449 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
4450 New subclass of MultiStringArrayState. It will be used for bed heights
4451 selection. We need to do handle the values as string, because singles
4452 and epochs are mixed, so the DB ID is not enough as parameter value.
4453
4454 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
4455 New. This state will trigger the calculation for middle bed height in
4456 MINFO module.
4457
4458 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
4459
4460 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
4461 Do not add a <art:choices> element to the dynamic DESCRIBE but add the
4462 <art:item> directly to <art:select> which allows using default mechanism
4463 in FLYS client.
4464
4465 2012-05-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4466
4467 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
4468 Replaced event name by its description, which combines the
4469 description of the fixing (= WST file description) and the name
4470 of the column.
4471
4472 * contrib/fixoverview2html.xsl: Adjusted.
4473
4474 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
4475
4476 * doc/conf/artifacts/minfo.xml: Added a chart output and relevant facets to
4477 flow velocity state.
4478
4479 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
4480 new facet types for mainchannel, totalchannel and tau of flow velocity
4481 calculation.
4482
4483 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityFacet.java:
4484 New Facet that returns FlowVelocityData in getData().
4485
4486 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityData.java:
4487 Added new methods that return xy points for mainchannel, totalchannel and
4488 tau.
4489
4490 * src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java:
4491 Create new mainchannel, totalchannel and tau Facets for each
4492 FlowVelocityData instance retrieved by FlowVelocityCalculation.
4493
4494 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Commented
4495 legend aggregation out.
4496
4497 * src/main/java/de/intevation/flys/exports/FlowVelocityInfoGenerator.java,
4498 src/main/java/de/intevation/flys/exports/FlowVelocityGenerator.java: New
4499 chart generator for flow velocity data and its info generator.
4500
4501 * doc/conf/conf.xml: Registered the chart and chart info generator for flow
4502 velocity data.
4503
4504 * doc/conf/themes.xml: Added new themes for mainchannel, totalchannel and
4505 tau of flow velocity calculation.
4506
4507 * src/main/resources/messages.properties,
4508 src/main/resources/messages_de_DE.properties,
4509 src/main/resources/messages_en.properties,
4510 src/main/resources/messages_de.properties: Added i18n strings for flow
4511 velocity facets.
4512
4513 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
4514
4515 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
4516 Add a 'label' attribute to each <data> element in the static DESCRIBE.
4517 In addition to that, the <data> element created in this class can have
4518 multiple <item> elements which consist of a 'value' and a 'label'
4519 attribute. This 'label' attribute is taken from getLabelFor() which is
4520 abstract and needs to be implemented by subclasses.
4521
4522 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
4523 Implemented the abstract method getLabelFor().
4524
4525 * src/main/resources/messages.properties,
4526 src/main/resources/messages_de_DE.properties,
4527 src/main/resources/messages_de.properties: New i18n strings for MINFO
4528 parameter names.
4529
4530 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
4531
4532 * src/main/resources/messages.properties,
4533 src/main/resources/messages_de_DE.properties,
4534 src/main/resources/messages_en.properties,
4535 src/main/resources/messages_de.properties: New i18n strings for MINFO
4536 states.
4537
4538 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
4539
4540 * src/main/java/de/intevation/flys/exports/FlowVelocityExporter.java:
4541 Append the name of a location for the km row which is provided by
4542 FLYSUtils.getLocationDescription(km);
4543
4544 * src/main/resources/messages.properties,
4545 src/main/resources/messages_de_DE.properties,
4546 src/main/resources/messages_en.properties,
4547 src/main/resources/messages_de.properties: Added i18n strings for flow
4548 velocity CSV export headers.
4549
4550 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
4551
4552 * doc/conf/artifacts/minfo.xml: Added new state and csv export for MINFO flow
4553 velocity calculation.
4554
4555 * doc/conf/conf.xml: Registered a new CSV exporter for flow velocity
4556 values.
4557
4558 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java:
4559 New calculation for MINFO flow velocity. Actually, this is no
4560 calculation but a bundling of data.
4561
4562 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityData.java:
4563 New model class that is used to store flow velocity relevant data.
4564
4565 * src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java:
4566 New state that triggers the FlowVelocityCalculation and creates new
4567 facets. Currently, only a CSV Facet is created.
4568
4569 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Added
4570 methods to retrieve the IDs of main channels and total channels for the
4571 flow velocity calculation.
4572
4573 * src/main/java/de/intevation/flys/utils/Formatter.java: New formatters
4574 that are used in CSV exporter for flow velocity.
4575
4576 * src/main/java/de/intevation/flys/exports/FlowVelocityExporter.java: New
4577 concrete subclasses of AbstractExporter that currently implements the
4578 path to export FlowVelocityData as CSV.
4579
4580 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
4581
4582 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
4583 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
4584 Removed getDataAsDouble() which is now implemented in FLYSArtifact.
4585
4586 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
4587 Implemented getDataAsDouble(). This method will return a Double based on
4588 a given parameter name.
4589
4590 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
4591
4592 * doc/conf/artifacts/fixanalysis.xml:
4593 Changed data type for state 'eventselect'.
4594
4595 2012-05-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4596
4597 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
4598 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
4599 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
4600 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
4601 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
4602 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
4603 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
4604 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
4605 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
4606 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
4607 src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
4608 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java,
4609 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
4610 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
4611 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
4612 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java,
4613 src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java,
4614 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java,
4615 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
4616 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
4617 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
4618 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
4619 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
4620 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
4621 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
4622 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java,
4623 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
4624 Removed superfluous imports.
4625
4626 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
4627
4628 * doc/conf/artifacts/fixanalysis.xml:
4629 Adjusted state data fields.
4630
4631 * src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
4632 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
4633 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
4634 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java:
4635 Implemented states.
4636
4637 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
4638
4639 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
4640 Fixed constructor. Descriptions are now available.
4641
4642 2012-05-15 Ingo Weinzierl <ingo@intevation.de>
4643
4644 * doc/conf/artifacts/minfo.xml: Added new transistions and states for
4645 MINFO flow velocity calculation.
4646
4647 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
4648 New abstract states that might be used to append a list of available
4649 integer values to the DESCRIBE document.
4650
4651 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
4652 Concrete subclass of MultiIntArrayState which implements the abstract
4653 method getOptions().
4654
4655 2012-05-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4656
4657 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
4658 New. Model for storing fitting results in cache.
4659
4660 2012-05-14 Ingo Weinzierl <ingo@intevation.de>
4661
4662 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
4663 Removed the computeFeed() method that created Facets for discharge
4664 curves to make this state ready to use in MINFO calculations.
4665
4666 2012-05-14 Ingo Weinzierl <ingo@intevation.de>
4667
4668 * doc/conf/artifacts/minfo.xml: New Artifact configuration for module
4669 MINFO.
4670
4671 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: New
4672 Artifact for module INFO.
4673
4674 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelectMinfo.java:
4675 New. The state is used for choosing the calculation in module MINFO.
4676
4677 * doc/conf/conf.xml: Registered the MINFO Artifact.
4678
4679 * src/main/resources/messages.properties,
4680 src/main/resources/messages_de_DE.properties,
4681 src/main/resources/messages_en.properties,
4682 src/main/resources/messages_de.properties: New strings for states and
4683 calculations.
4684
4685 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4686
4687 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
4688 Removed unused code.
4689
4690 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4691
4692 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
4693 Doc.
4694
4695 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4696
4697 * doc/conf/meta-data.xml: Allow duration_curve.q loading via datacage.
4698
4699 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4700
4701 * doc/conf/meta-data.xml: Allow hyk loading also when in non-
4702 recommendation mode.
4703
4704 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4705
4706 Improved middle height calculations for waterlevels.
4707
4708 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
4709 (area): Improved or even corrected area calculation.
4710
4711 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4712 Corrected middle height calculated, have a very verbose label for
4713 the time being.
4714
4715 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4716
4717 Somewhat improve area calculation during line computation.
4718 Still faulty.
4719
4720 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
4721 (fillWater): Piecewise calculate area in more cases.
4722
4723 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4724
4725 Tackle water-through-mountain issue that exists since r4099.
4726
4727 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
4728 (addPoints): Add parameter that decides whether or not to skip NaNs.
4729
4730 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
4731 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
4732 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
4733 Set new parameter to StyledSeriesBuilder.addPoints calls.
4734 For waterlines it is important that NaNs stay included!
4735
4736 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
4737
4738 * src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java:
4739 New Artifact for storing geometries for gauges.
4740
4741 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
4742 a new facet type for WMSGaugeLocationArtifact 'floodmap.gaugelocation'.
4743
4744 * doc/conf/artifacts/winfo.xml,
4745 doc/conf/artifacts/map.xml: Added 'floodmap.gaugelocation' facet to the
4746 list of valid facets for map and floodmap output.
4747
4748 * doc/conf/conf.xml: Added a factory for creating
4749 WMSGaugeLocationArtifacts.
4750
4751 * doc/conf/themes.xml: Added a theme for 'floodmap.gaugelocation' facets.
4752
4753 * doc/conf/meta-data.xml: Added a datacage section for gauge locations to
4754 the floodmap and map section.
4755
4756 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
4757
4758 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
4759 new facet types 'floodmap.hydr_boundaries' and
4760 'floodmap.hydr_boundaries_poly'
4761
4762 * doc/conf/artifacts/winfo.xml,
4763 doc/conf/artifacts/map.xml: Registered 'floodmap.hydr_boundaries' and
4764 'floodmap.hydr_boundaries_poly' for floodmap and map output types.
4765
4766 * doc/conf/conf.xml:
4767
4768 * doc/conf/themes.xml: Added themes for 'floodmap.hydr_boundaries' and
4769 'floodmap.hydr_boundaries_poly'.
4770
4771 * doc/conf/meta-data.xml: Improved datacage configuration specific to
4772 floodmaps and maps.
4773
4774 * src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
4775 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java:
4776 New artifacts to save information about hydrological boundaries.
4777
4778 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
4779 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
4780 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
4781 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
4782 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
4783 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
4784 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
4785 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
4786 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
4787 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
4788 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
4789 Moved the methods getRiverId() and getTitle() into WMSDBArtifact.
4790
4791 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
4792
4793 * doc/conf/mapserver/wsplgen_layer.vm,
4794 doc/conf/mapserver/shapefile_layer.vm: Added a 'PROJECTION' section.
4795
4796 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4797
4798 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
4799 Minor refactoring, doc.
4800
4801 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
4802
4803 * doc/conf/mapserver/layer.vm: Added a 'PROJECTION' section.
4804
4805 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4806
4807 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
4808 Minimal doc, TODO.
4809
4810 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4811
4812 Fix issue620: synchron navigation at impossible kms.
4813
4814 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
4815 (searchCrossSectionLine): Do not return a CrossSectionLine if there
4816 is none found within 1km.
4817
4818 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4819
4820 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4821 Minimal cosmetics.
4822
4823 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4824
4825 Preparations for fix issue620: Synchron navigation on non-existing km.
4826
4827 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java
4828 (getData): Return empty lines if no cross section found.
4829
4830 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4831
4832 Display mittlere hoehe (which is not yet calculated).
4833
4834 * doc/conf/themes.xml: Added theme prop to display middlere hoehe or not.
4835
4836 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
4837 (parseShowMiddleHeight): New, parse the new theme prop.
4838
4839 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
4840 (fillWater, ListWithArea): Return new type wich also contains area.
4841
4842 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4843 Respect new theme prop and adjust label if set.
4844
4845 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4846
4847 Beginning of calculation of Mittlere Hoehe: area calculation.
4848
4849 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
4850 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
4851 Adjusted to LineData constructor.
4852
4853 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
4854 (area): New, calculate area of a polygon.
4855 Added todos where area calculation code paths are missing.
4856
4857 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
4858
4859 * doc/conf/meta-data.xml: Moved the hws layers out to an own node.
4860
4861 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
4862 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Moved the
4863 'name' property from WMSCatchmentArtifact to WMSDBArtifact.
4864
4865 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: Create
4866 more specific filter and extent that takes the 'name' into account.
4867
4868 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
4869
4870 * doc/conf/meta-data.xml: Moved the catchments out to an own node.
4871
4872 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java:
4873 Parse the name of required catchments fetch name specific catchments
4874 only.
4875
4876 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
4877
4878 * doc/conf/artifacts/map.xml: Added the 'floodmap.floodmaps' facet to the
4879 list of valid facets of the 'map' output.
4880
4881 * doc/conf/themes.xml: Renamed the 'Line' theme used for floodmaps to
4882 'FloodmapLines'.
4883
4884 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
4885
4886 * doc/conf/mapserver/db_layer.vm: Added a PROJECTION section which is
4887 filled by the LayerInfo object.
4888
4889 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added
4890 a 'srid' property.
4891
4892 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the
4893 'srid' property of all LayerInfo objects.
4894
4895 2012-05-07 Raimund Renkert <raimund.renkert@intevation.de>
4896
4897 * doc/conf/artifacts/fixanalysis.xml:
4898 Changed state data and added new state.
4899
4900 * src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
4901 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
4902 src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java,
4903 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
4904 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java:
4905 Modified states and added new state for concrete event selection.
4906
4907 2012-05-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4908
4909 * doc/conf/themes: Add text-bg properties to Area style.
4910
4911 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
4912 (TextStyle.apply): Apply text bg theme-properties to renderer.
4913
4914 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
4915 Cosmetics.
4916
4917 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
4918 Added field to store labels background color, calculate arithmetic
4919 middles of polygons, to put label there (improves situation slightly).
4920
4921 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4922
4923 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
4924 (parseShowArea): parse show area field of theme.
4925
4926 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
4927 (TextStyle.apply): Be applicable to StableXYDifferenceRenderers.
4928
4929 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
4930 Apply setting from theme to renderer.
4931
4932 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
4933 Simplified area calculation (always calculate). Added getters and
4934 setters for text for label style, respect most of that.
4935
4936 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4937
4938 * doc/conf/themes: Let Area style not inherit from colorlines (as labels
4939 work slightly different. Enable showarea property. Comment dupe Lines.
4940
4941 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4942
4943 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
4944 (doArea): Add Lines.LineData datatype to areable data types.
4945
4946 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4947
4948 * doc/conf/themes.xml: Add two new options for waterlevel label in cs.
4949
4950 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
4951 Parse new theme properties.
4952
4953 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4954 Adjust label according to chosen properties.
4955
4956 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4957
4958 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
4959 (parseShowLineLabelBG): parse show line label bg field of theme.
4960
4961 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
4962 Respect show line label bg setting of theme.
4963
4964 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
4965 Apply setting from theme to renderer.
4966
4967 2012-05-03 Ingo Weinzierl <ingo@intevation.de>
4968
4969 * doc/conf/artifacts/winfo.xml: Added a 'helpText' field to each state.
4970 The 'helpText' field represents in this case a message in the i18n
4971 resources which should be a link to a online help page.
4972
4973 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
4974 Append the 'helpText' to the DESCRIBE document.
4975
4976 * src/main/resources/messages.properties,
4977 src/main/resources/messages_de_DE.properties,
4978 src/main/resources/messages_en.properties,
4979 src/main/resources/messages_de.properties: Added links to help text in
4980 the FLYS wiki.
4981
4982 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4983
4984 Use the colors specified in theme document for linelabel.
4985
4986 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
4987 New methods to find colors specified for linelabels.
4988
4989 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
4990 Store and use background and foreground color for linelabels.
4991
4992 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
4993 Communicate colors of linelabels to renderer.
4994
4995 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4996
4997 Actually use the font specified in theme document for linelabel.
4998
4999 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
5000 Fixed paths for linelabel-related fields in theme doc.
5001
5002 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
5003 Set font for linelabel.
5004
5005 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5006
5007 * doc/conf/themes.xml: No default background show for linelabels.
5008
5009 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5010
5011 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
5012 Cosmetic, added annotation.
5013
5014 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5015
5016 Parse font for linelabels, do not use it yet.
5017
5018 * doc/conf/themes.xml: Add more theme properties related to linelabels.
5019
5020 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
5021 (parseTextSize, parseLineLabelSize): New and slightly refactored.
5022 (parseLineLabelFont): New.
5023 (parseTextStyle, parseLineLabelStyle): New and slightly refactored.
5024
5025 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
5026 (setLineLabelFont, getLineLabelFont): New, accessors to
5027 linelabelfont field.
5028
5029 * src/main/java/de/intevation/flys/jfree/XYStyle.java
5030 (applyLineLabelFont): New.
5031
5032 2012-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5033
5034 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
5035 Make it compile again after signature change in backend.
5036
5037 2012-04-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5038
5039 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Doc.
5040
5041 2012-04-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5042
5043 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
5044 Added local class LineData and return it to also include
5045 Length of lines.
5046
5047 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
5048 Changed signature of interfaces getWaterLines.
5049
5050 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
5051 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
5052 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
5053 (getWaterLines): adjusted signature.
5054
5055 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
5056 Adjusted to return type of Lines.createWaterLines.
5057
5058 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
5059 Include length in label (stub).
5060
5061 * src/main/java/de/intevation/flys/jfree/HasLabel.java:
5062 New interface.
5063
5064 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
5065 Implement new HasLabel interface.
5066
5067 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
5068 Take into account that StyledXYSeries are HasLabel.
5069
5070 2012-04-26 Raimund Renkert <raimund.renkert@intevation.de>
5071
5072 Initial transition configuration and artifact/state stubs for fixation
5073 analysis.
5074
5075 * doc/conf/artifacts/fixanalysis.xml:
5076 New. Initial transition configuration.
5077
5078 * doc/conf/conf.xml:
5079 Added artifact and factory entry to config.
5080
5081 * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
5082 New. Stub with initial implementation.
5083
5084 * src/main/java/de/intevation/flys/artifacts/states/fixation,
5085 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
5086 src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
5087 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
5088 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java,
5089 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
5090 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
5091 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
5092 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java,
5093 src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java,
5094 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java,
5095 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5096 New. Stubs for fixation states.
5097
5098 * src/main/resources/messages.properties,
5099 src/main/resources/messages_de_DE.properties,
5100 src/main/resources/messages_en.properties,
5101 src/main/resources/messages_de.properties:
5102 Added i18n strings.
5103
5104 2012-04-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5105
5106 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
5107 Add method to calculate length of water lines.
5108
5109 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5110
5111 Most of issue454: Label waterlevels.
5112
5113 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
5114 (drawSecondaryPass): Use correct label for lines.
5115
5116 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5117
5118 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
5119 (showSeriesMinimunX, showLineLabel): Renamed field.
5120 (isShowLineLabel, setShowLineLabel): Added getters and setters for
5121 showLineLabel field.
5122 (drawSecondaryPass): Respect showLineLabel field, draw static text
5123 as placeholder for real label (stub).
5124
5125 * doc/conf/themes.xml: Define theme prop 'showlinelabel' for Lines.
5126
5127 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse theme
5128 theme prop.
5129
5130 * src/main/java/de/intevation/flys/jfree/XYStyle.java: Apply showline
5131 theme prop.
5132
5133 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5134
5135 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
5136 Cosmetics, doc.
5137
5138 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5139
5140 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
5141 Gah! Checked in out dated version.
5142
5143 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java,
5144 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
5145 Removed superfluous imports.
5146
5147 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5148
5149 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
5150 New. Simple Grubb's outlier test. Needs testing. ;-)
5151
5152 2012-04-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5153
5154 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
5155 (isMinimumX): Implemented minimum finding for x in analogy to the ones for
5156 y values. Stub to label dataset curves in plot.
5157
5158 2012-04-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5159
5160 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
5161 Cosmetics, added doc, TODO and an OPTIMIZE.
5162
5163 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5164
5165 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
5166 Make it cross platform.
5167
5168 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5169
5170 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
5171 Make it compilable.
5172
5173 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
5174
5175 Issue 657.
5176
5177 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
5178 New. Service to upload a file as base64 string embedded in xml structure.
5179
5180 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
5181 Extract shape files from zip archive and move them to artifact directory.
5182 Add the user shapefile as parameter for wsplgen calculation.
5183
5184 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
5185 Remove the artifact directory on step back.
5186
5187 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
5188 src/main/java/de/intevation/flys/exports/MapGenerator.java:
5189 Create layer to display the uploaded shapefile.
5190
5191 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java:
5192 Create a facet to output the user defined layer.
5193
5194 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5195 Added type for user shape file.
5196
5197 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java:
5198 Resized array for '-lin' parameter.
5199
5200 * doc/conf/artifacts/winfo.xml:
5201 Added facet to diplay user defined shapefile.
5202
5203 * doc/conf/conf.xml:
5204 Added file upload service.
5205
5206 * src/main/resources/messages.properties,
5207 src/main/resources/messages_de_DE.properties,
5208 src/main/resources/messages_en.properties,
5209 src/main/resources/messages_de.properties:
5210 Added i18n string.
5211
5212 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
5213
5214 Issue 560.
5215
5216 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENLayerFacet.java:
5217 New. Facet for WSPLGEN layers.
5218
5219 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java:
5220 Create a new WSPLGEN facet when creating uesk layers.
5221
5222 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
5223 src/main/java/de/intevation/flys/exports/MapGenerator.java:
5224 Use WSPLGENLayerFacet to create uesk layer.
5225
5226 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
5227 Switch back to false as return value in isQueryable().
5228
5229 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
5230
5231 Issue 560.
5232
5233 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java:
5234 Generate WSPLGEN-Layer with its own template and set the layertitle to
5235 an i18n string.
5236
5237 * src/main/java/de/intevation/flys/exports/MapGenerator.java:
5238 Call createUeskLayer with a CallContext.
5239
5240 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
5241 Set queryable to true.
5242
5243 * doc/conf/mapserver/wsplgen_layer.vm:
5244 New. Template for WSPLGEN-Layer.
5245
5246 2012-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5247
5248 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5249 Removed superfluous imports.
5250
5251 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
5252
5253 * doc/conf/themes.xml:
5254 Added mapping for manual points in historical discharge chart.
5255
5256 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
5257
5258 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5259 Fixed duplicated legend entry for manual points.
5260
5261 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
5262
5263 Issue 494.
5264
5265 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5266 Create manual points with text annotations in time charts.
5267
5268 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
5269 Add manual points to the chart.
5270
5271 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5272 Added historical discharge to chart types.
5273
5274 * doc/conf/artifacts/winfo.xml,
5275 doc/conf/artifacts/manualpoints.xml:
5276 Added manual points facet to output modes.
5277
5278 2012-04-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5279
5280 * contrib/fixoverview2html.xsl: Render optional check boxes.
5281 Use different font. TODO: Move to client,
5282
5283 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5284 Ignore hours and seconds.
5285
5286 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de>
5287
5288 Issue 528, 637
5289
5290 * src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java:
5291 Added fields for new columns.
5292
5293 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
5294 Added columns for 'W at gauge' and fixed column header.
5295
5296 * src/main/resources/messages.properties,
5297 src/main/resources/messages_de_DE.properties,
5298 src/main/resources/messages_en.properties,
5299 src/main/resources/messages_de.properties:
5300 Added filenames for new pdf export templates.
5301
5302 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de>
5303
5304 * doc/conf/jasper/reference_gauge_end.jasper,
5305 doc/conf/jasper/reference_gauge.jasper,
5306 doc/conf/jasper/reference_gauge_start_end.jasper:
5307 Small fixes in pdf templates.
5308
5309 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de>
5310
5311 Issue 528, 637.
5312
5313 * doc/conf/jasper/reference_gauge.jasper,
5314 doc/conf/jasper/reference_en_gauge.jasper:
5315 Modified templates.
5316
5317 * doc/conf/jasper/reference_gauge_end.jasper,
5318 doc/conf/jasper/reference_gauge_start_end.jasper,
5319 doc/conf/jasper/reference_en_gauge_end.jasper,
5320 doc/conf/jasper/reference_en_gauge_start_end.jasper:
5321 New. Templates for reference curve pdf export.
5322
5323 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de>
5324
5325 Issue 528, 637.
5326
5327 * doc/conf/jasper/reference.jasper,
5328 doc/conf/jasper/reference_en.jasper:
5329 Fixed column header.
5330
5331 * doc/conf/jasper/reference_gauge.jasper,
5332 doc/conf/jasper/reference_en_gauge.jasper:
5333 New.
5334
5335 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5336
5337 * contrib/check-i18n-properties.py: Checked in unsaved version. :-/
5338
5339 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de>
5340
5341 Issue 656.
5342
5343 * src/main/resources/messages_en.properties:
5344 Added missing i18n strings.
5345
5346 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5347
5348 * contrib/check-i18n-properties.py: New. Script to check inconsistencies
5349 of i18n properties files: Detects duplicates and keys not defined in other
5350 properties files. Usage:
5351
5352 $ find -name messages\*.properties | \
5353 xargs contrib/check-i18n-properties.py
5354
5355 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5356
5357 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
5358 Generate error message when more than one Q is found for given
5359 Q in "W auf freier Strecke".
5360
5361 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
5362 Added feature to adopt problems from other reports.
5363
5364 * src/main/resources/messages.properties,
5365 src/main/resources/messages_de_DE.properties,
5366 src/main/resources/messages_en.properties,
5367 src/main/resources/messages_de.properties:
5368 Added i18n for the error message.
5369
5370 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de>
5371
5372 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
5373 Use factor to calculate steps in range input mode.
5374
5375 2012-04-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5376
5377 * doc/conf/cache.xml: Increased number of fixings columns a bit.
5378
5379 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
5380 Corrected misspelled cache name. Added bebug output.
5381
5382 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java:
5383 Added debug output.
5384
5385 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5386
5387 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
5388 Small fixes: The service works as expected but there seems
5389 to be a caching issue.
5390
5391 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5392
5393 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
5394 Generate chart and deliver the image as the response of the service.
5395
5396 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
5397 Return null when looking for a fixing data column that does not exist.
5398
5399 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5400
5401 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
5402 Load ws and qs from database. Cache the fixings columns.
5403
5404 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java:
5405 Removed column id and added q values.
5406
5407 * doc/conf/cache.xml: Added cache for the columns of the fixings.
5408
5409 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de>
5410
5411 Fix for 'W free' validation and theme names.
5412
5413 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
5414 Append the current Q values to theme name if the previous theme has
5415 the same name.
5416
5417 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
5418 Use the start km to get min/max W values in distance mode and use the
5419 first km to get min/max W values if in location mode.
5420
5421 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de>
5422
5423 Issue 499.
5424
5425 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
5426 Added validation for 'W free' using WstValueTable min/max values.
5427
5428 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
5429 Added getter for WstValueTable.
5430
5431 2012-04-05 Ingo Weinzierl <ingo@intevation.de>
5432
5433 * doc/conf/themes.xml: Defined a theme for WSPLGEN layers.
5434
5435 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
5436 Made style creation more robust against nullpointers and added an
5437 Expression class.
5438
5439 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a static
5440 method createWSPLGENStyle() and some helpers to create a WSPLGEN style.
5441
5442 * src/main/java/de/intevation/flys/exports/MapGenerator.java,
5443 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Methods
5444 for creating the WSPLGEN layer now take a style document.
5445
5446 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5447
5448 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
5449 Extract parameters from input xml and fetch fixings filters and overview
5450 to find the columns to be viewed.
5451 TODO: Generate chart.
5452
5453 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java: Added
5454 boolean result to indicate if value comes from table or is interpolated.
5455
5456 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
5457 New. Factory to fetch fixings column data from cache or database. Stub by now.
5458
5459 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5460
5461 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
5462 New. Service to generate a chart of fixings for given river and km applied
5463 some filters.
5464
5465 Usage:
5466 $ curl http://localhost:8181/service/fixings-km-chart \
5467 -d @fix-overview.xml > chart.png
5468
5469 The input XML is nearly the same as for the overview service.
5470 Besides the river, filters and range it accepts elements
5471 <km value="..."/> for passing the river km,
5472 <extent width="..." height="..."/> for the extent of the output chart,
5473 <mime type="..."/> for type of result. Currently ignored.
5474
5475 ATM only a static fixed sized PNG image is delivered.
5476
5477 * doc/conf/conf.xml: Added service to list of services.
5478
5479 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5480
5481 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5482 Made bullet proof for null filters and ranges.
5483
5484 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
5485 Fixed bug which leeds to always generating a null range filter.
5486
5487 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5488
5489 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
5490 Squashed performance bug introduced in rev4070, which slowed down
5491 CSV export about 245 times!
5492
5493 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
5494 Added debug output about savings when joining neighbored nodes.
5495
5496 2012-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5497
5498 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
5499 Removed the code for filter building.
5500
5501 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
5502 New. Now contains the code for filter building. This useful because other
5503 services like the "Fixierungs-Rohdaten am KM" service need this filtering, too.
5504
5505 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5506 Refactored the code to obtain a filtered list of fixings columns without
5507 the XML serialization, too. The "Fixierungs-Rohdaten am KM" service
5508 does not need the overview data but the ids of the fixing columns to be
5509 displayed.
5510
5511 2012-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5512
5513 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java,
5514 src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
5515 src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
5516 Derive from XMLService now.
5517
5518 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
5519 Removed superfluous import.
5520
5521 2012-03-30 Ingo Weinzierl <ingo@intevation.de>
5522
5523 flys/issue460 (W-Differenzen: Frühere Berechnungen aus den Datenkorb werden doppelt geladen)
5524
5525 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
5526 code to find out all Outputs of this Artifacts. A method getOutputs()
5527 had been implemented some time ago that does exactly this work.
5528
5529 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Heavy
5530 bugfix! Adding the current state id to the list of previous state ids
5531 for temporary usage was no good idea! Now, the list of previous state
5532 ids only modifified in advance(). This solves the problem of having
5533 duplicated Outputs in the Artifact's DESCRIBE document.
5534
5535 2012-03-29 Ingo Weinzierl <ingo@intevation.de>
5536
5537 flys/issue366 (W-INFO / Abflusskurve, Diagramm: Umbenennen von Themen und Anzeige im Diagramm)
5538
5539 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
5540 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
5541 Use description from ArtifactAndFacet objects for JFreeChart Series
5542 creation.
5543
5544 2012-03-28 Ingo Weinzierl <ingo@intevation.de>
5545
5546 flys/issue362 (W-Info / Abflusskurve, Diagramm)
5547
5548 * doc/conf/themes.xml: Adjusted text color of w and q main values for
5549 computed discharge curves.
5550
5551 2012-03-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5552
5553 flys/issue639: Bezugsliniendiagramm,Achsen-Intervall-Skalierung vereinheitlichen
5554
5555 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
5556 Render only axis ticks in meters.
5557
5558 2012-03-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5559
5560 * doc/conf/themes.xml: Let hyks have a text orientation in themes.
5561
5562 2012-03-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5563
5564 Fix flys/issue491, if area fill between curve and axis, draw not only
5565 to zero.
5566
5567 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
5568 (doArea): Add an artificial dataset to set lower bounds for area.
5569
5570 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
5571 (addPoints): New convenience method to be used in future.
5572 (createGroundAtInfinity, createCeilingAtInfinity): Create artificial
5573 datasets for better areas.
5574
5575 2012-03-20 Raimund Renkert <raimund.renkert@intevation.de>
5576
5577 Issue 506.
5578
5579 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
5580 Create the date from long values instead of the year.
5581
5582 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
5583 Added method to transform a String into an array of long values.
5584
5585 * doc/conf/artifacts/winfo.xml:
5586 changed data type from intrange to longrange.
5587
5588 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
5589
5590 flys/issue544 (Historische ATs: Eingabeunterstützung W/Q)
5591
5592 * src/main/java/de/intevation/flys/artifacts/services/GaugeInfoService.java:
5593 New service that returns information for gauges based on a specified
5594 river.
5595
5596 * doc/conf/conf.xml: Registered the GaugeInfoService.
5597
5598 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
5599
5600 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
5601 Skip DischargeTables that have no time interval set or that are marked
5602 as master DischargeTable.
5603
5604 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Skip
5605 DischargeTables that have no time interval set.
5606
5607 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
5608
5609 flys/issue146 (In WINFO Diagramm Abflusskurve raus, wenn nicht gewünscht)
5610
5611 * doc/conf/artifacts/winfo.xml: Do not create outputs for discharge curves
5612 at gauge any longer.
5613
5614 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
5615
5616 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe)
5617
5618 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Added
5619 the numeric value of a selected named main value to the WST column name.
5620
5621 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
5622
5623 * doc/conf/mapserver/db_layer.vm: Set the FILTER expression into double
5624 quotes (") instead of single quotes (') which allows single quotes in
5625 expressions.
5626
5627 * doc/conf/meta-data.xml: Moved the floodmaps from kilometrage to its
5628 parent folder.
5629
5630 * src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java:
5631 Fixed broken filter expression and set geometry type (MapServer does not
5632 know a 'MULTIPOLYGON').
5633
5634 2012-03-16 Raimund Renkert <raimund.renkert@intevation.de>
5635
5636 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
5637 Remove unnecessary outputs from attributes instead of copying outs to
5638 new attribute element.
5639
5640 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
5641
5642 * Tagged module as 'pre2.7-2012-03-16'.
5643
5644 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
5645
5646 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
5647 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
5648 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
5649 Removed useless imports.
5650
5651 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
5652
5653 flys/issue523 (W-INFO / Bezugslinienverfahren / Linieneinstellungen / Min+Max anzeigen)
5654
5655 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
5656 Improved the look of the minimum and maximum shape of a series. They are
5657 now rectangles with a darker fill color as the line color is.
5658
5659 2012-03-15 Ingo Weinzierl <ingo@intevation.de>
5660
5661 flys/issue522 (W-INFO / Bezugslinienverfahren / Schriftgröße der Achsenbeschriftung)
5662
5663 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
5664 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
5665 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Label and
5666 tick label fonts for axes will now always be the same.
5667
5668 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
5669 Removed the createYAxis() method which is already implemented in an
5670 upper class. There, the method also takes the ChartSettings into account.
5671
5672 2012-03-15 Raimund Renkert <raimund.renkert@intevation.de>
5673
5674 Issue 547.
5675
5676 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
5677 Use date format with MEDIUM style.
5678
5679 * src/main/java/de/intevation/flys/utils/Formatter.java:
5680 Added date format with MEDIUM style.
5681
5682 2012-03-15 Ingo Weinzierl <ingo@intevation.de>
5683
5684 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a new
5685 method that returns the Bounds for a given XYDataset. Based on the
5686 concrete type of the XYDataset, the call is dispatched to a more specific
5687 method.
5688
5689 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5690 Removed the whole "range" stuff and some methods that are implemented in
5691 upper classes.
5692
5693 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Removed the
5694 setXRange() and setYRange() methods. In our own code, we will use Bounds
5695 instead of JFreeChart's Range instances to save range/bounds information.
5696 This is necessary to save information which is not not from type double
5697 (which is the case in Timeseries charts).
5698
5699 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Replaced
5700 usage of Range with Bounds in the whole class.
5701
5702 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
5703 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
5704 Adapted the method signature of zoom() and zoomX().
5705
5706 2012-03-14 Ingo Weinzierl <ingo@intevation.de>
5707
5708 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5709 Copied the adjustAxes() method from XYChartGenerator which enables axes
5710 label font sizes.
5711
5712 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
5713 Removed unnecessary axes creation method which is implemented in upper
5714 classes.
5715
5716 2012-03-14 Raimund Renkert <raimund.renkert@intevation.de>
5717
5718 Issue 640.
5719
5720 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
5721 Remove all unnecessary output settings from attributes.
5722
5723 2012-03-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5724
5725 Partial for flys/issue358, rough stub for legenditem aggregation.
5726
5727 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5728 Added rough stub for legend aggregation.
5729
5730 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
5731
5732 * doc/conf/themes.xml: Fixed broken XML syntax.
5733
5734 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
5735
5736 * doc/conf/meta-data.xml: Modified the datacage structure of 'floodmaps'.
5737
5738 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
5739
5740 * src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java: New.
5741 This Artifacts allows loading 'floodmaps'.
5742
5743 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
5744 new Facet type "floodmap.floodmaps" which are created by
5745 WMSFloodmapsArtifact.
5746
5747 * doc/conf/artifacts/winfo.xml: Registered the "floodmap.floodmaps" facet
5748 for "floodmap" output.
5749
5750 * doc/conf/conf.xml: Registered the new WMSFloodmapsArtifact.
5751
5752 * doc/conf/themes.xml: Added a theme for the "floodmap.floodmaps" facet.
5753
5754 * src/main/resources/messages.properties,
5755 src/main/resources/messages_de_DE.properties,
5756 src/main/resources/messages_en.properties,
5757 src/main/resources/messages_de.properties: Added i18n string for
5758 "floodmap.floodmaps" title.
5759
5760 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
5761
5762 * doc/conf/meta-data.xml: Improved datacage configuration to serve
5763 floodmaps.
5764
5765 2012-03-05 Ingo Weinzierl <ingo@intevation.de>
5766
5767 flys/issue566 (ÜSK: Formalien in der Parametrisierung)
5768
5769 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java:
5770 Override getLabelFor() method to return better I18N strings for selected
5771 floodplain option.
5772
5773 * src/main/resources/messages.properties,
5774 src/main/resources/messages_de_DE.properties,
5775 src/main/resources/messages_en.properties,
5776 src/main/resources/messages_de.properties: Added options
5777 for floodplain (active/inactive) and adapted a german I18N string.
5778
5779 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5780
5781 Fix flys/issue 528 for csv.
5782
5783 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
5784 Fixed column order, reworked todos.
5785
5786 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5787
5788 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
5789 Fixed column order.
5790
5791 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5792
5793 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
5794 Stub to export the "W (cm)" column conditionally on Gauge presence.
5795
5796 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5797
5798 * src/main/java/de/intevation/flys/exports/StepCSVWriter.java:
5799 New utility to handle csv rows of more "dynamical" length.
5800
5801 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5802
5803 * src/main/java/de/intevation/flys/exports/StepCSVWriter.java:
5804 New utility to handle csv rows of more "dynamical" length.
5805
5806 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5807
5808 Fix flys/issue501 (manual points have two legend entries).
5809
5810 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5811 Respect wish to not have a legend entry.
5812
5813 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5814
5815 Fix flys/issue636 (cross-section: name of waterlevel facets).
5816
5817 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
5818 Corrected name for waterlevel facets.
5819
5820 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5821
5822 Partial fix flys/issue615 (datacage: events for fixations).
5823
5824 * doc/conf/meta-data.xml: Adjusted to make loading single events
5825 possible.
5826
5827 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5828
5829 Partial Dontcrash on flys/issue647 (NaNs from WstValueTable interpolation).
5830
5831 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
5832 Do not add data pairs where a NaN is present.
5833
5834 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5835
5836 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
5837 Cosmetics, doc.
5838
5839 2012-02-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5840
5841 Added functions to be used for fitting in
5842 the "Fixierungsanalyse" and "Extremwertermittlung".
5843
5844 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java: New.
5845 Abstract base class for functions to fit. Provides the name of the function,
5846 a short description, the names of the parameters and an initial parameter guess
5847 for the fit processe. Sub classes have to overwite the function evaluation and
5848 the partial derivative of the function in respect to the parameters.
5849
5850 TODO: Add a meachnism for the inverse function (needed for AT export) and
5851 the first derivative (needed for the respective diagram).
5852
5853 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
5854 New. Factory to fetch a function by its name.
5855
5856 * src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java: New.
5857 exp: W(Q) = m * a^Q + b
5858
5859 * src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java: New.
5860 quad: W(Q) = n*Q^2 + m*Q + b
5861
5862 * src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java: New.
5863 linear: W(Q) = m*Q + b
5864
5865 * src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java: New.
5866 log-linear: W(Q) = a*ln(m*Q + b)
5867
5868 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java: New
5869 log: W(Q) = m*ln(Q + b)
5870
5871 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java: New.
5872 pow: W(Q) = a*Q^c + d
5873
5874 !!! This power function is new in the pool of functions to be fit. !!!
5875 See my mail "Manuelle Punkte in der Fixierungsanalyse" 2011-10-27 for details.
5876 The function exp-new found in the old FLYS function pool is omitted
5877 because it is worthless and was maybe never used.
5878
5879 * src/main/java/de/intevation/flys/artifacts/math/fitting/App.java: New.
5880 Small test driver to check if the fitting is working. The points to
5881 fit are read from stdin the function to fit is determined by the
5882 system property 'function'. Example usage:
5883
5884 $ mvn -e \
5885 -Dfunction=linear \
5886 -Dexec.mainClass=de.intevation.flys.artifacts.math.fitting.App exec:java <<EOF
5887 357.390696917 7546.72096163
5888 61.4291036312 1334.54835721
5889 799.962128234 16836.7698076
5890 126.52761023 2703.69789985
5891 900.448553398 18955.0578748
5892 EOF
5893
5894 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5895
5896 * src/main/resources/messages_de.properties:
5897 Added ommitted translations.
5898
5899 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5900
5901 fix flys/issue638.
5902
5903 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
5904 (doArea): Ract to WKms as upper/lower area data again.
5905
5906 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5907
5908 Partial fix flys/issue637.
5909
5910 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java,
5911 src/main/resources/messages.properties,
5912 src/main/resources/messages_de_DE.properties,
5913 src/main/resources/messages_en.properties,
5914 src/main/resources/messages_de.properties:
5915 Modified translations.
5916
5917 2012-02-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5918
5919 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5920 - Calculate the extent of the river by the extents of the fixings.
5921 Reason: The river Elbe has only has fixings up to km 351. The other half
5922 of the river is empty which results in a sparse looking overview.
5923 - Add the name of the river as name attribute to resulting <river> element.
5924
5925 * contrib/fixoverview2html.xsl: New. Demo XSL transformation to turn
5926 the output of the overview service directly into HTML. Used in the
5927 client a variant of this script could be used for producing the content
5928 of the assistance widget. Usage:
5929
5930 $ curl http://localhost:8181/service/fixings-overview \
5931 -d @fix-overview.xml | \
5932 xsltproc contrib/fixoverview2html.xsl - \
5933 > fixings-overview.html
5934
5935 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5936
5937 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
5938 Made the filter mechanisms available via the incoming XML document.
5939
5940 1 - range: Simply add a <range from="..." to="..."/> element next to the
5941 <river> element. Optional. Defaults to full extent.
5942
5943 2 - filters: Add a <filter> element next to the <river> element.
5944 Optional. Defaults to accepting all.
5945 The <filter> element can contain the following elements:
5946
5947 <column cid="..."/>: Creates an IdFilter.
5948 <date when="..."/>: Creates a DateFilter.
5949 <date-range from="..." to="..."/>: Creates a DateRangeFilter.
5950 <sector-range from="..." to="..."/>: Create a SectorRangeFilter.
5951 <not>...</not>: Creates a NotFilter. The nested element is negated.
5952 <and>...</and>: Create an AndFilter: The nested elements are 'and'ed.
5953 <or>...</or>: Create an OrFilter: The nested elements are 'or'ed.
5954
5955 These filters need testing!
5956
5957 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5958 Made date format a public constant.
5959
5960 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5961
5962 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5963 Added a filter mechanism for generating output.
5964
5965 There are two kinds of filters:
5966
5967 1 - A range. Defaults to [-Double.MAX_VALUE, Double.MAX_VALUE]
5968 The resulting sectors are cut to this range. Sectors outside
5969 this range are omitted.
5970
5971 2 - column filters: Given a fixing column they can decide to keep
5972 or not to keep it. Following filters exist:
5973
5974 - IdFilter: Keep column if column id matches.
5975 - DateFilter: Keep column if column date matches.
5976 - DateRangeFilter: Keep column if column date is in range.
5977 - SectorRangeFilter: Keep colum if one of its q sectors is in given range.
5978 - NotFilter: Negates another nested filter.
5979 - AndFilter: Keep column if all nested filters accept column.
5980 - OrFilter: Keep column if at least one of the nested filters accepts it.
5981
5982 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5983
5984 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5985 Refactored to build the Q sectors once at construction time and not
5986 every time output is generated.
5987 This will ease the job of applying filters to the Overview.
5988
5989 2012-02-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5990
5991 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
5992
5993 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
5994 New. A service that serves an XML overview version of the fixings of a given river.
5995
5996 The input documents look like this:
5997
5998 <?xml version="1.0" encoding="UTF-8"?>
5999 <fixings>
6000 <river name="Saar"/>
6001 </fixings>
6002
6003 The output documents looks like this:
6004
6005 <?xml version="1.0" encoding="UTF-8"?>
6006 <fixings>
6007 <river from="0.0" rid="1" to="93.0"/>
6008 <events>
6009 ...
6010 <event cid="85" date="29.01.1995 00:00" name="Fixierungen/0-93_1988-2001.wst">
6011 <sector class="0" from="82.7" to="92.85"/>
6012 </event>
6013 <event cid="86" date="13.11.1996 00:00" name="Fixierungen/0-93_1988-2001.wst">
6014 <sector class="2" from="0.0" to="50.599999"/>
6015 <sector class="1" from="50.6" to="65.89"/>
6016 </event>
6017 ...
6018 </events>
6019 </fixings>
6020
6021 The <river> element contains the extent of the whole river
6022 and its db id.
6023 The <events> sections contains serveral <event> elements.
6024 They have a meassure date, db id, a name and a number of <sector>s.
6025 These sectors are q classified from/to ranges. Classes are:
6026
6027 0: smaller (MNQ+MQ)/2
6028 1: (MNQ+MQ)/2 to (MQ+MHQ)/2
6029 2: (MQ+MHQ)/2 to HQ5
6030 3: greater HQ5
6031
6032 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
6033 New. Cacheable instance of the overview.
6034 TODO: Apply a filter mechanism when generating the output.
6035
6036 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java:
6037 New. Fetched the fixing overviews from cache if configured.
6038
6039 * doc/conf/conf.xml: Added the service.
6040 * doc/conf/cache.xml: Configured the cache for the fixing overviews.
6041
6042 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6043
6044 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ):
6045 Argh! Forget to check in the range method.
6046
6047 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6048
6049 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ):
6050 Symmetrical to getMinMaxW() add two methods to find min/max Q for a given
6051 km or a range. The range method is maybe a bit slow.
6052
6053 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6054
6055 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxW):
6056 Added signature to give w extend for a given km range.
6057
6058 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6059
6060 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxW):
6061 Added method to find the w extent for a given km. Useful
6062 for validating "W auf freier Strecke".
6063
6064 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
6065 Removed superfluous import.
6066
6067 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de>
6068
6069 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
6070 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
6071 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
6072 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
6073 doc/conf/artifacts/winfo.xml:
6074 Renamed state data fields: wq_mode -> wq_isq
6075 wq_free -> wq_isfree
6076 wq_selection -> wq_isrange
6077
6078 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de>
6079
6080 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
6081 Write the description instead of the Q value to CSV file.
6082
6083 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
6084 Added parameter to overriden method.
6085
6086 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
6087 Get Qs without range.
6088
6089 * src/main/resources/messages.properties,
6090 src/main/resources/messages_de_DE.properties,
6091 src/main/resources/messages_en.properties,
6092 src/main/resources/messages_de.properties:
6093 Adjusted i18n string for CSV metadata.
6094
6095 2012-02-17 Ingo Weinzierl <ingo@intevation.de>
6096
6097 Part II/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
6098
6099 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
6100 Apply legend specific settings (show/hide).
6101
6102 2012-02-17 Ingo Weinzierl <ingo@intevation.de>
6103
6104 Part I/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
6105
6106 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
6107 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
6108 adjustPlot() from XYChartGenerator to ChartGenerator which enables the
6109 TimeseriesChartGenerator to call this method as well.
6110
6111 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
6112 Call adjustPlot() in generateChart() to apply the settings specific to
6113 gridlines in the timeseries plot.
6114
6115 2012-02-16 Raimund Renkert <raimund.renkert@intevation.de>
6116
6117 Refactored the wq data fields.
6118
6119 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
6120 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
6121 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
6122 Changed the wq data fields to boolean values.
6123
6124 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
6125 Changed the wq data fields to boolean values and added method that
6126 returns the km input mode.
6127
6128 2012-02-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6129
6130 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
6131 Fixed W->Q conversion for "W fuer ungleichwertige Abflusslaengsschnitte."
6132
6133 2012-02-16 Ingo Weinzierl <ingo@intevation.de>
6134
6135 flys/issue509 (Dauerlinie: Q-Achse sollte bei 0 beginnen)
6136
6137 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
6138 Set the lower bounds of the Q axis to 0 to avoid displaying negative
6139 discharge values.
6140
6141 2012-02-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6142
6143 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
6144 src/main/java/de/intevation/flys/artifacts/model/WKms.java:
6145 (guessWaterIncreasing): Removed from interface.
6146
6147 2012-02-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6148
6149 Fix flys/issue150 (exposure of gravitational anomalies)
6150
6151 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
6152 src/main/java/de/intevation/flys/artifacts/model/WKms.java:
6153 (guessWaterIncreasing): In analogy to W->WQ->WQKms defined and
6154 implemented.
6155
6156 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
6157 (needInvertAxis): Changed Parameter type to WKms (was WQKms).
6158 (doW): Use in this case weaker wkms cast to find out whether axis
6159 has to be inverted.
6160
6161 2012-02-15 Ingo Weinzierl <ingo@intevation.de>
6162
6163 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java: Fixed
6164 SQL statement to fetch hyk formations for rivers with 'km_up' = 0.
6165
6166 2012-02-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6167
6168 Another partial fix for flys/issue499: Do the W to Q conversions
6169 needed for "W am Pegel" correctly.
6170
6171 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
6172 Repaired getQsForW(): The mapping from W to Q is not unique! There
6173 could be more then one Q having the the same W.
6174 Ws are not strictly monoton/sorted so doing a binary search on this
6175 is just a fail. We now scan them linearly.
6176
6177 XXX: The whole class is mess. The scaling stuff is a stupid
6178 and there is no caching.
6179
6180 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6181 Fetch the master discharge table for converting Ws to Qs. Handle
6182 the case that there are more Qs for a given W.
6183
6184 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java,
6185 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
6186 Adjusted to new semantic.
6187
6188 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6189
6190 Partial Fix flys/issue500: text-orientation for texts.
6191
6192 * doc/conf/themes.xml: Change default text orientation for text
6193 annotations.
6194
6195 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6196 Minor cosmetics.
6197
6198 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
6199 Parse and apply text rotation field.
6200
6201 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6202
6203 Partial fix for flys/issue499 (Wasserspiegellagen: Berechnung für W frei und Pegel kaputt)
6204 There are still validation issue in the client.
6205
6206 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6207 Fixed state evaluation for "W auf freier Strecke"/"W am Pegel".
6208 There is still an issue in the client with the input validation
6209 which prevents entering the right W values for
6210 "W auf freier Strecke". :-/
6211
6212 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6213
6214 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6215 Make it compilable again.
6216
6217 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6218
6219 Partial Fix flys/issue500: text-backgrounds for manual points.
6220
6221 * doc/conf/themes.xml: Added text-related style items to manual
6222 point themes.
6223
6224 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6225
6226 Partial Fix flys/issue500
6227
6228 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
6229 Parse whether to show text background. Apply to textannotation.
6230
6231 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6232
6233 Fix flys/issue490
6234
6235 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6236 Pass artifact and facet for doAnnotation.
6237
6238 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6239
6240 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
6241 Use AddScaleFunction instead of LinearFunction.
6242
6243 * src/main/java/de/intevation/flys/artifacts/math/AddScaleFunction.java:
6244 New. f(x) = m*(x+b). I know its aequivalent to m*x + m*b but it
6245 makes more clear that the datum [m] (PNP) is substracted before the
6246 scaling to cm is done.
6247
6248 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
6249
6250 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Bugfix: take
6251 care on empty ArtifactAndFacet objects in doAnnotations().
6252
6253 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6254
6255 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java:
6256 Inherits from ReferenceCurveGenerator now which really simplifies it a lot.
6257
6258 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6259 Added to methods to be overwritten by sub classes.
6260
6261 * src/main/resources/messages.properties,
6262 src/main/resources/messages_de_DE.properties,
6263 src/main/resources/messages_en.properties,
6264 src/main/resources/messages_de.properties: Adjusted i8n.
6265
6266 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6267
6268 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
6269 Indexed access to getInCm.
6270
6271 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6272 Simplified. Do not provide any data to blackboard. Only side effect the
6273 call context.
6274
6275 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
6276 Added convinience method to i18n string with defaulting to key name.
6277
6278 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6279 Label the axis according the scale types of the data.
6280 TODO: Let the NormalizedReferenceCurveGenerator be a sub class of
6281 this.
6282
6283 * src/main/resources/messages.properties,
6284 src/main/resources/messages_de_DE.properties,
6285 src/main/resources/messages_en.properties,
6286 src/main/resources/messages_de.properties: i18n for the reference curve axes.
6287
6288 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
6289
6290 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
6291 Fixed wrong double array dimension for PDF exports and write correct
6292 differences into PDF.
6293
6294 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6295
6296 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
6297 src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
6298 Adjust function to deliver data provider ('blackboard') keys.
6299
6300 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6301 Change the way we exploit the blackboard-mechanism. TODOs added.
6302
6303 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6304
6305 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6306 Argh! Finally found the stupid bug in the W~W relation:
6307 Used iQ1 index on W2(Q2).
6308
6309 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6310
6311 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6312 Improved error messsages even more.
6313
6314 * src/main/resources/messages.properties,
6315 src/main/resources/messages_de_DE.properties,
6316 src/main/resources/messages_en.properties,
6317 src/main/resources/messages_de.properties: Adjusted messages.
6318
6319 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6320
6321 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6322 Forget to put new created WWAxisType onto blackboard.
6323
6324 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6325
6326 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
6327 Adjust offset of linear function by same factor as the values.
6328
6329 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
6330
6331 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Write
6332 correct min and max values for date axes into the info document.
6333
6334 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
6335 Enabled zooming for timeseries charts.
6336
6337 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
6338
6339 * src/main/java/de/intevation/flys/jfree/Bounds.java,
6340 src/main/java/de/intevation/flys/jfree/TimeBounds.java,
6341 src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Added a method
6342 applyBounds(ValueAxis, int) that might be used to adapt the range of the
6343 axis to the bounds adding a space to the left and right.
6344
6345 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
6346
6347 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Defined
6348 new abstract methods for setting and getting Bounds. Modified and
6349 renamed getValueAxisRange(). This method is now called
6350 getValueAxisRangeFromRequest() and returns no longer a Range object but
6351 a String array that consists of the raw string values speicified in the
6352 request document.
6353
6354 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6355 Implemented the missing method getDomainAxisRange(). This method returns
6356 a Range object based on the String array returned from
6357 getValueAxisRangeFromRequest().
6358
6359 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
6360
6361 * src/main/java/de/intevation/flys/jfree/TimeBounds.java: Added new
6362 methods getLowerAsDate() and getUpperAsDate(). The toString() method
6363 will now return a string that contains a human readable date string.
6364
6365 * src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Made 'lower'
6366 always be smaller than 'upper' in the default constructor.
6367
6368 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6369
6370 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6371 Give more precise message when an error occurs in W~W relation.
6372
6373 * src/main/resources/messages.properties,
6374 src/main/resources/messages_de_DE.properties,
6375 src/main/resources/messages_en.properties,
6376 src/main/resources/messages_de.properties:
6377 Improved error messages.
6378
6379 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
6380
6381 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Modified
6382 and renamend getDomainAxisRange(). This method is now called
6383 getDomainAxisRangeFromRequest() and returns no longer a Range object but
6384 a String array that consists of the raw string values specified in the
6385 request document.
6386
6387 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6388 Implemented the missing method getDomainAxisRange(). This method returns
6389 a Range object based on the String array returned from
6390 getDomainAxisRangeFromRequest().
6391
6392 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
6393
6394 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a
6395 helper function to determine the min and max bounds (x and y) for
6396 TimeSeriesCollections.
6397
6398 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
6399
6400 * src/main/java/de/intevation/flys/jfree/TimeBounds.java,
6401 src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Removed
6402 useless imports.
6403
6404 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6405
6406 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
6407 Add accessors to relative heights.
6408
6409 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6410 Add relative heights (to gauge) to csv export.
6411
6412 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
6413
6414 * pom.xml: Added dependency to GeoTools swing module.
6415
6416 * src/main/java/de/intevation/flys/artifacts/map/PrintMap.java: Standalone
6417 demo application to print WMS layers to file.
6418
6419 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
6420
6421 * src/main/java/de/intevation/flys/jfree/TimeBounds.java,
6422 src/main/java/de/intevation/flys/jfree/DoubleBounds.java,
6423 src/main/java/de/intevation/flys/jfree/Bounds.java: New model classes that
6424 should be used for adapting axes ranges later.
6425
6426 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6427
6428 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
6429 Generate a valid intial i18n name.
6430
6431 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
6432 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6433 Pass call context to calculation.
6434
6435 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
6436
6437 flys/issue485 (Themen können umgenannt werden, dies wird nicht in der Legende reflektiert)
6438
6439 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6440 Use ArtifactAndFacet.setFacetDescription() to set the description for
6441 themes which are stored in the Collection's XML attribute.
6442
6443 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
6444 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
6445 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
6446 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
6447 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
6448 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
6449 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
6450 src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
6451 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
6452 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6453 Some refactoring of doXXXOut() methods. We pass the ArtifactAndFacet
6454 objects of doOut() into those concrete doOut() methods which allows us to
6455 generate series names for chart curves.
6456
6457 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6458
6459 * doc/conf/meta-data.xml: Replaced dashes by underscores in entities
6460 to ease translation.
6461
6462 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6463
6464 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
6465 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6466 Fixed problem with including Y-Zeros.
6467
6468 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
6469 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6470 Removed superfluous imports.
6471
6472 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6473
6474 Allow points in "new chart"s.
6475
6476 * doc/conf/artifacts/chart.xml: Added manualpoint facets to
6477 compatibility lists.
6478
6479 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
6480
6481 * src/main/java/de/intevation/flys/jfree/Style.java: New. A Style object
6482 needs to implements a method applyTheme() which takes a
6483 XYLineAndShapeRenderer.
6484
6485 * src/main/java/de/intevation/flys/jfree/XYStyle.java: New. This subclass of
6486 Style modifies the XYLineAndShapeRenderer specified in applyTheme().
6487
6488 * src/main/java/de/intevation/flys/jfree/StyledSeries.java: New. This
6489 interface defines two methods getStyle() and setStyle() to adjust and
6490 retrieve the Style of a series.
6491
6492 * src/main/java/de/intevation/flys/jfree/StyledTimeSeries.java: New.
6493 Implementation of StyledSeries that subclasses JFreeChart's TimeSeries.
6494
6495 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: Removed the
6496 code for adapting a XYLineAndShapeRenderer. Instead of implementing this
6497 stuff in StyledXYSeries itself, this instance now implements StyledSeries
6498 and stores an instance of XYStyle.
6499
6500 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
6501 Create new instances of StyledTimeSeries now which enables styling in this
6502 chart.
6503
6504 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Enabled
6505 styling of series for all series that implement StyledSeries.
6506
6507 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6508
6509 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
6510 Be more conservative about arrays and indices in "Bezugslinienverfahren".
6511
6512 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6513
6514 Allow areas in new chart/longitudinal_section.
6515
6516 * doc/conf/artifacts/chart.xml: Added area facet to compatibility
6517 list.
6518
6519 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6520
6521 Fix flys/issue490. Allow CollisionFree..Annotations to collide with
6522 non-collision-free annotations.
6523
6524 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotationEntity.java:
6525 New, to take advantage of cheap instanceof operator.
6526
6527 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
6528 Only avoid collisions with members of same family (i.e. allow
6529 collision with annotations of other types).
6530
6531 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
6532
6533 * doc/conf/themes.xml: Added themes for historical discharge curves and
6534 the differences to a reference curve.
6535
6536 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
6537
6538 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Some
6539 bugfixes and improvements:
6540 1) take only historical discharge tables into account for calculation
6541 2) use the correct values for computing differences
6542 3) moved timerange preparation into an own method
6543
6544 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6545
6546 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
6547 Fix call to StringUtils.join .
6548
6549 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6550
6551 * src/main/resources/messages.properties,
6552 src/main/resources/messages_de_DE.properties,
6553 src/main/resources/messages_en.properties,
6554 src/main/resources/messages_de.properties:
6555 Added i18n string for waterlevels (from datacage).
6556
6557 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6558
6559 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
6560 Locale-format multiple double values also.
6561
6562 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
6563
6564 * doc/conf/artifacts/winfo.xml: Registered a new facet for difference curves
6565 to the historical discharge output.
6566
6567 * src/main/java/de/intevation/flys/artifacts/model/HistoricalWQTimerange.java:
6568 New model that is able to store a further double value "diff" besides a W,
6569 Q and a Timerange.
6570
6571 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Create
6572 new HistoricalWQTimerange instances with difference between the reference
6573 discharge table and the historical discharge tables.
6574
6575 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New type
6576 for historical differences.
6577
6578 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java: Cast
6579 Timerange array in getTimeranges().
6580
6581 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeDifferenceFacet.java:
6582 New Facet for historical discharge difference curves.
6583
6584 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
6585 Create new Facets for the difference curves if the processed data are from
6586 type HistoricalWQTimerange.
6587
6588 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
6589 Added doOut() path for difference curves.
6590
6591 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
6592 Increased the size of a double array to be able to get results from
6593 HistoricalWQTimerange.
6594
6595 * src/main/resources/messages.properties,
6596 src/main/resources/messages_de_DE.properties,
6597 src/main/resources/messages_en.properties,
6598 src/main/resources/messages_de.properties: Added translation for warning
6599 if no reference discharge table was found for the specified gauge.
6600
6601 2012-02-09 Raimund Renkert <raimund.renkert@intevation.de>
6602
6603 Added PDF export to reference curve calculation.
6604
6605 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6606 Added PDF export.
6607
6608 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
6609 doc/conf/artifacts/winfo.xml:
6610 Add facet for PDF export to state.
6611
6612 * src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java:
6613 New. Datasource for JasperReports containing reference curve data.
6614
6615 * src/main/resources/messages.properties,
6616 src/main/resources/messages_de_DE.properties,
6617 src/main/resources/messages_en.properties,
6618 src/main/resources/messages_de.properties:
6619 Added i18n strings for JasperReports template file and calculation mode.
6620
6621 * doc/conf/jasper/reference.jasper,
6622 doc/conf/jasper/reference_en.jasper:
6623 New. Templates for reference curve PDF export.
6624
6625 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6626
6627 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java(getReferenceEndKms):
6628 Prevent duplicates in end kms for reference curve calculation.
6629
6630 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6631
6632 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
6633 doc/conf/artifacts/winfo.xml: Renamed data item names to allow
6634 translations.
6635
6636 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6637
6638 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6639 Give (Normalized)ReferenceCurveFacets are more appropriate
6640 description (to be seen in client).
6641
6642 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6643
6644 Prepare Reference curves to eat multiple locations as 'Ziel'.
6645
6646 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
6647 Cosmetics.
6648
6649 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
6650 New. State to provoke multi_location_panel.
6651
6652 * doc/conf/artifacts/winfo.xml: Made end state of ref curves a (new)
6653 EnterMultipleLocationState.
6654
6655 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
6656
6657 flys/issue483 (Historische Abflusstafeln ohne Ergebnis)
6658
6659 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Add
6660 a problem for the calculation report if no discharge tables were found
6661 for the given timerange.
6662
6663 * src/main/resources/messages.properties,
6664 src/main/resources/messages_de_DE.properties,
6665 src/main/resources/messages_en.properties,
6666 src/main/resources/messages_de.properties: Added translation for error
6667 messages created by Calculation6.
6668
6669 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6670
6671 * src/main/java/de/intevation/flys/utils/Formatter.java:
6672 Format kms in error reports at least with one digit after
6673 the decimal separator.
6674
6675 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6676
6677 Fix flys/issue468 (Fehler beim Projekt-Duplizieren)
6678
6679 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
6680 Always create a new XML document when calling report generation.
6681 XXX: There is a bug somewhere which calls error reporting twice
6682 when cloning a collection. Speculation: It has something to do with
6683 the settings stuff.
6684
6685 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
6686 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6687 Remove superfluous imports.
6688
6689 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java:
6690 Added missing Override annotation.
6691
6692 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6693
6694 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
6695 Handle Manual Point Facets, added TODO.
6696
6697 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6698
6699 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
6700 Subclass BlackboardDataFacet to repair areas over cross sections.
6701
6702 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
6703
6704 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Let text
6705 and line annotations placed at x or y axes always be in foreground.
6706
6707 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6708
6709 Fix flys/issue474 (manual points in reference curves).
6710
6711 * doc/conf/artifacts/winfo.xml,
6712 doc/conf/artifacts/manualpoints.xml:
6713 Add manualpoints to lists just so that really everybody knows.
6714
6715 * doc/conf/themes.xml: Add styles for manual points in ref curves.
6716
6717 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6718 Add ref curve chart types.
6719
6720 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
6721 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6722 Handle manual point facets.
6723
6724 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6725
6726 Partial Fix flys/issue474.
6727
6728 * src/main/resources/messages.properties,
6729 src/main/resources/messages_de_DE.properties,
6730 src/main/resources/messages_en.properties,
6731 src/main/resources/messages_de.properties: Added translation for
6732 normalized_reference_curve.
6733
6734 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6735
6736 Fix flys/issue475.
6737
6738 * doc/conf/themes.xml: Register theme for reference_curve_normalized.
6739
6740 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
6741
6742 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Add a "/" to the
6743 URL of the user wms if the URL configured in conf.xml doesn't end with
6744 a "/".
6745
6746 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6747
6748 Fix flys/issue472.
6749
6750 * doc/conf/themes.xml: Added theme for discharge_curve manualpoints.
6751
6752 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6753 Added discharge_curve as chart type.
6754
6755 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6756
6757 Fix flys/issue484 ((i18n: Ungleichwertige... Report))
6758
6759 * src/main/resources/messages.properties,
6760 src/main/resources/messages_de_DE.properties,
6761 src/main/resources/messages_en.properties,
6762 src/main/resources/messages_de.properties: Fixed key spelling.
6763
6764 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6765
6766 Fix flys/issue478 (Manuelle Punkte: Stil nicht änderbar).
6767
6768 * doc/conf/themes: Map correct theme to manualpoint themes.
6769
6770 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6771
6772 Partial fix flys/issue472 .
6773
6774 * doc/conf/artifacts/winfo.xml: Add manual points to compatibility
6775 list of cross_sections.
6776
6777 * doc/conf/artifacts/manualpoints.xml: Add manualpoints to list of
6778 generated facets.
6779
6780 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6781
6782 * doc/conf/themes.xml: Commented styling option for show area until
6783 area calculation works.
6784
6785 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6786
6787 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
6788 i18n the km of the error report.
6789
6790 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
6791 Fixed potential race conditions.
6792
6793 * src/main/java/de/intevation/flys/utils/Formatter.java: Added
6794 formatter for error report kms.
6795
6796 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
6797 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
6798 Removed superfluous imports.
6799
6800 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6801 Commented out some imports. They are used be out commented code.
6802
6803 2012-02-07 Ingo Weinzierl <ingo@intevation.de>
6804
6805 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
6806 Use the correct km key for an unspecific km for fetching the whole river
6807 annotations.
6808
6809 2012-02-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6810
6811 * doc/conf/conf.xml: Added missing config of chart info generator
6812 of normalized reference curve.
6813
6814 2012-02-07 Ingo Weinzierl <ingo@intevation.de>
6815
6816 * doc/conf/conf.xml: Fixed wrong chart info generator name for historical
6817 discharge curves.
6818
6819 2012-02-07 Raimund Renkert <raimund.renkert@intevation.de>
6820
6821 Added PDF export for historical discharge curve calculations.
6822
6823 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
6824 Implemented PDF export for calculation results.
6825
6826 * src/main/java/de/intevation/flys/artifacts/model/WQTJRDataSource.java:
6827 New. Datasource for JasperReports.
6828
6829 * doc/conf/artifacts/winfo.xml:
6830 Added facet for PDF export to historical discharge curve output mode.
6831
6832 * src/main/resources/messages.properties,
6833 src/main/resources/messages_de_DE.properties,
6834 src/main/resources/messages_en.properties,
6835 src/main/resources/messages_de.properties:
6836 Added i18n strings for historical discharge curve export.
6837
6838 * doc/conf/jasper/historical-discharge.jasper,
6839 doc/conf/jasper/historical-discharge_en.jasper:
6840 New. Templates for JasperReports PDF creation.
6841
6842 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6843
6844 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6845 Handle WWQQs, extended CSV export of reference curves.
6846
6847 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6848
6849 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
6850 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
6851 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
6852 Recactored, moved Formatter accessors to base class AbstractExporter.
6853
6854 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6855
6856 Let reference curve calculation result in specific WWQQ, extended CSV
6857
6858 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java
6859 (getWW,getWWQQ): Renamed and changed result type.
6860
6861 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java,
6862 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6863 Result in WWQQs, not in WWs.
6864
6865 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6866
6867 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6868 Log error as warning.
6869
6870 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6871
6872 * src/main/java/de/intevation/flys/artifacts/math/LinearFunction.java:
6873 New. Linear function f(x) = m*x + b.
6874
6875 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
6876 Do the normalizing. Cascading functions is not required.
6877
6878 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6879
6880 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveInfoGenerator.java:
6881 Added missing chart info generator for the normalized reference curves.
6882
6883 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6884
6885 * src/main/resources/messages_de_DE.properties,
6886 src/main/resources/messages_de.properties: Fix i18n.
6887
6888 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6889
6890 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
6891 Added optional boolean flag to indicated if the data should be 'normalized'.
6892 TODO: Build the cascading normalising function call chain.
6893
6894 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
6895 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6896 Fetch WWAxisTypes from call context to do the right scaling.
6897
6898 2012-02-06 Raimund Renkert <raimund.renkert@intevation.de>
6899
6900 Added service for discharge infos at a specific gauge.
6901
6902 * doc/conf/conf.xml: Added service factory entry.
6903
6904 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
6905 New. Returns description, start year and end year of discharges at a
6906 specific gauge.
6907
6908 * src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
6909 Return a more specific ui provider string.
6910
6911 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6912
6913 * doc/conf/conf.xml: Registered generator for normalized reference curves.
6914
6915 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6916 Added "reference_curve_normalized".
6917
6918 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6919 Added facets for normalized reference curves.
6920
6921 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java:
6922 Generator for normalized reference curves.
6923
6924 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6925
6926 * doc/conf/artifacts/winfo.xml: Added config for "reduzierte Bezugslinie".
6927
6928 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6929
6930 * doc/conf/artifacts/winfo.xml: Added error report.
6931
6932 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
6933
6934 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Set
6935 proper bounds for date axis elements; tell the transformation matrix which
6936 type it is (number/date).
6937
6938 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6939
6940 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6941 Include location description string in csv output of referencecurve-
6942 exporter.
6943
6944 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6945
6946 * src/main/java/de/intevation/flys/artifacts/model/WW.java: Added constructor call.
6947 * src/main/java/de/intevation/flys/artifacts/model/WWQQ.java: New.
6948 Stores the Qs for the Ws, too.
6949
6950 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java: Create
6951 WWQQs instead of WWs.
6952
6953 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6954
6955 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6956 Added further i18n stubs and slightly more data.
6957
6958 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6959
6960 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
6961 Return the Qs of the Ws, too.
6962
6963 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
6964 Adjusted to cope with the return Qs. TODO: Create WQWQ or WWQQ dataset
6965 for storing the result.
6966
6967 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6968
6969 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6970 Added further i18n stubs.
6971 Also added a second Y axis (experimental, to ease axis labeling etc.).
6972
6973 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6974
6975 * doc/conf/artifacts/winfo.xml: Register new export output and csv
6976 facet for reference curves.
6977
6978 * doc/conf/conf.xml: Register Exporter for reference curve.
6979
6980 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6981 Primitive exporter, bland copy of another one.
6982
6983 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6984
6985 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6986 Enabled some i18n of labels.
6987
6988 * src/main/resources/messages.properties,
6989 src/main/resources/messages_de_DE.properties,
6990 src/main/resources/messages_en.properties,
6991 src/main/resources/messages_de.properties: Basic i18n for reference
6992 curves added.
6993
6994 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
6995
6996 * doc/conf/conf.xml: Registered the HistoricalDischargeCurveInfoGenerator.
6997
6998 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveInfoGenerator.java:
6999 New. This info generator returns information of a
7000 HistoricalDischargeCurveGenerator.
7001
7002 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Add an
7003 attribute "axistype" to axes nodex based on the JFreeChart Axis type.
7004 Number axes get a "number", date axes a "date".
7005
7006 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Defined an
7007 abstract method getRangesForAxis().
7008
7009 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Awaits
7010 now an instance of ChartGenerator instead of XYChartGenerator.
7011
7012 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7013 Implemented the getRangesForAxis() method (copied from XYChartGenerator).
7014
7015 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
7016 @Override annotation to getRangesForAxis().
7017
7018 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7019
7020 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
7021 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
7022 Cosmetics.
7023
7024 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7025
7026 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
7027 Add CSV facet (not yet evaluated).
7028
7029 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
7030
7031 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
7032 New. This OutGenerator exports historical discharge curves to CSV and PDF.
7033 Currently, only the CSV export is implemented!
7034
7035 * doc/conf/artifacts/winfo.xml: Registered a new Output CSV for historical
7036 discharge curves.
7037
7038 * doc/conf/conf.xml: Registered the HistoricalDischargeCurveExporter.
7039
7040 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
7041 Generate new Facets for CSV and PDF output.
7042
7043 * src/main/java/de/intevation/flys/utils/Formatter.java: Added new functions
7044 that return number formatters for historical discharge curves and a date
7045 formatter for short dates.
7046
7047 * src/main/resources/messages.properties,
7048 src/main/resources/messages_de_DE.properties,
7049 src/main/resources/messages_en.properties,
7050 src/main/resources/messages_de.properties: Added strings for CSV header of
7051 historical discharge curve export.
7052
7053 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7054
7055 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7056 Adjusted to name change in River ('hibernate fix').
7057
7058 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
7059
7060 * doc/conf/artifacts/winfo.xml: Adapted the data type of W/Q input values
7061 for historical discharge curve calculation (intarray -> doublearray).
7062
7063 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
7064 Adapted the data type of W/Q input values.
7065
7066 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7067
7068 First steps to serve the data in cm if we are are gauges only.
7069
7070 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7071 Fetch map gauge station -> gauge datum from backend for reference curve.
7072
7073 * src/main/java/de/intevation/flys/artifacts/math/LinearFilterFunction.java:
7074 New. Linear transforms another function.
7075
7076 * src/main/java/de/intevation/flys/artifacts/math/FilterFunction.java:
7077 New. Allows cascading functions.
7078
7079 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
7080 New. Classifier what kind of axis types are needed.
7081
7082 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
7083 Removed. Is now obsolete.
7084
7085 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
7086 Stores gauge station kms for start and end km if they are any.
7087
7088 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
7089 Should generate a WWAxisTypes classifier via side effect to the
7090 call context.
7091
7092 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
7093 Figure out for each start/end km if its a gauge station and store this
7094 information in the result WWs.
7095
7096 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
7097 Uses the WWAxisTypes classifier now to generate the right data.
7098 TODO: Use the blackboard object.
7099
7100 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7101
7102 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
7103 Removed superfluous imports.
7104
7105 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7106
7107 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
7108 Set number of interpolation steps for relation curve to 200.
7109
7110 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
7111 Do not sort the XYSeries.
7112
7113 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7114
7115 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
7116 Removed. Was stub.
7117
7118 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7119
7120 Improved Reference Curves.
7121
7122 * doc/conf/artifacts/winfo.xml: Add start/end input step for reference
7123 curves.
7124
7125 * doc/conf/themes.xml: Add theme for reference curve.
7126
7127 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7128 Disable start/end point-hack for reference curve. Go with 'live'
7129 values.
7130
7131 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
7132 i18n.
7133
7134 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
7135 New. State to enter location.
7136
7137 * src/main/java/de/intevation/flys/artifacts/states/InputDoubleState.java:
7138 New.
7139
7140 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
7141 Take WW name to display in themepanel.
7142
7143 * src/main/resources/messages.properties,
7144 src/main/resources/messages_de_DE.properties,
7145 src/main/resources/messages_en.properties,
7146 src/main/resources/messages_de.properties: Added translations.
7147
7148 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
7149
7150 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Use
7151 the current date for discharge tables which doesn't have a stop time set.
7152 A warning message is written to log.
7153
7154 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
7155 Generate report facet before leaving the computeXXX() method when no
7156 calculation results has been computed.
7157
7158 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
7159
7160 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
7161 that returns the name of a reference gauge (for historical discharge
7162 curves).
7163
7164 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
7165 Create title, subtitle and axes labels for charts of this type.
7166
7167 * src/main/resources/messages.properties,
7168 src/main/resources/messages_de_DE.properties,
7169 src/main/resources/messages_en.properties,
7170 src/main/resources/messages_de.properties: Added title, subtitle and axes
7171 labels for historical discharge curves.
7172
7173 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7174
7175 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
7176 Fix.
7177
7178 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7179
7180 * src/main/resources/messages.properties,
7181 src/main/resources/messages_de_DE.properties,
7182 src/main/resources/messages_en.properties,
7183 src/main/resources/messages_de.properties: Added translations for
7184 states (will be shown in client).
7185
7186 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7187
7188 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
7189 Ja!vadoc.
7190
7191 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7192 Declare getYAxisWalker as abstract to avoid weird issue with
7193 overriden methods of this name.
7194
7195 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7196
7197 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
7198 Use the WW.ApplyFunctionIterator to fetch the data.
7199
7200 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
7201 Removed superfluous imports.
7202
7203 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
7204
7205 * doc/conf/artifacts/winfo.xml: Registered a ReportFacet for historical
7206 discharge curve report.
7207
7208 * doc/conf/conf.xml: Registered a ReportGenerator for historical discharge
7209 curves.
7210
7211 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Add
7212 problems if we were not able to find a Q for a given W.
7213
7214 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
7215 Generate a ReportFacet if there were problems during calculcation.
7216
7217 * src/main/resources/messages.properties,
7218 src/main/resources/messages_de_DE.properties,
7219 src/main/resources/messages_en.properties,
7220 src/main/resources/messages_de.properties: Added error messages for the
7221 case that we were not able to find a Q for a given W while calculating
7222 historical discharge curve data.
7223
7224 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
7225
7226 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
7227 Improved adding new data for historical discharge curves: skip NaN
7228 values; use JFreeChart's Day TimePeriod instead of Second.
7229
7230 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
7231
7232 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
7233 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Refactoring:
7234 moved addDatasets(), applyThemes() and some other methods into
7235 ChartGenerator; enhanced the AxisDataset interface.
7236
7237 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7238 Implemented necessary abstract methods and improved internal AxisDataset
7239 class (added new methods).
7240
7241 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
7242
7243 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a
7244 function that expands a given range. Take care on NaN in getRanges().
7245
7246 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7247 Prevent of NullPointerExceptions in isMinimumShapeVisible() and
7248 isMaximumShapeVisible().
7249
7250 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
7251
7252 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
7253 Create new AxisDatasets and new TimeSeriesCollections for each Facet.
7254
7255 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
7256
7257 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java: Added a
7258 method getTimerange(idx) that returns the Timerange at a given index.
7259
7260 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeFacet.java:
7261 Return the correct WQTimerange object in getData().
7262
7263 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
7264
7265 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
7266 src/main/java/de/intevation/flys/exports/ChartGenerator.java: More
7267 refactoring: the AxisDataset is defined by an interface in ChartGenerator
7268 now. Each subclass of ChartGenerator should implement its own AxisDataset.
7269 This allows us to provide multiple XYDataset types in different charts.
7270
7271 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7272 Implemented some necessary methods (abstract definitions of parent class)
7273 and create new empty timeseries charts.
7274
7275 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
7276
7277 * src/main/java/de/intevation/flys/exports/ChartHelper.java: New helper
7278 class for working with charts.
7279
7280 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
7281
7282 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7283 Removed useless import.
7284
7285 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
7286 src/main/java/de/intevation/flys/exports/ChartGenerator.java: More
7287 refactoring: moved more base code from XYChartGenerator to its parent
7288 class ChartGenerator.
7289
7290 2012-02-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7291
7292 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
7293 Refactored. Use supers static field.
7294
7295 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
7296 Refactored. Use static field.
7297
7298 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
7299 src/main/java/de/intevation/flys/utils/FLYSUtils.java
7300 (getMinMax, getRiverMinMax): Refactored. Moved to FLYSUtils.
7301
7302 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
7303 Add so-called javadoc.
7304
7305 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
7306
7307 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
7308 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Moved
7309 further base code from XYChartGenerator into its ChartGenerator.
7310
7311 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7312 Override generateChart() instead of generate() which is now implemented
7313 in ChartGenerator.
7314
7315 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
7316
7317 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7318 New. This ChartGenerator should be used for timeseries charts. Currently,
7319 this class is a stub only! WORK IS IN PROGRESS!
7320
7321 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
7322 Subclasses TimeseriesChartGenerator now instead of XYChartGenerator,
7323 because historical discharge curve charts will have a time x axis set.
7324
7325 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
7326 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Moved some
7327 basic stuff from XYChartGenerator into ChartGenerator.
7328
7329 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
7330
7331 * src/main/java/de/intevation/flys/artifacts/charts/TimeseriesStepChart.java:
7332 Added standalone demo app for evaluating different timeseries charts.
7333
7334 2012-02-02 Raimund Renkert <raimund.renkert@intevation.de>
7335
7336 Issue 466: CSV export for chart themes.
7337
7338 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7339 Export a CSV file if the requested format is 'csv'.
7340
7341 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
7342 Generate the CSV file containing X-Y-data of all activated themes.
7343
7344 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
7345
7346 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
7347 Moved code to load values of a discharge table into an own static
7348 function to be able to reuse it in Calculation6.
7349
7350 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
7351 Implemented the findValueForW().
7352
7353 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7354
7355 Fake some reference curve input values to have working prototype
7356 to work on.
7357
7358 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7359 Syntax-stunt fake reference inputs.
7360
7361 * src/main/java/de/intevation/flys/artifacts/model/WW.java
7362 (getW1): Accessor for first w at index (for the raw ww).
7363
7364 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java
7365 (doReferenceOut): Plot the raw W-over-W.
7366
7367 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
7368
7369 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Create time
7370 millis for timerange used in Calculation6.
7371
7372 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Added
7373 the first step of the calculation: fetch relevant discharge tables based
7374 on the given input parameters. The calculated values are not the right
7375 ones! Finding Ws and Qs in discharge tables is still not implemented! WORK
7376 IN PROGRESS!
7377
7378 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
7379 Create facets for each WQTimerange object calculated by Calculation6.
7380
7381 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
7382
7383 * src/main/java/de/intevation/flys/artifacts/model/Timerange.java: Added a
7384 new constructor that takes Date objects for start and end time.
7385
7386 2012-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7387
7388 * src/main/java/de/intevation/flys/artifacts/model/W.java:
7389 Forget to create ws data in constructor.
7390
7391 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7392
7393 * doc/conf/artifacts/winfo.xml: Replaced Reference Curve input state
7394 with LocationSelect-State for debugging purposes. Add output to
7395 reference.curve- state.
7396
7397 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7398
7399 * doc/conf/conf.xml: Register ReferenceCurve*Generators.
7400
7401 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7402
7403 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
7404 Cosmetics.
7405
7406 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7407
7408 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
7409 Added pro forma facet.
7410
7411 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7412
7413 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
7414 Added comment.
7415
7416 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7417
7418 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7419 Added reference curve facet type.
7420
7421 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
7422
7423 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Fetch
7424 necessary parameters for 'historical discharge curve' calculation and call
7425 Calculation6 with those parameters.
7426
7427 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
7428 Modified default constructor and calculate() signatures and added a
7429 parameter check which is evaluated before the calculation starts.
7430
7431 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7432
7433 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java,
7434 src/main/java/de/intevation/flys/exports/ReferenceCurveInfoGenerator.java:
7435 Added outline of a new chart-generator.
7436
7437 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
7438
7439 * src/main/java/de/intevation/flys/artifacts/model/Timerange.java: New.
7440 This class might be used to store timeranges. Start and end time are
7441 stores as long (milliseconds since january 1, 1970).
7442
7443 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java:
7444 New. This class should be used to save Ws, Qs and timeranges.
7445
7446 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
7447
7448 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added helper
7449 methods to extract int[] and double[] from string.
7450
7451 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
7452
7453 * doc/conf/artifacts/winfo.xml: Registered new facet type
7454 'historical_discharge.historicalq' to the 'historical_discharge' output.
7455
7456 * doc/conf/conf.xml: Registered new HistoricalDischargeCurveGenerator for
7457 output type 'historical_discharge'.
7458
7459 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7460 new facet type for HISTORICAL_DISCHARGE_Q.
7461
7462 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
7463 New. This ChartGenerator is used to generate new charts for historical
7464 discharge curves. WORK IN PROGRESS!
7465
7466 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: New.
7467 This class should 'compute' the historical discharge curves. WORK IN
7468 PROGRESS!
7469
7470 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeFacet.java:
7471 New. This Facet is used during the calculation of historical discharge
7472 curves.
7473
7474 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
7475 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added stubs
7476 to trigger the calculation of data used for generating historical
7477 discharge curve charts.
7478
7479 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
7480
7481 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
7482 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
7483 Removed needless imports.
7484
7485 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7486
7487 * src/main/resources/messages_de.properties,
7488 src/main/resources/messages_de_DE.properties:
7489 Fixed "W bei ..m" -> "W fuer ...n" .
7490
7491 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7492
7493 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
7494 Avoid NPE, add warning to log to not forget about it.
7495
7496 2012-01-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7497
7498 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
7499 Fixed problems with unformatted numbers in error message.
7500
7501 2012-01-31 Ingo Weinzierl <ingo@intevation.de>
7502
7503 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
7504 Override getLabelFor() to return the I18N string for the selected
7505 evaluation mode.
7506
7507 2012-01-31 Ingo Weinzierl <ingo@intevation.de>
7508
7509 * doc/conf/artifacts/winfo.xml: Modified types of parameters in the
7510 'historical discharge curves' transitions.
7511
7512 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7513
7514 * doc/conf/artifacts/winfo.xml: Fix transition type (Stupid Bug 1.0 reverse).
7515
7516 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
7517
7518 * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java:
7519 Override getLabelFor() method defined in DefaultState to return the name
7520 of a Gauge based on the official number which is stored in the
7521 parameterization.
7522
7523 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7524
7525 Allow manual points in more diagram types.
7526
7527 * doc/conf/artifacts/winfo.xml: Add respective facet types to
7528 compatibility lists of output modes.
7529
7530 * doc/conf/artifacts/manualpoints.xml: Mention facet types.
7531
7532 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7533 Added ChartType enum to ease later iteration.
7534 (IS.MANUALPOINTS): Added helper.
7535
7536 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java:
7537 Help artifact figuring out which data to provide by passing facet
7538 name.
7539
7540 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
7541 Respond to getPointData with correct data item, depending on facet
7542 name.
7543
7544 * src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
7545 Iterate over chart types. Add facets if corresponding data is found.
7546
7547 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
7548 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
7549 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
7550 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
7551 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
7552 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
7553 Handle manual point facets.
7554
7555 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
7556
7557 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Clone
7558 StateData model objects to save parameters in this Artifact - create
7559 new StateData instances only if no StateData model was found for a
7560 parameter. This solves the problem of loosing the type of a StateData.
7561
7562 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
7563 Implemented a getLabelFor() method that is used to format a parameter
7564 value.
7565
7566 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
7567 Adapted method signature of transform().
7568
7569 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
7570 Override getLabelFor() method to create a well formatted label for min/max
7571 values.
7572
7573 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
7574
7575 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java:
7576 Bugfix: use correct order of parameters in DefaultStateData constructor.
7577
7578 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
7579
7580 * doc/conf/artifacts/winfo.xml: Fixed a stupid bug. Use
7581 ValueCompareTransition instead of DefaultTransition to evaluate values.
7582
7583 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
7584
7585 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
7586 Write default values for min and max items into the DESCRIBE document.
7587
7588 2012-01-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7589
7590 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
7591 Added field 'startKm' and 'endKm' to make it easier to associate
7592 gauge to km to return Ws in cm if km is at a gauge.
7593
7594 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
7595 Construct the WWs with startKm and endKm. This is necessary because
7596 if an error occurs in calcuting an in between km in a list of end kms
7597 the index does not correspond to the input value any more.
7598
7599 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
7600
7601 * doc/conf/artifacts/winfo.xml: Added transitions for "historical discharge
7602 curves" calculation.
7603
7604 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7605
7606 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
7607 (doPoints): Skip 'inactive' points.
7608
7609 2012-01-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7610
7611 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
7612 Removed the createNormalized() method because it did not
7613 solve all problems with the transformation of the W~W data we have.
7614
7615 - We need to shift the values to be based in (0, 0).
7616 - We need to linear transform the values if they are at gauges.
7617 - Copying the data is memory expensive.
7618
7619 Therefore there is now a new inner class ApplyFunctionIterator
7620 that is able to transform the values in an iterator like manner.
7621 The transform functions default to the identity.
7622
7623 * src/main/java/de/intevation/flys/artifacts/math/Sub.java: New.
7624 Simple function that subtract a scalar from the parameter.
7625
7626 * src/main/java/de/intevation/flys/artifacts/model/W.java: Added
7627 method minWs() to calulate the minimal W of the data.
7628
7629 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
7630 getData() returns a WW.ApplyFunctionIterator with identity transform.
7631
7632 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
7633 getData() returns a WW.ApplyFunctionIterator with a base shift to (0, 0).
7634
7635 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7636
7637 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
7638 Added method createNormalized() to shift the data to start in (0, 0).
7639
7640 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
7641 Returns the 'normalized' data of the reference curve.
7642
7643 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7644
7645 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
7646 New. Facet for the normalized W~W relation.
7647 TODO: Implement the on-the-fly creation logic.
7648
7649 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
7650 New. Facet for the W~W relation.
7651
7652 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: Cosmetics.
7653
7654 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7655
7656 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
7657 Added stub loop for creating facets.
7658
7659 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
7660 Cosmetics.
7661
7662 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7663
7664 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7665 Call the 'Bezugslinienverfahren'.
7666
7667 * src/main/resources/messages.properties,
7668 src/main/resources/messages_de_DE.properties,
7669 src/main/resources/messages_en.properties,
7670 src/main/resources/messages_de.properties:
7671 I18N for the 'Bezugslinienverfahren' error messages.
7672
7673 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7674
7675 * doc/conf/themes.xml: Better theme for manual points.
7676
7677 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7678 Theme text part of manual points. Offset it a bit.
7679
7680 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7681
7682 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
7683 Fixed stupid bug.
7684
7685 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
7686
7687 * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java,
7688 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
7689 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java,
7690 src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
7691 New. States used in the 'historical discharge curve' calculation.
7692
7693 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
7694
7695 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java: New
7696 state that eases adding min/max value pairs to describe document.
7697
7698 * src/main/java/de/intevation/flys/artifacts/states/IntRangeState.java:
7699 New. Subclasses MinMaxState and allows adding min/max integer value pairs.
7700
7701 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
7702
7703 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Moved
7704 code to add items to a data node for dynamich UI into an own method.
7705
7706 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
7707
7708 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java: Removed
7709 useless import.
7710
7711 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
7712
7713 * src/main/resources/messages.properties,
7714 src/main/resources/messages_de_DE.properties,
7715 src/main/resources/messages_en.properties,
7716 src/main/resources/messages_de.properties: Added strings which are used n
7717 the calculation "historical discharge curve".
7718
7719 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7720
7721 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
7722 New. Calcutation to be created from WINFOArtifact
7723 for the 'Bezugslinienverfahren'.
7724
7725 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
7726 Added TODO about optimization of the 'Bezugslinienverfahren'.
7727 Added number of default samples of the W~W relation.
7728
7729 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
7730 Added convinience constructor to store the calculation results.
7731
7732 * ChangeLog: Removed false TODO.
7733
7734 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
7735
7736 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
7737 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
7738 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
7739 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
7740 Read jasper template file from resources to support i18n reports.
7741
7742 * doc/conf/jasper/wdifferences.jasper,
7743 doc/conf/jasper/duration.jasper,
7744 doc/conf/jasper/computed-discharge.jasper,
7745 doc/conf/jasper/waterlevel.jasper:
7746 Updated report template. Resized left margin.
7747
7748 * doc/conf/jasper/computed-discharge_en.jasper,
7749 doc/conf/jasper/duration_en.jasper,
7750 doc/conf/jasper/wdifferences_en.jasper,
7751 doc/conf/jasper/waterlevel_en.jasper:
7752 New. Templates for english reports.
7753
7754 * src/main/resources/messages.properties,
7755 src/main/resources/messages_de_DE.properties,
7756 src/main/resources/messages_en.properties,
7757 src/main/resources/messages_de.properties:
7758 Added i18n strings for template files and modes.
7759
7760 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7761
7762 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
7763 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7764 Prevent second Legend Entry for points (prior was one for the
7765 TextAnnotations and one for the points).
7766
7767 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7768
7769 Blindly render Text of manual points if it does not collide with
7770 other text.
7771
7772 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
7773 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7774 Handle TextAnnotations, create some for manual points.
7775
7776 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
7777 Added setter for TextAnnotations, documentation.
7778
7779 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7780
7781 * src/main/resources/messages.properties,
7782 src/main/resources/messages_de_DE.properties,
7783
7784 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7785
7786 Refactored class hierachy to integrate model for W~W:
7787
7788 NamedObjImpl
7789 \-- W
7790 +-- WW
7791 \-- WQ
7792 +-- WQDay
7793 \-- WQKms
7794 \-- WQCKms
7795
7796 * src/main/java/de/intevation/flys/artifacts/model/W.java:
7797 New. Base class
7798
7799 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
7800 New. Model for W~W
7801
7802 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
7803 src/main/java/de/intevation/flys/artifacts/model/WQDay.java,
7804 src/main/java/de/intevation/flys/artifacts/model/WQ.java,
7805 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
7806 Adjusted to follow the new class hierarchy.
7807
7808 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
7809 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
7810 Removed superfluous imports.
7811
7812 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7813
7814 * src/main/resources/messages.properties,
7815 src/main/resources/messages_de_DE.properties,
7816 src/main/resources/messages_en.properties,
7817 src/main/resources/messages_de.properties,
7818 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
7819 i18n for ManualPointsFacets.
7820
7821 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
7822
7823 Issue 138: PDF output for calculations.
7824
7825 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
7826 Create the PDF data source and generate the PDF report output.
7827
7828 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
7829 Add the PDF facet to state. Add export facets only once.
7830
7831 * doc/conf/artifacts/winfo.xml:
7832 Added PDF facet to state.
7833
7834 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
7835 Added new field type 'differences'.
7836
7837 * doc/conf/jasper/wdifferences.jasper:
7838 New. Template for w-differences PDF export.
7839
7840 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
7841
7842 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
7843 New method that creates and returns the chosen differences of w-difference
7844 calculation as string.
7845
7846 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
7847
7848 Issue 138: PDF output for calculations.
7849
7850 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
7851 Create the PDF data source and generate the PDF report output.
7852
7853 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
7854 doc/conf/artifacts/winfo.xml:
7855 Added PDF facet to state.
7856
7857 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
7858 Added new field type 'day'.
7859
7860 * doc/conf/jasper/duration.jasper:
7861 New. Template for duration curve PDF report.
7862
7863 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de>
7864
7865 Issue 138: PDF output for calculations.
7866
7867 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
7868 Create the PDF datasource and generate the PDF report output.
7869
7870 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
7871 doc/conf/artifacts/winfo.xml:
7872 Added PDF facet to state.
7873
7874 * doc/conf/jasper/computed-discharge.jasper:
7875 New. Template for computed discharge PDF report.
7876
7877 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de>
7878
7879 Issue 138: PDF output for calculations.
7880
7881 * pom.xml: New Dependency to net.sf.jasperreports/jasperreports and
7882 org.codehaus.groovy/groovy-all.
7883
7884 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
7885 Added methods for PDF generation.
7886
7887 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
7888 Create the PDF data source and generate the PDF report output.
7889
7890 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
7891 New. Data source for jasper reports containing the waterlevel calculation
7892 result.
7893
7894 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
7895 Added facet for PDF export to state.
7896
7897 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7898 Added PDF facet type.
7899
7900 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
7901 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
7902 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
7903 Added stub for inherited abstract method.
7904
7905 * doc/conf/artifacts/winfo.xml:
7906 Added PDF facet to outputmode 'export'.
7907
7908 * doc/conf/jasper,
7909 doc/conf/jasper/waterlevel.jasper:
7910 New. Folder for jasperreports templates and first template for
7911 waterlevel report.
7912
7913 * src/main/resources/messages.properties,
7914 src/main/resources/messages_de_DE.properties,
7915 src/main/resources/messages_en.properties,
7916 src/main/resources/messages_de.properties:
7917 Added i18n string for calculation mode.
7918
7919 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7920
7921 Renderer 'manual' points in LongitudinalSectionGenerator.
7922
7923 * pom.xml: New dependency to org.json/json.
7924
7925 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
7926 (doOut): Handle manual points.
7927 (doPoints): Add point- series.
7928
7929 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7930 Added MANUALPOINTS Facet Type.
7931
7932 * doc/conf/themes.xml: Added Default Theme for Manual Points.
7933
7934 * doc/conf/artifacts/winfo.xml: Added manual point facet to
7935 compatibility list of longitudinal section diagram.
7936
7937 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7938
7939 Cosmetics.
7940
7941 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
7942 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
7943 Removed obsolete imports.
7944
7945 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7946
7947 Add initial infrastructure for user-provided data ('manual points').
7948
7949 * doc/conf/artifacts/manualpoints.xml: Trivial state model for new
7950 Artifact.
7951
7952 * doc/conf/conf.xml: Registered manualpoint artifact and factory.
7953
7954 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
7955 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java,
7956 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
7957 New. Basic infrastructure for ManualPoints.
7958
7959 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7960
7961 * doc/conf/artifacts/winfo.xml: Removed superfluous condition checks.
7962
7963 2012-01-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7964
7965 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
7966 Cosmetics, documentation.
7967
7968 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7969
7970 * doc/conf/artifacts/winfo.xml: Add states/transitions stubs for
7971 "Bezugsllinenverfahren."
7972
7973 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
7974 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
7975 Stubs for the two new states.
7976
7977 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7978
7979 * contrib/visualize-transitions.xsl: Fixed output of the conditions
7980 of the transitions. Now you can see the circumstances
7981 when a branch is taken.
7982
7983 2012-01-25 Raimund Renkert <raimund.renkert@intevation.de>
7984
7985 Issue 461.
7986
7987 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7988 Override buildChartSection() to disable the chart subtitle entry in
7989 ChartSettings.
7990
7991 2012-01-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7992
7993 I18N for WINFO calculations messages.
7994
7995 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
7996 Allow optional arguments in error messages to support meaningful
7997 formatting containing e.g. numbers.
7998
7999 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
8000 Added a convenience getMsg() method.
8001
8002 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
8003 src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java,
8004 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
8005 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
8006 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
8007 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
8008 Adjusted the code to use the I18N symbols now.
8009
8010 * src/main/resources/messages.properties,
8011 src/main/resources/messages_de_DE.properties,
8012 src/main/resources/messages_en.properties,
8013 src/main/resources/messages_de.properties: Added the I18N strings.
8014
8015 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8016
8017 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8018 Handle the case in "W auf freier Strecke" where more than
8019 one Q is related to a W. TODO: Generate user report.
8020
8021 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8022
8023 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8024 Added code for the simple case of "Bezugslinienverfahren" ("W auf freier Strecke").
8025 TODO: Handle case if the model returns more than one Q for a given W.
8026
8027 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
8028 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8029 Micro optimizations.
8030
8031 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8032
8033 Fix flys/issue452 (Annotations at second y-axis).
8034
8035 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
8036 Added new type (duration_curve.mainvalues.q).
8037
8038 * doc/conf/themes.xml: Added theme mapping for new facet type.
8039
8040 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
8041 Create another Facet.
8042
8043 * doc/conf/artifacts/winfo.xml: Added new facet type to compatibility
8044 list.
8045
8046 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8047 Handle new Facet.
8048
8049 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
8050 Added field to be able to remember which axis to stick to.
8051
8052 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
8053 Tell Annotations to stick to Q axis in the special duration_curve
8054 environment.
8055
8056 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8057 (AxisDataset): Added plotAxisIndex to now have a
8058 two-way-association.
8059 Tell own axisDatasets to which 'jfreechart'-axis they are assigned.
8060 Evaluate which axis the StickyAxisAnnotations should be sticked to,
8061 and calculate text and line positions accordingly.
8062 Removed junk.
8063
8064 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8065
8066 Fix compilation.
8067
8068 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
8069 Use StickyAxisAnnotations instead of XYTextAnnotations.
8070
8071 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8072
8073 Some unification of Annotation handling.
8074
8075 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
8076 Add a third annotation type (now have text, hyk and sticky).
8077
8078 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
8079 Use double instead of float values, removed commented code.
8080
8081 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
8082 Reduced to keep information about placements etc only. Not a
8083 Annotation (in JFreeChart sense) anymore.
8084
8085 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
8086 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
8087 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
8088 Use StickyAxisAnnotations instead of XYTextAnnotations.
8089
8090 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
8091 Added new LineStyle class.
8092
8093 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8094 Call addAnnotationsToRenderer later, where positioning information
8095 is already known.
8096 (addAnnotationsToRenderer): Deal with the three Annotation types.
8097 Instead of StickyAnnotations, add
8098 CollisionFreeXYText- and
8099 XYLineAnnotations.
8100 (Area): Helper class.
8101
8102 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8103
8104 Some unification of Annotation handling.
8105
8106 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
8107
8108 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8109
8110 Fix flys/issue395 (SVG/PDF-Export: Längsschitt enthält keine
8111 Streckenfavoriten.)
8112
8113 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
8114 Fix pdf/svg rendering of annotatios, by adding a
8115 ChartRenderingInfo-object to the chart.draw call.
8116
8117 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
8118
8119 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8120 Added new key and getter for a short subtitle. The short subtitle is
8121 used if no range exists.
8122
8123 * src/main/resources/messages.properties,
8124 src/main/resources/messages_de_DE.properties,
8125 src/main/resources/messages_en.properties,
8126 src/main/resources/messages_de.properties:
8127 Added i18n string for shor subtitle.
8128
8129 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
8130
8131 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
8132 Removed state validation. Validation prevents drawing the diffenrences
8133 diagramm and all states except of WDifferencesState always return
8134 true.
8135
8136 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8137
8138 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
8139 New. Candidate to replace StickyAxisAnnotation eventually.
8140
8141 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8142
8143 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
8144 Added null-guards to functions parameters.
8145
8146 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8147
8148 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
8149 Respect flowing direction of river when finding valid
8150 hykformations.
8151
8152 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
8153
8154 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
8155 Add an empty facet to this state if the artifact is a Chartartifact.
8156
8157 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8158 Do not add the range to subtitle if no range exists.
8159
8160 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
8161
8162 'New chart' for cross sections.
8163
8164 * doc/conf/artifacts/chart.xml: Updated the states and transitions for
8165 new charts.
8166
8167 * doc/conf/meta-data.xml: Added cross sections to datacage.
8168
8169 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
8170 Changed cast from WINFOArtifact to FLYSArtifact.
8171
8172 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
8173 Changed artifact data strings for chart_type.
8174
8175 * src/main/resources/messages.properties,
8176 src/main/resources/messages_de_DE.properties,
8177 src/main/resources/messages_en.properties,
8178 src/main/resources/messages_de.properties:
8179 Changed i18n string for cross sections and logitudinal sections.
8180
8181 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8182
8183 Add basic (text) styling for HYKs.
8184
8185 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
8186 Minor cleanup, pass HYK theme on.
8187
8188 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8189 Apply TextStyle to TextAnnotation part for HYK zones.
8190
8191 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
8192 (TextStyle): New class to bundle text-styling info.
8193
8194 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
8195 Refactored constructors to ease setting Style in the newly
8196 created usage scenario.
8197
8198 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8199
8200 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
8201 Cleanup. Mark spot where State-based caching could happen.
8202
8203 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8204
8205 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java:
8206 Cosmetics.
8207
8208 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8209
8210 * doc/conf/cache.xml: Added Cache for HYKS.
8211
8212 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8213
8214 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
8215 Made HYKFactory.Zone Serializable.
8216
8217 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8218
8219 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
8220 Cosmetics.
8221
8222 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8223
8224 Added style definition for hyks.
8225
8226 * doc/conf/themes.xml: Added hyk style (text).
8227
8228 2012-01-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8229
8230 * doc/conf/cache.xml: Removed cache "service-distanceinfo".
8231
8232 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
8233 Now uses the annotations from the LocationProvider and the
8234 XML documents are no longer cached.
8235
8236 2012-01-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8237
8238 * doc/conf/cache.xml: Removed "annotations" cache.
8239
8240 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
8241 Removed annotation caching.
8242
8243 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
8244 Changed internal data structure to FastAnnotations which are also cached.
8245
8246 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
8247 Use FastAnnotations now which are fetched via the LocationProvider.
8248
8249 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Added
8250 time measurement for writing the CVS output.
8251
8252 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
8253 Removed superfluous import.
8254
8255 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8256
8257 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
8258 Respect visibility flag of HYK facet.
8259
8260 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8261 Log malcondition, make colored hyk-box a bit smaller.
8262
8263 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8264
8265 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
8266 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
8267 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
8268 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
8269 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
8270 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
8271 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
8272 Cosmetics, docs, improved logging.
8273
8274 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8275
8276 * doc/conf/meta-data.xml: Recommend hyks for current river if hit by
8277 a crosssection-out.
8278
8279 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8280
8281 Somewhat improved HYK handling and rendering.
8282
8283 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
8284 Store ids in more sensibly named data item and expose it.
8285 Spawn all facets in inactive state.
8286
8287 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
8288 Make HYK name accessible, do not query hyks by river, but by hyk-id,
8289 made query more real-world.
8290
8291 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
8292 Use hyks name as facet name, pass hyk-id when asking for hyks.
8293
8294 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8295
8296 Somewhat improved HYK handling and rendering.
8297
8298 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
8299 Added ability to store 'zones', next to text annotations.
8300
8301 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8302 (getLowestYValue, getUppestYValue, colorForHYKZone),
8303 (addBoxAnnotations): New. Create box annotations from zones.
8304
8305 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
8306 (doHYK): New, handle hyk facets by adding zones to annotation
8307 container.
8308
8309 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8310
8311 Preparing improved HYK handling.
8312
8313 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
8314 (Zone.getTo): New accesor.
8315 TODOs and documentation added.
8316
8317 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
8318
8319 'New Chart' for w-differences curve.
8320
8321 * doc/conf/artifacts/chart.xml: Added empty facet to output mode.
8322
8323 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
8324 Add an empty facet if the artifact is a ChartArtifact.
8325
8326 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
8327
8328 'New Chart' for discharge longitudinal section curve.
8329
8330 * doc/conf/artifacts/chart.xml: Added transition for location input.
8331
8332 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
8333 Changed cast from WINFOArtifact to FLYSArtifact.
8334
8335 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
8336 Add an empty facet if the artifact is a ChartArtifact.
8337
8338 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
8339
8340 'New Chart' for duration curve.
8341
8342 * doc/conf/artifacts/chart.xml: Added state and transition for location input.
8343
8344 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
8345 Changed cast from WINFOArtifact to FLYSArtifact.
8346
8347 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
8348 Add an empty facet if the artifact is a ChartArtifact.
8349
8350 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8351
8352 Added accidentally ommitted HYKFacet, fixing build.
8353
8354 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java:
8355 New, stubby facet for hyk infrastructure.
8356
8357 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
8358
8359 'New Chart' for computed discharge curve.
8360
8361 * doc/conf/artifacts/chart.xml: Fixed transitions and added state for km input.
8362
8363 * src/main/java/de/intevation/flys/artifacts/model/EmptyFacet.java:
8364 New. Added an empty facet to avoid deleting an empty output.
8365
8366 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
8367 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
8368 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
8369 Changed some return values if the artifact is a ChartArtifact.
8370
8371 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
8372 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
8373 Changed casts from WINFOArtifact to FLYSArtifact.
8374
8375 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
8376 Add an empty facet if the artifact is a ChartArtifact.
8377
8378 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8379 Set a default axis range if the range is null.
8380
8381 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8382
8383 Added stub hyk infrastructure.
8384
8385 * doc/conf/artifacts/hyk.xml: Added trivial transition configuration
8386 for hyk artifacts.
8387
8388 * doc/conf/conf.xml: Register HYK artifact and its transition conf.
8389
8390 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
8391 src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java,
8392 src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
8393 Added static 'hyk' artifact, facet and state.
8394
8395 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8396
8397 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
8398 Add 'hyk' facet type.
8399
8400 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8401
8402 Add hyk facet to compatibility list of winfo.xml .
8403
8404 * doc/conf/artifacts/winfo.xml: Add hyk facets to compatibility list.
8405
8406 2012-01-18 Ingo Weinzierl <ingo@intevation.de>
8407
8408 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
8409 method getDataAsLong that returns a Long representation of a data item or
8410 null if no such data item is existing or it cannot be parsed as Long.
8411
8412 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
8413 that returns the selected reference gauge (specified by 'reference_gauge'
8414 parameter) of a FLYSArtifact.
8415
8416 2012-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8417
8418 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
8419 Cache a TreeMap<km, annotation string> of the annotation values of whole
8420 rivers. This is _much_ more efficient than firing an HQL/SQL statement for
8421 each km and caching these results.
8422
8423 2012-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8424
8425 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
8426 Deleted. It is in the backend now.
8427
8428 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
8429 src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java,
8430 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
8431 src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLineFactory.java,
8432 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
8433 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
8434 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
8435 Adjusted to use the fast cross section line from backend now.
8436
8437 * doc/conf/cache.xml: Store cross section lines cache on disk.
8438
8439 * src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java,
8440 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
8441 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: Removed
8442 superfluous imports.
8443
8444 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8445
8446 Fix assignment of stateId/hash in WaterlevelFacet.
8447
8448 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
8449 More verbose logging, fix hash/stateid assignment.
8450
8451 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
8452 (deepCopy): implemented.
8453
8454 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8455
8456 "Ported" StaticWQKmsArtifact to use compute-type caching mechanism.
8457
8458 * doc/conf/artifacts/staticwqkms.xml: Declare trivial info.
8459
8460 * doc/conf/conf.xml: Register staticwqkms artifact and factory.
8461
8462 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java:
8463 Sublacss DataFacet.
8464
8465 * src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java:
8466 New. State.
8467
8468 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
8469 Refactored. Most computation and stuff now done in State and Facet.
8470
8471 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8472
8473 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
8474 Minor cosmetics.
8475
8476 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8477
8478 Refactoring.
8479
8480 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
8481 Added new constructor.
8482
8483 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
8484 Refactored, subclass BlackboardDataFacet.
8485
8486 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
8487 Refactored, subclass DataFacet.
8488
8489 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
8490 Adjusted.
8491
8492 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8493
8494 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
8495 Cosmetics, added new constructor.
8496
8497 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8498
8499 Use improved caching for cross section data.
8500 !!! This commit needs heavy testing !!!
8501
8502 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
8503 Refactored to provide the map to determine the nearest cross section line
8504 neighbors for a given km to the public. This is a bit hackish because
8505 it hhould have its own factory which is then used by this service and
8506 other parts of the code.
8507
8508 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
8509 searchCrossSectionLine() now returns a FastCrossSectionLine. To find this
8510 line efficiently it uses the map of the CrossSectionKMService which
8511 already provides a nearest neighbor searching mechanism for cross
8512 section lines. The FastCrossSectionLine is fetched with the
8513 FastCrossSectionLineFactory which uses a cache as described in the
8514 previous commit.
8515
8516 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
8517 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
8518 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
8519 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
8520 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Uses
8521 the FastCrossSectionLine instead of CrossSectionLines now.
8522
8523 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
8524 Added method fetchCrossSectionProfile() to access the point data in
8525 the profile generating compatible way.
8526
8527 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java: Removed
8528 superfluous import.
8529
8530 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8531
8532 * doc/conf/cache.xml: Added cache for fast section lines chunks.
8533
8534 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java:
8535 New. Chunks of FastCrossSectionLines. Stores cross section lines for ranges
8536 of one KM.
8537
8538 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLineFactory.java:
8539 New. Access fast cross section lines. It uses the cache 'fast-cross-section-lines'
8540 configured in cache.xml to store chunks of cross section lines.
8541
8542 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
8543 New. Stores the important data (points) of a cross section line.
8544
8545 2012-01-16 Ingo Weinzierl <ingo@intevation.de>
8546
8547 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
8548 Added a new calculation option for historical discharge curves.
8549
8550 * src/main/resources/messages.properties,
8551 src/main/resources/messages_de_DE.properties,
8552 src/main/resources/messages_en.properties,
8553 src/main/resources/messages_de.properties: Added translations for
8554 historical discharge curves.
8555
8556 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8557
8558 * doc/conf/artifacts/winfo.xml: Added certain facets to to
8559 compatibility matrices.
8560
8561 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8562
8563 * doc/conf/artifacts/annotation.xml: Fixed accidental change.
8564
8565 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8566
8567 * doc/conf/artifacts/annotation.xml: Cosmetics.
8568
8569 2012-01-16 Ingo Weinzierl <ingo@intevation.de>
8570
8571 * doc/conf/meta-data.xml: Enabled old floodmap calculations for output
8572 type 'map'.
8573
8574 2012-01-13 Raimund Renkert <raimund.renkert@intevation.de>
8575
8576 Initial implementation for module 'new chart'.
8577
8578 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
8579 New. Artifact for module 'new chart'.
8580
8581 * doc/conf/artifacts/chart.xml:
8582 New. Artifact description for the new artifact.
8583
8584 * doc/conf/conf.xml:
8585 Added new artifact to config.
8586
8587 * src/main/resources/messages.properties,
8588 src/main/resources/messages_de_DE.properties,
8589 src/main/resources/messages_en.properties,
8590 src/main/resources/messages_de.properties:
8591 Added i18n strings for 'new chart' chart types.
8592
8593 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8594
8595 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
8596 Cosmetics.
8597
8598 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8599
8600 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
8601 Avoid NPE when copying data from one artifact to another.
8602
8603 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8604
8605 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8606 (expandRange): Prevent collapse due to negative values.
8607
8608 2012-01-12 Raimund Renkert <raimund.renkert@intevation.de>
8609
8610 * doc/conf/artifacts/map.xml,
8611 doc/conf/conf.xml,
8612 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
8613 Changed the MapArtifact name to 'new_map'.
8614
8615 2011-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8616
8617 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
8618 Added code to calculate the area of the generated polygons.
8619 TODO: Render the generated area sum to the plot.
8620
8621 2011-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8622
8623 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
8624 Replaced System.err.println()s with proper logging.
8625
8626 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
8627 src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java,
8628 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
8629 superfluous imports.
8630
8631 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8632
8633 flys/issue450 (i18n: Datenkorb: longitudinal-section)
8634
8635 * doc/conf/meta-data.xml: Replaced dash by underscore in
8636 longitudinal-section.
8637
8638 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8639
8640 Towards areas on other than the first axes.
8641
8642 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
8643 Changed signature on which to provide data via the blackboard.
8644 Include facets name to allow unique identification.
8645
8646 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
8647 Store name of one of the facets involved in area creation.
8648 (AreaFacet.Data): New class to hold result data.
8649
8650 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
8651 New methods to find out whether we have a general Q or W type of
8652 facet.
8653
8654 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8655 (doArea): Use new Result-Data object instead of Object[], resolve
8656 which axis to put area to.
8657 (axisIdxForFacet): New.
8658
8659 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
8660 Subclass LongitudinalSectionGenerator.
8661
8662 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8663
8664 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
8665 Do not intefere with CrossSections.
8666
8667 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8668
8669 Cosmetics, cleanups.
8670
8671 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8672 (getCrossSections, getCrossSectionNames): Removed.
8673
8674 2011-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8675
8676 flys/issue439 (Streckenfavoriten lassen sich nicht über den Datenkorb
8677 hinzuladen)
8678
8679 * doc/conf/meta-data.xml: Made Annotations available via datacage
8680 in longitudinal section, cosmetics.
8681
8682 2012-01-11 Raimund Renkert <raimund.renkert@intevation.de>
8683
8684 * doc/conf/conf.xml:
8685 Added output generator for output type 'map'.
8686
8687 * doc/conf/artifacts/map.xml:
8688 Changed output name to 'map'.
8689
8690 * doc/conf/meta-data.xml:
8691 Added new output type 'map'.
8692
8693 2011-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8694
8695 Fix flys/issue446 (Dauerline/Abflusskurve am Pegel: Eigenschaften vom
8696 Hauptwertthema nicht aufrufbar)
8697
8698 * doc/conf/themes.xml: Add default styles for mainvalues.q/w and other
8699 themes.
8700
8701 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8702
8703 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
8704 Removed XPath injection security hole. A serious one because it allowed
8705 inspecting the conf.xml file ... with all the db passwords.
8706
8707 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8708
8709 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
8710 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8711 Removed superfluous imports.
8712
8713 2012-01-11 Ingo Weinzierl <ingo@intevation.de>
8714
8715 * doc/conf/meta-data.xml: Added the definition of old calculation results
8716 for floodmaps.
8717
8718 2012-01-10 Ingo Weinzierl <ingo@intevation.de>
8719
8720 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Added
8721 methods getLayers() and removeLayer().
8722
8723 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
8724 method getFacets() which returns a list of Facets supported by this
8725 Artifact. In addition, the FLYSArtifact is now more verbose while
8726 filtering Facets for Outputs.
8727
8728 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
8729 Implemented initialize() which now copies the shapefile directory of the
8730 model Artifact and modifies its Facets (adapts the shapepath which is the
8731 uuid of the Artifact).
8732
8733 2012-01-10 Ingo Weinzierl <ingo@intevation.de>
8734
8735 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
8736 src/main/java/de/intevation/flys/collections/OutputParser.java: Made
8737 them more verbose for better debugging.
8738
8739 2012-01-09 Ingo Weinzierl <ingo@intevation.de>
8740
8741 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
8742 Initialize() now also calls State.initialize() for each State.
8743
8744 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
8745 Override initialize() which is defined in AbstractState. NOTE: Currently,
8746 this method has no code.
8747
8748 2012-01-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8749
8750 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java:
8751 New. The service to invalidate the caches. (Argh! Forgot to 'svn add')
8752
8753 2012-01-06 Ingo Weinzierl <ingo@intevation.de>
8754
8755 flys/issue298 (Karte: Automatischer Zoom auf Berechnungsergebnisse)
8756
8757 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Added a
8758 debug statement that prints out the WSPLGEN extent.
8759
8760 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create new
8761 Envelope instances for initial and max extent if they are not existing.
8762 Some debug statements have now been removed.
8763
8764 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8765
8766 Add cache for 'static' wqkms (e.g. BaseData) to default cache conf.
8767
8768 * doc/conf/cache.xml: Add Cache Config for static wqkms.
8769
8770 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java:
8771 Adjust typo in cache name, minor cosmetic.
8772
8773 2011-01-06 Raimund Renkert <raimund.renkert@intevation.de>
8774
8775 * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
8776 The map artifact has two states now and overrides describe() to
8777 generate UI sections in the describe response.
8778 The map state overrides computeAdvance() instead of computeFeed().
8779
8780 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
8781 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
8782 Changed the WMSDBArtifact in WMSDBState to FLYSArtifact and adjusted
8783 constructors in state classes.
8784
8785 * doc/conf/artifacts/map.xml:
8786 Added initial state and transition.
8787
8788 * src/main/resources/messages.properties,
8789 src/main/resources/messages_de_DE.properties,
8790 src/main/resources/messages_en.properties,
8791 src/main/resources/messages_de.properties:
8792 Added i18n strings for new state.
8793
8794 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8795
8796 Partial fix for flys/issue437 (Querprofil: Zugeladene Basisdaten
8797 ignorieren W/Q-heit, falsche Namen).
8798
8799 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
8800 Set name also for first column (zero based).
8801
8802 2012-01-06 Ingo Weinzierl <ingo@intevation.de>
8803
8804 flys/issue196 (i18n/l10n: Zahlenformate einheitlich)
8805
8806 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: New method
8807 getRawValue() that extracts the raw double value from 'name' parameter.
8808
8809 * src/main/java/de/intevation/flys/utils/Formatter.java: New method
8810 getRawFormatter() that returns a NumberFormat instance for the current
8811 locale.
8812
8813 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
8814 Localized the W/Q labels in CSV exports.
8815
8816 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8817
8818 flys/issue442 (i18n: Datenkorb: flood-protections)
8819
8820 * doc/conf/meta-data.xml: Replaced dash in flood-protection by
8821 underscore to allow translation.
8822
8823 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8824
8825 flys/issue438 (i18n: Datenkorb: additionals)
8826
8827 * doc/conf/meta-data.xml: Fix typo.
8828
8829 2011-01-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8830
8831 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java:
8832 New. Uses the CacheFactory to invalidate caches by their names.
8833 This can be used by external ETL processes like the AFT/DIPS importer
8834 to prevent cache inconsistencies.
8835
8836 Input documents look like this:
8837
8838 <caches>
8839 <cache name="my-cache"/>
8840 ...
8841 <cache name="your-cache"/>
8842 </caches>
8843
8844 Output documents look like this:
8845
8846 <caches>
8847 <cache name="my-cache">All elements removed.</cache>
8848 ...
8849 <cache name="your-cache">Error: Cache not found.</cache>
8850 </caches>
8851
8852 * doc/conf/conf.xml: Added the cache invalidation service.
8853
8854 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
8855 Added Override annotation.
8856
8857 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8858
8859 flys/issue432 (Diagrammeigenschaften/Flächenrenderer:
8860 Legenden-schriftgröße für Flächenthemen wird ignoriert)
8861
8862 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8863 Respect legend item size when generating legend items for
8864 area dataseries.
8865
8866 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de>
8867
8868 Implemented new module "new map".
8869
8870 * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
8871 New. Artifact for the new module, extends RiverAxisArtifact and
8872 contains the MapState class.
8873
8874 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
8875 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
8876 Added empty constructor to embedded state classes to allow instantiation
8877 of MapState that extends the RiverAxisState.
8878
8879 * src/main/java/de/intevation/flys/exports/MapGenerator.java:
8880 Do not generate an initialExtent element if the initial extent is
8881 empty.
8882
8883 * doc/conf/artifacts/map.xml:
8884 New. Describes the state for the new module.
8885
8886 * doc/conf/conf.xml:
8887 Added new config file.
8888
8889 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
8890
8891 flys/issue444 (error_no_export_found bei "W bei ungleichwertigem Abfluss")
8892
8893 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: If no boolean
8894 value "wq_free" exists in getWQMode(), false is the default.
8895
8896 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8897
8898 flys/issue443 (Querprofile: Hibernate LazyInitializationException)
8899
8900 * doc/conf/cache.xml: Disable cache for cross-sections.
8901
8902 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
8903
8904 flys/issue447 (W-Differenzen: Fehler beim Hinzufügen einer Parameterisierung)
8905
8906 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
8907 Added a new method cleanEmptyOutputs() which removes Outputs that have
8908 no Facets set.
8909
8910 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Call
8911 CollectionAttribute.cleanEmptyOutputs() at the end of write() to remove
8912 empty Outputs that have been added during the merge process.
8913
8914 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
8915
8916 flys/issue440 (Karte: WSPLGEN Berechnungen für Mosel schlagen fehl)
8917
8918 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Modified the
8919 getRiverBoundary() method because the signature of
8920 RiverAxis.getRiverAxis() has changed. This method will now take each
8921 geometry into account, that is retrieved by
8922 RiverAxis.getRiverBoundary().
8923
8924 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
8925 Use GeometryUtils.getRiverBoundary() to determine the boundary of a
8926 river.
8927
8928 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
8929 Create the riveraxis shapefile with all geometries returned by
8930 RiverAxis.getRiverAxis().
8931
8932 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
8933
8934 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Repaired
8935 broken items in legend. The new renderer requires the current plot. This
8936 is set now.
8937
8938 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
8939
8940 * doc/conf/themes.xml: Added a new field 'pointsize' to the virtual theme
8941 'HiddenColorLines'.
8942
8943 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added methods to
8944 parse the new field of 'HiddenColorLines'.
8945
8946 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: Apply the
8947 pointsize defined in themes.
8948
8949 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
8950
8951 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
8952 Use correct keys for buffering in getMinimum() and getMaximum().
8953
8954 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
8955
8956 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java,
8957 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
8958 src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
8959 Moved to de.intevation.flys.jfree.
8960
8961 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java,
8962 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
8963 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
8964 Moved from de.intevation.flys.exports.
8965
8966 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
8967 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
8968 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8969 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
8970 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
8971 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
8972 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8973 Added necessary imports.
8974
8975 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
8976
8977 * src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
8978 Buffered the computation results of getMinimum() and getMaximum().
8979
8980 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
8981
8982 flys/issue393 (Themenstileditor: Minimum anzeigen / Beschriftung anzeigen)
8983
8984 * src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
8985 New renderer that overrides JFreeChart's XYLineAndShapeRenderer. This
8986 renderer brings the option to explicitly display the minimum and/or
8987 maximum or a series as shape. Currently, there are no options to adjust
8988 the style of those shapes.
8989
8990 * doc/conf/themes.xml: Added a new virtual theme 'MinMaxPoints'. All line
8991 theme inherit from that theme now.
8992
8993 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added methods to
8994 parse the fields 'showminimum' and 'showmaximum' of 'MinMaxPoints' theme.
8995
8996 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added
8997 methods to apply the fields of the new Theme 'MinMaxPoints'.
8998
8999 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Modified
9000 the getRenderer() method which now always returns a new instance of
9001 EnhancedLineAndShapeRenderer.
9002
9003 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9004
9005 Allow styling of outline of areas.
9006
9007 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
9008 Allow styling of outline of areas.
9009
9010 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
9011 Parse outline style for areas, apply it to renderer.
9012
9013 2012-01-03 Ingo Weinzierl <ingo@intevation.de>
9014
9015 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
9016
9017 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Call
9018 the new flys-backend method Wst.determineMinMaxQFree() to determine the
9019 min/max Qs at a given kilometer.
9020
9021 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9022
9023 * doc/conf/themes.xml: Reflect name chnage of longitudinal sections
9024 area artifacts and include ColorLine style for area styles.
9025
9026 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
9027
9028 flys/issue370 (WINFO: Berechnungsausgabe W/Pegel [cm] fehlt bei Wasserspiegellage und W am Pegel)
9029
9030 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New method that
9031 extracts the double value of a WQ object's name.
9032
9033 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Adapted
9034 the header of CSV exports and the content of the "W at gauge" column.
9035
9036 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
9037 Adapted method signatures that have been changed in WaterlevelExporter.
9038
9039 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
9040
9041 * src/main/resources/messages.properties,
9042 src/main/resources/messages_de_DE.properties,
9043 src/main/resources/messages_en.properties,
9044 src/main/resources/messages_de.properties: Added strings used in the CSV
9045 export.
9046
9047 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
9048
9049 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Check
9050 if the location of a CSV row is in range of the reference gauge. Write
9051 "outside reference gauge" into CSV in such cases.
9052
9053 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
9054
9055 PART II of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe)
9056
9057 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Add the
9058 named main value of a Q and the name of the gauge used for the calculation
9059 if the WQ mode is "W at gauge" or "Q at gauge".
9060
9061 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
9062 Adapted the method signatures that have been modified in
9063 WaterlevelExporter.
9064
9065 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
9066
9067 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
9068 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9069 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9070 src/main/java/de/intevation/flys/exports/AxisSection.java,
9071 src/main/java/de/intevation/flys/exports/ExportSection.java,
9072 src/main/java/de/intevation/flys/exports/LegendSection.java,
9073 src/main/java/de/intevation/flys/exports/ChartSection.java: Removed
9074 unused imports.
9075
9076 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
9077
9078 PART I of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe)
9079
9080 * doc/conf/cache.xml: Registered a new Cache for the LocationProvider.
9081
9082 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
9083 New. This class is able to return the description of a location based on a
9084 river and kilometer parameter. The LocationProvider stores single
9085 locations into a Cache if one is configured for this class.
9086
9087 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
9088 Added a method that returns a single Annotation for a specific kilometer and
9089 river.
9090
9091 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
9092 getLocationDescription() that might be used to determine the description
9093 of a specified kilometer for a given river.
9094
9095 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Make use
9096 of FLYSUtils.getLocationDescription() to add a new column that contains
9097 the location description.
9098
9099 2011-12-29 Ingo Weinzierl <ingo@intevation.de>
9100
9101 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Write
9102 min/max values for free Qs into Artifact's DESCRIBE document.
9103
9104 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
9105
9106 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fixed
9107 broken order to determine the step width of Qs and Ws.
9108
9109 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
9110
9111 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
9112
9113 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
9114 Validate user defined free Q values.
9115
9116 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
9117
9118 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
9119 Compute better step width based on a maximal number of steps = 30.
9120 Results with digits are rounded up. E.g.:
9121 Q range = 9.6 - 1750
9122 Step width = 58.01
9123 Rounded result = 60
9124
9125 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
9126
9127 * src/main/java/de/intevation/flys/exports/AxisSection.java,
9128 src/main/java/de/intevation/flys/exports/LegendSection.java,
9129 src/main/java/de/intevation/flys/exports/ChartSection.java: Subclasses
9130 TypeSection to be able to use convinience methods for string, integer,
9131 double and boolean values.
9132
9133 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
9134
9135 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: The
9136 getSize() method now returns null if no width and height is specified in
9137 the request document or if width/height <= 0. It no longer returns the
9138 result of getDefaultSize().
9139
9140 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Set the
9141 size of a chart export to the size specified in the ChartSettings if
9142 there are no valid values in the request document.
9143
9144 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Set the
9145 chart size to ChartGenerator.getDefaultSize() if no valid values are
9146 returned by ChartGenerator.getSize(). This has been done autoamtically
9147 before.
9148
9149 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
9150
9151 * src/main/java/de/intevation/flys/exports/TypeSection.java: New. This
9152 Section defines some convinience methods to add/set string, integer,
9153 double and boolean values.
9154
9155 * src/main/java/de/intevation/flys/exports/ExportSection.java: New.
9156 Subclasses TypeSection. The ExportSection currently offers attributes
9157 'width' and 'height'.
9158
9159 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added
9160 getter/setter methods to support an ExportSection.
9161
9162 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create an
9163 ExportSection while initial ChartSettings creation.
9164
9165 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
9166
9167 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added and
9168 make use of a new method createLegendLabelFont() to create unified Fonts for
9169 LegendItems. This method considers the user defined size for LegendItems.
9170
9171 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
9172
9173 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9174 Implemented adjustAxes(). This method now sets the label Font of the X
9175 axis. Its size is determined by getXAxisLabelFontSize().
9176
9177 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
9178
9179 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added method
9180 getFontSize() to retrieve the font size for an axis.
9181
9182 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9183 Modified createYAxis(int): call super.createYAxis(int) and adjust
9184 necessary settings - no Axis creation takes place here.
9185
9186 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
9187 getXAxisLabelFontSize() and getYAxisLabelFontSize(int) to retrieve the
9188 user defined font size for an axis. The getYAxisLabelFontSize() is used in
9189 createYAxis(int) to set the font size for axes labels.
9190
9191 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
9192
9193 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
9194 Override getYAxisWalker().
9195
9196 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create new
9197 instances of IdentifiableNumberAxis in createYAxis(int) default
9198 implementation.
9199
9200 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
9201
9202 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added
9203 getLabel() to retrieve the axis label.
9204
9205 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
9206 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9207 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9208 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9209 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
9210 Override getDefaultXAxisLabel() and getDefaultYAxisLabel() defined in
9211 XYChartGenerator.
9212
9213 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implement
9214 getXAxisLabel() and getYAxisLabel(int). Both methods search for an axis
9215 label defined in the ChartSettings first. If no label is specified or if
9216 no ChartSettings is set, getDefaultXAxisLabel() or
9217 getDefaultYAxisLabel(int) is called to retrieve the initial/default axis
9218 label.
9219
9220 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
9221
9222 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Modified the
9223 signature of addAxisSection(). This method now accepts AxisSections only.
9224 In addition, there is a new method getAxisSection(String) that returns an
9225 AxisSection specified by its identifier.
9226
9227 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added new
9228 methods getIdentifier(), isFixed(), getUpperRange() and getLowerRange() to
9229 retrieve the attributes supported by this Section.
9230
9231 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use
9232 of axes ranges specified in ChartSettings if an axis is fixed.
9233
9234 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
9235
9236 * src/main/java/de/intevation/flys/exports/IdentifiableNumberAxis.java: New.
9237 Subclasses JFreeChart's NumberAxis and offers a getId() method which
9238 returns an identifiable key.
9239
9240 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implements
9241 a createNumberAxis() method that should be used by all subclasses to
9242 create new axes. This method returns an instance of IdentifiableNumberAxis
9243 which is required for zooming.
9244
9245 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
9246 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9247 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
9248 Create new NumberAxis instances by using XYChartGenerator.createNumberAxis().
9249
9250 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
9251
9252 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9253 Implemented the methods getChartTitle() and getChartSubtitle(). Both
9254 methods try to get the required information from ChartSettings. If no
9255 ChartSettings is set for this OutGenerator, these methods will call
9256 getDefaultChartTitle() and getDefaultChartSubtitle().
9257
9258 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
9259 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9260 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9261 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9262 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
9263 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9264 Renamed getChartTitle() and getChartSubtitle() to
9265 getDefaultChartTitle() and getDefaultChartSubtitle(). In addition, the
9266 methods addSubtitles() became more robust - these OutGenerators add
9267 subtitles only if the subtitle is not empty.
9268
9269 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
9270
9271 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
9272 setSettings(Settings) method.
9273
9274 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9275 Call OutGenerator.setSettings() before calling doOut() for each Facet.
9276
9277 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Implemented
9278 setSettings() and added convinience methods to access chart specific
9279 settings.
9280
9281 * src/main/java/de/intevation/flys/exports/MapGenerator.java,
9282 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
9283 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
9284 src/main/java/de/intevation/flys/exports/ATExporter.java,
9285 src/main/java/de/intevation/flys/exports/ReportGenerator.java: Implemented
9286 setSettings().
9287
9288 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9289 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use
9290 of the attributes specified in the Settings: the title, subtitle,
9291 displayGrid and displayLegend settings are functional now.
9292
9293 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
9294
9295 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
9296 src/main/java/de/intevation/flys/exports/LegendSection.java,
9297 src/main/java/de/intevation/flys/exports/ChartSection.java: Use more
9298 concrete classes than Settings and Section in these classes to avoid a lot
9299 of castings.
9300
9301 2011-12-22 Ingo Weinzierl <ingo@intevation.de>
9302
9303 flys/issue242 (W-INFO: Fehlende Header in Datenexporten)
9304
9305 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added functions
9306 getQs(), getWs(), getGauge(), getGaugename() and getRivername() that all
9307 take a parameter FLYSArtifact.
9308
9309 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Moved the
9310 implementation of getGauge() to FLYSUtils. The getGauge() in this class
9311 just calls and returns FLYSUtils.getGauge().
9312
9313 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Write a
9314 header into a CSV export containing meta information about this export.
9315
9316 * src/main/resources/messages.properties,
9317 src/main/resources/messages_de_DE.properties,
9318 src/main/resources/messages_en.properties,
9319 src/main/resources/messages_de.properties: Added strings used in the CSV
9320 export as header.
9321
9322 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9323
9324 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
9325 (getKm): Removed, not called anymore.
9326
9327 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9328
9329 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
9330 Include km of cross-section-master in diagrams subtitle (fetched
9331 from 'blackboard'.
9332
9333 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9334
9335 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
9336 Cosmetics, docs.
9337
9338 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9339
9340 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
9341 (getInitialFacetActivity): Only newest CrossSection is initially
9342 active.
9343
9344 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9345
9346 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java
9347 (isNewest): New, query whether a CrossSection is the newest for its
9348 river, doc.
9349
9350 2011-12-21 Ingo Weinzierl <ingo@intevation.de>
9351
9352 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
9353 convinience method to retrieve the value of an data object stored at
9354 FLYSArtifact as Boolean value.
9355
9356 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method that
9357 returns the named value of a given double value. This method returns only
9358 the named value, if the WQ mode is "Q at gauge" and if the value fits to a
9359 named value. In addition to this method, there is a new method to retrieve
9360 the selected WQ mode as 'WQ_MODE' enum.
9361
9362 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
9363 Removed prepareData() and its call. The data preparation had a bad side
9364 effect: the modifications are "persisted" into cache, which has again bad
9365 side effects.
9366
9367 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Removed
9368 prepareData(). The label creation for columns in the WST export will now
9369 take place in addWSTColumn(). With help of the master Artifact (I forgot
9370 this Artifact in my last commit) we are able to replace Q values with
9371 their named main value.
9372
9373 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9374
9375 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
9376 Cover 'locations' case for initial km of cross section artifacts.
9377
9378 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9379
9380 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
9381 (initialize): Eat ld_from from master artifact.
9382 (setup): Set cross_section.km to either masters km or the lowest
9383 defined cross-section line, whatever is bigger.
9384
9385 2011-12-21 Ingo Weinzierl <ingo@intevation.de>
9386
9387 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe)
9388
9389 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
9390 stripNamedMainValue(). The result of this function is a named main value's
9391 base name without declaration of a year.
9392
9393 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
9394 method pepareData() that is called in doOut() before the data supported by
9395 the current Facet is added using addData().
9396
9397 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Override
9398 the prepareData() method to reset the name of WQKms objects. The Qs in a
9399 waterlevel export should be the Q value or the named main value if the
9400 value fits to a named main value.
9401
9402 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9403
9404 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9405 Survive cases where the first dataset has an area-renderer assigned.
9406
9407 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9408
9409 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java:
9410 Store additional parameter (whether or not to fill everything in
9411 between two curves.)
9412
9413 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
9414 Deliver additional info from artifact.
9415
9416 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
9417 Evaluate new parameter.
9418
9419 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9420
9421 * doc/conf/themes.xml: Add transparency setting to area theme style.
9422
9423 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Helper to
9424 access transparency setting in theme.
9425
9426 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
9427 Respect transparency setting.
9428
9429 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9430
9431 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
9432 Subclass BlackboardDataFacet to provide data for area calculation.
9433
9434 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9435 Cast data to WKms instead of WQKms.
9436
9437 2011-12-20 Ingo Weinzierl <ingo@intevation.de>
9438
9439 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
9440 Use a ';' as seperator between Qs and Ws.
9441
9442 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9443
9444 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
9445 (doOut, doArea): Added handling for areafacets. Code yet mostly
9446 copied from CrossSectionGenerator.
9447
9448 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9449
9450 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
9451 Refactoring, subclass BlackboardDataFacet, remove duplicate code.
9452
9453 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9454
9455 Cosmetics.
9456
9457 * doc/conf/artifacts/winfo.xml,
9458 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9459 Renamed facet for consistency reasons.
9460
9461 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9462
9463 Make Waterlevelfacet deliver data via blackbord.
9464
9465 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
9466 Subclass BlackboardDataFacet.
9467
9468 2011-12-20 Ingo Weinzierl <ingo@intevation.de>
9469
9470 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
9471 Create all formatted string labels for Ws and Qs in this class, because
9472 this class is the only instance that knows that there are double values
9473 to format.
9474
9475 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9476
9477 Introduced new Facet that will deliver whatever getData returns via
9478 blackbord under key which is defined by convention. Attention, the
9479 data is not cached if handled this way.
9480
9481 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
9482 New facet, will be useful for easing implementation of facets that
9483 can contribute to area-computations.
9484
9485 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9486
9487 * src/main/java/de/intevation/flys/exports/VisibleAttribute.java:
9488 Removed obsolete imports.
9489
9490 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9491
9492 Removed obsolete imports.
9493
9494 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
9495 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
9496 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java,
9497 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
9498 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9499 Removed obsolete imports.
9500
9501 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9502
9503 With StableXYDifferenceRenderer, create legend items in rectangular
9504 form, to discern "line" from "area" in legend.
9505
9506 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java
9507 (legendLine, legendShape): Renamed.
9508 (getLegendItem): Create LegendItem with fill, use PositivePaint for
9509 that.
9510
9511 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9512
9513 Added further 'area' infrastructure.
9514
9515 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
9516 New, "area dataset".
9517
9518 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
9519 (doOut): Use helper to decide if facet is an 'area' facet.
9520 (doArea): Construct StyledAreaSeriesCollection instead of two
9521 dataseries.
9522
9523 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9524 (AxisDataset.isArea): Distinguish area datasets with instanceof.
9525 (AxisDataset.addArea): New. Replaces addAreaDataset.
9526 (addAreaSeries): Simplified with new custom SeriesCollection.
9527 (applyTheme): Register and style StableXYDifferenceRenderer for
9528 StyledAreaSeriesCollections.
9529 Added various TODOs and debug output to stabilize development.
9530
9531 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9532
9533 * doc/conf/artifacts/winfo.xml: Added facets to compatibility
9534 matrices.
9535
9536 * doc/conf/themes.xml: Added Area theme defaults.
9537
9538 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9539
9540 Lay ground for having areas in longitudinal section diagrams, too.
9541 This is done by different naming of the facets.
9542
9543 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
9544 Make the name dynamic.
9545
9546 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9547 Added further facet types, helper.
9548
9549 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java:
9550 Store name for facets in data item, restrict access to some fields.
9551
9552 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
9553 Use AreaArtifacts data item to use name for facets.
9554
9555 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9556
9557 Cosmetics.
9558
9559 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java,
9560 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
9561 src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
9562 Doc.
9563
9564 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
9565 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
9566 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
9567 Whitespace.
9568
9569 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Doc and
9570 whitespace.
9571
9572 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9573
9574 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
9575 (parseBoolean): New, extracted, updated callers.
9576 (parseFillColorField, parseShowBorder): New, for area styles.
9577
9578 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
9579
9580 flys/issue202 (W-INFo: Wasserspiegellagenberechnung / Vorbelegung Strecke)
9581
9582 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
9583 Added a system property which is used to determine, if the DESCRIBE
9584 document of an Artifact should include default values (values, that have
9585 been inserted by the user some time ago) or not. The default case is,
9586 that the DESCRIBE does NOT include default values. To enable default
9587 values, set "flys.use.default.values" to "true".
9588
9589 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
9590
9591 flys/issue419 (Themen-Name "Q(null)" bei W bei ungl. A.)
9592
9593 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
9594 Use correct variable to create Facet names.
9595
9596 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
9597
9598 flys/issue380 (W-INFO / Überschwemmungskarte, falsches DGM)
9599
9600 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
9601 convinience method that returns a parameter of FLYSArtifact as Integer.
9602
9603 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Override
9604 validate() to determine, if the DGM selected by the user is valid for the
9605 current calculation range and river.
9606
9607 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9608
9609 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9610 Roll-back accidentally committed changes.
9611
9612 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9613
9614 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
9615 (doOut): Hide 'invisible' (deleted) themes from Outgenerators.
9616
9617 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9618
9619 Added area.name data item and access to areaartifact.
9620
9621 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
9622 Rephrased debug output, do survive case where only one curve is
9623 given for area calculation (this is the "above" or "under" case).
9624
9625 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java
9626 (getAreaName): Access "area.name" data item.
9627
9628 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
9629 Respect area.name data of artifact when reproducing facets.
9630
9631 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9632
9633 * doc/conf/conf.xml: Fix, accidentally added wrong factory in last
9634 commit.
9635
9636 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9637
9638 * doc/conf/conf.xml: Register area artifact factory.
9639
9640 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9641
9642 * doc/conf/artifacts/winfo.xml: Added area artifacts to cross-section
9643 compatibility matrix.
9644
9645 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9646
9647 Add area dataseries when facet delivering one.
9648
9649 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
9650 (doOut): Handle area facets.
9651 (doArea): Register areas for area facets.
9652
9653 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9654
9655 Add simple area registerig functions.
9656
9657 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9658 (AxisDataset.addAreaDataset): New, add an area dataset.
9659 (AxisDataset.isArea): New.
9660 (addAreaSeries): New. Add Area Dataset.
9661 (applyThemes): Pass info if we have an area, to set different
9662 renderer.
9663
9664 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9665
9666 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
9667 Added convenience function and easy sybclassing.
9668
9669 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9670
9671 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9672 Register AREA ("area") facet type.
9673
9674 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9675
9676 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
9677 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
9678 Register blackboard key uuid+index and respond with data to it, as
9679 assumed by the areaartifact and facet.
9680
9681 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9682
9683 Added partial area-infrastructure.
9684
9685 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
9686 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
9687 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
9688 New artifact, facet and state for area rendering.
9689
9690 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
9691
9692 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Defined an
9693 interface YAxisWalker that allows to walk over each Y axis definition in
9694 subclasses. This walker can be retrieved using the new getYAxisWalker()
9695 method. The AxisSections are built in this class now.
9696
9697 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9698 Implemented the YAxisWalker interface and the getYAxisWalker() method.
9699 Removed the code to build AxisSections.
9700
9701 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
9702 Implemented getYAxisLabel(int pos) and getYAxisWalker().
9703
9704 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
9705 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
9706 Implemented the getYAxisWalker() method.
9707
9708 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
9709
9710 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9711 Some optimizations during out() operation - the CollectionAttribute is
9712 parsed a single time now (*i guess*). This code really needs some
9713 refactoring!
9714
9715 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
9716
9717 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9718 Added an INFO message that displays the duration time for the out()
9719 operation.
9720
9721 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
9722
9723 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9724 Calls super.buildAxisSections().
9725
9726 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9727 Implemented the method buildAxisSections(). The result list will contain
9728 an AxisSection for the X axis.
9729
9730 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
9731
9732 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Bugfix:
9733 Add new Outputs to the current CollectionAttribute if no old one is
9734 existing.
9735
9736 2011-12-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9737
9738 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
9739 Directly fetch key/value pairs when writing a collection attribute.
9740
9741 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
9742
9743 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added new
9744 functions that allow parsing a ChartSettings object from DOM Node.
9745
9746 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Parse
9747 the Settings of each Output.
9748
9749 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
9750
9751 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
9752 Added a method to set a new Settings object for a specific Output and a
9753 method to clear the list of Facets of a specific Output.
9754
9755 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: The
9756 AttributeWriter no longer creates new CollectionAttributes - it only
9757 modifies the old CollectionAttribute. At first, it clears the Facets of
9758 all Outputs. Finally, the merged Facets are added to the Outputs.
9759
9760 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9761 Added the CollectionAttribute to the AttributeWriters constructor.
9762
9763 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
9764
9765 * src/main/java/de/intevation/flys/exports/DoubleAttribute.java: New. An
9766 Attribute that stores double values.
9767
9768 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods
9769 to set values for 'fixation', 'font-size', 'lower' and 'upper'.
9770
9771 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9772 Set new attributes mentioned above for each axis' AxisSection.
9773
9774 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
9775
9776 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods
9777 to set the axis label and id.
9778
9779 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Improved
9780 the ChartSettings that will now contain a set of AxisSections. The new
9781 buildAxisSections() method in this class is not implemented and needs to
9782 be implemented by subclasses.
9783
9784 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9785 Override buildAxisSections() of XYChartGenerator to create an AxisSection
9786 for each axis that is able to be displayed in this sort of chart. In
9787 addition, there is a new method getYAxisLabel(int) that returns the label
9788 for a specific Y axis.
9789
9790 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
9791
9792 * src/main/java/de/intevation/flys/exports/IntegerAttribute.java: New.
9793 Concrete subclass of a DefaultAttribute for storing integer values.
9794
9795 * src/main/java/de/intevation/flys/exports/LegendSection.java: New. A
9796 concrete Section subclass to store legend specific attributes.
9797
9798 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
9799 src/main/java/de/intevation/flys/exports/StringAttribute.java: Removed
9800 needless import of org.w3c.dom.Attr.
9801
9802 * src/main/java/de/intevation/flys/exports/ChartSettings.java: ChartSettings
9803 is able to store a Section for legends now.
9804
9805 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
9806 methods to retrieve the font size of legends and if the legend should be
9807 visible or not. In addition, the ChartSettings returned by this instance
9808 will now contain a LegendSection as well.
9809
9810 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
9811
9812 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Introduced
9813 methods getChartSubtitle() and isGridVisible(). getChartSubtitle() returns
9814 in this implementation null. Concrete subclasses should override this
9815 mehtod if they require subtitles in charts. isGridVisible() determines if
9816 the grid in the chart should be visible or not. This method return always
9817 true in this implementation.
9818 In addition, the Settings object returned by getSettings() will now have a
9819 ChartSection set properly.
9820
9821 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9822 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9823 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9824 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
9825 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9826 Override getChartSubtitle().
9827
9828 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
9829
9830 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9831 Prepare the OutGenerator (process each of the Output's Facets) during the
9832 describe() operation to be able to return an initial Settings object.
9833
9834 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
9835
9836 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
9837 src/main/java/de/intevation/flys/exports/VisibleAttribute.java,
9838 src/main/java/de/intevation/flys/exports/StringAttribute.java: Fixed wrong
9839 usage of DOM operations.
9840
9841 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
9842
9843 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
9844 src/main/java/de/intevation/flys/exports/VisibleAttribute.java,
9845 src/main/java/de/intevation/flys/exports/StringAttribute.java: New.
9846 Concrete subclasses of a DefaultAttribute.
9847
9848 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
9849 src/main/java/de/intevation/flys/exports/AxisSection.java,
9850 src/main/java/de/intevation/flys/exports/ChartSection.java:
9851 Implementations for chart settings. WORK IN PROGRESS!
9852
9853 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Override
9854 the getSettings() method. The implementation here returns a ChartSettings
9855 instance.
9856
9857 * src/main/java/de/intevation/flys/exports/EmptySettings.java: Modified the
9858 node name of the settings ("art:settings" -> "settings").
9859
9860 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9861
9862 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
9863 Cosmetics, doc.
9864
9865 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9866
9867 Cosmetics.
9868
9869 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
9870 Remove needless imports.
9871
9872 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9873
9874 Fix/Guard certain misconditions.
9875
9876 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Do
9877 not crash when given null-range.
9878
9879 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
9880 Do not crash when given malformed array.
9881
9882 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9883
9884 Cosmetics.
9885
9886 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
9887 ChangeLog: Whitespace cosmetic.
9888
9889 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
9890 Annotation cosmetic.
9891
9892 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
9893 Convenience cosmetic.
9894
9895 * src/main/java/de/intevation/flys/utils/DataUtil.java:
9896 vim-magicosmetic.
9897
9898 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9899
9900 Implement new WaterLineArtifact where needed so far.
9901
9902 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9903 Declare that we implement WaterLineArtifact.
9904
9905 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
9906 (getWaterLines): Implement to fulfil new WaterLineArtifact-
9907 interface-impl. Also generate new Facet.
9908
9909 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
9910 Do not depend on WINFOArtifacts, but on WaterLineArtifacts instead.
9911
9912 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9913
9914 Added interface WaterLineArtifact to be implemented by artifacts
9915 that know how to create a water line "against" a cross section.
9916
9917 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
9918 New, straight-forward interface.
9919
9920 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
9921
9922 * src/main/java/de/intevation/flys/exports/EmptySettings.java: An
9923 implementation of the Settings interface defined in the artifact-database
9924 module. This implementation accepts no Section objects at all and creates
9925 an empty "settings" Node in its toXML() operation.
9926
9927 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Defined a new
9928 method getSettings() that returns a Settings instance.
9929
9930 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
9931 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
9932 src/main/java/de/intevation/flys/exports/MapGenerator.java,
9933 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
9934 src/main/java/de/intevation/flys/exports/ATExporter.java,
9935 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
9936 Implemented the getSettings() operation. All OutGenerators will currently
9937 return an instance of EmptySettings.
9938
9939 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9940 Before the DESCRIBE document is created, we gonna evaluate each Output
9941 defined in the Collection's attribute document, if it has a Settings
9942 object set. If this is not the case, the relevant OutGenerator is called
9943 to retrieve a new instance of Settings.
9944
9945 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
9946 Append the Settings of Outputs to the Output nodes in the XML
9947 representation.
9948
9949 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9950
9951 Recommend cross-sections.
9952
9953 * doc/conf/meta-data.xml: When having a cross-section out, recommend
9954 respective artifacts.
9955
9956 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9957
9958 Register factory for CrossSectionArtifacts.
9959
9960 * doc/conf/conf.xml: Register CrossSectionArtifact-Factory.
9961
9962 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
9963
9964 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
9965 New. This class will store the information provided in the Collection's
9966 attribute (which is a DOM document).
9967
9968 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
9969 Store an instance of CollectionAttribute and append its XML representation
9970 to the DESCRIBE document.
9971
9972 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Removed
9973 all DOM operations from this writer. Its new task is to create a new
9974 CollectionAttribute object which represents a merged version of the old
9975 CollectionAttribute and the information provided by the Collection's child
9976 Artifacts.
9977
9978 * src/main/java/de/intevation/flys/collections/AttributeParser.java: The
9979 result of AttributeParser's parse() operation is a CollectionAttribute
9980 object now. The methods getOuts() and getFacets() are as of now proxy
9981 methods that call the relevant methods of CollectionAttribute.
9982
9983 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9984 Some structural changes in the process to build the attribute Document of
9985 the Collection's DESCRIBE. We will no longer work with Document during
9986 this process but with instances of CollectionAttribute.
9987
9988 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9989
9990 Server-side of newer Cross-Section diagram construction architecture.
9991
9992 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
9993 (searchCrossSectionKmLine, getCrossSectionSnapKm),
9994 (getCrossSectionData): Removed, most functionality contained in
9995 CrossSectionArtifact.
9996 (getWaterLines): Now get CrossSectionLines to calculate water line.
9997
9998 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
9999 Get a CrossSectionLine from blackboard.
10000
10001 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10002 Hard TODO, commented out function needed for subtitle to allow
10003 compilation.
10004
10005 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
10006 Added Empty-Dataset- guard.
10007
10008 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10009
10010 Cosmetics.
10011
10012 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10013 Cosmetics.
10014
10015 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
10016
10017 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java,
10018 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
10019 Removed superfluous imports.
10020
10021 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
10022
10023 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
10024 New. This class helps generating the DESCRIBE document of a collection.
10025
10026 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
10027 Moved some of the code to create the DESCRIBE document out to
10028 CollectionDescriptionHelper.
10029
10030 2011-12-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10031
10032 Resolve todo about wrongly named cross sections.
10033 Open StaticState to allow that facets survive a compute.
10034
10035 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java
10036 (computeAdvance, computeFeed, computeInit): Override to call
10037 staticCompute.
10038 (staticCompute): New. Do nothing but be able to be overridden.
10039
10040 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
10041 (setup): Fetch facets name from db (resolves todo).
10042 (getCurrentState): override staticstates staticcompute to let
10043 facets survive a compute.
10044
10045 2011-12-12 Ingo Weinzierl <ingo@intevation.de>
10046
10047 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java,
10048 src/main/java/de/intevation/flys/wsplgen/WSPLGENCallable.java: Renamed
10049 JobExecutor to WSPLGENCallable (because it is a Callable now). In addition
10050 to the call() method which starts the WSPLGEN process, this Callable
10051 offers a cancelWSPLGEN() method to destroy a running WSPLGEN process.
10052
10053 * src/main/java/de/intevation/flys/wsplgen/WSPLGENFuture.java: A FutureTask
10054 that overrides cancel(boolean). Before this instance call
10055 super.cancel(boolean), it executes WSPLGENCallable.cancelWSPLGEN() to kill
10056 a running WSPLGEN process.
10057
10058 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: The Scheduler is
10059 no longer a Runnable. It makes now use of a ScheduledThreadPoolExecutor to
10060 schedule the incoming WSPLGENJobs. The ScheduledThreadPoolExecutor has a
10061 fixed number of worker threads that process the jobs. The number is 1 per
10062 default; it can be modified using a System property "wsplgen.max.threads".
10063
10064 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
10065 a string constant SCHEDULER.
10066
10067 * src/main/java/de/intevation/flys/wsplgen/SchedulerSetup.java: A
10068 LifetimeListener that currently implements the systemUp() method to create
10069 an instance of Scheduler. After its creation, the Scheduler is put into
10070 the GlobalContext using FLYSContext.SCHEDULER as key.
10071
10072 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10073 Fetch the Scheduler from GlobalContext.
10074
10075 * doc/conf/conf.xml: Registered SchedulerSetup as LifetimeListener.
10076
10077 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10078
10079 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
10080 (describe): Add data items to StaticFLYSArtifacts describe-doc.
10081
10082 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10083
10084 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
10085 (addDefaultChartOutput): Convenienve function to add a chart-output.
10086
10087 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10088
10089 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
10090 Play nice with CrossSectionArtifact. Employ blackboard.
10091
10092 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
10093 Spawn a CrossSectionFacet, handle various data.
10094
10095 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10096 Do not produce CrossSectionFacets anymore, these now "belong" to
10097 CrossSectionArtifacts.
10098
10099 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10100
10101 * doc/conf/cache.xml: Added cross_sections cache.
10102
10103 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10104
10105 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
10106 (getCrossSection, getCrossSectionUncached): New, access specific
10107 CrossSection, employ caching.
10108
10109 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10110
10111 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
10112 New artifact to handle cross-section access.
10113
10114 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de>
10115
10116 Issue 413.
10117
10118 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
10119 Apply point size from theme attribute linewidth.
10120
10121 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10122
10123 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
10124 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
10125 src/main/java/de/intevation/flys/exports/OutGenerator.java,
10126 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
10127 Cosmetics.
10128
10129 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10130
10131 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
10132 Documentation added, let a value be its own neighbour (distance 0).
10133
10134 2011-12-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10135
10136 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
10137 Added "Bezugslinie" to list of calculation alternatives.
10138
10139 * src/main/resources/messages.properties,
10140 src/main/resources/messages_de_DE.properties,
10141 src/main/resources/messages_de.properties: Added I18N.
10142
10143 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10144
10145 Further flys/issue420 fix (No Discharge Curves for Mosel).
10146
10147 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10148 (includeYRange, mergeRanges): Moved NaN-guard to lowest level.
10149 (combineXRanges): Also NaN guard the X Axis extent.
10150
10151 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10152
10153 Partial fix for flys/issue420 (Berechnete Abflusskurve: Kein Diagramm für
10154 Mosel). Protect axis extent calculation from empty or invalid
10155 datasets.
10156
10157 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10158 (includeRange, includeYRange): Renamed, updated callers.
10159 (includeYRange): Protect from merging extent with NaNs.
10160 (debugDatasets): Be more verbose on the datasets.
10161 (zoom): Doc.
10162
10163 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10164
10165 Fix flys/issue423 (Diagramm: Hauptwerte bei Abflusskurve am Pegel
10166 werden an Y-Achse nicht angezeigt) - show not "raw" (vs interpolated)
10167 values at Gauge.
10168
10169 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
10170 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
10171 Add parameterization to let facet know whether to fetch data at
10172 Gauges or at Artifacts position.
10173
10174 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10175 Let the MainValueFacets know whether to ask for interpolated
10176 MainValues; (do not interpolate for Gauges Main Values).
10177 (getMainValuesQ, getMainValuesW): Added parameter to control
10178 interpolation.
10179
10180 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
10181
10182 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified
10183 prefix constants for Mapserver layers and renamed constants (which have
10184 been postfixes before).
10185
10186 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Adjusted
10187 usage of Mapserver constants to the changes described above.
10188
10189 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
10190
10191 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10192 Bugfix: Evaluate the correct parameter whether to set the floodplain or
10193 not. In addition, the scenario parameter used by WSPLGEN is now set
10194 correctly.
10195
10196 >>>>>>> .r3356
10197 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10198
10199 Allow longitudinal_section.q facets in wdiff states output.
10200
10201 * doc/conf/artifacts/winfo.xml: Added longitudinal_section.q facets
10202 to w-diff states out compatibility- matrix.
10203
10204 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10205
10206 Refactored Longitudinal*/WDiff-*Generator hierarchy and change axis
10207 ordering, resolved label-i18n TODO.
10208
10209 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
10210 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
10211 Merge, avoid duplicate code, fix axis ordering in w-diff diagram,
10212 label in ls-diagramm.
10213
10214 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
10215
10216 * src/main/resources/messages.properties,
10217 src/main/resources/messages_de_DE.properties,
10218 src/main/resources/messages_en.properties,
10219 src/main/resources/messages_de.properties: Added missing state titles.
10220
10221 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10222
10223 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
10224 Do not include zero on first axis.
10225
10226 2011-12-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10227
10228 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
10229 (buildArtifactNode): Include artifacts state data in description
10230 document of collection.
10231
10232 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10233
10234 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
10235 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
10236 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
10237 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
10238 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
10239 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
10240 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
10241 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
10242 src/main/java/de/intevation/flys/exports/ATExporter.java,
10243 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
10244 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
10245 src/main/java/de/intevation/flys/exports/OutGenerator.java,
10246 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
10247 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
10248 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
10249 Removed superfluous imports.
10250
10251 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10252
10253 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
10254 Removed import to make it compileable again.
10255
10256 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10257
10258 Introduce pre-rendering inter-facet communication phase ('blackboard
10259 pass').
10260
10261 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
10262 (doBlackboardPass): New. Before actually calling doOut, bundle
10263 ArtifactAndFacets and let them register
10264 themselfes as DataProvider in CallContext if they
10265 want ("announce on blackboard").
10266
10267 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10268
10269 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java
10270 (doOut): Adjusted signature.
10271
10272 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10273
10274 Changed doOut signature to use ArtifactAndFacet, which will be
10275 side effect of upcoming "blackboard" feature.
10276
10277 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
10278 (getRangesForDataset, getRangesForAxis): Renamed, removed TODO.
10279
10280 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java
10281 (createAxis): Update call to XYChartGenerator.getRangesForAxis,
10282 cosmetics.
10283
10284 * src/main/java/de/intevation/flys/exports/OutGenerator.java
10285 (doOut): Changed Signature to accet ArifactAndFacet instead of
10286 Artifact and Facet.
10287
10288 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
10289 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
10290 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
10291 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
10292 src/main/java/de/intevation/flys/exports/MapGenerator.java,
10293 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
10294 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
10295 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
10296 src/main/java/de/intevation/flys/exports/ATExporter.java,
10297 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
10298 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
10299 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
10300 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java
10301 (doOut): Adjusted to new signature.
10302
10303 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10304 (adjustAxes): Removed, we do not need a (manual) second axis.
10305
10306 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10307
10308 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
10309 Fix compilation, use features of XYChartGenerator.
10310
10311 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10312 Set default behaviour such that 0 is not included in ranges.
10313
10314 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
10315 Set behaviour of axis such that 0 is not (automagically) included.
10316
10317 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10318
10319 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
10320 Fix wrong documentation.
10321
10322 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10323
10324 Fix LongitudinalSections multi-axes plotting behavior.
10325
10326 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10327 Removed obsolete functions, use better working multi-axis
10328 magic by XYChartGenerator.
10329
10330 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10331
10332 Overhaul dataset/axis/renderer housekeeping in Mother of all
10333 ChartGenerators.
10334
10335 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10336 Refactored, keep axis/rendering relevant information in objects
10337 of new class AxisDataset. Removed some obsolete code while adding
10338 documentation.
10339
10340 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10341
10342 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
10343 Added the implementation of the 'Bezugslinienverfahren'. Should
10344 be complete but needs testing!
10345 TODO: Setup a Calculation and integrate it into WINFO.
10346
10347 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10348
10349 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
10350 Refactored the code for the "berechnete Abflusskurve" to enable
10351 the "Bezugslinienverfahren" to use the same code paths. It also
10352 removes a good deal of already existing code duplication.
10353
10354 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10355
10356 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(findQsForW):
10357 Added method findQsForW(w, km) to retrieve the Qs that correspond
10358 for the given w and km.
10359
10360 This is to be called when doing a "W auf freier Strecke" calculation
10361 to find out the Qs belonging to the user given W.
10362
10363 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
10364 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
10365 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
10366 Removed superfluous imports.
10367
10368 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10369
10370 Fix bug when adding Q data in LongitudinalSectionGenerator.
10371
10372 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10373 Add data from Q -Facet as Q over Km points.
10374
10375 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10376
10377 Added handling of empty plots.
10378
10379 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10380 (createAxes, removeEmptyRangeAxes): Survive empty datasets map, create
10381 primary axis.
10382 (recoverEmptyPlot): New.
10383
10384 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10385
10386 Let first visible axis be always on the left.
10387
10388 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10389 (createAxes): When creating axes, keep track of which is the first
10390 one. Set its location to "left".
10391
10392 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10393
10394 Use multiple axis in relevant generators.
10395
10396 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
10397 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
10398 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
10399 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
10400 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
10401 (createYAxis): Implemented.
10402 Define and use YAXIS enum for axes.
10403
10404 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10405
10406 Fix theming and legend items for plot with multiaxis feature.
10407 Decouple renderer index from dataset index.
10408
10409 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10410 (applyThemes): Do not get renderer based on dataset/axis-index but
10411 count.
10412
10413 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10414
10415 In XYChartGenerators allow more than two datasets.
10416 Assign axis to indices of datasets, do not show axis if corresponding
10417 dataset is set to be not visible.
10418 Do proper axis-setting in LongitudinalSectionGenerator only (other
10419 will follow). Based on a patch by Sascha Teichmann.
10420
10421 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10422 Keep relation between index and dataset, once its added. Compute
10423 ranges per index. Allow subclasses to override createAxes to specify
10424 internationalized labels etc.
10425
10426 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
10427 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
10428 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
10429 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
10430 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
10431 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
10432 Add datasets to first index.
10433
10434 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10435 Implement createYAxis to create correct first, second and third
10436 axis. Added enum to easy identification of axis. Stripped down
10437 adjustAxis which was used to create second axis.
10438 Add datasets at correct indices.
10439
10440 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10441
10442 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java,
10443 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java,
10444 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10445 Cosmetics, docs.
10446
10447 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10448
10449 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
10450 Cosmetics, docs.
10451
10452 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10453
10454 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
10455 Cosmetics, docs.
10456
10457 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10458
10459 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
10460 Resolved TODO about caching certain WstValueTables.
10461
10462 2011-11-22 Ingo Weinzierl <ingo@intevation.de>
10463
10464 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java: New.
10465 This Artifact is used to allow users adding external WMS layers to their
10466 floodmaps. An ExternalWMSArtifact stores an URL of a WMS, the name and the
10467 title of the WMS layer. The internal State extends WMSBackgroundState.
10468
10469 * doc/conf/conf.xml: Registered the ExternalWMSArtifact.
10470
10471 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
10472 new type "floodmap.externalwms" which is used by the ExternalWMSArtifact.
10473
10474 * doc/conf/artifacts/winfo.xml: Allowed the "floodmap.externalwms" facet for
10475 floodmaps.
10476
10477 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
10478 Some refactoring to allow easier subclassing.
10479
10480 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10481
10482 Fixed flys/411.
10483
10484 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
10485 Use different queries to avoid costy joins.
10486
10487 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10488
10489 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
10490 Use different queries to avoid costy joins. Patch by Sascha
10491 Teichmann, minor typo-fix.
10492
10493 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10494
10495 * doc/conf/artifacts/winfo.xml: Added other.wkms.interpol facet
10496 to compatibility matrix for computed discharge curves.
10497
10498 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10499
10500 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10501 Resolve cosmetic todo, use importData-convenience method.
10502
10503 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10504
10505 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10506 Handle STATIC_WKMS_INTERPOL and WQ/Points as Annotations.
10507
10508 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10509
10510 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
10511 Give Facet different name when its a flood*, so that it can be
10512 understood to be e.g. a flood-protection further down the processing
10513 line.
10514
10515 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10516
10517 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
10518 Prevent ArrayIndexOutOfBounds, log method entry.
10519
10520 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10521
10522 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10523 Added new Facet Type: Interpolated W/Km values.
10524
10525 2011-11-16 Ingo Weinzierl <ingo@intevation.de>
10526
10527 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
10528 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
10529 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Avoid
10530 WMS layer names that begin with digits. This would lead to invalid
10531 WMSGetFeatureInfo responses, where the name of a layer is the name of a
10532 XML node.
10533
10534 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10535
10536 * doc/conf/meta-data.xml: Added and use *_wq macros for interpolated
10537 w/q data (currently used in computed discharge curve only).
10538
10539 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10540
10541 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10542 Handle STATIC_WQ_ANNOTATION type facets, build and add annotations
10543 for these.
10544
10545 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10546
10547 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
10548 Set Facet type (name) based on static datas name (special case
10549 everything starting with "height").
10550
10551 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10552
10553 * doc/conf/artifacts/winfo.xml: Extended compatibility matrices.
10554
10555 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10556
10557 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10558 Added new STATIC_WQ_ANNOTATIONS Facet Type.
10559
10560 2011-11-16 Ingo Weinzierl <ingo@intevation.de>
10561
10562 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
10563 Added a method isQueryable() that determines if a layer is queryable via
10564 WMS GetFeatureInfo request. This method returns false as default.
10565
10566 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
10567 Override isQueryable(). All WMSDBLayerFacets are queryable via WMS
10568 GetFeatureInfo request.
10569
10570 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10571
10572 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
10573 Added functionality to artifact to use single column wst
10574 interpolators.
10575
10576 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10577
10578 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
10579 Added methods to create WstValueTables (interpolators) for specific
10580 columns of wsts.
10581
10582 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10583
10584 * doc/conf/themes.xml: Added Point Style for other.wq data.
10585
10586 2011-11-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10587
10588 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
10589 Do not re-evaluate constant size() in for-loops.
10590
10591 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10592
10593 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
10594 Get ld_locations not locations data item to determine km.
10595 (getDataAsDouble): New helper function to get data item as double.
10596
10597 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10598
10599 * doc/conf/meta-data.xml: Recommend fixations for computed discharge
10600 curve outs, minor refactoring of dc conf.
10601
10602 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10603
10604 * doc/conf/conf.xml: Added wqinterpol factory to produce
10605 WQKmsInterpolArtifacts.
10606
10607 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10608
10609 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10610 Use StyledSeriesBuilder to add WQ data from WQKms to Series.
10611
10612 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10613
10614 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10615 Handle interpolated WQ data.
10616
10617 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10618
10619 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
10620 Adjusted to similar implementations. Added TODO about merging with
10621 these similar implementations.
10622
10623 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10624
10625 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
10626 Removed logging noise, find better suited rows for interpolation.
10627
10628 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10629
10630 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
10631 Cache WstValueTables that were fetched by wst_id.
10632
10633 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10634
10635 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
10636 (getWstName): Fix and use SQL statement.
10637
10638 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10639
10640 * src/main/java/de/intevation/flys/artifacts/model/WQFacet.java,
10641 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
10642 Added new Facet and Artifact to access W over Q data.
10643
10644 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10645
10646 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
10647 (importData): New function to copy data from one artifact to
10648 another.
10649
10650 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10651
10652 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java
10653 (getTable): New methods to get WstValueTable for given wst_id.
10654 Prepolate Arrays with NaNs.
10655
10656 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10657
10658 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
10659 (getWKmsName): Fix definition.
10660
10661 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10662
10663 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
10664 (getWKmsName): New function. Get name (description) of a WST.
10665
10666 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10667
10668 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10669 Added new "other.wq"/STATIC_WQ Facet-Type, e.g. for fixations in
10670 discharge curves.
10671
10672 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10673
10674 Picky cosmetics.
10675
10676 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java,
10677 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java,
10678 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
10679 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
10680 Cosmetics, docs.
10681
10682 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10683
10684 Added translations for Mosel, Elbe and Saar.
10685
10686 * src/main/resources/messages.properties,
10687 src/main/resources/messages_de_DE.properties,
10688 src/main/resources/messages_en.properties,
10689 src/main/resources/messages_de.properties: Added translations
10690 for Mosel, Elbe, Saar.
10691
10692 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10693
10694 Added new interpolation mechanism to WstValueTable to interpolate
10695 given columns only.
10696
10697 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java
10698 (linearW): New, interpolate a given columns w's between given rows.
10699 (interpolateWQColumnwise): New, interpolate between rows ws at a
10700 given column and km.
10701
10702 2011-11-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10703
10704 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
10705 Minor doc added.
10706
10707 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10708
10709 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
10710 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java,
10711 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
10712 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
10713 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
10714 src/main/java/de/intevation/flys/themes/ThemeFactory.java:
10715 Removed dead ';' from empty bodies.
10716
10717 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10718
10719 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
10720 s/reset/resetQuick/s in TDoubleArrayLists.
10721
10722 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10723
10724 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
10725 Added system properties 'waterlevel' and 'km'. Useful to
10726 init the UI with a given waterlevel and drawing the cross-sections
10727 at the given km.
10728
10729 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
10730 Spliting by NaNs definition holes _should_ work now. Needs
10731 some more testing.
10732 TODOs:
10733 - Use log4j instead of println for logging.
10734 - Subclass XYDifferenceRenderer instead of replacing it totally.
10735
10736 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10737
10738 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
10739 Draw water, too.
10740
10741 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
10742 First code to split datasets by NaNs. WIP.
10743
10744 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10745
10746 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
10747 Draw ground with StableXYDifferenceRenderer.
10748
10749 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
10750 Removed XYDatasetToZeroMapper stuff. Not needed any longer
10751 because we use rendereres on dataset basis now.
10752
10753 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java:
10754 Removed.Not longer needed.
10755
10756 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10757
10758 * doc/conf/meta-data.xml: Include computed discharge curves in dc
10759 conf.
10760
10761 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10762
10763 * doc/conf/meta-data.xml: Somewhat unify user-part of dc config.
10764
10765 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
10766
10767 * doc/conf/themes.xml: Modified some floodmap styles and added a
10768 backgroundcolor attribute to polygon themes.
10769
10770 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
10771 Added support for backgroundcolor.
10772
10773 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse
10774 backgroundcolor from theme document. If a value is given, the
10775 backgroundcolor is set on the Mapserver style.
10776
10777 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
10778
10779 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
10780 Set correct Mapserver attribute name to adjust the width of a line.
10781
10782 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
10783
10784 * doc/conf/themes.xml: Added 'textcolor' and 'textsize' attributes to the
10785 existing 'Kms' theme.
10786
10787 * doc/conf/mapserver/fontset.txt: Defined a 'DefaultFont' that is used as
10788 default font for Mapserver labels.
10789
10790 * doc/conf/mapserver/db_layer.vm: Add a Mapserver LABELITEM if a value is
10791 provided by LayerInfo object.
10792
10793 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added a
10794 getLabelItem() method that returns null as default.
10795
10796 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override
10797 getLabelItem() to return "km" which is the database field that contains
10798 the kilometer information.
10799
10800 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java,
10801 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
10802 Added an attribute labelItem with appropriate getter/setter methods.
10803
10804 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
10805 Splitted up the internal class Clazz. Now, there are two new inner
10806 classes Style and Label that fulfill the appropriate Mapfile sections of
10807 Mapserver.
10808
10809 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Also Read font
10810 attributes and add new Clazz Label for the Mapserver layer.
10811
10812 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the
10813 "labelItem" attribute on the LayerInfo object used to fill DB layer
10814 templates.
10815
10816 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10817
10818 * doc/conf/meta-data.xml: Re-use macros to include more data to
10819 datacage in more situations.
10820
10821 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
10822
10823 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
10824 Removed needless imports.
10825
10826 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
10827
10828 * src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java: New
10829 WMSDBArtifact that creates facets for "fixpoints" relation.
10830
10831 * doc/conf/artifacts/winfo.xml: Registered "floodmap.fixpoints" as valid
10832 "floodmap" facet.
10833
10834 * doc/conf/conf.xml: Registered the new WMSFixpointsArtifact.
10835
10836 * doc/conf/themes.xml: Added a theme for "floodmap.fixpoints".
10837
10838 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10839 Facet type "floodmap.fixpoints".
10840
10841 * doc/conf/meta-data.xml: Made "floodmap.fixpoints" available via datacage.
10842
10843 * src/main/resources/messages.properties,
10844 src/main/resources/messages_de_DE.properties,
10845 src/main/resources/messages_en.properties,
10846 src/main/resources/messages_de.properties: Added titles for
10847 "floodmap.fixpoints" facets.
10848
10849 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10850
10851 * doc/conf/meta-data.xml: Refactored and (re)use macros.
10852
10853 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
10854
10855 * src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java: New
10856 WMSDBArtifact that creates facets for "buildings" relation.
10857
10858 * doc/conf/artifacts/winfo.xml: Registered "floodmap.buildings" as valid
10859 "floodmap" facet.
10860
10861 * doc/conf/conf.xml: Registered the new WMSBuildingsArtifact.
10862
10863 * doc/conf/themes.xml: Added a theme for "floodmap.buildings".
10864
10865 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10866 Facet type "floodmap.buildings".
10867
10868 * doc/conf/meta-data.xml: Made "floodmap.buildings" available via datacage.
10869
10870 * src/main/resources/messages.properties,
10871 src/main/resources/messages_de_DE.properties,
10872 src/main/resources/messages_en.properties,
10873 src/main/resources/messages_de.properties: Added titles for
10874 "floodmap.buildings" facets.
10875
10876 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
10877
10878 * src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java: New
10879 WMSDBArtifact that creates facets for "lines" relation.
10880
10881 * doc/conf/artifacts/winfo.xml: Registered "floodmap.lines" as valid
10882 "floodmap" facet.
10883
10884 * doc/conf/conf.xml: Registered the new WMSLineArtifact.
10885
10886 * doc/conf/themes.xml: Added a theme for "floodmap.lines".
10887
10888 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10889 Facet type "floodmap.lines".
10890
10891 * doc/conf/meta-data.xml: Made "floodmap.lines" available via datacage.
10892
10893 * src/main/resources/messages.properties,
10894 src/main/resources/messages_de_DE.properties,
10895 src/main/resources/messages_en.properties,
10896 src/main/resources/messages_de.properties: Added titles for facets.
10897
10898 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10899
10900 * doc/conf/meta-data.xml: Adjusted DC configuration to
10901 also allow heightmarks and base data in discharge longitudinal
10902 sections. Minor refac.
10903
10904 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10905
10906 * doc/conf/meta-data.xml: Adjusted DC configuration to let old
10907 calculations be available for discharge longitudinal sections.
10908
10909 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10910
10911 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
10912 Handle other WQKm and WKm Facets.
10913
10914 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10915
10916 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java
10917 (IS): New inner class with static method to allow queries whether
10918 a type belongs to a however-defined "group".
10919
10920 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10921
10922 * doc/conf/conf.xml: Reverted accidental commit.
10923
10924 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation
10925 for discharge longitudinal sections.
10926
10927 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10928
10929 * doc/conf/conf.xml: Reverted accidental commit.
10930
10931 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation
10932 for discharge longitudinal sections.
10933
10934 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10935
10936 Made discharge longitudinal section out compatible with annotations.
10937
10938 * doc/conf/artifacts/winfo.xml: Added facets to compatibility list
10939 for discharge longitudinal section outs.
10940
10941 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10942
10943 Extracted Annotations-Macro in dc conf, recommend Annotations for
10944 discharge longitudinal sections. (Note correction two commits later).
10945
10946 * doc/conf/conf.xml: Extracted annotations-macro, add recommendation
10947 for discharge longitudinal sections.
10948
10949 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10950
10951 Handle Annotations in DischargeLongitudinalSection diagrams.
10952
10953 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
10954 Call doAnnotations for LONGITUDINAL_ANNOTATION facets.
10955
10956 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10957
10958 Resolve code duplicate.
10959
10960 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
10961 (doAnnotationsOut): Removed duplicate code.
10962 Theoretically handle WQKMS data.
10963
10964 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
10965 Adjusted call to doAnnotationOut.
10966
10967 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
10968 (doAnnotations): Doc from LongitudinalSectionGenerator.
10969
10970 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10971
10972 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
10973 Include exception when logging issue with spline creation.
10974
10975 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10976
10977 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
10978 When during XPath evaluation an exception is thrown, log the
10979 expression that caused the trouble.
10980
10981 2011-11-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10982
10983 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
10984 Use separate XYDataset for each curve. This is needed because
10985 "Raum/Flaeche" needs specialized renderers, which are not compatible
10986 with the standard renderers.
10987
10988 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
10989 Removed superfluous import.
10990
10991 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
10992
10993 * src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java: New
10994 Artifact that is used to create WMS layers for floodplains in maps.
10995
10996 * doc/conf/conf.xml: Registered the new WMSFloodplainArtifact.
10997
10998 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10999 a new type 'floodmap.floodplain'.
11000
11001 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.floodplain' facet
11002 for floodmaps.
11003
11004 * doc/conf/themes.xml: Added a theme for 'floodmap.floodplain' facets.
11005
11006 * doc/conf/meta-data.xml: Added configuration for 'floodplain'.
11007
11008 * src/main/resources/messages.properties,
11009 src/main/resources/messages_de_DE.properties,
11010 src/main/resources/messages_en.properties,
11011 src/main/resources/messages_de.properties: Added facet titles for
11012 'floodmap.floodplain' facets.
11013
11014 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
11015
11016 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java: New
11017 Artifact that is used to create WMS layers for catchments in maps.
11018
11019 * doc/conf/conf.xml: Registered the new WMSCatchmentArtifact.
11020
11021 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
11022 a new type 'floodmap.catchment'.
11023
11024 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.catchment' facet
11025 for floodmaps.
11026
11027 * doc/conf/themes.xml: Added a theme for 'floodmap.catchment' facets.
11028
11029 * doc/conf/meta-data.xml: Added configuration for 'catchments'.
11030
11031 * src/main/resources/messages.properties,
11032 src/main/resources/messages_de_DE.properties,
11033 src/main/resources/messages_en.properties,
11034 src/main/resources/messages_de.properties: Added facet titles for
11035 'floodmap.catchment' facets.
11036
11037 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
11038
11039 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: New
11040 Artifact that is used to create WMS layers for flood protected works.
11041
11042 * doc/conf/conf.xml: Registered the new WMSHwsArtifact.
11043
11044 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
11045 a new type 'floodmap.hws'.
11046
11047 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.hws' facet for
11048 floodmaps.
11049
11050 * doc/conf/themes.xml: Added a theme for 'floodmap.hws' facets.
11051
11052 * doc/conf/meta-data.xml: Added configuration for 'hws'.
11053
11054 * src/main/resources/messages.properties,
11055 src/main/resources/messages_de_DE.properties,
11056 src/main/resources/messages_en.properties,
11057 src/main/resources/messages_de.properties: Added facet titles for
11058 'floodmap.hws' facets.
11059
11060 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
11061
11062 * doc/conf/mapserver/dbconnection.include: Removed. DB connections are
11063 supported by LayerInfo objects now. So, we do not need to configure it any
11064 more.
11065
11066 * doc/conf/mapserver/db_layer.vm: The database connection is provided by
11067 LayerInfo objects. The "INCLUDE dbconnection.include" has been replaced.
11068
11069 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: The inner
11070 State class got two new methods that provide information about db
11071 connection string and connection type.
11072
11073 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java,
11074 src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Both
11075 classes support getter/setter for connection and connectionType.
11076
11077 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Fill
11078 LayerInfo objects used to create DB layers with the connection and
11079 connection type provided by WMSDBLayerFacet.
11080
11081 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11082
11083 Allow height marks with points style in w-differences diagrams.
11084
11085 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11086 Handle HEIGHTMARKS_POINTS facets.
11087
11088 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11089
11090 Made Q Duration curve initially inactive.
11091
11092 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
11093 (getInitialFacetActivity): Return 0 for DURATION_Q facets. Minor
11094 cosmetics.
11095
11096 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11097
11098 Recommend mainvalues for Duration Curve Diagrams.
11099
11100 * doc/conf/meta-data.xml: Recommend mainvalues for duration curve
11101 diagrams. refactored into macro.
11102
11103 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11104
11105 Handle MainValue Facets in Duration Curve Diagrams.
11106
11107 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
11108 Handle MainValues.
11109
11110 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
11111 Adjusted to call doAnnotations.
11112
11113 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11114
11115 Move do*Annotation* (like mainvalue) in XYChartGenerator.
11116
11117 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
11118 (doAnnotations): New, moved from DischargeCurveGenerator.
11119
11120 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java
11121 (doMainValueAnnotations): Moved to superclass.
11122
11123 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11124
11125 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
11126 Removed duplicate code.
11127
11128 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11129
11130 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
11131 (): Minor cosmetics, added stability.
11132 (getInitialFacetActivity): Let facets be inactive in duration curve
11133 diagrams.
11134
11135 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11136
11137 * doc/conf/artifacts/winfo.xml: Allow other.wqkms facets in many
11138 outputs, mainvalues in duration curves.
11139
11140 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
11141
11142 * doc/conf/mapserver/dbconnection.include: Adapted connection params for
11143 using an oracle database.
11144
11145 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
11146 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
11147 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
11148 Added Oracle support for Mapserver's DATA attribute. Oracle doesn't allow
11149 a "USING UNIQUE id" string in this attribute which is required by Postgis.
11150
11151 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
11152 Modified the geometry type of "talaue.shp" from MultiPolygon to Polygon.
11153
11154 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
11155 which returns true, if the backend uses an Oracle db instance. Otherwise,
11156 it returns false.
11157
11158 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11159
11160 Fix flys/issue406 (Themestyle-editor: themes for "other.wkms" and
11161 "other.wqkms" missing)
11162
11163 * doc/conf/themes.xml: Fixed typos in WKms and WQKms theme names.
11164
11165 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11166
11167 Fix flys/issue405 (Datacage: Recommendations get loaded twice).
11168
11169 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java
11170 (setup): Do not try/catch exception.
11171 (spawn_state): Generate just one "general" output.
11172
11173 2011-11-08 Ingo Weinzierl <ingo@intevation.de>
11174
11175 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
11176 Added a log.warn() which prints out an exception - previously it was
11177 just skipped.
11178
11179 2011-11-08 Ingo Weinzierl <ingo@intevation.de>
11180
11181 * doc/conf/meta-data.xml: Removed orphaned datacage configuration which is
11182 no longer loadable.
11183
11184 2011-11-07 Ingo Weinzierl <ingo@intevation.de>
11185
11186 * doc/conf/conf.xml: Added an "post-describe" hook which is necessary to
11187 load recommendations for "floodmaps".
11188
11189 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11190
11191 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java
11192 (loadRows, loadColumns, loadQRanges): Refactored in preparation to
11193 ability to create WstValueTables for given wst_id and
11194 column_pos (interpolation for static data).
11195
11196 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11197
11198 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
11199 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
11200 Minor, picky cosmetics.
11201
11202 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java:
11203 Removed junk.
11204
11205 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
11206 Added documentation.
11207
11208 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11209
11210 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11211 Be more specific in what to catch.
11212
11213 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
11214
11215 * doc/conf/meta-data.xml: Added the CrossSectionTracks to the "floodmap"
11216 datacage configuration.
11217
11218 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
11219 FacetType "floodmap.qps".
11220
11221 * doc/conf/conf.xml: Defined an ArtifactFactory for the "wmspqsartifact"
11222 string. The factory will create new instances of WMSQPSArtifact.
11223
11224 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java: New. This
11225 Artifact is used to create "floodmap.qps" facets. It has an internal fixed
11226 State WMSQPSState.
11227
11228 * doc/conf/artifacts/winfo.xml: Added the "floodmap.qps" layer to the
11229 "floodmap" output.
11230
11231 * doc/conf/themes.xml: Added a theme for "floodmap.qps" facets.
11232
11233 * src/main/resources/messages.properties,
11234 src/main/resources/messages_de_DE.properties,
11235 src/main/resources/messages_en.properties,
11236 src/main/resources/messages_de.properties: Added strings for the QPS WMS
11237 layer used in floodmaps.
11238
11239 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11240
11241 Re-enable mainvalue-recommendations for computed discharge curves,
11242 as the NPE should be gone.
11243
11244 * doc/conf/meta-data.xml: Uncomment mainvalue recommendations.
11245
11246 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11247
11248 When querying metadata/datacage, use only output-names of outputs that
11249 actually exists (in the sense of having facets).
11250
11251 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
11252 Get output names from artifact, not from state.
11253
11254 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
11255
11256 * doc/conf/meta-data.xml: Removed DEMs from floodmap configuration,
11257 because we are not able to draw DEMs into maps.
11258
11259 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
11260
11261 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
11262 Subclasses WMSDBArtifact now and defines an inner class RiverAxisState
11263 which subclasses WMSDBState.
11264
11265 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
11266 Removed. The RiverAxisState is an inner class of RiverAxisArtifact now
11267 which subclasses WMSDBState.
11268
11269 * doc/conf/artifacts/riveraxis.xml: Removed, because the RiverAxisArtifact
11270 has a fixed static State only.
11271
11272 * doc/conf/conf.xml: Removed riveraxis.xml definition.
11273
11274 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11275
11276 For a Flys-Collection, add outputt to attributes-part of describe
11277 document only if they contain facets. -> Prevent empty output nodes
11278 in flys-collections outputs.
11279
11280 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
11281 (writeFacets): Added return type to indicate whether any facet was
11282 written. Decide whether to add an output-node depending on this
11283 return value.
11284
11285 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
11286
11287 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Create
11288 line and polygon layers for barriers only if they are really existing.
11289
11290 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11291
11292 Disable mainvalue-recommendations for discharge curves as they trigger
11293 a yet-to-be understood NPE.
11294
11295 * doc/conf/meta-data.xml: Comment mainvalue-recommendations for
11296 discharge curves.
11297
11298 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11299
11300 Added new matching condition for theme-mappings: the name of
11301 the output.
11302
11303 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
11304 Added output field and function to match it against a given
11305 output name.
11306
11307 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
11308 Createing ThemeMapping with output attribute from configuration.
11309
11310 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
11311 (getTheme(FLYSContext, string)): Removed, never called.
11312 (getTheme): Added outputName argument, match it.
11313
11314 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11315 Pass outputs name until it can be matched against mapping.
11316
11317 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11318
11319 * doc/conf/themes.xml: Added default themes for other.w(q)kms.
11320
11321 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11322
11323 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11324 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
11325 Cosmetics, reduce logging noise.
11326
11327 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11328
11329 Added access to static W_Q_Kms - data in much the same way then static
11330 WKms.
11331
11332 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java:
11333 Cache Key for static wqkms data.
11334
11335 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java:
11336 Facet for WQKms.
11337
11338 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java:
11339 Factory to access WQKms.
11340
11341 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
11342 Artifact that provides 'static' WQKms.
11343
11344 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
11345 Added STATIC_WQKMS type.
11346
11347 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11348
11349 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java:
11350 New. Maps series to zero to be compatible with XYDifferenceRenderer.
11351 It returns an iterator over XYDatasets to enable splitting by NaNs,
11352 which still needs to be implemented.
11353
11354 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
11355 Uses a XYDatasetToZeroMapper now. Fixed package name.
11356
11357 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11358
11359 Added new matching options for theme-mappings to allow more
11360 overspecification of defaults (e.g. now name,description-pattern and
11361 master-artifacts attributes are matched). The first full match from
11362 the configuration file is done.
11363 New matching option in the masterAttr- field of a mapping are
11364 super-basic until new use-cases come up.
11365 Concrete new themes are point-styles of Ws when locations where chosen
11366 to calculate.
11367
11368 * doc/conf/themes.xml: Added newly defined Themes.
11369
11370 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11371 Put master-artifact in flys-context.
11372
11373 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
11374 Accept masterAttr in constructor.
11375 (masterAttrMatches): New, check masterAttr-condition against
11376 artifact.
11377
11378 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
11379 When creating ThemeMappings, pass in masterAttr.
11380
11381 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
11382 (getTheme): Evaluate masterAttr-condition, always return first full
11383 match.
11384
11385 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11386
11387 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
11388 Added ARTIFACT key, documentation.
11389
11390 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11391
11392 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
11393 New. At the moment a pure copy of JFreeChart's XYDifferenceRenderer.
11394 Needs to be refactored to cope with its limitations:
11395
11396 - Series numbers need to be zero based. We have more than two series
11397 in our diagrams.
11398
11399 - Cannot handle definition holes indicated by NaNs. We have these
11400 cases e.g. more than one "Fliessbereich".
11401
11402 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11403
11404 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
11405 Reenabled dumping data to disk.
11406
11407 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11408
11409 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
11410 Removed superfluous import.
11411
11412 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11413
11414 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
11415 Use new pair in stack of results and connections because they are
11416 always used in pairs. Maintaining two separate stacks is not
11417 needed any longer.
11418
11419 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11420
11421 * src/main/java/de/intevation/flys/utils/Pair.java: New. A generic pair.
11422
11423 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
11424 Rewritten to useful as test bed for "Raum/Flaeche" operations.
11425
11426 2011-11-02 Ingo Weinzierl <ingo@intevation.de>
11427
11428 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added
11429 setter methods for all parameters and removed the constructors. There is
11430 just an empty constructor - all parameters need to be set via setter
11431 methods.
11432
11433 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified the
11434 creation of LayerInfo objects.
11435
11436 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java:
11437 Removed, because the internal structure and constructors of LayerInfo have
11438 changed, so that we gonna use LayerInfo for all layers now.
11439
11440 * doc/conf/themes.xml: Modified the color definitions of
11441 'floodmap.riveraxis' and 'floodmap.kms' themes and added a 'symbol' field
11442 to 'floodmap.kms'.
11443
11444 * doc/conf/mapserver/symbols.sym,
11445 doc/conf/mapserver/fontset.txt: New. Required by Mapserver.
11446
11447 * doc/conf/mapserver/db_layer.vm: Added an 'EXTENT' field that is filled
11448 using LayerInfo.getExtent().
11449
11450 * doc/conf/mapserver/mapfile.vm: Modified FONTSET directory and added a
11451 SYMBOLSET.
11452
11453 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added an
11454 abstract method getGeometryType().
11455
11456 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override
11457 getGeometryType() of WMSDBArtifact. This Artifact provides "POINT"s.
11458
11459 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
11460 Create new WMSDBLayerFacets with geometry type "LINE".
11461
11462 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
11463 Added a 'geometryType' attribute and getter/setter methods. This attribute
11464 determines the type of geometry provided by this database wms layer. Types
11465 could be "POLYGON", "POINT", "LINE" and so on.
11466
11467 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
11468 Added a 'symbol' attribute to the inner class Clazz.
11469
11470 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a function to
11471 parse the symbol field of a theme. This symbol is used for
11472 MapserverStyle.Clazz.
11473
11474 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11475
11476 Apply point theme to heightmarks when imported in longitudinal
11477 section diagram.
11478
11479 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
11480 Added new FacetType HEIGHTMARK_POINTS.
11481
11482 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
11483 Allow name to be given in constructor.
11484
11485 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
11486 If heightmarks were loaded, give respective name in WKmsFacet
11487 generation.
11488
11489 * doc/conf/themes.xml: Added virtual "Points" and concrete
11490 heightmark_points - theme.
11491
11492 * doc/conf/artifacts/winfo.xml: Made longitudinal_section output
11493 compatible with heightmarks_points.
11494
11495 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11496 Render heightmarks like other wkms.
11497
11498 * doc/conf/meta-data.xml: Changed heightmark ids such that it can be
11499 identified in StaticWKmsFacet .
11500
11501 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11502
11503 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
11504 Documentation added.
11505
11506 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11507
11508 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
11509 Fix bug where (wrong) active-attribute was set, doc.
11510
11511 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11512
11513 Refactoring to allow mainvalues in both discharge and computed
11514 discharge curve diagrams.
11515
11516 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
11517 (addPointsQW): New helper function.
11518
11519 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11520 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
11521 Moved doMainValueQAnnotations, doMainValueWAnnotations from child-
11522 to parent-class, extracetd doDischargeOut. Use
11523 StyledSeriesBuilder.addPointsQW .
11524
11525 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11526
11527 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
11528 Removed logger/debugging noise.
11529
11530 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11531
11532 1) Pass outputs name to artifacts getInitialFacetActivity().
11533 2) Do not allow "gaps" in positions of facets in outputs in attributes
11534 of collection (prevent e.g. positions 1,3,5; will become 1,2,3
11535 instead).
11536
11537 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
11538 Pass outputname to artifacts getInitialFacetActivity(), prevent
11539 gaps in facets positions in outputs (1,3,10 become 1,2,3).
11540
11541 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11542
11543 1) Give Artifacts information about the out when they have to decide
11544 whether a given facet is initially in/active by adding parameter
11545 to getInitialFacetActivity(+outputName).
11546 2) Generate separate Set of MainValueFacets for discharge curves.
11547
11548 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
11549 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11550 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
11551 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
11552 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11553 (getInitialFacetActivity): Adjusted, new parameter outputName.
11554 Added MAINVALUES_{Q,W} definition.
11555
11556 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
11557 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
11558 Accept name in constructor.
11559
11560 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
11561 Create second pair of MainValuesFacets, give distinguishable names.
11562
11563 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11564
11565 Added compatibility of (computed)discharge-curve diagrams with
11566 mainvalues.
11567
11568 * doc/conf/artifacts/winfo.xml: Added mainvalues to compatibility list
11569 of (computed) discharge curve outputs. These facet-definitionss can
11570 differ in names because we can can have up to 4 mainvalue facets in
11571 one state.
11572
11573 2011-11-01 Ingo Weinzierl <ingo@intevation.de>
11574
11575 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Determine
11576 the extent of such WMS layer based on the list of RiverAxisKm objects
11577 returned by the backend.
11578
11579 2011-11-01 Ingo Weinzierl <ingo@intevation.de>
11580
11581 * doc/conf/meta-data.xml: Added a datacage node that represents a
11582 kilometer WMS layer.
11583
11584 * doc/conf/conf.xml: Added a new Artifact WMSKmArtifact.
11585
11586 * doc/conf/themes.xml: Added a style for 'floodmap.kms' facets.
11587
11588 * doc/conf/artifacts/winfo.xml: Defined 'floodmap.kms' as valid floodmap
11589 facet.
11590
11591 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
11592 a 'floodmap.kms' facet.
11593
11594 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method to
11595 determine the srid of a river based on its name.
11596
11597 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: New. This
11598 Artifact should act as base Artifact for WMS layers that represent data
11599 from database datastore.
11600
11601 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: New. This
11602 Artifact is used to generate facets for kilometer WMS layers.
11603
11604 * src/main/resources/messages.properties,
11605 src/main/resources/messages_de_DE.properties,
11606 src/main/resources/messages_en.properties,
11607 src/main/resources/messages_de.properties: Added default descriptions
11608 for 'floodmap.kms' facets.
11609
11610 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11611
11612 Fix incompilability.
11613
11614 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
11615 Adjust to changed CrossSectionFacet.
11616
11617 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11618
11619 Minor preparations to handle multiple cross sections in one
11620 diagram/artifact, faking certain aspects (e.g. ability to display
11621 multiple cross sections, but let these fetch the exactly same data
11622 for now).
11623
11624 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
11625 Parameterize but fake access to cross-section (always take first
11626 one).
11627 (getCrossSectionName,getCrossSectionNames): Renamed, access names
11628 of all cross-sections, so that at least facets with different names
11629 are created (they will still deliver the same data).
11630
11631 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
11632 Allow indexing.
11633
11634 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
11635 Index created cross-sections.
11636
11637 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11638
11639 Show multiple water lines and facets in cross-section diagram if
11640 multiple waterlevel values had been entered.
11641
11642 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
11643 (appendBackgroundActivity): Made static.
11644 (getWaterLines): Add 'idx' argument to specify index of queried
11645 waterlevel.
11646
11647 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
11648 Add index.
11649
11650 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
11651 Add one Facet for each of the computed waterlevels.
11652
11653 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11654
11655 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
11656 Added code to calculate intersection points.
11657
11658 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
11659 Added polygons for trivial cases. WIP
11660
11661 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11662
11663 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
11664 Made it compilable again.
11665
11666 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11667
11668 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
11669 Made X() and Y() access macros public.
11670
11671 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
11672 More code. WIP.
11673
11674 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11675
11676 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
11677 Handle start points when building polygons. Work in progress.
11678
11679 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11680
11681 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
11682 New. Vector operations on Point2D.
11683
11684 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
11685 Moved vector operations to VectorUtils.
11686
11687 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11688
11689 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
11690 Do not call size() in for loop again and again.
11691
11692 2011-10-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11693
11694 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
11695 Interim check in. Work in progress.
11696
11697 2011-10-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11698
11699 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: New.
11700 Polygon class to help creating "Raum/Flaeche" renderers with gaps in
11701 their definitions. WORK IN PROGRESS!
11702
11703 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11704
11705 * doc/conf/themes.xml: Added a default theme for the riveraxis used in the
11706 floodmap.
11707
11708 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
11709 New. This class is used by ThemeUtil to create a style which is
11710 compatible for Mapserver-
11711
11712 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a method to
11713 retrieve a Mapserver compatible style (as string) based on a given
11714 Document (that comes from CollectionItem's attribute).
11715
11716 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java:
11717 Implemented the setStyle() and getStyle() methods.
11718
11719 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a
11720 new parameter 'style' to createDatabaseLayer(). This parameter is set on
11721 LayerInfo.
11722
11723 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create
11724 Mapserver compatible styles and call createDatabaseLayer() with this
11725 style.
11726
11727 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11728
11729 * doc/conf/artifacts/winfo.xml: Defined "floodmap.riveraxis" and
11730 "floodmap.wmsbackground" as compatible layers for the floodmap output.
11731
11732 * doc/conf/mapserver/db_layer.vm: New. This layer template is used for
11733 Mapserver layers with database datastore.
11734
11735 * doc/conf/mapserver/dbconnection.include: New. The database configuration
11736 used in the db_layer template.
11737
11738 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
11739 getUserWMSUrl() that returns the URL to the user specific WMS server.
11740 This method requires a UUID of an Artifact to identify the owner of the
11741 Artifact.
11742
11743 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Use
11744 FLYSUtils.getUserWMSUrl() to create the URL to the user WMS for
11745 WMSLayerFacets creation.
11746
11747 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
11748 New. Subclasses WMSLayerFacet to save data and filter parameters used
11749 for database storage in Mapfiles.
11750
11751 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java: New.
11752 Subclasses LayerInfo to save database relevant parameters.
11753
11754 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
11755 Creates new WMSDBLayerFacets, so that the riveraxis layer data is
11756 fetched from database.
11757
11758 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a
11759 public method that allows creating layers (type LINE) based on
11760 WMSDBLayerFacets.
11761
11762 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Enabled
11763 support for Facets other than "floodmap.wsplgen" and "floodmap.barriers".
11764 Those other Facets are supposed to be WMSDBLayerFacets.
11765
11766 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11767
11768 Refactored, added StyledSeriesBuilder to unify adding points to
11769 XYSeries.
11770
11771 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
11772 New class to help with adding points to XYSeries.
11773
11774 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11775 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11776 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11777 Use StyledSeriesBuilder to add points to series.
11778
11779 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11780
11781 Added DC-conf, such that static data can be loaded from w-difference
11782 diagrams datacage.
11783
11784 * doc/conf/meta-data.xml: Minor "refactoring" (definition of two
11785 macros, allow certain static data to be loaded via datacage to
11786 w-difference diagrams, too.
11787
11788 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11789
11790 Load and display annotations in w-differences, minor polishing.
11791
11792 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
11793 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11794 Use FacetType 'instead' of string. Allow Annotations in
11795 WDifferences- diagram.
11796
11797 * doc/conf/meta-data.xml: Recommend annotations in w-differences case.
11798
11799 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11800
11801 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
11802 Survive case where a given output doesnt exist in compatibility
11803 matrix.
11804
11805 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11806
11807 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
11808 Added simpler constructor.
11809
11810 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11811 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
11812 Adjusted construction of StaticStates.
11813
11814 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11815
11816 * doc/conf/artifacts/winfo.xml: Allow Annotations in longitudinal and
11817 w-differences diagrams.
11818
11819 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11820
11821 Use artifacts configuration (e.g. winfo.xml) to define which facets
11822 can be used in which output. Hide no-matches.
11823
11824 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
11825 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11826 Added use of "compatibility matrix". Only include facets in in
11827 collections description document that are marked compatible in the
11828 masterartifacts configuration (e.g. winfo.xml).
11829
11830 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11831
11832 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
11833 (mergeAttributes, getMasterArtifact): Extraced, updated caller.
11834 Cosmetics to reduce indentation one step.
11835
11836 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11837
11838 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java
11839 (getStateHistoryIds): New, return list of current and all previous
11840 state ids.
11841
11842 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11843
11844 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
11845 Trigger the re-creation of FLYS mapfile if endOfLife() of this state is
11846 called.
11847
11848 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11849
11850 * doc/conf/mapserver/mapfile.vm: The "layers" injected by VelocityEngine is
11851 now used to include layers. A single string in this list represents the
11852 path to a file which contains a LAYER section for Mapserver' Mapfile.
11853
11854 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Removed the
11855 update() call of MapfileGenerator. Mapfiles are generated by MapGenerator
11856 only which requires a FLYSArtifactCollection.doOut()!
11857
11858 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Call update()
11859 of MapfileGenerator to trigger the re-creation of mapfile(s).
11860
11861 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Collect all
11862 LAYER snippets from filesystem and inject the filepath for each snippet
11863 into the Mapfile template.
11864
11865 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11866
11867 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
11868 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java,
11869 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11870 Cosmetics, doc.
11871
11872 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11873
11874 Let OutputParser and AttributeParser collect all facets on the way.
11875
11876 * src/main/java/de/intevation/flys/collections/OutputParser.java,
11877 src/main/java/de/intevation/flys/collections/AttributeParser.java:
11878 Collect all facets while iterating over Outputs and Attributes,
11879 documentation added.
11880
11881 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11882
11883 Extracted getFlysContext from FLYSArtifacts into FLYSUtils.
11884
11885 * src/main/java/de/intevation/flys/utils/FLYSUtils.java
11886 (getFlysContext): Added, extracted from FLYSArtifact.
11887
11888 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11889 (getFlysContext): Moved to FLYSUtils, updated callers.
11890
11891 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
11892 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
11893 Update callers to getFlysContext.
11894
11895 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11896
11897 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Bugfix:
11898 Catch IOException - flys-artifacts compiles again.
11899
11900 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11901
11902 * doc/conf/artifacts/winfo.xml: Defined "floodmap.barriers" as valid facet
11903 for floodmaps.
11904
11905 * doc/conf/mapserver/shapefile_layer.vm: New. Currently a copy of
11906 layer.vm. This template will evolve to a special mapserver layer
11907 template with a shapefile data source.
11908
11909 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Fixed broken
11910 facet name of barriers.
11911
11912 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added
11913 public methods for creating wsplgen and barriers layer files for
11914 mapserver.
11915
11916 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Use
11917 MapfileGenerator to create new layer files for wsplgen and barriers.
11918
11919 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11920
11921 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new
11922 method gerRiverBoundary() which returns an Envelope object (which
11923 represents the bounding box of a Geometry) of a riveraxis specified by its
11924 rivername.
11925
11926 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: Use
11927 Geometry.getRiverBoundary() to determine the max extent of a river.
11928
11929 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
11930 src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Use
11931 JTS Envelope to save the bounding boxes of WMS layers.
11932
11933 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
11934 Adapted the code to apply the changes in GeometryUtils (use Envelope to
11935 determine the max extent of the river axis).
11936
11937 * src/main/java/de/intevation/flys/exports/MapGenerator.java: New (work in
11938 progress). This Generator will currently return a map configuration in XML
11939 which consists of parameters required by OpenLayers to create a map.
11940
11941 * doc/conf/conf.xml: Registered the new MapGenerator.
11942
11943 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11944
11945 * doc/conf/meta-data.xml: Do not recommend historical data to load
11946 when having computational discharge curves.
11947
11948 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11949
11950 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11951 Reduce noise, given "error" message was more of "debug" nature.
11952
11953 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11954
11955 Restore mapping of state id to facets (essentially revert, revision
11956 3083 and 3088).
11957
11958 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
11959 (getInitialFacetActivity): Be more explicit on which facets to
11960 introduce inactivated.
11961
11962 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11963 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
11964 Minor refactoring, declare a string final static.
11965
11966 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
11967 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java,
11968 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11969 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
11970 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
11971 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
11972 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
11973 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
11974 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11975 Restore association from state id to facets.
11976
11977 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11978
11979 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
11980 src/main/java/de/intevation/flys/collections/OutputParser.java:
11981 Cosmetics, documentation.
11982
11983 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11984
11985 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11986 Prepare rendering of "other/static wkms" (functional) and
11987 w-differences (not yet fully functional).
11988
11989 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11990
11991 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
11992 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11993 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
11994 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11995 Cosmetics.
11996
11997 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11998
11999 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
12000 Do not store facets in a map from stateId to list of facets, but in
12001 a pure list instead.
12002
12003 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12004
12005 * doc/conf/artifacts/winfo.xml: Adjusted to newer semantics,
12006 minor cleanups.
12007
12008 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12009
12010 Resolve association of facets to states in artifacts. This eases
12011 merging of outputs and facets and inhibition of unwanted outputs
12012 substiantially (at the price of slightly more expensive merging).
12013 Also, the semantics of artifacts configuration files (e.g. winfo.xml)
12014 is changed (facet elements within an output elements are used for
12015 merging).
12016
12017 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
12018 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java,
12019 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
12020 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
12021 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
12022 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
12023 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
12024 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12025 Do not store facets in a map from stateId to list of facets, but in
12026 a pure list instead.
12027
12028 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12029
12030 * doc/conf/meta-data.xml: Added dc configuration for some data
12031 that can be loaded from longitudinal section diagrams.
12032
12033 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12034
12035 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12036 Cosmetics, docs.
12037
12038 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12039
12040 Let Qs in Longitudinal Diagram be inactive, initally.
12041
12042 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12043 (getInitialFacetActivity): Do not let Facets ending with a 'q'
12044 enter in active state.
12045
12046 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12047
12048 * doc/conf/meta-data.xml: Fix broken datacage config.
12049
12050 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12051
12052 * doc/conf/meta-data.xml: Configured to include correct id to
12053 clone artifact that produces w-diff.
12054
12055 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12056
12057 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
12058 Revert correct behaviour of Annotations (the small axis tick shall
12059 always be drawn). Minor refactoring.
12060
12061 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12062
12063 * doc/conf/meta-data.xml: Added configuration to include differences
12064 in datacage when longitudinal sections are shown (yet not
12065 functional).
12066
12067 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12068
12069 * doc/conf/meta-data.xml: Cosmetics.
12070
12071 2011-10-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12072
12073 * doc/conf/themes.xml: Added theme for w_differences facets.
12074
12075 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java
12076 (createSecondAxisRange): Survive parameter-nullness for now.
12077 Added documentation.
12078
12079 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12080
12081 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
12082 New. Caching wrapper around an XML document theme. It uses ThemeUtil
12083 to access the values and stores them in instance variable.
12084 Background: ThemeUtil use XPath a lot which is expensive.
12085
12086 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java,
12087 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12088 Use ThemeAccess to style the annotations.
12089
12090 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
12091 Removed some XPath strings. They are in ThemeUtil.
12092
12093 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
12094
12095 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
12096 Added methods to parse further attributes.
12097
12098 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
12099 Apply the theme attributes and use ThemeUtils to get the attribute values.
12100
12101 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
12102 Removed the spamy debug output.
12103
12104 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12105
12106 To obtain the size of a diagram it is rendered twice. The
12107 second time the generated image is omitted so the concrete
12108 rendered image is not needed. To save CPU cycles in this pass
12109 the image is rendered to to /dev/null Graphics2D object.
12110
12111 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
12112 Added boolean system property "info.rendering.nop.graphics" (default: false).
12113 With this property set the info rendering is done via a new
12114 NOPGraphics2D opbject which does not render the image.
12115
12116 * src/main/java/de/intevation/flys/java2d/NOPGraphics2D.java:
12117 New. Implements java.awt.Graphics2D trivial empty methods.
12118 This prevents rendering.
12119
12120 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
12121 Commented out spamy debug output
12122
12123 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
12124
12125 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
12126 Draw the text background and use orientation attribute.
12127
12128 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
12129
12130 * doc/conf/themes.xml:
12131 Renamed 'textbackground' to 'backgroundcolor' to have 'color' in the
12132 attribute name.
12133
12134 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
12135 Process text attributes correctly.
12136
12137 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12138
12139 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
12140 New. Service to lookup the Nth nearest neighbors for a set of given
12141 cross section ids and kms.
12142
12143 * doc/conf/conf.xml: Registered service.
12144
12145 * doc/conf/cache.xml: Cache config.
12146
12147 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
12148 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12149 Removed superfluous imports.
12150
12151 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
12152
12153 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
12154 Added methods to extract further attributes from theme.
12155
12156 2011-10-20 Ingo Weinzierl <ingo@intevation.de>
12157
12158 * doc/conf/themes.xml: Added main value themes for longitudinal section
12159 charts.
12160
12161 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: New. This
12162 class stores the name of a facet, the related theme and a pattern
12163 string.
12164
12165 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
12166 Read the pattern string and store a list of ThemeMapping objects in the
12167 FLYSContext.
12168
12169 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Modified
12170 getTheme() which now takes the FLYSContext, the name of a facet and an
12171 optional pattern string. Now, we can have specialized Themes for each
12172 chart type. E.g. the facet "longitudinal_section.w" maps the default
12173 Theme for W lines in longitudinal section charts. If the optional
12174 pattern string matches the pattern ".*(HQ1000)(\D.*)*", the ThemeFactory
12175 will return the Theme "LongitudinalSectionW_HQ1000".
12176
12177 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12178 Use the description of a facet as pattern string to get the relevant
12179 Theme from ThemeFactory.
12180
12181 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
12182
12183 * doc/conf/themes.xml:
12184 Added new theme attributes.
12185
12186 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12187
12188 Fix WDifference plots where masterartifact has no range set.
12189
12190 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12191 (addSubtitles): Overridden, the master artifact has no
12192 range.
12193
12194 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12195
12196 Fix masterartifact in collections in cases where the original
12197 masterartifacts facets do not come first in certain list. Query
12198 'backend'/db instead.
12199
12200 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12201 Set 'real' master artifact, defined to be oldest belonging to this
12202 collection.
12203
12204 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
12205
12206 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
12207 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java,
12208 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
12209 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12210 Modified the method signature of createStaticData() which now also
12211 requires a FLYSArtifact.
12212
12213 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
12214 Override createStaticData() to create titles for Qs manually - we want
12215 to display the named main values if existing for the selected Qs.
12216
12217 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de>
12218
12219 * doc/conf/themes.xml:
12220 ComputedDischargeCurveW and ComputedDischargeCurveQ inherit attributes from
12221 theme 'Text'.
12222
12223 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12224
12225 Fix for flys/issue316
12226
12227 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added
12228 constructor to not sort the data.
12229
12230 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
12231 Use the not sorting constructor of StyledXYSeries.
12232
12233 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
12234
12235 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12236 moved the code to create WSP W and Q facet names to FLYSUtils.
12237
12238 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New functions for
12239 creating WSP W and Q facet names and for querying a named main value
12240 based on a given gauge and value. The names of W and Q facets will now
12241 depend on the selected Q and Q mode: if the mode is "q at gauge" and a
12242 named value is found for the given value, the facet's name contains the
12243 named value instead of the value itself.
12244
12245 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12246
12247 Fix datacage configuration to let client load ZUS and flood
12248 protections.
12249
12250 * doc/conf/meta-data.xml: Use 'ids' instead of 'id' to help client.
12251
12252 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de>
12253
12254 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
12255 Added methods to parse text attributes from theme document.
12256
12257 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
12258 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
12259 Apply a theme to axis annotations.
12260
12261 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12262
12263 Create (data) Label from data string (client will be adjusted to send
12264 the name).
12265
12266 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12267 Create label from input data string, documentation added, junk
12268 removed.
12269
12270 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12271
12272 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java(zoom):
12273 Do not crash if no axis is given.
12274
12275 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
12276
12277 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added
12278 getFormat() which extracts the format string from XML request document.
12279
12280 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: Adapted
12281 method signatures of exportImage(), exportSVG() and exportPDF(). All
12282 methods now take a CallContext object which stores extra chart export
12283 parameters.
12284
12285 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12286 Enabled PDF and SVG chart exports based on the "format" string given in
12287 the XML request document.
12288
12289 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12290
12291 Simplify rendereing W(Q)Kms in WDifferencesCurveGenerator.
12292
12293 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12294 (doWOut, doWOut): Simplified.
12295
12296 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12297
12298 Render zus and flood-protections in WDifferences-diagrams.
12299
12300 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12301 Added basic respect of "other.wkms"- facets.
12302
12303
12304 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12305
12306 Adjusted Datacage-Configuration to fetch "extra longitudinal...."
12307 (.zus) - waterlevels in certain case (in system-part).
12308
12309 * doc/conf/meta-data.xml: Adjusted to present extra-kms with
12310 staticwkms factory in certain case.
12311
12312 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de>
12313
12314 * doc/conf/themes.xml:
12315 Added new virtual theme for text with the attributes 'font', 'textcolor'
12316 and 'textsize'.
12317
12318 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12319
12320 Give StaticWKmsArtifacts proper names, and pre-deselect them.
12321
12322 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
12323 (getInitialFacetActivity): Overridden to let facets enter plot
12324 inactively.
12325 (setup): Give Facets the name of the Wst.
12326
12327 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
12328 Refactored to expose getWKmsName separately.
12329
12330 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12331
12332 Adjusted Datacage-Configuration to fetch flood-protections when
12333 waterlevels are requested (in system-part).
12334
12335 * doc/conf/meta-data.xml: Adjusted to present flood-protections with
12336 staticwkms factory in certain case.
12337
12338 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12339
12340 Register staticwkms factory.
12341
12342 * doc/conf/conf.xml: Register staticwkms factory to spawn StaticWKms-
12343 Artifacts.
12344
12345 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12346
12347 Fetch name of static WKms.
12348
12349 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
12350 Removed dependence on "kind", but fetch name for created WKms.
12351
12352 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
12353 Remove dependence on Kind.
12354
12355 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12356
12357 Store parameterization in data, not in Artifact.
12358
12359 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
12360 Resolve col_pos and wst_id field, use data instead.
12361
12362 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12363
12364 Add convenience-method to add defaultdata (string).
12365
12366 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12367 (addStringData): Add Default (String) Data .
12368
12369 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12370
12371 Add a new Artifact and Facet (StaticWKmsArtifact, WKmsFacet) to
12372 access WKms obtainable with the WKmsFactory.
12373
12374 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
12375 New, artifact with single state to get WKms from WKmsFactory.
12376
12377 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
12378 New Facet to display W over km.
12379
12380 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12381 Added new type name.
12382
12383 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12384
12385 Add WKMsFactory to access 'static' wst-data.
12386
12387 * src/main/java/de/intevation/flys/artifacts/model/StaticWKmsCacheKey.java:
12388 Cache Key for the static WKms data.
12389
12390 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
12391 New, creates WKms from wst-id and column. Does not yet fetch the
12392 name.
12393
12394 * doc/conf/cache.xml: Added cache configuration for static wkms data.
12395
12396 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12397
12398 Cosmetics, docs.
12399
12400 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
12401 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
12402 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
12403 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12404 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
12405 Cosmetics, docs.
12406
12407 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12408
12409 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
12410 Added constructor that takes name, docs.
12411
12412 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12413
12414 Fix issue that Annotations do not come with theme/style.
12415
12416 * doc/conf/themes.xml: Added "Annotations" default style.
12417
12418 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12419 Set style of annotations, minor cosmetics.
12420
12421 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12422
12423 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12424 Made inner class ThemeList static.
12425 s/new Integer(small)/Integer.valueOf(small)/
12426
12427 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
12428
12429 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12430 The inner class ThemeList makes now use of ManagedDomFacet to read the
12431 attributes of Facets saved in the Collection's attribute.
12432
12433 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12434
12435 flys/issue314: Variables in datacage are now case insensitive.
12436 (H2 returns meta data variables uppercase)
12437
12438 * doc/conf/meta-data.xml:
12439 Made a statement more precise. Added some debug output.
12440
12441 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
12442 Use uppercase variable names.
12443
12444 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java,
12445 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
12446 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java,
12447 src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java:
12448 Variables are now treated as uppercase.
12449
12450 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
12451 Input variables are now treated uppercase.
12452
12453 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
12454
12455 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
12456 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
12457 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java:
12458 Prepared Facets to support a "visible" attribute.
12459
12460 * src/main/java/de/intevation/flys/collections/OutputParser.java: Adapted
12461 the constructor call of ManagedFacetAdapter.
12462
12463 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12464 The inner class ThemeList now supports the "visible" attribute of
12465 ManagedFacets.
12466
12467 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de>
12468
12469 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
12470 Added method to apply line type.
12471
12472 * doc/conf/themes.xml:
12473 Changed initial default value for line type.
12474
12475 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
12476
12477 flys/issue226 (W-INFO: Dauerlinienberechung /Abbbildung x-Achse)
12478
12479 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
12480 Set the upper bound of these charts to 364.
12481
12482 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
12483
12484 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
12485 Added a function that returns a Gauge based on its name.
12486
12487 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
12488 Create proper descriptions for facets.
12489
12490 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Added a
12491 setter for labels.
12492
12493 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
12494 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12495 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12496 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12497 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
12498 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12499 Use the string returned by Facet.getDescription() as series names. The
12500 ThemePanel and the Legend will always display the same titles for curves
12501 now.
12502
12503
12504 2011-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12505
12506 Fix flys/issue363 (W-INFO/ Abflusskurve, Extremwert-Rendering).
12507
12508 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
12509 (parseLineWidth): New. Get line width from Document.
12510
12511 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12512 When adding annotations, parse line width from theme, set it.
12513
12514 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
12515 When painting, set Paint and stroke early enough.
12516
12517 2011-10-14 Ingo Weinzierl <ingo@intevation.de>
12518
12519 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Put the
12520 config directory into the Velocity context. It is available as
12521 '$CONFIGDIR' in templates.
12522
12523 * doc/conf/mapserver/mapfile.vm: Set the debug file to
12524 "$CONFIGDIR/flys-user-wms.log" and added a LEGEND section.
12525
12526 * doc/conf/mapserver/wsplgen_class.vm: Adapted the class names. Those
12527 names are displayed in the image served by GetLegendGraphic.
12528
12529 2011-10-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12530
12531 Add possibility of programmatic configuration of initial "activity"
12532 state (active or inactive) of (Managed)Facets by introducing
12533 FLYSArtifact.getInitialFacetActivity. This method shall be overriden
12534 by subclasses where Facets are wanted to come to live inactive.
12535 Artifacts will be asked only once how the MangedFacet should come to live,
12536 namely when AttributeWriter finds a genuinely new Facet.
12537
12538 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
12539 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java
12540 (getInitialFacetActivity):
12541 New function to let Artifact decide whether a ManagedFacet shall
12542 initially be set to active or inactive.
12543
12544 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
12545 Accept database in constructor. For genuinely new Facets, spawn its
12546 mother artifact and ask whether the (Managed)Facet shall be active
12547 or inactive (initially).
12548
12549 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
12550 (buildOutAttributes): Pass database to AttributeWrite (which needs it
12551 to spawn artifacts), rename items parameter to reflect content.
12552
12553 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12554
12555 Cosmetics, removed obsolete imports.
12556
12557 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
12558 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12559 Removed obsolete imports.
12560
12561 2011-10-12 Ingo Weinzierl <ingo@intevation.de>
12562
12563 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12564 Added a further attribute "mark.selected" to the barriers feature type.
12565 This attribute is used in the client, where we are not able to remove it
12566 properly. Reading the GeoJSON string without this attribute is no longer
12567 possible... strange!
12568
12569 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12570
12571 Added i18n for label of wdiff "pair select" states data.
12572
12573 * src/main/resources/messages.properties,
12574 src/main/resources/messages_de_DE.properties,
12575 src/main/resources/messages_en.properties,
12576 src/main/resources/messages_de.properties: Added i18n for
12577 state.winfo.waterlevel_pair_select .
12578
12579 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12580
12581 Addressed "Wrong labels" [6] part of flys/issue371 (W-INFO / Differenzen:
12582 Anmerkungen zur Umsetzung) .
12583
12584 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
12585 Adjusted variable names to avoid conflict in subclasses, adjusted
12586 default value for i18n string.
12587
12588 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12589
12590 Cosmetics, docs.
12591
12592 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
12593 Cosmetics: Space after full stop in commments, slightly improved
12594 documentation, added one debug message.
12595
12596 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12597
12598 Fix remainder of flys/issue304 (Erweiterte Funktionen W-Differenzen) .
12599
12600 * doc/conf/artifacts/winfo.xml: Removed obsolete data of
12601 WDifferencesState.
12602
12603 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
12604 Re-enable facet-filtering, but adjust filters before that happens
12605 (former longitudinal_section output is now w_differences output).
12606
12607 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12608
12609 Added wdiff-chart translations.
12610
12611 * src/main/resources/messages.properties,
12612 src/main/resources/messages_de_DE.properties,
12613 src/main/resources/messages_en.properties,
12614 src/main/resources/messages_de.properties: Added i18n for wdiff.
12615
12616 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12617
12618 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12619 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12620 Expose translateable Strings as constants.
12621
12622 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12623
12624 Fix most labels in w-differences charts.
12625
12626 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12627 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12628 Remove most static final i18n-variables in favor of direct String
12629 usage or usage of methods. By this, allow easier adoption of labels
12630 in subclasses.
12631
12632 2011-10-11 Ingo Weinzierl <ingo@intevation.de>
12633
12634 flys/issue383 (Zweite Y-Achse wird beim Zoomen/Verschieben nicht angepasst.)
12635
12636 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12637 Call adjustAxes() before applying zoom settings with autoZoom(). We need
12638 to add new y-axes first before we adjust their ranges.
12639
12640 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12641
12642 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12643 s/new Integer(small)/Integer.valueOf(small)/
12644
12645 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12646
12647 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
12648 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12649 Do not fire change events for each and every data point added.
12650
12651 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12652
12653 Fix WDifferences with more than one Pair (crashed due to incorrect index for
12654 facets.)
12655
12656 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
12657 Fix wrong index for difference facets (allows for more than one
12658 difference facet per artifact without crashes).
12659
12660 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12661
12662 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12663 Use slightly modified doWOut-implementation from
12664 LongitudinalSectionGenerator (here need to add Ws to different axis).
12665
12666 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12667
12668 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12669 Fix import/reference.
12670
12671 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12672
12673 Let WaterlevelPairSelectState include diffids-data (if any) to enable
12674 future work on repopulation of Grid in GUI when jumping back
12675 (reparameterization).
12676
12677 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12678 (createItems): Override to include old data.
12679
12680 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
12681
12682 flys/issue150 (Diagramm: Anzeige von W bergauf)
12683 flys/issue345 (W-INFO / Wasserspiegellagenberechnung, Diagrammausgabe)
12684
12685 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12686 Corrected the determination to invert the x axis, so that waterlines
12687 will start with their highest value at the left and end with their
12688 lowest values at the right.
12689
12690 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12691
12692 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
12693 Cosmetics, added an (@Override) annotation.
12694
12695 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java,
12696 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
12697 Cosmetics, added documentation.
12698
12699 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
12700 Cosmetics, whitespace after full stops in comments, added
12701 (@Override) annotation.
12702
12703 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
12704
12705 flys/issue220 (Diagramm: Achsenbeschriftungen an verschiedenen Achsen müssen gleich aussehen)
12706
12707 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
12708 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12709 Adjusted the label font of the 2nd y-axis - now, both axes labels look
12710 equal.
12711
12712 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
12713
12714 flys/issue189 (WINFO/Dauerlinie: Sortierung der Berechnungsausgabe nach Dauerzahlen aufsteigend)
12715
12716 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: Added a
12717 method that determines if the items (days) in this object are increasing
12718 or not.
12719
12720 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
12721 Changed the order of the CSV export - the highest day is at the top of
12722 the export; the lowest day is at the bottom.
12723
12724 2011-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12725
12726 Worked on flys/issue150 (Diagramm: Anzeige von W bergauf).
12727 Still does not work in all cases.
12728
12729 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java (generateChart()):
12730 Reordered calls to ensure that the inversion of the x axis is
12731 not eliminated by other chart generation steps as a side effect.
12732
12733 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12734 Assuming that JFreeChart is inverting axis automatically if the
12735 KMs are reversed ordered only do invert only in some situations.
12736
12737 Do not invert axis for Q (@Ingo: This is wrong! We must do this
12738 if we are only displaying the Qs and the Ws are deactived).
12739
12740 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
12741
12742 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12743 Take care on empty ranges while preparing ranges for single points.
12744
12745 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
12746
12747 flys/issue114 (W-INFO: Wasserspiegellagenberechnung / Ort (Spezialfall: Generierung eines Diagramms bei punkthafter Berechnung))
12748
12749 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Expand
12750 ranges for x and y axes if there is just a single point in a series -
12751 JFreeChart requires a range where lower <> upper.
12752
12753 2011-10-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12754
12755 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
12756 src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java,
12757 src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
12758 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12759 Add whitespace after full stop in comments, minor doc improvements.
12760
12761 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
12762
12763 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
12764
12765 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12766 Adapted the process of collecting outs for Artifacts/Facets. We will now
12767 call OutGenerator.doOut() for each Artifact and Facet - never mind if
12768 the facet is activated (visible) or not. The OutGenerator should decide
12769 on its own whtat to do with facets which are "marked" as _not_ visible.
12770
12771 * src/main/java/de/intevation/flys/exports/OutGenerator.java,
12772 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12773 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12774 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
12775 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
12776 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
12777 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12778 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
12779 src/main/java/de/intevation/flys/exports/ATExporter.java,
12780 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
12781 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
12782 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
12783 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
12784 Adapted the signature of OutGenerator.doOut(). There will be a new
12785 boolean parameter "visible" that determines if the facet specified in
12786 this method is visible for this output or not.
12787
12788 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Now,
12789 that we walk over every Artifact/Facet, we are able to collect min/max
12790 data for all axes. We store these information and use them to set the
12791 ranges of x and y axes. The result of this: a chart can have proper axes
12792 set without any data in it.
12793
12794 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Use
12795 min/max ranges stored while calling doOut() for each Artifact/Facet
12796 instead of fetching those information from chart's Datasets (which could
12797 be null).
12798
12799 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
12800
12801 * src/main/java/de/intevation/flys/utils/Formatter.java: Changed the max
12802 number of digits for AT exports from 0 to 2.
12803
12804 2011-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12805
12806 * src/main/java/de/intevation/flys/exports/ATWriter.java: Get rid
12807 of buggy first line code.
12808
12809 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12810
12811 fixed flys/issue201
12812
12813 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
12814 Replace >= with > in km index lookup because last km was not found.
12815
12816 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12817
12818 fixed flys/issue177
12819
12820 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
12821 Revert rev2245. Code works fine now! :-)
12822
12823 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
12824
12825 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Stores a
12826 list of XYTextAnnotations instead of FLYS specific Annotations. This
12827 makes this class suitable for other annotation types as well.
12828
12829 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
12830 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
12831 Both facets' getData() will now return an instance of FLYSAnnotation.
12832
12833 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
12834 Create XYTextAnnotations used to instantiate an object of
12835 FLYSAnnotation.
12836
12837 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12838 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12839 Removed the code to add annotations to the plot. This task is general
12840 enough to move this code to parent class.
12841
12842 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12843 Instances of this class are now able to store - besides first and second
12844 axes datasets - a list of annotations. This annotations are added to the
12845 plot after the datasets have been added. To support LegendItems for
12846 those annotions, it was necessary to create a the LegendItemCollection
12847 by ourself. This work is done while applying the themes for each series
12848 in the chart.
12849
12850 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12851
12852 Removed code duplication of guessWaterIncreasing()
12853
12854 * src/main/java/de/intevation/flys/artifacts/model/WKms.java(allKms, allWs):
12855 Added methods to fetch all kms and all ws.
12856
12857 * src/main/java/de/intevation/flys/utils/DataUtil.java: Generalized to
12858 get WKms as arguments.
12859
12860 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
12861 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
12862 src/main/java/de/intevation/flys/artifacts/model/WQ.java: Implements
12863 the extended WKms interface.
12864
12865 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12866 Uses the generalized DataUtil.guessWaterIncreasing().
12867
12868 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
12869
12870 flys/issue347 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm)
12871 flys/issue303 (Keine Streckenfavoriten, wenn nur Q im Längsschnittdiagram ausgewählt)
12872 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
12873
12874 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: New. A
12875 wrapper for Annotations which allows us to provide a description for a
12876 set of annotations.
12877
12878 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
12879 The getData() will now return an instance of FLYSAnnotation that wraps
12880 the Annotations returned by the AnnotationArtifact. The lebel of
12881 FLYSAnnotation is the description of this Facet.
12882
12883 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12884 Modified the way to add Annotations. We will no longer create an empty
12885 series to support a LegendItem for a set of Annotations, but we will add
12886 a LegendItem manually to the LegendItemCollection of the plot. In
12887 addition, we are now able to display annotations if one of the two
12888 y-axes are missing. If there are no y-axes existing, we are not able to
12889 display annotations yet.
12890
12891 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12892
12893 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
12894 Lifted the wrong point. Now all backjump corrections look fine. :-)
12895
12896 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
12897
12898 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
12899 Fixed bugs and make use of a cache for annotations now.
12900
12901 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12902
12903 Worked on flys/issue31
12904
12905 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
12906 Simplified the code a lot. Needs testing. Maybe flys/issue31 is gone
12907
12908 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
12909
12910 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12911 Fetch the WstUnit value from river - the Wst itself no longer supports a
12912 Unit iself.
12913
12914 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12915
12916 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java,
12917 src/main/java/de/intevation/flys/utils/DoubleUtil.java: Moved some generic
12918 double array code to DoubleUtil.
12919
12920 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12921
12922 * src/main/java/de/intevation/flys/utils/DoubleUtil.java (interpolateSorted):
12923 Added code to linear interpolate double values in a sorted array.
12924 Keys and values are given as double arrays. Keys need to be sorted.
12925
12926 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12927
12928 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
12929 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12930 Removed superfluous imports.
12931
12932 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
12933
12934 flys/issue330 (Dauerlinie kann nicht berechnet werden)
12935
12936 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
12937 Add a problem if no data was found for duration curves.
12938
12939 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
12940
12941 * src/main/java/de/intevation/flys/themes/Theme.java,
12942 src/main/java/de/intevation/flys/themes/DefaultTheme.java: Added
12943 getter/setter methods to provide a facet (string) and index (int). Both
12944 values are written as attribute to the Theme's XML representation.
12945
12946 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12947 Set the "facet" and "index" values of themes.
12948
12949 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
12950
12951 flys/issue346 (W-INFO / Anzeige der Höheninformation)
12952
12953 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12954 Modified x and y axis title. The x axis title is now "RIVERNAME-km"; the
12955 y axis title is now "W[WST_UNIT]" where WST_UNIT depends on the unit of
12956 the WST.
12957
12958 * src/main/resources/messages.properties,
12959 src/main/resources/messages_de_DE.properties,
12960 src/main/resources/messages_en.properties,
12961 src/main/resources/messages_de.properties: Modified i18n expressions for
12962 x and y axis of longitudinal section charts.
12963
12964 2011-09-30 Ingo Weinzierl <ingo@intevation.de>
12965
12966 flys/issue351 (W-INFO / Wasserspiegellagenberechnungen)
12967
12968 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: Modified the
12969 explode() function that returns a list of values specified by min, max
12970 and an interval. If the last value, determined by the interval, is
12971 bigger than the max value, it is not included in the result list.
12972
12973 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12974
12975 flys/issue334 (Querprofil-Diagramm: Ausgabe dieses Diagrammtyps
12976 möglich, obwohl WSP Berechnung keine Ergebnisse liefert)
12977
12978 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12979 (compute): Add Facets regarding CrossSections only if data available.
12980
12981 2011-09-29 Ingo Weinzierl <ingo@intevation.de>
12982
12983 flys/issue176 (Diagramm: Benennung eines Abflusses bei gewählter Höhe am Pegel)
12984 flys/issue349 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm)
12985
12986 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12987 Create titles for W and Q waterlevel facets with proper fractions.
12988
12989 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12990
12991 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12992 (createStaticData, getLabels): Create proper labels for differences.
12993
12994 2011-09-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12995
12996 flys/issue244 (WINFO: Export von AT-Dateien im ersten Teil unterschiedlich)
12997 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5)
12998
12999 * src/main/java/de/intevation/flys/exports/ATWriter.java: Due to a rounding
13000 issue the w's of the first line underun the minimal w of the curve at times.
13001 An extra test was introduced to suppress the output of the q's of the wrong w's.
13002
13003 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13004
13005 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
13006 Use StringUtil.wWrap , fix wrong loop, minor refac and cosmetics.
13007
13008 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13009
13010 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
13011 Extracted/use StringUtil.wWrap .
13012
13013 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
13014
13015 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
13016 Log the gauge which has been determined.
13017
13018 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
13019
13020 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5)
13021
13022 * src/main/java/de/intevation/flys/exports/ATExporter.java: Store the
13023 master Artifact which is set via setMasterArtifact(). This is required
13024 for meta information used while preparing the header row of AT exports.
13025
13026 * src/main/java/de/intevation/flys/exports/ATWriter.java: Print a header
13027 row into the AT export for being compatible with desktop FLYS.
13028
13029 * src/main/resources/messages.properties,
13030 src/main/resources/messages_de_DE.properties,
13031 src/main/resources/messages_en.properties,
13032 src/main/resources/messages_de.properties: Added header row for AT
13033 export files.
13034
13035 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
13036
13037 flys/issue328 (W-INFO / ÜSK: Auswahl der Wasserspiegellage / Auswahlunterstützung)
13038
13039 * doc/conf/meta-data.xml: Added an out 'waterlevels' that might be used to
13040 fetch user specific waterlevels (same as longitudinal sections, but
13041 without Q facet).
13042 In addition, the system specific datacage stuff is now fetched, when:
13043 a) no user-id is given
13044 b) a user-id is given and there is a parameter 'load-system'
13045
13046 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
13047 If the label of the WQKms object specified by the waterlevel selection
13048 begins with a "Q", the label is wrapped into a "W()", e.g. "W(Q=1200)".
13049
13050 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
13051
13052 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Made
13053 feed() able to remove existing data items from Artifact's data pool.
13054 Therefore, the value for the item which should be removed needs to an
13055 empty string.
13056
13057 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13058
13059 Extracted StringUtil.unbracket from WaterlevelSelectState.strip.
13060
13061 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
13062 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
13063 Extract and use StringUtil.unbracket, minor doc.
13064
13065 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
13066
13067 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
13068 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13069 Changed access of getCurrentState() from protected to public.
13070
13071 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: We
13072 use the configured Outputs instead of the actuel Outputs of an Artifact
13073 to make recommendations, now. This has the bad side effect of giving
13074 recommendations for Outputs that we might _NOT_ be able to produce. But
13075 otherwise, we would not be able to give recommendations for states with
13076 long calculation times that start background threads for calculation (as
13077 WSPLGEN caluclations does).
13078
13079 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13080
13081 Enable "auto-scaling" axis for waterlevels in WDifference-plots.
13082
13083 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13084 (createSecondaryAxis, zoomY): Refactored to allow modification in
13085 siblings.
13086
13087 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13088 (createSecondaryAxisRange): Override to achieve expected behavior.
13089 Also adjusted label.
13090
13091 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13092
13093 In W-Difference Calculation, respect indices of selected facets.
13094
13095 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
13096 (computeAdvance): Respect index of selected facets.
13097
13098 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13099
13100 flys/issue317: (Querprofil-Diagramm: Referenzen auf CrossSectionApp entfernen)
13101
13102 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13103 Removed dependency to demo app.
13104
13105 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
13106 Refactored to use logic from the models.
13107
13108 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
13109 Moved some logic from the demo app to this model.
13110
13111 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
13112
13113 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: New. Code
13114 from FloodMapState moved to its own class with the intent, to use it in
13115 classes different from FloodMapState.
13116
13117 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13118 Removed the inner class FacetCreator.
13119
13120 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
13121 an instance of FacetCreator.
13122 NOTE: Maybe we should move the WSPLGEN parameters into an own class
13123 which might be serializable.
13124
13125 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use the
13126 FacetCreator instance stored in the WSPLGENJob to create a new WSPLGEN
13127 facet if the calculation was successfully (without errors). Finally, the
13128 facets of FacetCreator are added to the Facet list of the FLYSArtifacts.
13129
13130 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
13131
13132 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13133 Put Artifact in background mode first before starting WSPLGEN, otherwise
13134 a very fast errors (call CallContext.afterBackground() before Artifact is
13135 in Background mode) might lead to an inconsistent state.
13136
13137 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Repaired
13138 broken error num parsing.
13139
13140 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
13141
13142 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Track
13143 critical errors as well (improved regular expression for errors).
13144
13145 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13146
13147 * ChangeLog: Fixed whitespace usage.
13148
13149 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13150
13151 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java,
13152 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java
13153 src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
13154 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13155 Removed superfluous imports.
13156
13157 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
13158
13159 flys/issue68 (Diagramm: Werte an der Y-Achse benötigen i18n)
13160
13161 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
13162 method to retrieve the current/preferred locale specified by CallMeta.
13163
13164 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13165 Introduced two methods localizeDomainAxis() and localizeRangeAxis().
13166 Both methods of this class override the NumberFormat used to format axes
13167 numbers. Those methods are called by localizeAxes() - which has private
13168 access - for each domain and range axis of the current XYPlot.
13169
13170 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13171
13172 * doc/conf/cache.xml: Number of cached annotations was much
13173 to low.
13174
13175 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13176
13177 Improved w-differences diagram generation where multiple differences
13178 can be shown.
13179
13180 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
13181 New facet type.
13182
13183 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
13184 Employ new DifferenceCurveFacet, return CalculationResult that can
13185 store more than one WKms.
13186
13187 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
13188
13189 flys/issue320 (ÃœSK:Mapserver hat Probleme beim Shapefilepath mit "../" im Pfad)
13190
13191 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Use
13192 File.getCanonicalPath() to substitute "../" in shapefile directories.
13193
13194 2011-09-26 Ingo Weinzierl <ingo@intevation.de>
13195
13196 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13197 The extent of the WSPLGEN result layer is now specified by the extent of
13198 the CrossSectionTracks that matches the start and end kilometer of the
13199 WSPLGEN calculation.
13200
13201 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New function
13202 that creates the OpenLayers bounding box based on two Geometries.
13203
13204 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13205
13206 Improved w-differences diagram generation with included "absolute"
13207 values.
13208
13209 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13210 Fixed one (of two) incorrect labels.
13211 (doWaterlevelOut): Survive non-found gauge, fetch kilometer and w
13212 instead of values for w and q.
13213
13214 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13215
13216 Add positional-conflict-awareness when merging Facets for a
13217 FLYSArtifactCollection. First come first serve.
13218
13219 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
13220 (writeFacets): First, sort incoming facets into 2 groups:
13221 "genuinely new" and "already there", then for each new check
13222 whether the position is already taken. If so, push "up" (position++)
13223 until no conflict exists anymore.
13224
13225 2011-09-26 Ingo Weinzierl <ingo@intevation.de>
13226
13227 flys/issue296 (Karte: Bezeichnungen verbessern)
13228
13229 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13230 I18N of the WSPLGEN and barriers facets (WMS layers).
13231
13232 * src/main/resources/messages.properties,
13233 src/main/resources/messages_de_DE.properties,
13234 src/main/resources/messages_en.properties,
13235 src/main/resources/messages_de.properties: Added strings for the wsplgen
13236 and barriers WMS layers.
13237
13238 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13239
13240 Fix (revert) access to position in ManagedDomFacet.
13241
13242 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
13243 (getPosition): Do not add prefix when querying position ("pos")
13244 attribute, add a logger for faster future debugging.
13245
13246 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13247
13248 Squash positional conflict-bug.
13249
13250 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
13251 (mergeFacets): Removed, replaced in parts by pickFacet.
13252 (pickFacet): New, return facet to be added to document.
13253 Documentation added.
13254
13255 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13256
13257 Squash a bug about wrongly named "art:pos" attribute in ManagedDomFacet (was
13258 "pos"). Added documentation from commit message.
13259
13260 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
13261 Added documentation (commit message with minor adjustments).
13262 (getPosition, setPosition): Include PREFIX in attribute name.
13263
13264 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13265
13266 Refactoring, doc.
13267
13268 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
13269 (mergeFacets): Removed, replaced in parts by pickFacet.
13270 (pickFacet): New, return facet to be added to document.
13271 Documentation added.
13272
13273 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13274
13275 Cosmetics, docs.
13276
13277 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
13278 Documentation added.
13279
13280 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
13281
13282 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
13283 Subclasses the FLYSService now - this should improve the database
13284 connection handling.
13285
13286 2011-09-22 Bjoern Schilberg <bjoern.schilberg@intevation.de>
13287
13288 * doc/mapserver/mosel-mapfile.map:
13289 Full blown mosel wms mapfile.
13290
13291 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
13292
13293 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
13294 New. A subclass of DefaultService which is used in FLYS to init and
13295 shutdown database connections.
13296
13297 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
13298 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
13299 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
13300 Centralized the initialization and shutdown of database connections.
13301 These services now subclass FLYSService which handles the database stuff.
13302
13303 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: The
13304 current database connection is not closed here - this is done in a
13305 Service or in the CallContext.
13306
13307 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: It's
13308 not necessary to create new database connections here. We already have
13309 an existing connection which is initialized by CallContext.
13310
13311 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
13312
13313 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
13314 Override validate() of parent classes to suppress "step" validation
13315 which is not present in this state.
13316
13317 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: Added
13318 new method validateBounds() which really just validates a boundary
13319 without "step" parameter.
13320
13321 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13322
13323 Added WaterlevelArtifact to accompany WINFOArtifacts in WDifferencesPlots.
13324
13325 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
13326 New WaterlevelArtifact.
13327
13328 * doc/conf/conf.xml:
13329 Added configuration for WaterlevelArtifact configuration (path to state-xml)
13330 waterlevel-factory.
13331
13332 * doc/conf/artifacts/waterlevel.xml:
13333 New, trivial state description for Waterlevelartifact.
13334
13335 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
13336 New, only state for WaterlevelArtifact.
13337
13338 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13339
13340 Cosmetics, docs.
13341
13342 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
13343 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
13344 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13345 Cosmetics, documentation.
13346
13347 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13348
13349 Added WaterlevelOut-processing ability to WDifferencesCurveGenerator.
13350
13351 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13352 Process LONGITUDINAL_W facets.
13353
13354 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13355
13356 Improved WDifferenceState in preparation to be able to deal with multiple
13357 pairs for differences.
13358
13359 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
13360 Prepare multiple-pairs-case.
13361
13362 2011-09-21 Ingo Weinzierl <ingo@intevation.de>
13363
13364 flys/issue315 (Überschwemmungsfläche: String bei Streckenauswahl)
13365
13366 * doc/conf/artifacts/winfo.xml: Added a new state for floodmap's range
13367 input. This state will accept a km range only, there is no step width.
13368
13369 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
13370 New. The state which is used to enter a km range with step width.
13371
13372 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13373
13374 Cosmetics, improved debug output, doc.
13375
13376 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
13377 Improved debug output.
13378
13379 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
13380 Added documentation.
13381
13382 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java,
13383 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
13384 Removed commented code.
13385
13386 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
13387 Whitespace cosmetics.
13388
13389 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13390
13391 Avoid NullPointerException when drawing XYChart without data.
13392
13393 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13394 Guard calls to dataset to avoid NullPointerException.
13395
13396 2011-09-21 Ingo Weinzierl <ingo@intevation.de>
13397
13398 flys/issue325 (FLYS Client: Auswahl des DGM zeigt numerischen Wert an)
13399
13400 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Write
13401 a better label for the selected DEM into the static DESCRIBE. Use the
13402 name of the DEM file as label instead of the database id.
13403
13404 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de>
13405
13406 * doc/mapserver/fontset.txt:
13407 Added initial font set for km_annotation layer.
13408 * doc/mapserver/symbols/symbols.sym:
13409 Added square symbol for km and fixpoint layer.
13410 * doc/mapserver/saar-mapfile.map:
13411 Adjust styling in the flys karte-archiv way.
13412
13413 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
13414
13415 Tagged RELEASE 2.5
13416
13417 * Changes: Prepared changes for release.
13418
13419 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
13420
13421 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
13422 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java,
13423 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java,
13424 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
13425 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
13426 needless imports.
13427
13428 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
13429
13430 * doc/conf/meta-data.xml: Improved datacage configuration for DEMs.
13431
13432 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13433 Query DGMs by the given ID in the FLYS data pool - not by given range
13434 values.
13435
13436 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
13437
13438 * doc/conf/meta-data.xml: Added a section for DEMs to the floodmap
13439 section.
13440
13441 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13442
13443 Fix build.
13444
13445 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java:
13446 Fix build.
13447
13448 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13449
13450 Take a given WaterlevelPair-String, load artifact and plot the diff.
13451
13452 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java:
13453 Load correct artifacts.
13454
13455 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de>
13456
13457 * doc/mapserver/*: Added inital mapserver configuration files.
13458
13459 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
13460
13461 * doc/conf/meta-data.xml: Moved the system specific configuration into a
13462 macro to the top of the configuration document. Call this macro at the
13463 end of the user specific part and in the part that should contain the
13464 system specific stuff only!
13465
13466 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
13467
13468 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
13469 Defined createItem() here and adapted some method signatures, because I
13470 need the CallContext deeper in code than expected.
13471
13472 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
13473 Write the name of the selected waterlevel into the static DESCRIBE.
13474
13475 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
13476 Adapted method signatures that have been changed in DefaultState.
13477
13478 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
13479 Removed method createItem() which is now defined in the upper class
13480 DefaultState.
13481
13482 * src/main/resources/messages.properties,
13483 src/main/resources/messages_de_DE.properties,
13484 src/main/resources/messages_en.properties,
13485 src/main/resources/messages_de.properties: Added string for selected
13486 waterlevel that is displayed in static UI.
13487
13488 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
13489
13490 * src/main/resources/messages.properties,
13491 src/main/resources/messages_de_DE.properties,
13492 src/main/resources/messages_en.properties,
13493 src/main/resources/messages_de.properties: Added state label for
13494 waterlevel selection.
13495
13496 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
13497
13498 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
13499 Validate incoming data string and strip brackets.
13500
13501 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13502 Fetch waterlevel data from external Artifact if existing. If no external
13503 Artifact is specified that provides waterlevel data, we gonna try to
13504 fetch it from the current Artifact.
13505
13506 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
13507
13508 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
13509 Removed needless import which caused compile errors.
13510
13511 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
13512
13513 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
13514 Added a transform() method. This method should be used to transform
13515 input data in form of a string into a better data structure. This state
13516 provides a simple implementation which just returns a StateData object
13517 that contains exactly the input string.
13518
13519 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Transform
13520 input strings using DefaultState.transform() before they are added to
13521 its data pool.
13522
13523 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
13524
13525 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13526 Made collection solid for the case if it has no Artifacts.
13527
13528 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
13529
13530 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Fetch Artifact
13531 from ArtifactDatabase properly. Write better error logs if that process
13532 fails.
13533
13534 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13535
13536 Extend WDifferences branch to have calculations in dedicated, new state.
13537
13538 * doc/conf/artifacts/winfo.xml: Added new State and Transition in
13539 WDifferences-branch.
13540
13541 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
13542 New state.
13543
13544 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
13545 Specify to not take input, prepare getting other facets.
13546
13547 2011-09-14 Ingo Weinzierl <ingo@intevation.de>
13548
13549 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: This
13550 state now desires the UIProvider 'dem_datacage_panel'.
13551
13552 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
13553 New. This state is used to define the desired UIProvider
13554 'wsp_datacage_panel'.
13555
13556 * doc/conf/artifacts/winfo.xml: Added a new way to start a WSPLGEN
13557 calculation when choosing the calculation type 'floodmap'.
13558
13559 2011-09-14 Ingo Weinzierl <ingo@intevation.de>
13560
13561 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Merge
13562 facets only if their name AND their owner artifact are equal.
13563
13564 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13565
13566 Partial Fix flys/issue304 (3) (Baseline).
13567
13568 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13569 Show Baseline in WDifferencesPlot.
13570
13571 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13572
13573 Fix flys/issue310 (cross-section theme).
13574
13575 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue.
13576
13577 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13578
13579 Fix flys/issue310 (cross-section theme).
13580
13581 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue.
13582
13583 2011-09-13 Ingo Weinzierl <ingo@intevation.de>
13584
13585 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13586 Add an quick and simple error to the report if an error occured while
13587 WSPLGENJob creation.
13588
13589 * src/main/resources/messages.properties,
13590 src/main/resources/messages_de_DE.properties,
13591 src/main/resources/messages_en.properties,
13592 src/main/resources/messages_de.properties: Added error messages for
13593 WSPLGEN job creation errors.
13594
13595 2011-09-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13596
13597 Fix crash when drawing StickyAxisAnnotation when no range was given.
13598 User-directed issues remain ( flys/issue303 ).
13599
13600 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java
13601 (draw):
13602 Guard access to domainAxis, rangeAxis and the corresponding ranges.
13603 Warn and exit if any was null.
13604
13605 2011-09-13 Ingo Weinzierl <ingo@intevation.de>
13606
13607 flys/issue290 (Karte: Eingabe von Differenzen zw. WSP und Gelände findet
13608 keine Ausprägung in der Karte)
13609
13610 * doc/conf/mapserver/wsplgen_class.vm: Added styles for DIFF attribute.
13611
13612 * doc/conf/mapserver/mapfile.vm: Set debug default to '5'.
13613
13614 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
13615
13616 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13617 Add a first WSPLGEN status message (notifies the user about a
13618 queued job) after the job has been added to the Scheduler.
13619
13620 * src/main/resources/messages.properties,
13621 src/main/resources/messages_de_DE.properties,
13622 src/main/resources/messages_en.properties,
13623 src/main/resources/messages_de.properties: Added english and german
13624 status message text.
13625
13626 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
13627
13628 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Write
13629 shapefiles only if there are features for it existing.
13630
13631 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13632 A WSPLGEN facet is only created, if the calculation was successfully
13633 added to the Scheduler. A barrier facet is only created if the WSPLGEN
13634 calculation has been added to the scheduler AND if there are digitized
13635 geometries existing.
13636
13637 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13638
13639 Copied and slightly modified implementation of guessWaterIncreasing from
13640 WQKms to (new) DataUtils. Accidentally commited usage in last commit, to
13641 correct orientation of diagram (invert x axis).
13642
13643 * src/main/java/de/intevation/flys/utils/DataUtils.java:
13644 New file with guessWaterIncreasing implementation from WQKms,
13645 slightly adjusted.
13646
13647 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13648
13649 Cosmetics.
13650
13651 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
13652 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
13653 Cosmetics.
13654
13655 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13656
13657 Added CSV Export for W-Differences.
13658
13659 * doc/conf/conf.xml: Added Exporter.
13660
13661 * doc/conf/artifacts/winfo.xml: Removed transition over distances
13662 state, added export outputmode and facet.
13663
13664 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
13665 New, CSV-Exporter for WDifferences.
13666
13667 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
13668 Add export facet.
13669
13670 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13671
13672 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
13673 Cosmetics, docs.
13674
13675 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
13676 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
13677 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
13678 Cosmetics.
13679
13680 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
13681
13682 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
13683 Sourced the code to append a concrete data item to the static DESCRIBE
13684 part out to an own method (appendStaticData()).
13685
13686 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
13687 Override appendStaticData() to suppress the GeoJSON string to be
13688 included in the static DESCRIBE.
13689
13690 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
13691
13692 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
13693 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
13694 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
13695 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
13696 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
13697 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
13698 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
13699 Removed needless imports.
13700
13701 2011-09-09 Ingo Weinzierl <ingo@intevation.de>
13702
13703 * src/main/java/de/intevation/flys/artifacts/model/CalculationMessage.java:
13704 New. A subclass of Message (in the Artifacts system). It stores a
13705 string message and a progress (in form of step x/y).
13706
13707 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: The observer
13708 now writes background messages into the artifact system using the
13709 CallContext.addBackgroundMessage(). We use instances of
13710 CalculationMessage here, that makes the WINFOArtifact able to put
13711 progress information into the Artifact's DESCRIBE as well.
13712
13713 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Write
13714 status message and progress information into the DESCRIBE if the
13715 Artifact has started a background process.
13716
13717 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13718
13719 Fix flys/issue280 .
13720
13721 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
13722 Do not draw boxes around annotations.
13723
13724 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13725
13726 Fix flys/issue279 .
13727
13728 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13729 Fix behaviour in various thinkable malconditions.
13730
13731 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13732
13733 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13734 Made one case of cross section fetching more robust.
13735
13736 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13737
13738 Fix Facet name and Legend of W-Differences, also insert state to specify
13739 distance.
13740
13741 * doc/conf/artifacts/winfo.xml: Add additional transitions to walk over
13742 distances state.
13743
13744 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
13745 Set facets description.
13746
13747 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13748 Take facets description as legend.
13749
13750 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13751
13752 Added configuration to kick-in w-differences branch of winfo.
13753
13754 * doc/conf/conf.xml: Register new (w-differences) OutputGenerators.
13755
13756 * doc/conf/artifacts/winfo.xml: Register new state and transitions.
13757
13758 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
13759 Added new (w-differences) calculation mode.
13760
13761 * src/main/java/de/intevation/flys/exports/WDifferencesCurveInfoGenerator.java:
13762 New file, implementing naive approach to display w-differences
13763 (accidentially omitted in last commit).
13764
13765 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13766
13767 Added very stubby WDifferences State/OutGenerator for WINFOArtifact.
13768
13769 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
13770 Added w_differences facet type.
13771
13772 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
13773 New file, implements naive approach to calculate w-differences (of
13774 calculations identified by hardcoded uuids!) and register respective facet.
13775
13776 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13777 New file, implementing naive approach to display w-differences.
13778
13779 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13780
13781 Implement getArtifact(uuid,context) in FLYSUtils.
13782
13783 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getArtifact):
13784 Added implementation, partially resolving a TODO. Added logger instance.
13785
13786 2011-09-08 Ingo Weinzierl <ingo@intevation.de>
13787
13788 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java:
13789 New. This sublcass of Calculation saves warnings and errors that occur
13790 while WSPLGEN is running.
13791 Note, that the interface of this class doesn't exactly apply the interface
13792 of Calculation. Maybe, we should generalize this interface!
13793
13794 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
13795 an instance of WSPLGENCalculation now. We use this instance to save
13796 warnings and errors.
13797
13798 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Use the
13799 WSPLGENCalculation to save errors and warnings.
13800
13801 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java:
13802 New. This facet is used for WSPLGEN reports. It stores an instance of
13803 WSPLGENCalculation which saves ERRORS and WARNINGS that occur while
13804 WSPLGEN execution.
13805
13806 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13807 Create a WSPLGENReportFacet for WSPLGEN reports.
13808
13809 * doc/conf/conf.xml: Added an OutputGenerator 'report' for WSPLGEN
13810 reports.
13811
13812 * doc/conf/artifacts/winfo.xml: Added an output 'report' for WSPLGEN
13813 reports.
13814
13815 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13816
13817 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
13818 src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java,
13819 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
13820 Cosmetics, docs.
13821
13822 2011-09-08 Ingo Weinzierl <ingo@intevation.de>
13823
13824 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: Small
13825 adjustments that makes it easier to subclass this observer.
13826
13827 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: New. A
13828 sublcass of JobObserver which analyses the WSPLGEN output for errors and
13829 warnings.
13830
13831 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use
13832 JobObserver and ProblemObserver to track the whole WSPLGEN output and
13833 print number of errors/warnings to log output.
13834
13835 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13836
13837 Added translation of w_differences.
13838
13839 * src/main/resources/messages_de_DE.properties,
13840 src/main/resources/messages_de.properties,
13841 src/main/resources/messages_en.properties,
13842 src/main/resources/messages.properties:
13843 Added "w_differnces" translation.
13844
13845 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
13846
13847 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
13848 a new attribute 'background-processing' to the DESCRIBE of this
13849 Artifact. Its value is 'true' if this Artifact has started a background
13850 thread which has not finished yet - otherwise it is 'false.
13851
13852 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
13853
13854 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
13855 src/main/java/de/intevation/flys/utils/GeometryUtils.java: Moved the
13856 code to determine the extent of a river based on its axis to
13857 GeometryUtils.
13858
13859 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13860 Determine the extent of the selected river and set the WMSLayerFacet's
13861 extent attribute.
13862
13863 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13864
13865 Added Themeing support for CrossSection Diagrams.
13866
13867 * doc/conf/themes.xml:
13868 Added new themes and mappings, slightly modified longitudinalsection
13869 theme.
13870
13871 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13872
13873 In CrossSection Diagram fix subtitle to display the km of which the data is
13874 actually displayed (maybe contrasting users wish).
13875
13876 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13877 (getCrossSectionSnapKm): New method to fetch the actual km of crosssection.
13878
13879 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
13880 Add correct km to charts subtitle.
13881
13882 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13883
13884 Fix various display-issues like i18n in cross-section diagram.
13885
13886 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
13887 Set description of facets to expected values.
13888
13889 * src/main/java/de/intevation/flys/artifacts/exports/CrossSectionGenerator.java:
13890 Fix i18n of chart title. Set subtitle to expected value, pass facets
13891 description to StyledSeries to see expected legend.
13892
13893 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13894
13895 Cosmetics, resolved refactoring todo.
13896
13897 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java
13898 (compute, computeAdvance, computeFeed): Refactored, extracted method,
13899 resolving duplicate code and TODO.
13900
13901 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13902
13903 Fix waterline "calculation" at given km. Chosen approach is
13904 "head-through-wall".
13905
13906 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13907 Some refactoring to do the same calculation twice easier and be able
13908 to "cross" waterline against correct profile data.
13909
13910
13911 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13912
13913 Fix setting of kilometer for profile (not yet waterlevel) of cross section
13914 diagram.
13915
13916 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13917 (getCrossSectionData): Respect corss_section.km data; do naive linear
13918 search for profile data for this km.
13919
13920 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
13921 Declare a ComputeType.
13922
13923 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
13924 Implement computeFeed.
13925
13926 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13927
13928 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
13929 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13930 Minor cosmetics.
13931
13932 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13933
13934 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
13935 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
13936 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
13937 src/main/java/de/intevation/flys/artifacts/state/DefaultState.java:
13938 Cosmetics, docs.
13939
13940 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
13941
13942 * doc/conf/mapserver/barrier_polygons_class.vm,
13943 doc/conf/mapserver/barrier_lines_class.vm,
13944 doc/conf/mapserver/wsplgen_class.vm: Default Mapserver styles for
13945 barriers and WSPLGEN results. Those styles are only used as long as we
13946 don't have map specific themes (as already used in charts).
13947
13948 * doc/conf/mapserver/layer.vm: Implements a fallback mechanism for styling
13949 barrier lines/polygons and WSPLGEN results.
13950
13951 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added a
13952 getStyle() method that currently returns "null". This method needs to be
13953 implemented when map themes are introduced.
13954
13955 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
13956
13957 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Renamed
13958 some attributes to make their job in the mapfile more obvious.
13959
13960 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13961 new facet type for barriers.
13962
13963 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: Add
13964 a facet for the barriers layer.
13965
13966 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Parse
13967 barriers (lines and polygons) and create two new layers for each type -
13968 those layers are grouped.
13969
13970 * doc/conf/mapserver/layer.vm: Renamed attribute based on changes in
13971 LayerInfo and added support for Group-Layers.
13972
13973 2011-09-06 Raimund Renkert <raimund.renkert@intevation.de>
13974
13975 * doc/conf/conf.xml:
13976 Added driver to database configuration for use with postgresql.
13977
13978 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
13979
13980 * doc/conf/mapserver/mapfile.vm: Removed FONTSET attribute and set quotes
13981 for SHAPEPATH.
13982
13983 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
13984
13985 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
13986 Removed. We gonna use the WMSLayerFacet until now.
13987
13988 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13989 Add a WMSLayerFacet after we triggered the Scheduler to start a WSPLGEN
13990 calculation.
13991
13992 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
13993
13994 * doc/conf/mapserver/layer.vm,
13995 doc/conf/mapserver/mapfile.vm: Small bugfixes and style improvements.
13996
13997 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Trigger the
13998 MapfileGenerator after a WSPLGEN job has finished regardless if it has
13999 been finished successfully or not.
14000
14001 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
14002
14003 * pom.xml: Added Apache Velocity 1.7 for templating support.
14004
14005 * doc/conf/conf.xml: Added config options for mapserver/template relevant
14006 stuff.
14007
14008 * doc/conf/mapserver/mapfile.vm,
14009 doc/conf/mapserver/layer.vm: New. A default mapfile template and a
14010 template used for layers.
14011
14012 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: New.
14013 This class is used while reading WMS layer relevant information from
14014 filesystem.
14015
14016 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: New. This
14017 thread is used for creating mapfiles for Mapserver. The MapfileGenerator
14018 runs in daemon mode (own thread) and creates mapfiles based on WMS
14019 layer relevant information read from filesystem.
14020
14021 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
14022 src/main/java/de/intevation/flys/utils/FLYSUtils.java: Moved shapefile
14023 specific XPath expressions from FloodMapState to FLYSUtils which is a
14024 better place to use it in other classes (as MapfileGenerator).
14025
14026 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
14027
14028 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java:
14029 Bugfixed broken attribute assignment.
14030
14031 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Call
14032 CallContext.afterBackground() after a WSPLGEN job has finished to remove
14033 the background lock from Artifact.
14034
14035 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14036 Call CallContext.afterCall(BACKGROUND) to lock the Artifact for
14037 background processing.
14038
14039 2011-09-02 Ingo Weinzierl <ingo@intevation.de>
14040
14041 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: New. This
14042 class is used to start WSPLGEN for a specific WSPLGENJob. The System
14043 property "wsplgen.bin.path" tells the JobExecutor where the WSPLGEN
14044 binary is placed (which means in general, the property points to the
14045 'wsplgen.exe').
14046
14047 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: New. This
14048 scheduler currently allows to start just a single WSPLGEN Thread. All
14049 WSPLGEN calculations should be started using Scheduler.addJob().
14050
14051 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: New. This
14052 thread reads log messages from WSPLGEN and listens for specific
14053 messages. It should be used to update status messages of the WSPLGEN
14054 calculation that is currently running.
14055 There is a System property that tells the JobObserver to log all WSPLGEN
14056 output to log4j: enable WSPLGEN output with "-Dwsplgen.log.output=true".
14057
14058 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Added
14059 the FLYSArtifact, the current working directory and the CallContext.
14060
14061 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14062 Use the Scheduler to start new WSPLGEN calculations.
14063
14064 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14065
14066 Add CrossSectionInfoGenerator.
14067
14068 * src/main/java/de/intevation/flys/exports/CrossSectionInfoGenerator.java:
14069 New, trivial implementation of CrossSectionInfoGenerator.
14070
14071 * doc/conf/conf.xml:
14072 Register CrossSectionInfoGenerator.
14073
14074 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14075
14076 Cleanups of CrossSection*.
14077
14078 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14079 New methods to retrieve name of utilized CrossSection.
14080
14081 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
14082 Cleanup, get rid of copied unused method, documentation and more sensible
14083 translations.
14084
14085 * src/main/resources/messages_de_DE.properties,
14086 src/main/resources/messages_de.properties,
14087 src/main/resources/messages_en.properties,
14088 src/main/resources/messages.properties:
14089 Added cross_section* translations, also cleanups.
14090
14091 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
14092
14093 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14094 Set the "typ" attribute of lines and polygons in barrier shapefiles.
14095
14096 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
14097
14098 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14099 Set the Z values of line and polygon barrier geometries. Both barrier
14100 shapefiles will contain 3D geometries now.
14101
14102 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14103
14104 Get real data to display in CrossSection (although ignorant of
14105 parameterization), making use of the showcase code of the CrossSectionApp-
14106 Standalone application.
14107
14108 * doc/conf/artifacts/winfo.xml: Add new facet (~waterline) to state/out.
14109
14110 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14111 New methods to get relevant data. So far just takes the first value of
14112 everything and assuming a waterlevel at 130m.
14113
14114 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
14115 New Facet responsible of water level in cross section.
14116
14117 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
14118 Made some functionality publicly and statically available.
14119
14120 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
14121 Update call.
14122
14123 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added new
14124 Facet type.
14125
14126 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
14127 Added new Facet to out.
14128
14129 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
14130 Respect new facet and facets data.
14131
14132 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
14133
14134 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Close an open
14135 shapefile transaction and catch exceptions which are thrown while
14136 shapefile creation here. If there occured an error, this functions
14137 returns FALSE, otherwise TRUE.
14138
14139 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14140 Removed exception handling while shapefile creation - this is done in
14141 GeometryUtils now.
14142
14143 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
14144
14145 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14146 Renamed the file for WSPLGEN required waterlevels to "waterlevels.wst".
14147 WSPLGEN did not work with the former "waterlevels.txt" file.
14148
14149 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
14150
14151 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New static
14152 function that builds new SimpleFeatureTypes with additional attributes.
14153
14154 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14155 Write attributes "ELEVATION" and "KILOMETER" into the crosssection
14156 tracks shapefiles.
14157
14158 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
14159
14160 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
14161 stub that should return a FLYSArtifact based on a given UUID.
14162
14163 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14164 Write the selected WST file for WSPLGEN. Note, that this is the WST file
14165 of the current WINFO artifact. Furthermore, there is currently no way
14166 for the user to select a column from WST file, so we currently use the
14167 column that is written to WST file at first.
14168
14169 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
14170
14171 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
14172 the parameter order of a compute(...) method. This makes me able to call
14173 this without a hash value.
14174
14175 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
14176 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
14177 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
14178 Adapted the parameter order of the compute() call (see above).
14179
14180 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14181
14182 More bones to CrossSection sceleton.
14183
14184 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
14185 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
14186 New, yet trivial implementations of Factory and Facet for CrossSections.
14187
14188 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
14189 Add new CrossSection- (instead of Default-)Facet.
14190
14191 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
14192 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
14193 Adjusted to use (touch) new Factory and Facet.
14194
14195 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14196
14197 Cosmetics.
14198
14199 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14200 Cosmetics.
14201
14202 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14203
14204 Cosmetics.
14205
14206 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
14207 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
14208 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
14209 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
14210 Removed obselete imports.
14211
14212 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14213 Removed obselete imports, whitespaces.
14214
14215 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14216 Whitespaces, docs.
14217
14218 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14219
14220 Fix translations of Main Values Facets.
14221
14222 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14223 Do acrobatics to keep state transient but get translated title.
14224
14225 * src/main/java/de/intevation/flys/artifacts/MainValuesQFacet.java,
14226 src/main/java/de/intevation/flys/artifacts/MainValuesWFacet.java:
14227 Changed constructor to get description (which is then already be translated)
14228 dynamically, adjust deepCopy.
14229
14230 * src/main/java/de/intevation/flys/states/StaticState.java:
14231 Adjust constructor accordingly.
14232
14233 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14234
14235 Add sceleton for CrossSection outs.
14236
14237 * doc/conf/artifacts/winfo.xml:
14238 Added new output mode to respective state of winfo artifact configuration.
14239
14240 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
14241 Add new Dummy-Facet in state.
14242
14243 * doc/conf/conf.xml:
14244 Registered new OutputGenerator.
14245
14246 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
14247 Added new CROSS_SECTION type.
14248
14249 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
14250 New, stubby skeleton for an CrossSectionGenerator.
14251
14252 * src/main/resources/messages_de_DE.properties,
14253 src/main/resources/messages_de.properties,
14254 src/main/resources/messages_en.properties,
14255 src/main/resources/messages.properties:
14256 Added cross_section translation, also cleanups (e.g. main values).
14257
14258 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
14259
14260 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Marked
14261 required parameters with a comment.
14262
14263 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14264 Export floodplains (german 'Talaue') to shapefile and write its file
14265 path into the WSPLGEN job.
14266
14267 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
14268
14269 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14270 Search for a DGM that fits to the current river and km range and write
14271 its file path into the WSPLGEN job.
14272
14273 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
14274
14275 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Improved
14276 exception handling: exceptions are catched in GeometryUtils now.
14277
14278 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14279 Write river axis and crosssections to shapefiles and save shapefile
14280 pathes in WSPLGENJob.
14281
14282 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
14283
14284 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14285 Use the coorect SRID for reading GeoJSON and writing line/polygon
14286 shapefiles.
14287
14288 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Use a
14289 concrete coordinate system while feature type creation.
14290
14291 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
14292
14293 * pom.xml: Added GeoTools 2.7.2 dependencies for Shapefile, GeoJSON and
14294 EPSG support.
14295
14296 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Store
14297 'LIN' parameter in a list now. A WSPLGEN parameter might contain many
14298 LINs.
14299
14300 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New functions
14301 to create FeatureTypes and to write shapefiles.
14302
14303 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14304 Write user specified barriers into a shapefile placed in the artifact
14305 directory.
14306
14307 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
14308
14309 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
14310 that extracts the SRID defined in the global configuration file for a
14311 given river.
14312
14313 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
14314 Removed the code that extracts the river SRID - use FLYSUtils instead.
14315
14316 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14317
14318 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
14319
14320 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
14321 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
14322
14323 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14324
14325 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
14326
14327 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
14328 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
14329 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
14330 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
14331 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
14332 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
14333
14334 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14335
14336 Commit accidentally omitted result of refactoring (WINFO/FLYSUtils/getRiver).
14337
14338 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14339 Removed implementations of getRiver, update calls to use FLYSUtils.
14340
14341 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14342
14343 Interpolate Q main values, generate interpolated W main values on the fly from
14344 Q main values.
14345
14346 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14347 (getGaugeDatum): removed, obsolete
14348 (getLocation): new, gets location
14349 Use WstValueTable to look up interpolated Qs of MainValues. In absence of
14350 the same functionality for Ws, generate W Main Values from Q Main Values.
14351
14352 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14353
14354 Use new helper class FLYSUtils, minor refactorization.
14355
14356 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14357 Use new functionality of helper class, convenience of FLYSArtifact.
14358
14359 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14360
14361 Refactored to use new Helper class FLYSUtils, moved getRiver-functionality
14362 in there.
14363
14364 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getRiver):
14365 New function to retrieve river of an artifact, slightly modified from
14366 WINFOArtifact.
14367
14368 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
14369 Removed implementations of getRiver, update calls to use FLYSUtils.
14370
14371 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14372
14373 Minor cosmetics.
14374
14375 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14376 Resolved a TODO.
14377
14378 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
14379 Added some documentation.
14380
14381 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
14382 Minor cosmetic.
14383
14384 2011-08-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14385
14386 * doc/conf/meta-data.xml: Made it Oracle compatible.
14387
14388 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
14389 If running in debug mode log executed statements.
14390 Helps debugging Oracle connections.
14391
14392 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
14393
14394 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14395 Set some WSPLGENJob parameters which are stored at FLYSArtifact.
14396
14397 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
14398
14399 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New. This helper
14400 class should provide some basic FLYS stuff. Currently, there are functions
14401 that return the km range/location.
14402
14403 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
14404 the methods that return the km range/locations. This is implemented in
14405 FLYSUtils now.
14406
14407 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
14408 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
14409 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Adapted
14410 the WINFO method calls to retrieve the km range/locations - call
14411 FLYSUtils now.
14412
14413 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
14414
14415 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New method
14416 to destroy a single state.
14417
14418 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14419
14420 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14421 Cosmetic, remove debug output and comments, minor style adjustments.
14422
14423 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14424
14425 Added limited themeing-support for MainValues.
14426
14427 * doc/conf/themes.xml:
14428 Added Q/W-MainValues themes.
14429
14430 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14431 Added limited theming support, add legend entry for main values.
14432
14433 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
14434
14435 * doc/conf/conf.xml: Added a configuration node that points to the directory
14436 where shapefiles should be stored in.
14437
14438 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: New.
14439 This class is used to save/write the parameter for a WSPLGEN calculation.
14440 WSPLGEN's *.par files are written using the toFile() method.
14441
14442 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14443 A directory for all WSPLGEN stuff is created in computeAdvance() - those
14444 directory and all its contained files are removed in endOfLife().
14445
14446 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14447
14448 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
14449 New Util to work with theme-related stuff.
14450
14451 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14452
14453 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14454 Use NamedDoubles instead of MainValues, try to adjust scale of Ws.
14455
14456 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14457 Use NamedDoubles instead of MainValues, generalize annotation handling, to
14458 allow easier reusability and themeing.
14459
14460 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14461 Added convenience constructor, exemplary switch on bordered text.
14462
14463 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14464
14465 * doc/conf/meta-data.xml:
14466 Recommend MainValues for Computed discharge curves.
14467
14468 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14469
14470 New NamedDouble class which implements a <String,double>-pair.
14471
14472 * src/main/java/de/intevation/flys/artifacts/model/NamedDouble.java:
14473 New, implementation of a double with a string or vice versa.
14474
14475 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
14476
14477 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
14478 State.endOfLife() for all States when endOfLife() of the Artifact is
14479 called.
14480
14481 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14482
14483 Also plot "W"-MainValues (on vertical axis), take correct parameters, but
14484 do not convert to correct scale (cm vs NN+m).
14485
14486 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14487 Naive attempt at allowing the vertical axis to be sticked at.
14488
14489 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14490 Store Q and W MainValues separately, add them to plot as annotations.
14491
14492 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14493 Serve the MainValues, parameterized on river and location, Q and W.
14494 Removed Facet-implementation.
14495
14496 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
14497 Updated Facet Types.
14498
14499 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
14500 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
14501 New, trivial facets, extracted from MainValuesArtifact.
14502
14503 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
14504
14505 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
14506 State.endOfLife() of each State that is no longer in the queue of the
14507 artifact when this artifact steps back to a previous state.
14508
14509 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14510
14511 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14512 Plot MainValues delivered by MainValuesFacet in much the same ways than
14513 Annotations in LongitudinalSection plots.
14514
14515 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14516
14517 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14518 Prepare further differentiation between Annotations that stick to X or Y-
14519 Axis, copied some positioning logic into StickyAxisAnnotation
14520 implementation.
14521
14522 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14523
14524 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14525 Minor cosmetics.
14526
14527 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14528
14529 Added MainValue-Fetching-Capabilities to MainValuesArtifact.
14530
14531 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
14532 (initialize, getMinValues):
14533 Let MainValuesArtifact return "real" MainValues, although ignorant of all
14534 parameterization.
14535
14536 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14537
14538 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
14539 (MainValueFacet):
14540 Improved and straightened implementation, added code-Annotations and Todos.
14541
14542 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14543
14544 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
14545 (MainValueFacet):
14546 Improved and straightened implementation, added code-Annotations and Todos.
14547
14548 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14549
14550 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
14551 (getState):
14552 Resolved multiple creation of state (yet not very clean).
14553
14554 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14555
14556 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
14557 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14558 Cosmetics, docs.
14559
14560 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
14561 Cosmetics.
14562
14563 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14564
14565 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
14566 Added new (MainValues) Facet-Type.
14567
14568 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
14569
14570 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
14571 Added a method that returns a River object based on its database id.
14572
14573 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: The
14574 data that is required for this artifact is fetched from database instead
14575 from a Master-Artifact. The creation of static artifacts should use
14576 database ids instead of cloning a Master-Artifact.
14577
14578 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
14579
14580 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14581 Removed needless imports.
14582
14583 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14584
14585 Added configuration for factory and rule for MainValueArtifacts.
14586
14587 * doc/conf.xml:
14588 Add a mainvalue factory to serve MainValueArtifacts.
14589
14590 * doc/conf/meta-data.xml:
14591 Recomment mainvalue artifact when computed_discharge_curve can be put out.
14592
14593 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14594
14595 Let MainValuesArtifact have a state, outputmode and facet.
14596
14597 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
14598 New, a non-abstract DefaultState.
14599
14600 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14601 Progressed with implementation, use StaticState to hook output modes and
14602 facet in; use (Static)FLYSArtifact implementation.
14603
14604 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14605
14606 Smaller cosmetics.
14607
14608 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
14609 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
14610 Cosmetics in comments.
14611
14612 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
14613 Added @Override annotations.
14614
14615 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
14616 Use brackets to improve readability of ternary operator.
14617
14618 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14619
14620 * doc/conf/meta-data.xml: Use "ids" in user specific part, too.
14621
14622 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14623
14624 * doc/conf/meta-data.xml: s/db-ids/ids/g to unify system and user specific
14625 loading.
14626
14627 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14628
14629 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14630 Extracted access to state and states in order to have fewer places to
14631 modify when going for single/trivial state- artifacts.
14632
14633 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
14634
14635 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
14636 Append the river's srid to the WMSLayerFacet.
14637
14638 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14639
14640 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14641 Minor fixes, ressurect Facet implementation as inner class.
14642
14643 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
14644
14645 * doc/conf/artifacts/winfo.xml: Moved the input of barriers one state
14646 earlier where the scenario is selected as well.
14647
14648 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
14649 This state now desires the "map_digitize" UI provider and returns both
14650 items "scenario" and "uesk.barriers" in the dynamic describe part.
14651
14652 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14653 Removed the UI provider and the computeFeed() which is no longer needed,
14654 because there is no more user input in this state.
14655
14656 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
14657
14658 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
14659 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
14660 Repaired broken xpath expressions (the config changed in one of the last
14661 commits) and make use of the variable support in xpath expressions to
14662 replace the rivername.
14663
14664 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java:
14665 Save the rivername while initializing this artifact. This is now
14666 necessary, because each river can have its own background wms
14667 configured.
14668
14669 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
14670
14671 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
14672 Repaired broken river-wms initialization.
14673
14674 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14675
14676 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java,
14677 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
14678 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
14679 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java,
14680 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
14681 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
14682 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java,
14683 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
14684 src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
14685 Made facets cloneable with the right type.
14686
14687 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
14688 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14689 Removed superfluous imports.
14690
14691 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
14692
14693 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14694 Declare the first artifact of an output as master artifact (artifacts
14695 are ordered by their creation time).
14696
14697 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14698
14699 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14700 Removed facet interface.
14701
14702 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14703 Make artifacts cloneable. TODO: Override deepCopy() in subclassed
14704 states and facets.
14705
14706 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
14707
14708 * doc/conf/conf.xml: Added the MapInfoService and adapted the floodmap
14709 configuration. Now, each river can have its own background wms layer
14710 defined.
14711
14712 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
14713 New. This service returns some basic information used to create maps for
14714 a specific river. The name of the desired river needs to be defined at
14715 "/mapinfo/river/text()".
14716
14717 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
14718 Adapted an xpath expression that points to the srid of a river in the
14719 floodmap configuration (which changed).
14720
14721 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14722
14723 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14724 Build out/facet filter from XML document passed at creation time.
14725
14726 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14727
14728 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14729 Added some code to filter outs/facets by an optional positive list.
14730 This is needed to only expose parts of the facets. This
14731 is needed for artifacts which are loaded into a collection.
14732 TODO: create the filter from the XML document passed at creation
14733 time.
14734
14735 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14736
14737 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved all
14738 WINFO specific code to WINFOArtifact. FLYSArtifact is now only revolving
14739 about state affairs.
14740
14741 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-inserted
14742 the specific stuff here.
14743
14744 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
14745 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
14746 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
14747 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
14748 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
14749 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
14750 Adjusted the casts.
14751
14752 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14753
14754 * doc/conf/meta-data.xml: Filter by outs in user template part.
14755
14756 2011-08-22 Ingo Weinzierl <ingo@intevation.de>
14757
14758 * doc/conf/artifacts/winfo.xml: Defined an input value for the GeoJSON
14759 string to save user defined barriers in the map.
14760
14761 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14762 Added a computeFeed() method. In addition, this state now prefers the
14763 "noinput" UI provider.
14764
14765 2011-08-19 Ingo Weinzierl <ingo@intevation.de>
14766
14767 * doc/conf/conf.xml: Each river requires a SRID definition. This
14768 definition is used to transform the river's geometries into the desired
14769 projection.
14770
14771 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
14772 This facets are able to save a SRID.
14773
14774 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
14775 The extent that is written into the WMSLayerFacet is determined by the
14776 boundary of the geometry.
14777
14778 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New. A
14779 utility class that provides helper functions for geometries. Currently,
14780 one function is defined, that creates a boundary string for OpenLayers.
14781
14782 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14783
14784 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
14785 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
14786 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
14787 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
14788 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
14789 src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
14790 Removed superfluous imports.
14791
14792 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14793
14794 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
14795 Removed CallContext from state validation. It is not needed and hindered
14796 the extraction of all out of an artifact if you don't have a
14797 call context (like initial scan of datacage database).
14798
14799 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14800 Extract all outs now.
14801
14802 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
14803 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
14804 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
14805 src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java,
14806 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
14807 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
14808 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
14809 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
14810 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
14811 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
14812 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
14813 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
14814 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
14815 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
14816 src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
14817 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
14818 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
14819 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14820 Adjusted calls.
14821
14822 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14823
14824 * src/main/resources/messages.properties,
14825 src/main/resources/messages_de_DE.properties,
14826 src/main/resources/messages_en.properties,
14827 src/main/resources/messages_de.properties:
14828 Added lacalization of "Streckenfavoriten".
14829
14830 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14831
14832 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14833 Picky white-space cosmetics.
14834
14835 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14836
14837 Added stub implementation of new MainValuesArtifact.
14838
14839 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14840 New. Stub implementation for new MainValuesArtifact.
14841
14842 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14843
14844 Fixed flys/issue262
14845
14846 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
14847 Unified user and system tempate.
14848 Looks for "/artifact-database/metadata/template/text()"
14849 in conf.xml. Defaults to "${artifacts.config.dir}/meta-data.xml". If user id is
14850 given its the default connection for contexts.
14851
14852 * doc/conf/conf.xml: Adjusted
14853 * doc/conf/meta-data-system.xml, doc/conf/meta-data-user.xml: Deleted.
14854 * doc/conf/meta-data.xml: Unified version of user and system template.
14855
14856 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java:
14857 Adjusted the test program.
14858
14859 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14860
14861 Fixed flys/issue260
14862
14863 * doc/conf/meta-data-user.xml: Uses master_artifacts view now.
14864
14865 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14866
14867 * doc/conf/datacage.sql: Added view master_artifacts to select
14868 the master artifacts of the collections more easily.
14869 To upgrade existing database:
14870
14871 CREATE VIEW master_artifacts AS
14872 SELECT a2.id AS id,
14873 a2.gid AS gid,
14874 a2.state AS state,
14875 a2.creation AS creation,
14876 ci2.collection_id AS collection_id
14877 FROM collection_items ci2
14878 JOIN artifacts a2
14879 ON ci2.artifact_id = a2.id
14880 JOIN (SELECT ci.collection_id AS c_id,
14881 MIN(a.creation) AS oldest_a
14882 FROM collection_items ci
14883 JOIN artifacts a
14884 ON ci.artifact_id = a.id
14885 GROUP BY ci.collection_id) o
14886 ON o.c_id = ci2.collection_id
14887 WHERE a2.creation = o.oldest_a;
14888
14889 TODO: Use the view in the templates.
14890
14891 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14892
14893 * doc/conf/meta-data-user.xml: Removed state filter because it was broken.
14894 Simplified by joining two contexts.
14895
14896 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14897
14898 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14899 Fix issues with lines of annotation when zoomed (wrong scale used).
14900
14901 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14902
14903 Added legend for annotations to LongitudinalSectionDiagram.
14904
14905 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14906 Added a pseudo-dataseries/collection to employ existing infrastructure for
14907 displaying localized label for Annotations (yet unthemed).
14908
14909 * src/main/resources/messages.properties,
14910 src/main/resources/messages_de_DE.properties,
14911 src/main/resources/messages_en.properties,
14912 src/main/resources/messages_de.properties:
14913 Made label-string available for localization.
14914
14915 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14916
14917 Moved StickyAxisAnnotation into new package de.intevation.flys.jfree .
14918
14919 * src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java:
14920 Deleted/moved to src/main/java/de/intevation/flys/jfree/ .
14921
14922 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14923 New/moved from src/main/java/de/intevation/flys/export/ , adjusted
14924 package statement, made class public.
14925
14926 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14927 Added import statement for de.intevation.flys.jfree.StickyAxisAnnotation .
14928
14929 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14930
14931 Extracted and renamed CustomAnnotation to StickyAxisAnnotation. Also removed
14932 needless imports.
14933
14934 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14935 src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java:
14936 Extracted class implementation CustomAnnotation and renamed to
14937 StickyAxisAnnotation.
14938
14939 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14940
14941 Improved CustomAnnotations and rendering thereof, now including an
14942 "axis mark" (little line at axis), also prepared possibility to put
14943 annotations on Y-axis.
14944
14945 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14946 Improved CustomAnnotation to include marks on the axis and better spacing
14947 from it.
14948
14949 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14950
14951 Implemented proof-of-concept collision-detection when drawing
14952 CustomAnnotations (text only).
14953
14954 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
14955 Pass a fresh ChartRenderingInfo-Object to createBufferedImage, such that
14956 information can be collected while rendering.
14957
14958 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14959 Exploit the fact that XYTextAnnotation already registers drawn shape in the
14960 ChartRenderingInfo if it exists and either an URL or tooltip is set.
14961 Before drawing, calculate own shape and compare against already registered
14962 shapes.
14963
14964 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14965
14966 Implemented (yet dummy) custom Annotation class.
14967
14968 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14969 Added implementation of yet dummy CustomAnnotation class.
14970
14971 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14972
14973 Slightly improved rendering of annotations.
14974
14975 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14976 Slightly improved rendering of annotations. Still no valid collision
14977 detection. Annotations are drawn every 2 km; first come first serve.
14978
14979 2011-08-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14980
14981 Fix for flys/issue191
14982
14983 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(longestIncreasingWRangeIndices):
14984 Added a method to find the longest index range with increasing w values.
14985
14986 * src/main/java/de/intevation/flys/exports/ATWriter.java: Export the longest
14987 range of monotone increasing w values instead of the first one.
14988 TODO: The first line of the export is still broken.
14989
14990 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
14991 Removed superfluous import.
14992
14993 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14994
14995 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
14996 Resolved two TODOs: get Annotations of selected River, get "point"
14997 Annotations only.
14998
14999 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15000
15001 Added functionality to query range and point-annotations only to
15002 AnnotationFactory.
15003
15004 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java
15005 (getPointAnnotations, getAnnotationsBreadth):
15006 New functions to query breadth and point-only annotations.
15007
15008 2011-08-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15009
15010 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
15011 Added a development mode for recommendations. Enabled with
15012 stetting system property 'flys.datacage.recommendations.development' to true.
15013 When set the XML template are re-read if the timestamps of the
15014 files have changed so you do not have to restart the server again and again.
15015
15016 * doc/conf/meta-data-user.xml: Sort collections by creation time in descending order.
15017
15018 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15019
15020 Rather picky cosmetics only.
15021
15022 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
15023 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java,
15024 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
15025 src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java,
15026 src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
15027 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
15028 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
15029 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15030 End comments on a full stop, separate from closing '*/' by whitespace,
15031 adjusted javadoc comments.
15032
15033 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15034
15035 Made Annotations visible in LongitudinalSection diagrams.
15036
15037 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
15038 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15039 Register new Facet Type, let LongitudinalSectionGenerator include
15040 Annotations in diagram (yet unfiltered and independent of river).
15041
15042 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15043
15044 * doc/conf/conf.xml,
15045 doc/conf/artifacts/annotation.xml,
15046 doc/conf/meta-data-system.xml:
15047 Added configuration for AnnotationArtifacts.
15048
15049 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15050
15051 Added demo- implementation of a AnnotationArtifact and its Facet.
15052
15053 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
15054 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
15055 src/main/java/de/intevation/flys/artifacts/states/AnnotationRiverState.java:
15056 New. Initial version of an AnnotationArtifact and its State and Facet.
15057
15058 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15059
15060 * doc/conf/datacage.sql: Extended schema for artifacts and collections
15061 to have creation times, too.
15062
15063 To update existing databases:
15064
15065 ALTER TABLE artifacts ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp;
15066 ALTER TABLE collections ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp;
15067
15068 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15069 Store creation times for artifacts and collections, too.
15070
15071 * src/main/resources/datacage-sql/org-h2-driver.properties,
15072 src/main/resources/datacage-sql/org-postgresql-driver.properties:
15073 Adjusted SQL statements.
15074
15075 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15076
15077 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15078 Make it compilable again (BackendListener interface changed).
15079
15080 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15081
15082 * doc/conf/meta-data-user.xml: Added grouping element around w/q of each
15083 longitudinal section artifact.
15084
15085 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java,
15086 src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java:
15087 Added some debugging capabilities.
15088
15089 * src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java:
15090 Added isEmpty() method.
15091
15092 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
15093 Now it is possible to nest <dc:elements> into other elements in the <dc:context>
15094 body. This is useful and needed for grouping and repeating results.
15095
15096 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15097
15098 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
15099 User connection was cached, system was not. Lead to incorrect results.
15100
15101 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15102
15103 * doc/conf/meta-data-user.xml: Added <old_calculations> element
15104 around old calculations.
15105
15106 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15107
15108 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
15109 Cosmetic: Replaced usage of legacy java.util.Stack with java.util.Deque.
15110
15111 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15112
15113 * doc/conf/meta-data-user.xml: Use 'CAST(x AS uuid)' instead of 'x::uuid'
15114 to be more compatible.
15115
15116 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15117
15118 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
15119 If given an artifact place its identifier into parameters passed to template.
15120 Fixed swapped user/system connections if using the user template.
15121
15122 * doc/conf/meta-data-user.xml: Recommend w/q facet from old calculations
15123 if an artifact was given that represents a longitudinal section
15124 "Laengsschnitt".
15125
15126 TODO I: The template uses PostgreSQL specific UUID casts.
15127 TODO II: We need to find a way only to recommend the master artifacts.
15128
15129 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15130
15131 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
15132 Added a <dc:comment> tag to place comments in the meta data templates.
15133 <!-- ... --> comments are copied through.
15134
15135 * doc/conf/meta-data-user.xml: Added a simple test.
15136
15137 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15138
15139 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15140 Be a bit more tolerant about empty strings for UUIDs of artifact and user.
15141
15142 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15143
15144 Bring user specific meta data service to life.
15145
15146 * doc/conf/conf.xml: There are now two templates to configure:
15147 The system template (only the data from the backend) and the
15148 user template (the datcage db and the backend db),
15149
15150 * doc/conf/meta-data-template.xml: Deleted.
15151 * doc/conf/meta-data-user.xml: New. The user specific template. TODO: Write it!
15152 * doc/conf/meta-data-system.xml: New. The system template.
15153
15154 * src/main/java/de/intevation/flys/artifacts/datacage/templating/NoneUserSpecific.java:
15155 Deleted.
15156 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
15157 New. The logic to fill the templates.
15158
15159 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
15160 Adjusted to follow the new call signatures.
15161
15162 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15163 Refactored. Removed the old code and only leave the new service. Following
15164 XPaths are evaluated on the incomming document:
15165
15166 "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional.
15167 Used to fill the template enviroment.
15168 "/art:meta/art:user-id/@value" The UUID of the user. Optional.
15169 If given the user specific template is filled.
15170 "/art:meta/art:outs/@value" The list of outs used to recommend for the
15171 various outputs.
15172 "/art:meta/art:parameters/@value" A list of key/value pairs to inject more
15173 filters to the templating.
15174
15175 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java:
15176 Change to follow the new recommendations semantics.
15177
15178 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
15179 Added symbolic constants to distinguish "user" and "system" db connections.
15180
15181 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15182
15183 * doc/conf/conf.xml:
15184 Cosmetics, let comments start with a capital and end on a full stop,
15185 removed incorrect comment.
15186
15187 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15188
15189 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15190 Cosmetics, let comments start with a capital and end on a full stop.
15191
15192 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15193
15194 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java(extractOutputNames):
15195 Fixed potential NPE.
15196
15197 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15198
15199 Added support for more than one db connection in datacage templating.
15200
15201 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
15202 Now you can pass a list of named db connections to the build process.
15203 The purpose is to mix more then one database (e.g. the backend db and
15204 the user specific one).
15205
15206 To use this feature you can add an "connection" attribute
15207 to <dc:context> with the name of the connection to use.
15208 If no connection name is given the last used is used again.
15209 Initially the first connection in the given list is used.
15210 If the context is left the connection that was active before
15211 will be active again in a stacking manner.
15212
15213 When creating NamedConnection objects you can set a boolean flag
15214 if the results coming from the connection should be cached. This
15215 is useful e.g. for the user specific database which runs in-memory
15216 so caching would introduce some superfluous overhead.
15217
15218 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
15219 When executing the queries explicitly pass if caching should be used.
15220
15221 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15222
15223 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15224 Forgot to fetch dialect dependent SQL statement for deleting
15225 artifacts by uuid.
15226
15227 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15228
15229 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15230 Set the name of the collections at initial scan, too.
15231
15232 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15233
15234 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15235 Fixed wrong SQL references.
15236
15237 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15238
15239 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15240 Fixed two NPEs.
15241
15242 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15243
15244 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java,
15245 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15246 Forwarded kill collections and artifacts events to datacage.
15247
15248 * src/main/resources/datacage-sql/org-h2-driver.properties,
15249 src/main/resources/datacage-sql/org-postgresql-driver.properties:
15250 Added statement to delete artifact by uuid.
15251
15252 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15253
15254 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
15255 Made it compilable again. The signature of BackendListener has changed.
15256
15257 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15258
15259 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15260 Completed the backend listener stuff.
15261
15262 TODO I: Added some cleanup for orphaned artifacts.
15263 TODO II: Figure out a way to delete collections/artifacts
15264 which are delete from backend without the
15265 backend API.
15266
15267 * src/main/resources/datacage-sql/org-h2-driver.properties,
15268 src/main/resources/datacage-sql/org-postgresql-driver.properties:
15269 Added needed statements.
15270
15271 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15272
15273 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15274 Update collection names on change. Remove artifacts from collections.
15275
15276 * src/main/resources/datacage-sql/org-h2-driver.properties,
15277 src/main/resources/datacage-sql/org-postgresql-driver.properties:
15278 Added needed statements.
15279
15280 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15281
15282 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
15283 Call datacage with the global context. This is needed to access the state engine.
15284
15285 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: Changed
15286 signatures to take the global context, too. Create artifacts via backend listener
15287 interface.
15288
15289 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15290
15291 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
15292 Fixed recursion bug.
15293
15294 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15295
15296 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
15297 Added debug output.
15298
15299 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15300
15301 * doc/conf/conf.xml: Added backend listener for datacage.
15302
15303 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
15304 New. Proxies backend listener calls to datacage.
15305
15306 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15307 Implements backend listener. TODO: Update the datacage database
15308 according the change calls.
15309
15310 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15311
15312 * src/main/java/de/intevation/flys/artifacts/services/meta,
15313 src/main/java/de/intevation/flys/artifacts/datacage/templating:
15314 Moved/renamed package to better fit the common semantics.
15315 DataCage.java is now call NoneUserSpecific.java to reflect the
15316 fact that it is the template for the user independent db
15317 analysis.
15318
15319 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
15320 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15321 Ajusted imports and calls.
15322
15323 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15324
15325 * doc/conf/conf.xml: For documentation purposes added a out-commented
15326 section with the default configuration of the datacage.
15327
15328 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15329
15330 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15331 Delete the artifacts at before initial scan, too. They are independent
15332 from users. Fixed problem when writing state data content.
15333
15334 * src/main/resources/datacage-sql/org-h2-driver.properties: Added
15335 statement to delete the artifacts at initial scan, too.
15336
15337 * src/main/resources/datacage-sql/org-postgresql-driver.properties:
15338 New. PostgreSQL version of the statements. The database scheme
15339 is the same as H2. Very useful for debugging.
15340
15341 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15342
15343 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15344 Added kludge for the types of artifact data. They seem to be null
15345 in some circumstances. Needs to be debugged!
15346
15347 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15348
15349 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java:
15350 Fixed default connection URL to use a namend in-mermory database.
15351
15352 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15353
15354 * doc/conf/datacage.sql: Fixed constraint.
15355
15356 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15357 Added some debug output.
15358
15359 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15360
15361 * doc/conf/datacage.sql: Removed artifact_id from facet because there
15362 is a link via out_id -> outs.id: artifact_id -> artifacts to
15363 find the corresponding artifact.
15364
15365 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
15366 src/main/resources/datacage-sql/org-h2-driver.properties: Store
15367 facets of outs into datacage db at initial scan.
15368
15369 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15370
15371 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
15372 src/main/resources/datacage-sql/org-h2-driver.properties:
15373 Store outs of artifacts into datacage db at initial scan.
15374 TODO: store facets.
15375
15376 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15377
15378 * doc/conf/datacage.sql: Added 'type' column in artifacts data.
15379 Maybe useful for filtering.
15380
15381 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
15382 src/main/resources/datacage-sql/org-h2-driver.properties:
15383 Store artifact data into db at initial scan.
15384 TODO: store outs and facets.
15385
15386 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15387
15388 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
15389 src/main/resources/datacage-sql/org-h2-driver.properties:
15390 Add artifacts into datacage db at initial scan.
15391 TODO: Store data, outs and facets.
15392
15393 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15394
15395 * doc/conf/datacage.sql: Fixed spelling in sequence name.
15396
15397 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
15398 src/main/resources/datacage-sql/org-h2-driver.properties: Simply add
15399 collection item at initial scan if artifact was stored before.
15400 TODO: Store new artifacts.
15401
15402 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15403
15404 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
15405 src/main/resources/datacage-sql/org-h2-driver.properties: Add
15406 collections at initial scan.
15407
15408 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15409
15410 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
15411 src/main/resources/datacage-sql/org-h2-driver.properties: Add users
15412 at initial scan.
15413
15414 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15415
15416 * doc/conf/datacage.sql: Using sequences for id generation now
15417 to make schema more compatible.
15418
15419 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15420
15421 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
15422 src/main/resources/datacage-sql/org-h2-driver.properties: Clear database
15423 before initial scan.
15424
15425 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15426
15427 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java:
15428 Deleted. This stuff comes from the artifact database now.
15429
15430 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java:
15431 New. The db config of the datacage database.
15432
15433 * src/main/resources/datacage-sql/org-h2-driver.properties: New.
15434 The SQL statements needed for the datacage.
15435
15436 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15437 Make use of the db config.
15438
15439 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15440
15441 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
15442 New. A artifact database lifetime listener to build the initial
15443 index of the artifacts in database.
15444
15445 * doc/conf/conf.xml: Added the datacage to the list of lifetime
15446 listeners.
15447
15448 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15449
15450 * doc/conf/datacage.sql: Added an explicit table for the outs
15451 of an artifact.
15452
15453 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15454 Make the current outs of an artifact accessible only with
15455 the global context.
15456
15457 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15458
15459 * doc/conf/datacage.sql: Added ON DELETE CASCADE constraints.
15460 Added state in facet.
15461
15462 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15463
15464 * doc/conf/datacage.sql: New. H2 Schema for the datacage database.
15465 Uses special features like IDENTITY (autoincrement) typed columns.
15466
15467 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java:
15468 Pooled connection.
15469
15470 * pom.xml: Added dependencies to H2 and Apache DBCP.
15471
15472 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15473
15474 * src/test/java/de/intevation/flys/artifacts/AppTest.java,
15475 src/main/java/de/intevation/flys/artifacts/App.java: Removed.
15476 This the stupid "Hello, World!" app initially created by the
15477 maven archetype. It was never used.
15478
15479 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15480
15481 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
15482 Argh! Usage the DOM was not thread safe (discovered with ab).
15483
15484 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15485
15486 * doc/conf/meta-data-template.xml: '$recommended' lead to XPath
15487 errors. Using "dc:contains($parameters, 'recommended')" helps.
15488
15489 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java,
15490 src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
15491 Added some debugging.
15492
15493 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
15494 Added parameters as 'parameters' to parameters. Usefull to check
15495 for containment of variables.
15496
15497 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15498
15499 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15500 Added 'if log.isDebugEnabled() {}'.
15501
15502 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15503
15504 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15505 Made Artifact UUID optional and accept extra parameters, too. This enables
15506 the service to be used without an arttifact and test all filters.
15507
15508 <art:meta xmlns:art="http://www.intevation.de/2009/artifacts">
15509 <art:outs value="computed_discharge_curve,floodmap"/>
15510 <art:parameters value="river:Elbe"/>
15511 <art:filters value="recommended"/>
15512 </art:meta>
15513
15514 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
15515 'contain' accept Maps and collection, too.
15516
15517 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
15518 Made artifact option (= null) in recommendations.
15519
15520 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15521
15522 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
15523 Moved connection specific into inner class. The enables the reuse of the
15524 compiled statement.
15525
15526 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: The
15527 SQL statements are now only compiled once at creation time of the builder.
15528 Each connection now reuses them.
15529
15530 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15531
15532 * doc/conf/cache.xml: Added configuration for static datacage db access.
15533
15534 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: Using
15535 caches seems to need an explicit System.exit().
15536
15537 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
15538 Added support for caching the SQL statements and there results.
15539
15540 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: Some
15541 clean up. Reordered code for performance. Strip SQL statements more
15542 aggressively.
15543
15544 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
15545 Made it Serializable.
15546
15547 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
15548 Introduced system property 'flys.artifacts.cache.config.file' to make
15549 the caching configurable without pulling up the whole stack.
15550
15551 2011-07-22 Ingo Weinzierl <ingo@intevation.de>
15552
15553 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15554 Prepared the FLYSArtifactCollection to support the storage of already
15555 loaded recommendations in its attribute document.
15556
15557 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15558
15559 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15560 Adjusted to use the DataCage recommendations. The incomming document
15561 can pass the artifacts UUID by '/art:outs/@value' the outs as a
15562 comma separated list in '/art:outs/@value' and optional a set of
15563 filters comma separated in '/art:filters/@value'.
15564
15565 If UUID and OUTS are not given the old service is used. This
15566 should be removed as soon as the client uses the new service.
15567
15568 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15569
15570 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
15571 Allow '-' in variable names.
15572
15573 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
15574
15575 * doc/conf/meta-data-template.xml: Now, the river-id is really added to
15576 the factory node of the wmsbackground layer.
15577
15578 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
15579
15580 * doc/conf/meta-data-template.xml: Added the river-id to the factory node
15581 of the riveraxis and wmsbackground layer.
15582
15583 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15584
15585 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java,
15586 src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
15587 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
15588 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
15589 Adjusted to implement changed Service interface.
15590
15591 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
15592
15593 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Refactored
15594 the method that retrieves the Outputs for the Artifact. Now, we are able
15595 to query the Outputs for the current state, and all outputs separately.
15596
15597 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: The
15598 recommendations provided by this monitor will take the Outputs of the
15599 current state only into account.
15600
15601 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
15602
15603 * doc/conf/meta-data-template.xml: Added conditions for each output type.
15604 Splitted the "floodmap" output into two parts: a recommended one and a
15605 complete one. The recommended part will only build the document tree for
15606 the recommended artifacts; the complete part will build the whole document
15607 tree that is available for a floodmap.
15608
15609 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
15610 This Hook now uses the DataCage to generate the recommended artifacts.
15611 The output-defaults configurtion is needless now.
15612
15613 * doc/conf/output-defaults.xml: Removed. The configuration of recommended
15614 artifacts takes place in meta-data-template.xml.
15615
15616 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
15617 Bugfix: the DataCage didn't start working if its builder was NOT null,
15618 but it shouldn't start if the builder IS null.
15619
15620 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15621
15622 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
15623 Now it is possible to directly pass a Node as a root to the builder.
15624 The owning document if fetch by Node.getOwnerDocument(). This is
15625 useful if you want to generate the recommendation directly into
15626 an already existing document under a given node.
15627
15628 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
15629 Changed the signature of recommend() to accept a node where to
15630 append the recommendations.
15631
15632 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15633
15634 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
15635 Added a macro mechanism:
15636
15637 <dc:macro name="keine-fuenf">
15638 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text>
15639 </dc:macro>
15640 <dc:call-macro name="keine-fuenf"/>
15641 <dc:call-macro name="keine-fuenf"/>
15642 <dc:call-macro name="keine-fuenf"/>
15643
15644 Macros can be defined everywhere in the template
15645 with 'macro'. There bodies can contain all valid elements
15646 including other 'macro's and 'call-macro's. They are
15647 called with their 'name' with 'call-macro'. The control flow
15648 is continued inside the body of the called macro and
15649 will continue right after the calling 'call-macro' when
15650 the macro body is finished.
15651
15652 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15653
15654 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
15655 Added a new 'if' construct similiar to XSLT:
15656
15657 <dc:if test="not(dc:contains($outs, '5'))">
15658 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text>
15659 </dc:if>
15660
15661 The control flow is continued inside the 'if' if the 'test' attribute
15662 as an XPath expression on an empty document evalutes to true.
15663 Else the inside is skipped. There is no 'else'. Use 'choose'/'otherwise'
15664 if you need this.
15665
15666 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15667
15668 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
15669 Added a recommend() method to generate recommendations for
15670 a given artifact, outs and extra parameters.
15671
15672 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added
15673 method to extract all data at once.
15674
15675 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15676
15677 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
15678 New. Custom XPath function provider. Provides
15679 'dc:contains(Object [] haystack, Object needle)' by now. Should be
15680 useful to check containments in 'out' lists later.
15681
15682 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
15683 Register the FunctionResolver to the evaluated XPaths.
15684
15685 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java:
15686 Added code to parse
15687 "param:a,b,c" to "param" -> new String [] { "a", "b", "c" } to
15688 help testing the 'dc:contains' XPath function.
15689
15690 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
15691
15692 * doc/conf/conf.xml: Added wms configurations for Saar, Mosel and Elbe.
15693 Each river supported by FLYS requires such a WMS configuration. A WMS
15694 should contain layers for the river axis, buildings, kilometer labels
15695 and maybe a background layer as well.
15696
15697 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
15698 Added key that is used to store a map of WMS URLs - for each river a
15699 WMS URL.
15700
15701 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
15702 Parse the river WMS from global configuration.
15703
15704 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
15705 Create WMSLayerFacets with URLs based on the river and the river wms
15706 configuration stored in the FLYSContext.
15707
15708 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
15709 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
15710 Adapted the initialize() signature and the method call of computeInit()
15711 which requires a FLYSContext to retrieve the river WMS configurations.
15712
15713 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
15714 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15715 Added the context object parameter to the computeInit() method.
15716
15717 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
15718 initialize() with the context object - which is a FLYSContext or a
15719 CallContext.
15720
15721 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15722
15723 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java:
15724 Check if builder was created properly before using it.
15725
15726 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
15727 Implements now variable provider for XPath expressions.
15728
15729 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
15730 Added new choose/when/otherwise construct similiar to XSLT
15731
15732 <dc:choose>
15733 <dc:when test="$river = 'Mosel'">
15734 <dc:text>Es ist die Mosel.</dc:text>
15735 </dc:when>
15736 <dc:when test="$river = 'Saar'">
15737 <dc:text>Es ist die Saar.</dc:text>
15738 </dc:when>
15739 <dc:otherwise>
15740 <dc:text>Es ist weder Mosel noch Saar.</dc:text>
15741 </dc:otherwise>
15742 </dc:choose>
15743
15744 A 'choose' block can contain a list of 'when's and an optional
15745 'otherwise'. For each 'when' the test attribute is evaluated
15746 as an XPath expression on an empty document. The result of
15747 the evaluation is taken as a boolean value. If its value is
15748 true the control flow is continued inside the corresponding
15749 'when' and the other choose elements are not tested.
15750 If the value is values the testing continues with the next
15751 'when'. If no 'test' expression is evaluated to true, the
15752 control flow continues inside the 'otherwise'. If no 'otherwise'
15753 is given nothing happens at all.
15754
15755 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
15756
15757 * doc/conf/conf.xml: Added a config section for floodmaps. Currently, the
15758 background layer's url and layername is defined here.
15759
15760 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
15761 Read the background layer configuration from conf.xml. Those values are
15762 used to create the WMSLayerFacet.
15763
15764 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
15765
15766 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
15767 The background layer facet will no longer have an extent set.
15768
15769 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
15770
15771 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
15772 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
15773 Set the extent of the created WMSLayerFacets and i18n its descriptions.
15774
15775 * src/main/resources/messages.properties,
15776 src/main/resources/messages_de_DE.properties,
15777 src/main/resources/messages_en.properties,
15778 src/main/resources/messages_de.properties: Added I18N strings for the
15779 background an river axis layer.
15780
15781 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
15782
15783 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
15784 This facet type has a method to set the extent of a WMS layer. The
15785 extent is written to the facets XML node in toXML() as well.
15786
15787 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
15788
15789 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
15790 the signature of setup() which requires a CallMeta parameter now.
15791
15792 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
15793 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: Use
15794 the CallMeta object retrieved in setup() to call initialize(). It is now
15795 able to i18n things.
15796
15797 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15798
15799 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: New.
15800 Standalone app to debug the datacage template. To use in a maven environment:
15801
15802 -Dmeta.data.template=PATH_TO_META_DATA-TEMPLATE.XML \
15803 -Dmeta.data.parameters=river:Mosel \
15804 -Dmeta.data.output=OUTPUT.XML \
15805 -Dflys.backend.user=DB_USER \
15806 -Dflys.backend.password=DB_PASSWORD \
15807 -Dflys.backend.url=DB_CONNECTION_URL \
15808 -Dexec.mainClass=de.intevation.flys.artifacts.services.meta.App
15809
15810 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15811
15812 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
15813 New. First step to factor out the "Datenkorb" logic into a service independent
15814 singleton.
15815
15816 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15817 Uses the "Datenkorb" singleton now.
15818
15819 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
15820
15821 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
15822 Removed "index" property, because it is already existing in parent
15823 class.
15824
15825 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15826
15827 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15828 Improved error handling.
15829
15830 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15831
15832 * src/main/resources/metadata/template.xml: Deleted.
15833
15834 * doc/conf/meta-data-template.xml: New. Was template.xml
15835
15836 * doc/conf/conf.xml: Made meta data template configurable.
15837
15838 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15839 Load template from configuration not from resources.
15840
15841 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15842
15843 * src/main/resources/metadata/template.xml: s/[a-z]+-id/db-id/
15844 Make database ids identifiable with unique name "db-id".
15845
15846 2011-07-19 Ingo Weinzierl <ingo@intevation.de>
15847
15848 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
15849 Override the toXML() method. Subclasses can now write their own XML
15850 representation.
15851
15852 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
15853 New. This ManagedFacet uses an Element (DOM) to store the information
15854 about a facet. The intent of this facet type is to represent a facet
15855 stored in an Collection attribute. Different facets can have different
15856 attributes that we need to parse, but the only thing ManagedFacets need
15857 to do, is to adjust the attributes "active" and "position". So, those
15858 values are set directly on the Element, the other attributes aren't
15859 touched.
15860
15861 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java:
15862 New. This facet is a wrapper for another facet. This subclass of a
15863 ManagedFacet overrides the toXML() method. The XML representation is
15864 defined by the inner facet that is stored as member variable. The
15865 ManagedFacet specific attributes "artifact", "facet", "pos" and "active"
15866 are added manually.
15867
15868 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Uses
15869 the toXML() method to write a facet node into the attribute document.
15870
15871 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Uses
15872 the ManagedDomFacet to save the information of a facet which is
15873 contained in the attribute part of a Collection's DESCRIBE document.
15874
15875 * src/main/java/de/intevation/flys/collections/OutputParser.java: Uses the
15876 ManagedFacetAdapter to save a facet, because we want to keep the
15877 specific facet to be able to write its specific XML representation into
15878 the Collection's DESCRIBE document.
15879
15880 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15881 Adapted the XPath of facets stored in the attribute part of the
15882 DESCRIBE.
15883
15884 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
15885
15886 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
15887 method that returns the Outputs for the Artifact.
15888
15889 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15890 Adapeted the call of OutputParser.
15891
15892 * src/main/java/de/intevation/flys/collections/OutputParser.java:
15893 Simplified the code to read the Outputs of Artifacts. This parser will
15894 now longer parse the DESCRIBE documents of the Artifacts, but query the
15895 Outputs via FLYSArtifact.getOutputs() directly.
15896
15897 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
15898
15899 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
15900 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
15901 Adapted the function call of ProtocolUtils.appendOutputModes().
15902
15903 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
15904 Override toXML() to add the URL and layernames to the XML representation
15905 of this facet.
15906
15907 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
15908
15909 * doc/conf/artifacts/wmsbackground.xml,
15910 doc/conf/artifacts/riveraxis.xml: New configurations for an Artifact
15911 that is used as background layer in floodmaps, and an artifact that is
15912 used as layer showing the river axis in a floodmap.
15913
15914 * doc/conf/output-defaults.xml: New file to configure default artifacts
15915 for specific output states. E.g. the floodmap state recommends a
15916 background layer and a layer displaying the river axis. In suche case,
15917 the floodmap state recommends two artifacts for the two layers.
15918
15919 * doc/conf/conf.xml: Added new artifacts/artifact-factories and a Hook to
15920 monitor artifacts (-> CollectionMonitor.java).
15921
15922 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
15923 New. This facet is used to represent a layer in a map. So, this facet
15924 stores information about a WMS URL and the layer names provided by this
15925 WMS.
15926
15927 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
15928 facet types for the wmsbackground and riveraxis.
15929
15930 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
15931 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java:
15932 New. An artifact and its default state. The intent of these classes is
15933 to generate WMSLayerFacets which represent background layers in maps.
15934
15935 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
15936 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: New.
15937 An artifact and its default state. The intent of these classes is to
15938 generate WMSLayerFacets which represent layers that display a river
15939 axis.
15940
15941 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15942 Added the INIT ComputeType.
15943
15944 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
15945 case for the INIT ComputeType while computing data.
15946
15947 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
15948
15949 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15950 Added a method computeInit() which is called to initialize data/facets
15951 after an artifact has been created.
15952
15953 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Repaired
15954 broken XPath.
15955
15956 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
15957
15958 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
15959 Removed the code to generate new artifacts. Instead of creating new
15960 artifacts automatically, we decided to suggest creating new artifacts
15961 from specific types. Therefore, the DESCRIBE document of the artifacts
15962 is extended with a node that contains recommended artifact types.
15963
15964 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15965 FLYSArtifacts might be setup with the identifier of an other
15966 FLYSArtifact. Subclasses are able to override a method called
15967 initialize(Artifact, GlobalContext). This might be helpful to extract
15968 required values or clone artifacts.
15969
15970 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
15971
15972 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
15973 Adapted the signature of createArtifactContext() - it returns an
15974 instance of GlobalContext now.
15975
15976 2011-07-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15977
15978 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
15979 Debugged the water fill algorithm. Added a lot of logging.
15980
15981 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
15982 Added a text field to give a water level to fill in.
15983
15984 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
15985
15986 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
15987 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved code
15988 to create the output modes based on the given facets to FLYSArtifact. In
15989 addition, FLYSArtifact got a new method that returns a specific input
15990 value as string.
15991
15992 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: New.
15993 This hook monitors the "post-feed" and "post-advance". If the monitored
15994 Artifact's state has configured recommended artifacts, this hook will
15995 create new Artifacts.
15996
15997 TODO: We have to add the UUIDs of the new Artifacts to the DESCRIBE
15998 document of the artifact to let the client know, that there are new
15999 recommended Artifacts.
16000
16001 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: New.
16002 This Artifact is the base class for Artifacts, that represent static
16003 data. E.g. this could be a decoration theme in a chart or a background
16004 layer in the map.
16005
16006 * src/main/java/de/intevation/flys/artifacts/states/OutputState.java: New.
16007 This state might be used as base class for states, that doesn't require
16008 any user input, but only provide static Facets added by a computeFeed()
16009 operation. So, subclasses need to implement computeFeed() only.
16010
16011 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16012
16013 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
16014 New. Standalone Swing-App to test cross sections from database without the
16015 hassles of our complete software stack. Runnable from a maven environment:
16016
16017 $ mvn -e \
16018 -Dflys.backend.user=DB_USER \
16019 -Dflys.backend.password=DB_PASSWD \
16020 -Dflys.backend.url=DB_CONNECTION_URL \
16021 -Dexec.mainClass=de.intevation.flys.artifacts.charts.CrossSectionApp \
16022 exec:java
16023
16024 You can set the river to be used with the system property 'river'.
16025 Defaults to 'Mosel'.
16026
16027 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
16028 Removed superfluous imports.
16029
16030 2011-07-13 Ingo Weinzierl <ingo@intevation.de>
16031
16032 * doc/conf/artifacts/winfo.xml: The FloodMapState has a new Outputmode
16033 called "floodmap" now.
16034
16035 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: New.
16036 This facet is used to generate WSPLGEN results.
16037
16038 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
16039 the WSPLGENFacet.
16040
16041 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16042 This state will now generate WSPLGENFacets.
16043
16044 2011-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16045
16046 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
16047 Fixed corner case.
16048
16049 2011-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16050
16051 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: New.
16052 fillWater() generates a list of wet lines for a given profile and a
16053 given water level.
16054
16055 2011-07-08 Ingo Weinzierl <ingo@intevation.de>
16056
16057 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
16058 Outputs created while generating the DESCRIBE document will now have the
16059 'type' member set.
16060
16061 * src/main/java/de/intevation/flys/collections/OutputParser.java: Read the
16062 'type' member from DESCRIBE document.
16063
16064 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
16065
16066 * doc/conf/artifacts/winfo.xml: Removed a typo.
16067
16068 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
16069
16070 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
16071 DataFacet are now able to store the ID of the state which has created
16072 this Facet.
16073
16074 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16075 Initialize DataFacets with the ID of this state. This is necessary to
16076 renew the waterlevel data if it is no longer existing in the cache.
16077
16078 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
16079
16080 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: A
16081 report facet can now store the state's id and the artifact's hash value
16082 when it has been created.
16083
16084 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16085 Initialize the ReportFacet and WaterlevelFacet with state id and hash
16086 information. This has been necessary to retrieve reports and waterlevels
16087 in states after this one - in states that we need to enter for floodmap
16088 parameterization.
16089
16090 2011-07-05 Ingo Weinzierl <ingo@intevation.de>
16091
16092 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java:
16093 Changed the desired UI provider.
16094
16095 2011-07-05 Ingo Weinzierl <ingo@intevation.de>
16096
16097 * doc/conf/artifacts/winfo.xml: Added the option to continue the
16098 waterlevel parameterization with the intent to create flood maps.
16099
16100 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16101 This state is no longer a final state. The user has the option to
16102 continue with the parameterization for flood maps based on the current
16103 waterlevel. Therefore, this states desires the "continue" UI provider.
16104 Clients should recognice this to just step to the next state or display
16105 a button that lets the user step to the next state manually.
16106
16107 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java,
16108 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
16109 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
16110 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
16111 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
16112 src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java:
16113 New. These states are used to parameterize a further calculation type:
16114 flood map.
16115
16116 * src/main/resources/messages.properties,
16117 src/main/resources/messages_de_DE.properties,
16118 src/main/resources/messages_en.properties,
16119 src/main/resources/messages_de.properties: Required strings for the
16120 flood maps states.
16121
16122 2011-07-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16123
16124 Fix(?) for flys/issue114
16125
16126 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
16127 Make guessing a bit more robust.
16128
16129 2011-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16130
16131 Added the math needed to calculate "W-Differenzen" in "Laengsschnitten".
16132 Needs testing!
16133
16134 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
16135 Made it an interface to be usable in more than one inheritance chain.
16136
16137 * src/main/java/de/intevation/flys/artifacts/model/NamedObjectImpl.java:
16138 Implements the NamedObject interface and is the new base class of
16139 WQ and WKmsImpl.
16140
16141 * src/main/java/de/intevation/flys/artifacts/model/WKms.java:
16142 New. Interface to associate kms with ws.
16143
16144 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
16145 Changed the base class to NamedObjectImpl. Renamed getKms(int)
16146 to getKm(int) to make clear it return a single scalar value
16147 and fullfil the WKms interface.
16148
16149 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
16150 New. Implements the WKms interface. Intended to be a lightweight
16151 datastore for "zusaetzliche Laengsschnitte" and as results
16152 of the WKmsOperations.
16153
16154 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
16155 Changed base class to NamedObjectImpl.
16156
16157 * src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java:
16158 New. Operations on WKms data.
16159 Currently only the SUBTRACTION operation is implemented. This
16160 one is needed to calculate the "W-Differenzen". The operation
16161 is insensitive about the km directions of the datasets. Missing
16162 values are interpolated linear.
16163
16164 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
16165 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16166 Adjusted to satisfy the signature change of WQKMs.
16167
16168 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
16169
16170 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: New. This
16171 XYSeries stores the style information that should be used to render this
16172 series. These information are stored as raw XML documents. A public
16173 method can be used to apply those style information to a
16174 XYLineAndShapeRenderer.
16175
16176 Note: The only two attributes currently supported by StyledXYSeries
16177 items are "linesize" and "linecolor".
16178
16179 * doc/conf/themes.xml: Added some more basic themes for the four
16180 calculation methods.
16181
16182 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: This
16183 generator now tries to apply themes for all series contained in the
16184 chart. If a series is no instance of StyledXYSeries, the default
16185 renderer is used.
16186
16187 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
16188 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
16189 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
16190 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
16191 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16192 Removed the code that had been introduced to adapt renderers statically.
16193 Now, each of these concrete ChartGenerators instantiates StyledXYSeries
16194 items to put the curves into the chart. Those items contain style
16195 information now!
16196
16197 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
16198
16199 flys/issue135 (Diagramm: Trotz abgeschalteter Themen bleiben Beschriftungen bestehen)
16200
16201 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The way
16202 to store datasets has changed. Until this revision, the concrete
16203 generators managed their own datasets. E.g. the
16204 DischargeLongitudinalSectionGenerator had three datasets: w, q and
16205 corrected w. Now, there are just two datasets, managed by this base
16206 generator - one dataset for the first Y axis and one dataset for the
16207 second Y axis. This makes it easier to remove axes, that have no data to
16208 be displayed. All concrete chart generators have to add their XYSeries
16209 using two methods: addFirstAxisSeries() and addSecondAxisSeries().
16210
16211 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
16212 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
16213 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
16214 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
16215 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16216 Those concrete chart generators no longer manage datasets themself but
16217 they use the two methods described above, to plot the data to the first
16218 or second Y axis.
16219
16220 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
16221
16222 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
16223 Added the option to use a filter to reduce the number of items returned
16224 by this service.
16225
16226 2011-06-30 Ingo Weinzierl <ingo@intevation.de>
16227
16228 flys/issue159 (WINFO: Radiobutton - Ortsauswahl bei "W für ungleichwertigen Abflusslängsschnitt" entfernen)
16229
16230 * doc/conf/artifacts/winfo.xml: Changed the kilometer range input for
16231 calculation 4. This calculation type requires a kilometer range. So,
16232 after choosing the calculation 4, the transition model leads to a state
16233 that just allows the input of a kilometer range with no option to
16234 enter locations.
16235
16236 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
16237 New. A base state for the kilometer selection for calculations. The
16238 target of this state is to provide facets for the duration curves.
16239
16240 * src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java:
16241 New. This state is used to enter a kilometer range. The difference to
16242 the LocationDistanceSelect state is, that there is no option to enter
16243 locations.
16244
16245 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
16246 Improved this state to be the base state for calculation ranges.
16247
16248 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java
16249 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java
16250
16251 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
16252 state no longer inherits from RangeState which now is used as base
16253 state for kilometer ranges.
16254
16255 * src/main/resources/messages.properties,
16256 src/main/resources/messages_de_DE.properties,
16257 src/main/resources/messages_en.properties,
16258 src/main/resources/messages_de.properties: Added new i18n strings for
16259 the DistanceSelect state.
16260
16261 2011-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16262
16263 * pom.xml: Downgraded Trove to 1.1-beta-5, because the new
16264 later ones are removed from the maven repos.
16265
16266 The functionality we need is in 1.1 so this downgrade should
16267 cause no problems.
16268
16269 Would be nice if we would support the maintainers of trove to
16270 bring there new versions back into the main maven repos.
16271
16272 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
16273
16274 * pom.xml: Repaired the JBoss repository which place has changed.
16275
16276 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
16277
16278 Tagged RELEASE 2.4
16279
16280 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
16281
16282 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
16283 src/main/java/de/intevation/flys/exports/WstWriter.java:
16284 Append the corrected W column (if existing) to the WST export.
16285
16286 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16287
16288 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
16289 Guessing increaing w is not based on direct neighbors any more.
16290 The second to be compared with is choosen by random of
16291 the values before the first one. This makes the guessing
16292 more robust against 'plateaus' of equal w values.
16293
16294 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16295
16296 * src/main/java/de/intevation/flys/exports/ATWriter.java: Array
16297 for constructing the spline was too large leading to non-increasing
16298 values.
16299
16300 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16301
16302 Fix for flys/issue150
16303
16304 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
16305 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16306 Invert the x axis if its guessed that water is increasing.
16307
16308 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16309
16310 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(guessWaterIncreasing):
16311 Added a method to guess based on a given factor of the size (default 0.05)
16312 if the water levels are increasing. Needed to determine in which direction
16313 the water level curve should be orientated. Based on random to avoid
16314 running over large dataset each time a diagram is generated.
16315
16316 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
16317
16318 flys/issue177 (WINFO: Abflusskurven am Pegel verursachen ein Hängen des Servers)
16319
16320 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
16321 Commented out code to generate time ranges for series names. There
16322 seems to be a problem while loading the discharge tables of a gauge or
16323 while determining the start and/or end time of such discharge tables.
16324
16325 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16326
16327 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace.
16328
16329 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16330
16331 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16332 Removed dead code.
16333
16334 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16335
16336 Fix for flys/issue173
16337
16338 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
16339 Fixed the way the gauge was found for a given interval.
16340 The old way does not work because it was just tested if
16341 the station point was inside the segments which is not
16342 necessarily true. The obvious solution to simply check
16343 the overlapping intervals does not work either because
16344 the gauge ranges touch each other and so more than
16345 one gauge are returned in these cases. The River.maxOverlap()
16346 is now used to find the gauge with the max overlapping
16347 range.
16348
16349 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16350
16351 Fix for flys/issue147
16352
16353 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
16354 Removed the 'kmUp' flag. It was an left over from former
16355 WSP calculations (w/o ref km) leading to wrong results now.
16356
16357 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16358 Don't pass the kmUp flag to the calculation.
16359
16360 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16361 Added debug output to see the value of 'wq_free'.
16362
16363 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16364
16365 Fix for flys/issue86
16366
16367 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16368 The reference gauge for calculations "am Pegel" was determined
16369 wrong.
16370
16371 2011-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16372
16373 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
16374 Conversion w->q was broken. This should fix a number of issues
16375 around "W am Pegel" calculations.
16376
16377 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16378 Issue an error report if a w->q conversion fails.
16379
16380 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16381 The gauge to convert w->q with its discharge table was determined wrong.
16382
16383 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
16384
16385 flys/issue174 (Diagramm: Q-Linie wird bei initialem Laden des Diagramms
16386 anders dargestellt als bei Ansicht auf gesamten Wertebereich)
16387
16388 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16389 The chart will now have upper margins again.
16390
16391 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
16392
16393 flys/issue172 (Diagramm: Ursprung der Diagramme bei Dauerzahlen)
16394
16395 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
16396 Charts of this type will have the lower X value set to "0".
16397
16398 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16399
16400 * src/main/java/de/intevation/flys/exports/ATWriter.java:
16401 Results are now in cm. Made it more robust against corner cases.
16402
16403 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16404 Removed superfluous import.
16405
16406 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16407
16408 * doc/conf/artifacts/winfo.xml, doc/conf/conf.xml:
16409 Added facet config for AT exports.
16410
16411 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
16412 Added 'at' facet type.
16413
16414 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
16415 Generate AT facets.
16416
16417 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16418
16419 * src/main/java/de/intevation/flys/exports/ATExporter.java: New.
16420 Exporter for AT facets. Needs testing.
16421
16422 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16423
16424 * src/main/java/de/intevation/flys/exports/ATWriter.java: New.
16425 Writer for AT files. New code because our data model differs
16426 from Desktop-FLYS. Needs testing.
16427
16428 2011-06-23 Ingo Weinzierl <ingo@intevation.de>
16429
16430 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
16431
16432 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
16433 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16434 Moved the method that adjusts the X-axis to include the "0" value from
16435 ComputedDischargeCurveGenerator to DischargeCurveGenerator. Now, both
16436 charts will include the "0" on the X-axis.
16437
16438 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16439
16440 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
16441 Based on WQ now to make it exportable as AT.
16442
16443 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16444
16445 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
16446 New. Base class for WQKms.
16447
16448 TODO 1: make it a base class for WQDay, too,
16449 TODO 2: Generate instances of WQ instead of WQKms in "Abflusskurven"
16450 calculations. This will save memory.
16451
16452 AT exporter will get instances of this class as data model
16453
16454 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
16455 Add default constructor to ease inheritance.
16456
16457 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
16458 Based on WQ now. Removed code allready defined in base class.
16459
16460 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16461
16462 * doc/conf/artifacts/winfo.xml: Add TODOs for error reports
16463 of "Abflusskurven am Pegel". Maybe we don't need them?
16464
16465 * doc/conf/conf.xml: Configure report for each calculated output type.
16466
16467 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
16468
16469 flys/issue164 (Berechnung 4: Umgekehrtes Berechnungsintervall führt zur)
16470
16471 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
16472 Create the items with range information for W and Q which allows the
16473 client to validate the user inserted values.
16474
16475 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16476
16477 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16478 Arguments in filling datastructure were flip. Now
16479 the "Abflusskurve am Pegel" looks correct again.
16480
16481 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
16482 Removed superfluous imports.
16483
16484 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16485
16486 Improved situtation on rendering "Abflusskurve am Pegel". Not
16487 fully working, yet.
16488
16489 * doc/conf/artifacts/winfo.xml: Generate facets for the location path, too.
16490
16491 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Misspelled
16492 the facet which prevented the facets from being to the outputs.
16493
16494 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
16495 Extended to store the hash and the state id of the producing artifact/state
16496 else it results in NPEs because the data is calculated on later (wrong) states.
16497
16498 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
16499 Store the state id and the hash in the facet, too.
16500
16501 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Add two
16502 method to do calculations for a state the artifact is currently not in
16503 and fetching the current state id.
16504
16505 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16506
16507 * doc/conf/artifacts/winfo.xml: Generate facets for "Abflusskurven am Pegel"
16508 Not working by now. :-/
16509
16510 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New facet type
16511 for "Abflusskurven am Pegel"
16512
16513 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Do calculation
16514 in the artifact not in the output generator.
16515
16516 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
16517 Generate the new facets.
16518
16519 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
16520 Fetch data from facet.
16521
16522 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
16523
16524 flys/issue161 (Diagramm: Q-Achse in W-Längsschnitten immer bei Q=0)
16525
16526 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16527 The Q axis (which is the second y axis) initially contains the 0 value.
16528 After a zoom action has taken place, this behaviour is no longer
16529 supported.
16530
16531 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16532
16533 Draw correction curve again.
16534
16535 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
16536 Use correction curve to map plot to axes. Not doing so prevented
16537 the correction curve from being drawn!
16538 Smaller code cleanups and simplifications.
16539
16540 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
16541 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
16542 Added methods to directly access the components w, q and c
16543 at a given index.
16544
16545 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
16546 Attribute access via DOM instead of XPath.
16547
16548 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16549 Code simplification.
16550
16551 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
16552
16553 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
16554
16555 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Splitted
16556 up zooming for x and y axes to be able to override specific axis
16557 zoom behaviour.
16558
16559 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16560 The lower bound of the x axis (which is the Q axis in such chart) is
16561 always 0.
16562
16563 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
16564
16565 flys/issue90 (Diagramm: Trennung derDiagrammfläche und Achsenaufheben)
16566
16567 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
16568 Added a margin between chart data and chart axes.
16569
16570 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16571
16572 Fix for flys/issue158
16573
16574 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
16575 Checks for right class now.
16576
16577 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16578
16579 Fix for flys/issue154
16580
16581 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
16582 Checks for right class now.
16583
16584 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16585
16586 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16587 Only generate 'outs' if they have facets.
16588
16589 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
16590 'boolean ? true : false' <=> 'boolean'
16591
16592 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
16593
16594 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16595 Added the time-to-live to the DESCRIBE document.
16596
16597 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16598
16599 * doc/conf/artifacts/winfo.xml: Configured states to generate report facets.
16600
16601 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16602
16603 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
16604 Return the report.
16605
16606 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
16607 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
16608 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
16609 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16610 Generate report facets if there are problems with the calculations.
16611 TODO: Adjust winfo.xml to configure the facets.
16612
16613 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16614
16615 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
16616 New. Generator for calculation reports.
16617
16618 * doc/conf/conf.xml: Added ReportGenerator.
16619
16620 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
16621 Added type 'report'.
16622
16623 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
16624 Specialized facet for serving reports. TODO: Added them to the
16625 calculation states.
16626
16627 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
16628 Looped through CallMeta for i18n purposes. TODO: do i18n
16629
16630 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16631 Removed superfluous import.
16632
16633 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
16634 Added some override annotations.
16635
16636 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16637
16638 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java:
16639 New. Used to transport the data and the error report.
16640
16641 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
16642 src/main/java/de/intevation/flys/artifacts/model/Calculation1.java,
16643 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
16644 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
16645 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java,
16646 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
16647 src/main/java/de/intevation/flys/artifacts/model/Calculation.java,
16648 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
16649 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
16650 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
16651 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
16652 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
16653 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
16654 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
16655 Use the CalculationResult now.
16656
16657 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16658
16659 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
16660 Allow an explicit reference km to enable calculation "am Pegel".
16661
16662 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16663 If a calculation "am Pegel" is done, take start km of the
16664 calculation range and find the gauge in which range it is located.
16665 Take the station of the gauge as the reference km. If no gauge
16666 is found the calcualtion falls back to calculation "auf freier Strecke".
16667
16668 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16669 Replaced another inefficient attribute extraction via XPath
16670 with direct DOM access.
16671
16672 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16673
16674 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
16675 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
16676 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
16677 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16678 Removed dead code.
16679
16680 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16681
16682 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java
16683 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
16684 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
16685 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
16686 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
16687 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
16688 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
16689 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
16690 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16691 Only generate facets when needed.
16692
16693 * src/main/java/de/intevation/flys/collections/OutputParser.java:
16694 Removed more XPath for simply accessing attributes of an element.
16695
16696 * doc/conf/cache.xml: 200 elements in memory for "computed.values" are enough,
16697 LRU as eviction strategy is sufficent.
16698
16699 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
16700 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Use
16701 more 'standard' Java naming conventions.
16702
16703 2011-06-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16704
16705 Merged in the facet-slt branch to bring in the 'facet' feature.
16706
16707 * doc/conf/artifacts/winfo.xml: Fixed some facets.
16708
16709 * doc/conf/cache.xml: Added a "computed.values" cache to store the
16710 results of the WINFO calculations.
16711
16712 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
16713 Add support for index per facet to make them unique and identifiable.
16714
16715 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
16716 New. Inteface to be used to access the facet names of the configuration.
16717
16718 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: New.
16719 A facet to be used to have raw access to the computed data of an artifact.
16720 Useful to export things like CSV and WST.
16721
16722 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: New.
16723 Specialized facet to access the water level data stored in WQKms arrays.
16724
16725 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java: New.
16726 Specialized facet to access the duration data stored in WQDay data structures.
16727
16728 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Facets are
16729 now generated dynamically from the current available ones stored with
16730 the artifact.
16731
16732 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Added
16733 methods computeAdvance() and computeFeed() called if artifact is fed or
16734 adance. This overwritten in subclasses to do the state depending calculations.
16735
16736 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
16737 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
16738 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
16739 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
16740 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: These
16741 states overwrites the computeAdvance() and computeFeed() methods to do
16742 the corresponding WINFO calculations.
16743
16744 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Calls
16745 computeAdvance() and computeFeed() if artifact is fed or advanced. Centralized
16746 the caching mechanism.
16747
16748 * src/main/java/de/intevation/flys/exports/AbstractExporter.java,
16749 src/main/java/de/intevation/flys/collections/AttributeParser.java,
16750 src/main/java/de/intevation/flys/collections/OutputParser.java,
16751 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
16752 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16753 Adjusted the code to cope with the indices of the facets. Used
16754 DOM to access the attributes instead of XPath. Removed smaller bugs
16755 concerning position generation.
16756
16757 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
16758 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
16759 src/main/java/de/intevation/flys/exports/OutGenerator.java:
16760 Forwarded facet references.
16761
16762 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
16763 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
16764 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
16765 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
16766 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
16767 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
16768 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
16769 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
16770 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
16771 Uses facets to fetch data and generate output now.
16772
16773 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
16774
16775 * doc/conf/artifacts/winfo.xml: Added a new parameter "wq_free" that
16776 determines the mode of calculation 1. If it is "false" (default),
16777 the calculation should be bound to a gauge.
16778
16779 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
16780 method to retrieve the information about the "wq_free" parameter.
16781
16782 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
16783
16784 * doc/conf/artifacts/winfo.xml: Added a facet for corrected W in
16785 computation 4.
16786
16787 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16788
16789 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
16790 Got rid of namespace in result document.
16791
16792 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
16793
16794 flys/issue77 (Diagramm: Beschriftung der Kurven bei Dauerlinien)
16795
16796 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
16797 Give the curves in the chart names.
16798
16799 * src/main/resources/messages.properties,
16800 src/main/resources/messages_de_DE.properties,
16801 src/main/resources/messages_en.properties,
16802 src/main/resources/messages_de.properties: Added titles for duration
16803 chart curves.
16804
16805 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16806
16807 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
16808 Write top 'Oberkante' and bottom 'Unterkante' to out going XML
16809 if they exist.
16810
16811 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
16812
16813 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
16814 Write the min/max W/Q ranges as art:range elements into the DESCRIBE.
16815
16816 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
16817
16818 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
16819 This state that is used to retrieve locations will now write the
16820 kilometer range of the selected river into the DESCRIBE document.
16821
16822 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16823
16824 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
16825 New. Factored out version of "Wasserspiegellage" calculation.
16826 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
16827
16828 Removed some dead code.
16829
16830 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
16831 Added Override annotation and used quick access method.
16832
16833 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16834 Looped through error reporting use by interpolate.
16835
16836 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16837 Used factored out version of calculation 1. Removed dead code.
16838
16839 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16840
16841 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java:
16842 New. Factored out version of "Abflusskurve".
16843
16844 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16845 Loop errors through w/q at km interpolation.
16846
16847 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16848 Use factored out version of calculation 2.
16849
16850 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16851
16852 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
16853 New. Factored out version of "Dauerzahlen".
16854
16855 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16856 Loop errors through for q->w interpolations.
16857
16858 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
16859 Added constructor to directly create with calculated results.
16860
16861 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
16862 Added method to return the number of problems.
16863
16864 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16865 Use factored out version of calculation 3.
16866
16867 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16868
16869 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
16870 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java,
16871 src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
16872 Added methods to remove NaN values.
16873
16874 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16875
16876 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
16877 New. Base class for calculations. Used to collect problems occuring
16878 during calculation.
16879
16880 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
16881 Extends Calculation now. Looped through the problem reports to
16882 base class.
16883
16884 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
16885 Looped through the problem reports.
16886
16887 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
16888
16889 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
16890 Append the min/max range and a transformation matrix for each axis.
16891
16892 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
16893 Instantiate the InfoGeneratorHelper with a XYChartGenerator instance.
16894
16895 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
16896 Changed the zoom operation. The zoom values defined in the chart request
16897 document are no longer absolute values for a specific axis. Those values
16898 represent percental values for the start and end point of x and y axes.
16899 E.g. a chart has three axes with the following ranges:
16900 - x axis : 0 - 10
16901 - y axis 1: 20 - 40
16902 - y axis 2: 40 - 90
16903 - zoom values for x: 0.1 - 0.9 (10% - 90%)
16904 - zoom values for y: 0.2 - 0.8 (20% - 80%)
16905 The produced chart will have the following ranges:
16906 - x axis : 1 - 9
16907 - y axis 1: 24 - 36
16908 y axis 2: 50 - 80
16909
16910 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
16911
16912 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
16913 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
16914 Map datasets to axes correctly.
16915
16916 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16917
16918 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
16919 Determine the gauges by their station positions. This hopfully
16920 fixes the problem with wrong assigned gauges and invalid segments.
16921
16922 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16923
16924 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
16925 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
16926 Added more debug output.
16927
16928 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
16929
16930 flys/issue103 PART 1 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz)
16931
16932 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
16933 Selected values are formatted with the current locale. The static part
16934 of the DESCRIBE document will now contain i18n formatted numbers.
16935
16936 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
16937
16938 flys/issue93 (WINFO: Benennung der Berechnungsart korrigieren)
16939
16940 * src/main/resources/messages_de_DE.properties,
16941 src/main/resources/messages_de.properties: Changed the name of
16942 calculation 4.
16943
16944 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
16945
16946 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
16947 Made the range determination more robust against NaN values.
16948
16949 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
16950
16951 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16952 The second y axis is set to position "1". It was set to "2" before, but
16953 in that case, there was no position "1".
16954
16955 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16956
16957 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
16958 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
16959 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
16960 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
16961 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
16962 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
16963 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
16964 s@m³/s@m\\u00b3/s@
16965
16966 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16967
16968 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
16969 Only generate an axis element if a axis really exists.
16970
16971 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16972
16973 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
16974 Simpified array swapping.
16975
16976 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16977
16978 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
16979 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16980 Use java.util.List instead of java.util.Vector
16981
16982 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
16983 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
16984 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
16985 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16986 Removed superfluous imports.
16987
16988 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16989
16990 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
16991 createItem() is not abstract any longer to avoid code repetitionin sub classes.
16992
16993 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
16994 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
16995 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
16996 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
16997 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
16998 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
16999 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
17000 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
17001 Removed duplicated code, inserted default constructors and Override annotations.
17002
17003 2011-06-07 Ingo Weinzierl <ingo@intevation.de>
17004
17005 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
17006 Append axes range information to the info document.
17007
17008 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17009
17010 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17011 If feed() fails do not store invalid values in database.
17012
17013 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17014
17015 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
17016 Removed asymmetrical "- 1" from width calculation.
17017
17018 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17019
17020 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
17021 Fixed problem when more than one value per segment are given.
17022
17023 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17024
17025 Refactored version of "Berechnung 4"
17026
17027 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
17028 Added instance fields for a reference point (= location of gauge)
17029 and backup of values (needed for naming).
17030
17031 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
17032 Added a constructor to be created from a WQKms. This is helpful
17033 if a WQKms is replaced by a back jump correction.
17034
17035 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
17036 New. Outfactored version of "W bei ungleichmaessigen Abflusslaengsschnitt".
17037 Much cleaner now and it should have a better handling of the corner
17038 cases.
17039
17040 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17041 Removed the linear interpolation stuff. It is now in Linear. Removed
17042 the LinearRemap interpolation method because it is not needed any
17043 longer. Added a method to interpolate a given km with a given
17044 function.
17045
17046 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17047 Removed the old calc 4 and used the new one.
17048
17049 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
17050 Deleted. Not needed any longer.
17051
17052 * src/main/java/de/intevation/flys/artifacts/math/Function.java:
17053 New. Interface for a uni-variate real function.
17054
17055 * src/main/java/de/intevation/flys/artifacts/math/Identity.java:
17056 New. Implements Function with f(x) = x
17057
17058 * src/main/java/de/intevation/flys/artifacts/math/Linear.java:
17059 New. Implements Function with f(x) = m*x + b
17060
17061 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17062 Factored some stuff out to DoubleUtil. Removed some dead code.
17063 Does some rounding correct.
17064
17065 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: New.
17066 Centralized utils surrounding common double operations.
17067
17068 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
17069 Removed superfluous imports.
17070
17071 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
17072
17073 flys/issue90(Diagramm: Trennung der Diagrammfläche und Achsen aufheben)
17074
17075 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
17076 Determine the ranges of x and y axes. If no zoom ranges are given, we
17077 will determine the min and max xy values in the dataset manually,
17078 because JFreeCharts adds a margin to the left and right of the data
17079 area automatically..
17080
17081 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
17082
17083 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
17084 the chart creation into an own public method. This lets the
17085 ChartInfoGenerator create charts without duplicating code.
17086
17087 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
17088 Limited the possible class for generators to XYChartGenerator. This
17089 enables the ChartInfoGenerator class to do the whole chart creation
17090 stuff itself without outsourcing the code to concrete subclasses.
17091
17092 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
17093 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
17094 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
17095 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
17096 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
17097 Removed the code to generate charts - this is done in ChartInfoGenerator
17098 now.
17099
17100 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
17101
17102 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
17103 methods to extract the x and y ranges from request document.
17104
17105 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
17106 method that zooms the chart to the specified x and y ranges.
17107
17108 2011-06-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17109
17110 * doc/conf/conf.xml: Set collection ttl to 6 hours.
17111
17112 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17113
17114 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
17115 New. Parse segments only once.
17116
17117 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17118 Expose new parser to artifacts. TODO: Use it.
17119
17120 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17121
17122 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17123 Changed interpolation methods to interpolate to an arbitrary position
17124 in a given double result array as a preparation for segment independent
17125 calculation.
17126
17127 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17128 Removed superfluous import.
17129
17130 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
17131 Fixed cause for crashing: Run back too far in some siutations.
17132
17133 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17134 Refactored range code a bit. Needs more work.
17135
17136 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
17137
17138 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
17139 Interchange the lower and upper x value of the chart if the x-axis is
17140 inverted before the matrix values are computed. Now, the matrix is able
17141 to work with charts that have an inverted x-axis.
17142
17143 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
17144
17145 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: New. A
17146 chart info generator generates a document that contains meta information
17147 for a specific chart. Concrete instances of this abstract class need to
17148 instantiate concrete ChartGenerators and dispatch nearly all methods of
17149 an OutGenerator (init(), doOut(), setMaster()) to this instance. The
17150 generate() method is implemented in the ChartInfoGenerator itself. It
17151 creates a chart with help of the ChartGenerator instance and builds a
17152 document that contains meta information of this chart.
17153
17154 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: New.
17155 This helper is used to create the chart info document. At the moment,
17156 the only information that is included in this document is a
17157 transformation matrix to transform image coordinates into chart
17158 coordinates.
17159
17160 NOTE: The transformation matrix creation needs some work to support
17161 charts with inverted X axis.
17162
17163 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
17164 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
17165 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
17166 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
17167 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
17168 Concrete instances of ChartInfoGenerator that create the chart info for
17169 the currently supported chart types.
17170
17171 * doc/conf/conf.xml: Registered new OutGenerators.
17172
17173 2011-05-31 Ingo Weinzierl <ingo@intevation.de>
17174
17175 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17176 Added support for the 'type' paramter of the collection's out()
17177 operation.
17178
17179 2011-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17180
17181 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
17182 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17183 Use an explicit reference km for interpolation now.
17184
17185 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17186
17187 * doc/conf/cache.xml: Introduced cache to store the distance info per river.
17188 This boosts performance in following ab setup from 3.61 to 39.91 requests/secs.
17189
17190 $ ab -c 20 -n 1000 -p distances.xml http://127.0.0.1:8181/service/distanceinfo
17191
17192 $ cat distances.xml
17193 <?xml version="1.0" encoding="UTF-8"?>
17194 <art:river xmlns:art="http://www.intevation.de/2009/artifacts">Elbe</art:river>
17195
17196 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: Added
17197 an iterator result to avoid construction expensive interim lists.
17198
17199 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: Use
17200 the cache if configured.
17201
17202 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17203
17204 flys/issue82
17205
17206 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17207 Only successful interpolations are named.
17208
17209 2011-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17210
17211 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
17212 Make it work independent of river flow direction.
17213
17214 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
17215 Fixed bug in ordering segments
17216
17217 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-enabled
17218 calculation of the back jump correction. Fixed more flow direction issues.
17219
17220 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
17221
17222 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17223 Removed call of XMLDebug class which is not in the version control.
17224
17225 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
17226
17227 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17228 Moved the code part that skips themes right after the part that sets the
17229 master artifact for the OutGenerator. We need this master artifact to
17230 display empty charts - master artifact is used to create titles and
17231 axes.
17232
17233 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
17234
17235 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17236 Deactivated themes are not put into the chart.
17237
17238 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
17239
17240 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
17241 Repaired broken XPath expressions to find the output modes in an
17242 attribute document of a collection.
17243
17244 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: This
17245 writer will now create a document that has a root node art:attribute.
17246 Before these changes, the document's root node was art:outputs which is
17247 part of the attribute document but not the right root node.
17248
17249 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17250 Adapted some XPath expressions and corrected the the process to create
17251 attribute documents.
17252
17253 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17254
17255 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
17256 Made it work independent of from/to order.
17257
17258 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17259 Added method to extract the ranges correctly from data.
17260
17261 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17262 Use the correct ranges. Comment out backjump detection temporarily.
17263
17264 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17265
17266 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
17267 Generate fields for w/q input depend on flow direction.
17268
17269 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17270 Moved km up question out of loop.
17271 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17272
17273 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17274 Take the flow direction into account.
17275
17276 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
17277 Prevent NPE.
17278
17279 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
17280 Allow to be 'from' greater than 'to' in ranges.
17281
17282 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Negate
17283 step if 'from' is greater than 'to'.
17284
17285 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17286
17287 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17288 Round exploded values to a precision of 1e-6.
17289
17290 2011-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17291
17292 Qs are now stored in ranges for each column.
17293
17294 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
17295 Deleted.
17296
17297 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
17298 Was WstValueTableFactory2.
17299
17300 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
17301 node linking bug. Removed dead code.
17302
17303 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17304 Q values are now stored in range trees by each column. The qs of the rows
17305 are removed and the calculations are adjusted. Removed dead code.
17306
17307 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17308
17309 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
17310 Moved cache name to WstValueTableCacheKey. Do not cache null references.
17311
17312 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
17313 Moved cache name into this class.
17314
17315 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17316 Store QRangeTree for each column of value table. TODO: Use them!
17317
17318 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
17319 Intended as a replacement for WstValueTableFactory, but is work in progress.
17320
17321 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
17322 index errors and added methods to dump as graphviz graph.
17323
17324 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
17325
17326 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
17327 Improved the validation of WQ values.
17328
17329 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Use the
17330 correct input data object to determine the selected WQ mode (range or
17331 single input).
17332
17333 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
17334
17335 ISSUE-40 (part I/II)
17336
17337 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
17338 Write default values (values already selected by the user before) of the
17339 input data items into DESCRIBE.
17340
17341 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
17342
17343 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
17344 Removed needless imports.
17345
17346 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
17347
17348 ISSUE-85 (part III/III)
17349
17350 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
17351 Added a static function that returns the kilometer values (double[])
17352 from locations input (whitespace separated double values).
17353
17354 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
17355 the getKms() method. It will now return a computed array of kilometers
17356 if we had inserted a range, or it will return the inserted kilometers if
17357 we had inserted locations.
17358
17359 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17360
17361 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
17362 Moved cache key to separate class.
17363
17364 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
17365 New. The new cache key class.
17366
17367 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17368
17369 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
17370 Model to store the q values of a WST column efficiently. First
17371 building block not to store the q values directly aside the
17372 w values.
17373
17374 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
17375
17376 ISSUE-85 (part I/III)
17377
17378 * doc/conf/artifacts/winfo.xml: Added two further field 'ld_mode' and
17379 'ld_locations' to the range/locations state to track the selected mode
17380 and locations.
17381
17382 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
17383 Added methods to validate the user inserted locations.
17384
17385 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
17386 method to determine of a range or locations have been inserted.
17387
17388 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
17389
17390 ISSUE-62 (part II/II)
17391
17392 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Dump the
17393 artifacts state/data in DEBUG mode in describe().
17394
17395 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
17396 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
17397 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
17398 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
17399 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
17400 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
17401 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
17402 States will no longer store data. The only reason for states storing
17403 StateData is to know about the necessary data for this state. If a State
17404 needs to access the user input for a specific StateData object, it needs
17405 to query the FLYSArtifact which stores the data.
17406
17407 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
17408
17409 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
17410 method to dump the artifacts state(s)/data.
17411
17412 2011-05-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17413
17414 flys/issue84
17415
17416 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
17417 Forget to select wst kind.
17418
17419 2011-05-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17420
17421 flys/issue81
17422
17423 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17424 weights for kms were swapped.
17425
17426 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
17427
17428 Tagged RELEASE 2.3.1
17429
17430 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
17431
17432 * Changes: Prepared changes for the upcoming release.
17433
17434 2011-05-20 Hans Plum <hans@intevation.de>
17435
17436 * NEWS:
17437 Hint to Release 2.3.1. For further information look into module
17438 flys-client/NEWS
17439
17440 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17441
17442 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java (getExplodedValues):
17443 Increment kms array size by one to take the end of range, too.
17444
17445 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17446
17447 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
17448 Sort by rows (should not be necessary).
17449
17450 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17451 Use unsharp km lookup (epsilon = 0.0001). This fixes the problem
17452 that some kms were not found.
17453
17454 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
17455
17456 flys/issue66
17457
17458 * src/main/resources/messages_en.properties: Fixed broken template.
17459
17460 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
17461
17462 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17463 Set the name of the computed discharge curve objects.
17464
17465 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17466 The curves of this chart will now have names that consist of the word
17467 'Discharge Curve', the river name and the kilometer that has been used
17468 for the computation.
17469
17470 * src/main/resources/messages.properties,
17471 src/main/resources/messages_de_DE.properties,
17472 src/main/resources/messages_en.properties,
17473 src/main/resources/messages_de.properties: Added i18n strings for the
17474 computed discharge curves.
17475
17476 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17477
17478 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17479 Added convenience method isQ() to determine if we are
17480 doing Q calculations.
17481
17482 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17483 Reintroduced titles for the "W for unausgeglichene Abfluesse".
17484
17485 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
17486
17487 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
17488 The curves will now have names that consist of the gauge name and its
17489 valid time range.
17490
17491 * src/main/resources/messages.properties,
17492 src/main/resources/messages_de_DE.properties,
17493 src/main/resources/messages_en.properties,
17494 src/main/resources/messages_de.properties: Added i18n strings for the
17495 discharge curves.
17496
17497 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17498
17499 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17500 Removed dead code.
17501
17502 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17503
17504 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17505 Use the correct method to generate kms.
17506
17507 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
17508 Added some logging to test the map in debug mode.
17509
17510 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17511
17512 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17513 Made getExplodedValues static.
17514
17515 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17516 Use new logic to calculate "W fuer ungleichwertige Abfluesse".
17517 Not working, yet.
17518
17519 * ChangeLog: Fixed former entry.
17520
17521 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
17522
17523 * doc/conf/artifacts/winfo.xml: Registered the WST export for discharge
17524 longitudinal sections.
17525
17526 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Set the
17527 names of the discharge longitudinal section computation results.
17528
17529 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
17530 The W/Q curves in the chart will now have names.
17531
17532 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
17533 The WstWriter is filled with column names in an own method. So, we are
17534 able to override this process in subclasses.
17535
17536 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
17537 Adapted the column names for the WST export.
17538
17539 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17540
17541 Work on flys/issue69
17542
17543 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17544 Use new logic to calculate "Wasserstand/Wasserspiegellage".
17545 Compared to desktop FLYS are the results are structurally right
17546 but a bit off in the positions after the decimal points.
17547 Maybe a result of the interpolation? Need to debug this.
17548
17549 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
17550
17551 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17552 W and Q curves will now have names based on the defined W or Q values
17553 for the waterlevel computation.
17554
17555 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
17556
17557 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
17558 New. This object is used to give objects a name.
17559
17560 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Inherit
17561 from NamedObject now. Because we need to display names for those objects
17562 in different places.
17563
17564 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The WQKms
17565 objects returned by a waterlevel computation will now have names.
17566
17567 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
17568 Insert the column names for the WSTs into the WstWriter.
17569
17570 * src/main/java/de/intevation/flys/exports/WstWriter.java: The column
17571 names are written into the head of the WSTs now.
17572
17573 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
17574
17575 * src/main/java/de/intevation/flys/artifacts/model/WstLine.java: New. This
17576 class is used to store the W/Q values of a specific kilometer of a WST.
17577
17578 * src/main/java/de/intevation/flys/exports/WstWriter.java: New. A writer
17579 that creates WSTs.
17580
17581 TODO: The header of the WSTs is not finished. The Q descriptions are
17582 missing.
17583
17584 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
17585 Enabled WST exports.
17586
17587 * doc/conf/artifacts/winfo.xml: Registered the WST export for waterlevels.
17588
17589 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
17590
17591 * src/main/java/de/intevation/flys/utils/Formatter.java: New. This class
17592 supports functions to retrieve formatters for specific types of data
17593 used in FLYS.
17594
17595 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
17596 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
17597 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
17598 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
17599 Removed the formatter declaration - the whole formatter stuff is done in
17600 Formatter now.
17601
17602 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
17603
17604 ISSUE-72
17605
17606 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
17607 Repaired broken XPath expressions to extract start and end kilometer.
17608
17609 2011-05-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17610
17611 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17612 Removed the Hibernate loading stuff.
17613
17614 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
17615 New. The Hibernate loading.
17616
17617 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17618 Use the WstValueTableFactory for loading now.
17619
17620 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
17621
17622 Tagged RELEASE 0.1 aka Version 2.3.0
17623
17624 2011-05-16 Hans Plum <hans@intevation.de>
17625
17626 * NEWS:
17627 New. Giving some user specific perspective to new functionality and
17628 changes. This file references releases dates only; details can be find
17629 in the client module at flys-client.
17630
17631 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17632
17633 First step to calculate "W fuer ungleichwertige Abfluesse" correctly.
17634 flys/issue55
17635
17636 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
17637 New. Remaps "gleichwertige" Q values to the corresponding
17638 "ungleichwertige" Q values depending on km.
17639
17640 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17641 Remap the Q values "ungleichwertig" depending on the
17642 "gleichwertige" ones.
17643
17644 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17645
17646 First step to fix flys/issue69
17647
17648 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17649 New code path to implement the calculation of "Wasserstand/Wasspiegellage"
17650 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code.
17651
17652 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
17653
17654 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes
17655 file to get to know about the changes of the version numbers.
17656
17657 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
17658
17659 ISSUE-37
17660
17661 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This
17662 state would be happy if there is a UI provider called "river_panel".
17663
17664 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
17665
17666 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
17667 methods that return the requested chart size as integer array [width,
17668 height]. The requested size is read from the incomding request document.
17669
17670 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size
17671 of a chart is no longer static. The requested size is fetched using
17672 ChartGenerator.getSize().
17673
17674 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
17675
17676 ISSUE-52
17677
17678 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17679 The X-Axis of such a chart is inverted, if the head of the river is not
17680 at kilometer 0. This type of charts always have the head of the river at
17681 the left side.
17682
17683 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17684
17685 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17686 Make incoming XML symmetric to DistanceInfoService.
17687
17688 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
17689
17690 ISSUE-47
17691
17692 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
17693 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
17694 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17695 Adjusted temporarily the color of the W, Q and corrected W curves to
17696 distinguish each other.
17697
17698 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
17699
17700 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
17701 Adjusted the plot of xy charts - the gridlines are displayed now.
17702
17703 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
17704
17705 ISSUE-53
17706
17707 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
17708 Added a method that returns the preferred locale based on the available
17709 locales of the server and the desired locales of the request (CallMeta).
17710
17711 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
17712 method that creates a number formatter with minimum and maximum digits.
17713
17714 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
17715 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
17716 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
17717 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
17718 Formatted the number values of the CSV exports.
17719
17720 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
17721
17722 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java:
17723 New. A data structure that enables us to save a data triple: a range
17724 that consist of lower and upper double value and a set of values that
17725 belong to this range.
17726
17727 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
17728 Implemented the validation of W/Q values.
17729
17730 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
17731
17732 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New
17733 method to retrieve i18n messages based on keys.
17734
17735 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
17736 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
17737 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
17738 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
17739 Added headers for CSV exports.
17740
17741 * src/main/resources/messages.properties,
17742 src/main/resources/messages_de_DE.properties,
17743 src/main/resources/messages_en.properties,
17744 src/main/resources/messages_de.properties: Added new i18n strings for
17745 CSV headers.
17746
17747 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17748
17749 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17750 Fetches river name from incoming XML document. If no river is given all
17751 infos about all rivers are listed.
17752
17753 * src/main/resources/metadata/template.xml: Templates honors the 'river'
17754 parameter.
17755
17756 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
17757 Extended to pass parameters to the templating. Added support for
17758 type conversion.
17759
17760 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
17761 Take parameters as an initial stack frame.
17762
17763 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java:
17764 New. Converts types off stacked variables.
17765
17766 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
17767
17768 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
17769 method to add subtitles to charts. The implementation in this class does
17770 not add any subtitle. Concrete subclasses may override this method to
17771 add some.
17772
17773 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
17774 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
17775 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17776 Add subtitles to charts.
17777
17778 * src/main/resources/messages.properties,
17779 src/main/resources/messages_de_DE.properties,
17780 src/main/resources/messages_en.properties,
17781 src/main/resources/messages_de.properties: Added i18n templates for
17782 compound messages (chart subtitles).
17783
17784 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
17785
17786 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
17787 Added new methods to retrieve translated compound messages.
17788
17789 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
17790
17791 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
17792 method to set the master artifact that should be used for some special
17793 operations.
17794
17795 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
17796 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
17797 Implement the setMasterArtifact() method of the interface.
17798
17799 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17800 Call OutGenerator.setMasterArtifact().
17801
17802 NOTE: The determination of the master artifact needs to be implemented!
17803
17804 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
17805
17806 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
17807 hard coded dev code that defined a WQ mode.
17808
17809 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17810
17811 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
17812 Stripped ugly extra whitespace from output introduced by
17813 templating.
17814
17815 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17816
17817 * src/main/resources/metadata/template.xml: Added forgotten
17818 columns of fixation WSTs.
17819
17820 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
17821
17822 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
17823 method to retrieve i18n strings.
17824
17825 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
17826 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
17827 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
17828 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17829 Enabled i18n support for chart title and axes labels.
17830
17831 * src/main/resources/messages.properties,
17832 src/main/resources/messages_de_DE.properties,
17833 src/main/resources/messages_en.properties,
17834 src/main/resources/messages_de.properties: Added i18n strings for the
17835 chart types above.
17836
17837 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
17838
17839 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
17840 New. This OutGenerator exports the data of a discharge longitudinal
17841 section computation.
17842
17843 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter.
17844
17845 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the
17846 discharge_longitudinal_section state.
17847
17848 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17849
17850 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
17851 Added code to make back jump correction work with both
17852 potential flow directions.
17853
17854 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17855
17856 * src/main/resources/metadata/template.xml:
17857 Added data cage configuration for 'Längsschnitt'.
17858
17859 2011-05-06 Ingo Weinzierl <ingo@intevation.de>
17860
17861 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge
17862 longitudinal sections.
17863
17864 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A
17865 derived dataset to store W/Q values with corrected Ws for a kilometer
17866 range.
17867
17868 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new
17869 methods and a new constructor to initialize this data object with a
17870 predefined set of values.
17871
17872 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
17873 methods to retrieve the W/Q values for the 'discharge longitudinal
17874 section' computation.
17875
17876 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New
17877 methods to retrieve and compute data used for the 'discharge
17878 longitudinal section' computation.
17879
17880 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
17881
17882 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
17883 Bugfix: just write the ranges of gauges into the DESCRIBE if the
17884 'wq_values' data item is required.
17885
17886 * src/main/resources/messages.properties,
17887 src/main/resources/messages_de_DE.properties,
17888 src/main/resources/messages_en.properties,
17889 src/main/resources/messages_de.properties: Added i18n messages used in
17890 the DESCRIBE of the WQAdapted state.
17891
17892 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
17893
17894 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17895 Changed the title of the y-axis (now 'W [NN+m]').
17896
17897 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
17898
17899 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the
17900 output state for creating 'discharge longitudinal section' charts.
17901
17902 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
17903 method that returns all gauges of the selected river based on a the
17904 given kilometer range.
17905
17906 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New.
17907 This state creates a set of elements for the DESCRIBE that consist of a
17908 tuple of kilometer values. The number of elements depend on the number
17909 of gauges intersected by the given kilometer range.
17910
17911 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
17912 New. This state is the output state that is reached after the 'discharge
17913 longitudinal section' computation has been chosen.
17914
17915 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
17916
17917 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default
17918 step width between two kilometers added - if no step width is given,
17919 this default width is used.
17920
17921 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
17922
17923 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17924 Fixed a potential NullPointerException if there is just a single
17925 kilometer given to create a longitudinal section.
17926
17927 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17928
17929 * pom.xml: Added http://repository.jboss.org/maven2 repo
17930 to fix flys/issue30
17931
17932 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17933
17934 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17935 To make diagram generation possible ws are now generated from qs
17936 because they are many ws having different qs.
17937
17938 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
17939
17940 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
17941 Fetch the WQ data from WINFO artifact and write those values into the
17942 CSV export.
17943
17944 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
17945
17946 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
17947 methods to compute and retrieve the data for discharge curves (computed).
17948
17949 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17950 Fetch the computed discharge curve data from WINFOArtifact and add the
17951 values into the JFreeChart dataset.
17952
17953 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
17954
17955 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable
17956 the WINFO artifact for computing discharge curves.
17957
17958 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge
17959 curves and exports for its data.
17960
17961 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
17962 New. This state is reached if the user chose the computed discharge
17963 curve.
17964
17965 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17966 New. This is only a stub implementation at the moment. This
17967 OutGenerator should create computed discharge curves later. It extends
17968 the DischargeCurveGenerator which should do the same stuff for discharge
17969 curves for gauges.
17970
17971 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
17972 New. This is only a stub implementation at the moment. This OutGenerator
17973 should create the exports of the discharge curve computation.
17974
17975 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
17976
17977 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration
17978 curve state (CSV export).
17979
17980 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve
17981 computations.
17982
17983 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New.
17984 This abstract OutGenerator represents the base class for exporting
17985 computed data. Currently, the CSV export is supported.
17986
17987 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved
17988 the most code to export to CSV into the AbstractExporter.
17989
17990 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
17991 New. This exporter exports the computed data of a duration computation.
17992
17993 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
17994
17995 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17996 Modified a wrong debug statement which would confuse the user.
17997
17998 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
17999
18000 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel
18001 state (CSV export).
18002
18003 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels.
18004
18005 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New.
18006 This OutGenerator exports the data of a waterlevel computation. Note:
18007 It is necessary to specify the desired facet (e.g.
18008 'waterlevel_export.csv').
18009
18010 * pom.xml: Added a dependency to OpenCSV.
18011
18012 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
18013
18014 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18015 Introduced an "export" output target. If the target is "export", a
18016 facet (read from the incoming xml document) is a necessary parameter
18017 that determines which facets are written to the output.
18018
18019 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
18020
18021 * src/main/resources/messages_en.properties: Bugfix: replaced german
18022 string (copy & paste mistake).
18023
18024 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
18025
18026 * src/main/resources/messages.properties,
18027 src/main/resources/messages_de_DE.properties,
18028 src/main/resources/messages_en.properties,
18029 src/main/resources/messages_de.properties: Added new i18n strings for
18030 for the location selection.
18031
18032 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
18033
18034 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
18035 New. An OutGenerator for creating duration curves.
18036
18037 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A
18038 model class to store necessary data for creating W and Q facets of a
18039 duration curve. This model stores W, Q and Days.
18040
18041 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
18042 Added a function to retrieve tuples of (day, q) based on a given gauge -
18043 these tuples are necessary for creating duration curves.
18044
18045 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
18046 methods to compute and retrieve the data necessary for creating duration
18047 curves.
18048
18049 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
18050 Bugfix: improved the access to the location array (avoid
18051 NullPointerException).
18052
18053 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves.
18054
18055 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18056
18057 * contrib/visualize-transitions.xsl: State quoting was done wrong.
18058
18059 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
18060
18061 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the
18062 final state for creating duration curves.
18063
18064 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
18065 New. This state should be reached to just insert an array of locations.
18066
18067 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
18068 New. This state is reached if the duration curve calculation is
18069 selected.
18070
18071 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted
18072 getDistance() so that it takes care on inserted locations - not just
18073 inserted ranges.
18074
18075 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18076
18077 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
18078 Flush/persist caches at program exists.
18079
18080 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18081 Commented out too eloquent debug output.
18082
18083 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
18084
18085 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
18086 Uses the methods of FLYSArtifact to retrieve the necessary information
18087 rivername and selected distance.
18088
18089 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18090
18091 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18092 Added interpolateW method to take reference to result ws array
18093 as an argument to avoid expensive array allocations in km iterating
18094 loops.
18095
18096 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
18097 Added a constructor to create backing trove datastructure
18098 with the right capacity.
18099
18100 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18101 Move allocation of result ws out of km loop.
18102
18103 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
18104
18105 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ
18106 selection state. Those items are necessary to store the information
18107 about the selected mode (range/single selection) and the values of the
18108 single selection.
18109
18110 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If
18111 there is no value for a data item, this item is not written into the
18112 static DESCRIBE part.
18113
18114 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
18115 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
18116 Renamed the method to validate upper and lower values.
18117
18118 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
18119 state can now handle values inserted in the single selection. Therefore,
18120 new validate methods has been added.
18121
18122 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
18123 methods getWs() and getWs() take care on the values inserted in the
18124 single insert mode of the client which enables the user to insert single
18125 W and Q.
18126
18127 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18128
18129 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18130 Repaired getQForW() by calculating indices on right dimension.
18131
18132 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
18133
18134 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
18135 methods for retrieving selected W values (getWs()).
18136
18137 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
18138 method for retrieving waterlevel data takes care on selected Ws, now.
18139 The selected Ws are transformed using the DischargeTables.getQForW()
18140 into Q values.
18141
18142 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
18143
18144 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18145 Removed an unused parameter 'result' of getQForW().
18146
18147 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
18148
18149 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed
18150 the getDataset() method and replaced it with a addDataset() method.
18151 On this way, concrete subclasses of this OutGenerator can have multiple
18152 datasets (e.g. different datasets for W and Q). This abstract method is
18153 called after the chart generation is finished.
18154
18155 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
18156 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
18157 Both classes implement the addDataset() method. The
18158 LongitudinalSectionGenerator has already multiple datasets for W and Q.
18159 Both are added to the chart - both have an own range axis.
18160
18161 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18162
18163 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18164 Use the cache for the wst value table if configured.
18165
18166 * doc/conf/cache.xml: Choose a more precise name for the
18167 wst value table cache.
18168
18169 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18170
18171 * pom.xml: Added dependency to Ehcache. Apache 2.0 license.
18172
18173 * doc/conf/conf.xml: Added configuration of ehcache.
18174
18175 * doc/conf/cache.xml: New. Cache configurations.
18176
18177 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
18178 New. Factory to access caches.
18179
18180 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18181
18182 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
18183 Forgot to add.
18184
18185 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
18186 New. Given a database connection and a XML template it generates
18187 an output with meta data about the database.
18188
18189 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
18190 New. Holds prepared statements optimized to be run in the stack of
18191 contextes.
18192
18193 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
18194 New. Model to hold a hierarchical scope of variables.
18195
18196 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
18197 New. Stores data set fetched from a sql select to be iterated in
18198 a context.
18199
18200 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
18201 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18202 Removed superfluous imports.
18203
18204 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18205
18206 * doc/conf/conf.xml: Added meta data service.
18207
18208 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
18209 Stub for the meta data service.
18210
18211 * src/main/resources/metadata/template.xml: Initial template for
18212 the meta data service.
18213
18214 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
18215
18216 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18217 Bugfix: Now, curves for Q values are drawn into a longitudinal section
18218 chart as well. Therefore, it was necessary to change the datastructure
18219 of the inner class ThemeList that stores all themes included in a chart
18220 in an ordered list (stored in a java.util.Vector now).
18221
18222 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
18223
18224 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An
18225 abstract base class for ChartGenerators that create XY charts.
18226
18227 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
18228 Sourced the generate() method out to the XYChartGenerator.
18229
18230 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18231 Implemented the methods to add W and Q facets to the chart.
18232
18233 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
18234
18235 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved
18236 the calculation of the step with for ranges.
18237
18238 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
18239
18240 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a
18241 method that returns the number of elements stored in the data pool.
18242
18243 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18244
18245 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
18246 Added a get() method which takes destination array as an
18247 argument.
18248
18249 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
18250
18251 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the
18252 data structure to store w, q and kms values from List<Double> to
18253 TDoubleArrayList which stores native double values instead of big
18254 Double values.
18255
18256 * pom.xml: Added the GNU Trove dependency.
18257
18258 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
18259
18260 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the
18261 name a the requested facet to doOut(). Concrete generators should just
18262 create output for this facet now.
18263
18264 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
18265 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
18266 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
18267 Adapted the method signature of doOut().
18268
18269 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18270 Adapted the method call of OutGenerator.doOut().
18271
18272 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
18273
18274 * doc/conf/themes.xml: Added mappings for the facets
18275 longitudinal.section.w and longitudinal.section.q.
18276
18277 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
18278
18279 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some
18280 methods to retrieve necessary information for computing the data of a
18281 waterlevel.
18282
18283 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
18284 methods to compute and retrieve the data of a waterlevel computation.
18285
18286 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
18287
18288 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This
18289 model class represents a pool of data triples that consist of W, Q and
18290 Kms information. This class might be used to compute data for creating
18291 longitudinal section curves (which are based on those W, Q and Kms
18292 values).
18293
18294 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
18295
18296 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18297 Bugfix: Removed endless loop and a bug while iterating over Hibernate
18298 results.
18299
18300 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
18301
18302 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18303 New. An OutGenerator that creates longitudinal section curves.
18304
18305 NOTE: This is just the stub - the out creation needs to be implemented!
18306
18307 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator.
18308
18309 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
18310
18311 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section.
18312
18313 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
18314
18315 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New.
18316 This state should be reached if the 'calc.surface.curve' calculation
18317 method has been chosen.
18318
18319 * doc/conf/artifacts/winfo.xml: Modified a transition and added the
18320 WaterlevelState. This state is reached if the 'calc.surface.curve'
18321 calculation method has been chosen. It currently has 1 output - a
18322 longitudinal section that is not implemented yet!
18323
18324 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
18325
18326 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java:
18327 New. This transition is valid if the a data object of the current
18328 artifact equals/notequals a configured value in the transition model.
18329
18330 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
18331
18332 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
18333 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes:
18334 - Adapted the parameters of the isStateReachable() call - added the
18335 artifact and the current state.
18336 - Append the outputs of a current state if the state is filled with
18337 valid data.
18338
18339 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
18340
18341 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
18342 Added the missing init() method that has been introduced in the
18343 interface some commits ealier.
18344
18345 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
18346 Call init() after a Transition has been created.
18347
18348 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
18349
18350 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
18351 Bugfix: Introduced a <art:outputs> node in the attribute document of a
18352 Collection that contains further <art:output> nodes - instead of having
18353 multiple <art:output> nodes at toplevel of the document.
18354
18355 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18356 Adapted the XPath to retrieve the outputs in the attribute document of a
18357 Collection.
18358
18359 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18360
18361 * contrib/visualize-transitions.xsl: Added to create a
18362 Graphviz digraph out of the config.xml. Usage:
18363
18364 $ xsltproc --stringparam base-dir ../doc/conf/ \
18365 contrib/visualize-transitions.xsl \
18366 doc/conf/conf.xml > transitions.dot
18367
18368 $ dot -Tsvg -o transitions.svg transitions.dot
18369
18370 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
18371
18372 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
18373 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
18374 If no data has been inserted so far, an IllegalArgumentException is
18375 thrown.
18376
18377 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
18378
18379 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java::
18380 A lot of new methods to retrieve the theme of a facet - used while
18381 creating the output of a facet/artifact. If a facet has no theme yet, it
18382 is initialized.
18383
18384 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
18385
18386 * src/main/java/de/intevation/flys/collections/AttributeParser.java,
18387 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed
18388 useless imports.
18389
18390 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
18391
18392 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An
18393 abstract OutGenerator that might be used to create chart output. Some
18394 basic things that are equal in all charts should be done here!
18395
18396 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
18397 This OutGenerator no longer implements the OutGenerator directly, but it
18398 extends the ChartGenerator now.
18399
18400 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
18401
18402 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18403 Restructured the out() operation of a collection: Now, we collect a list
18404 of artifacts/facets and use this for the OutGenerator. Its doOut()
18405 method gets the attribute of an artifact - the position and the active
18406 state is managed by the Collection itself.
18407
18408 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
18409
18410 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New.
18411 a specialized facet that stores information about its position and its
18412 state (active/inactive) in an output of a collection.
18413
18414 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New.
18415 This parser takes the attributes (XML) of a collection and extracts the
18416 contained outputs with its facets. The result is a Map<String, Output>.
18417
18418 * src/main/java/de/intevation/flys/collections/OutputParser.java: New.
18419 This parser is used to query the artifact's DESCRIBE and to extract the
18420 supported outputs. The result is a Map<String, Output>.
18421
18422 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New.
18423 This writer merges the outputs contained in an attribute of a collection
18424 with the outputs of a collection's artifacts.
18425
18426 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18427 The attributes of a collection are written into its DESCRIBE document
18428 now. The OutputParser and AttributeParser are used to read the supported
18429 attributes by the collection and its artifacts - the AttributeWriter is
18430 used to merge both attributes and create a final attribute document.
18431
18432 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
18433
18434 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java,
18435 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18436 The facet-2-theme mappings are initialized at startup and stored in the
18437 FLYSContext.
18438
18439 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a
18440 function that retrieves a theme from FLYSContext based on its name.
18441
18442 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18443
18444 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18445 Corrected a silly c&p mistake.
18446
18447 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18448
18449 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
18450
18451 Implementation of the "Ruecksprungkorrektur" to be done in
18452 "W fuer angepassten Abflusslaengschnitt".
18453
18454 All tests show the expected results. In some corner cases the
18455 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur"
18456 has some definition shortcomings:
18457
18458 a - What should happend when you cannot find point 2 because
18459 you cannot step back one quarter from point 3 because there
18460 is no data there any more (river too short in this direction)?
18461 The implemented algorithm raises point 3' only to an
18462 according factor. E.g. If you can step back the whole quarter
18463 distance the elevation is the full quarter. If you can
18464 step back only the half of the quarter the elevation is
18465 only an eighth.
18466
18467 b - If the water heights between point 2 and 3 are constant then
18468 the algorithm will produce a spline interpolation that
18469 lowers those values. Is this intended?
18470
18471 For real data the back jumps are expected to be more in the middle
18472 of the distance ranges so the corner cases are maybe not so
18473 important.
18474
18475 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
18476 Removed superfluous import.
18477
18478 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
18479
18480 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug
18481 code that has been commited by accident.
18482
18483 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
18484
18485 * doc/conf/themes.xml: New. A first small theme configuration.
18486
18487 * doc/conf/conf.xml: Added a link to the theme configuration.
18488
18489 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
18490 Defined a key that is used to store a themes map in the FLYSContext.
18491
18492 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18493 The theme configuration is read at startup and the themes are stores in
18494 the FLYSContext.
18495
18496 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
18497
18498 * src/main/java/de/intevation/flys/themes/Theme.java,
18499 src/main/java/de/intevation/flys/themes/DefaultTheme.java:
18500 New. The interface and its default implementation that represents themes
18501 used to style charts and maps.
18502
18503 * src/main/java/de/intevation/flys/themes/ThemeField.java,
18504 src/main/java/de/intevation/flys/themes/DefaultThemeField.java:
18505 New. The interface and its default implementation that represents fields
18506 in themes. A theme might be "Lines" and one of its field might be
18507 "Color" or "Size".
18508
18509 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory
18510 that creates new themes based on a theme configuration.
18511
18512 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18513
18514 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18515 Implementation of "Abflusskurve/Abflusstafel" calculation.
18516
18517 Added method interpolateWQ() which takes an km and results in a
18518 tuple of two double arrays containing the w/q values interpolated
18519 between the surrounding w/q values of the table.
18520 w values are interpolated linear, q values with a cubic spline.
18521
18522 Drawing w over q gives you the discharge table at the given km.
18523
18524 !!! This code needs testing !!!
18525
18526 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18527
18528 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0)
18529
18530 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18531
18532 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18533 Fix problem when sorting by q (copied w instead of q).
18534
18535 2011-04-20 Ingo Weinzierl <ingo@intevation.de>
18536
18537 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18538 Fixed broken HQL statement.
18539
18540 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18541
18542 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18543 add a method interpolateW() which takes an array of
18544 q values and returns an equal sized array of w values.
18545 This is essentially the "Wasserstand/Wasserspiegellagen" calculation
18546 of desktop FLYS.
18547
18548 If you want to do a calculation with given w values you have
18549 to convert the w values with DischargeTables.getQForW() first.
18550
18551 !!! This code needs heavy testing !!!
18552
18553 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18554
18555 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18556 We need a getQForW() method and not getWForQ() because when
18557 doing a "Wasserstand/Wasserspiegellagen" calculation with given
18558 w values these values need to be translated to q values with
18559 the master discharge table.
18560
18561 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18562
18563 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18564 Sorting of q values was done wrong.
18565
18566 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
18567
18568 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
18569 Ordered the list of annotations returned by this factory based on its
18570 range.
18571
18572 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
18573
18574 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
18575 New. This service returns an XML document that includes the main values
18576 of a gauge based on a river name, a start and an end point.
18577
18578 * doc/conf/conf.xml: Registered the MainValuesService.
18579
18580 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
18581
18582 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
18583 A factory that provides methods to return MainValues.
18584
18585 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18586
18587 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18588 Added static method getWForQ() to interpolate a w value for
18589 a given q value based on a given discharge table.
18590
18591 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18592
18593 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18594 Added convenience constructors/methods to ease the access to the master
18595 discharge table of a gauge.
18596
18597 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18598
18599 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18600 Moved the query complexity into view 'wst_value_table' and
18601 used this instead.
18602
18603 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18604
18605 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
18606 Fetches w/q value tables from the backend. TODO: Move this
18607 to the backend and use a view.
18608
18609 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
18610
18611 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
18612 the error key that is thrown if no input data was found so that the key
18613 is usable for GWT's i18n mechanism.
18614
18615 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
18616
18617 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
18618 The inserted river is validated now (overrides validate() of
18619 DefaultState).
18620
18621 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
18622
18623 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
18624 The inserted calculation method is validated now (overrides validate()
18625 of DefaultState).
18626
18627 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
18628
18629 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18630 The input data of feed() are validated using the DefaultStates
18631 validate() method.
18632
18633 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18634 New method validate() that needs to be overidden by concrete subclasses.
18635 It should return true, if the data of the State is fine, otherwise it
18636 should raise an exception.
18637
18638 NOTE: The exceptions are not translated in the server but in the client!
18639
18640 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New.
18641 This abstract class exists to provide some methods for handling ranges.
18642 Currently, there is a method that validates a given range based on
18643 min/max values.
18644
18645 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
18646 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
18647 Implemented input data validation for ranges.
18648
18649 NOTE: The input validation of concrete values has not been implemented
18650 yet!
18651
18652 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
18653
18654 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18655 Removed debug code that has been commited by accident :-/
18656
18657 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
18658
18659 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
18660 getGauge() method returns the first gauge based on the given start and
18661 end point of the river.
18662
18663 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
18664 Fixed potential bugs: if no gauge could be determined, the default
18665 values for W and Q are the minimum and maximum double values.
18666
18667 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
18668
18669 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills
18670 the DESCRIBE with default values for W and Q.
18671
18672 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
18673
18674 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
18675 New. Returns Wst object - based on a river.
18676
18677 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
18678
18679 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now
18680 provides some methods that return some basic objects inserted while
18681 parameterization: River, Gauge and so on.
18682
18683 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
18684
18685 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
18686 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
18687 Bugfix: Repaired broken imports of the SessionHolder.
18688
18689 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
18690
18691 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
18692 Moved this class to flys-backend.
18693
18694 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
18695 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
18696 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
18697 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java,
18698 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
18699 Adapted imports of the SessionHolder.
18700
18701 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18702
18703 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
18704 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
18705 Acquire/release sessions in services to avoid db connection leaks.
18706
18707 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
18708
18709 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18710 Changed some method signatures - added a reference to the owner
18711 Artifact.
18712
18713 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
18714 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
18715 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
18716 Modified method signatures based on the changes in DefaultState.
18717
18718 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
18719 Added default values to the dynamic part of DESCRIBE.
18720
18721 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
18722
18723 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
18724 Added a function that returns a River object based on a given river
18725 name.
18726
18727 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18728
18729 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
18730 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
18731 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
18732 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
18733 Static methods are using the SessionHolder, too.
18734
18735 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
18736
18737 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
18738 Added the setup() method that has been added to the interface
18739 description in the last commits.
18740
18741 * doc/conf/conf.xml: Registered the SessionCallContextListener as
18742 CallContext.Listener.
18743
18744 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
18745
18746 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
18747 Bugfix: Call correct method to retrieve an instance of
18748 SessionFactoryProvider.
18749
18750 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18751
18752 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
18753 New. Contains thread local session holder for hibernate sessions.
18754
18755 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
18756 Uses session from SessionHolder.
18757
18758 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
18759 Interacts with SessionHolder now.
18760
18761 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
18762 Removed superfluous import.
18763
18764 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
18765
18766 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
18767 Implementation of a CallContext.Listener to open/close Hibernate
18768 Sessions for each request.
18769
18770 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
18771
18772 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
18773 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18774 Some modifications related to the last commit - modification of the
18775 describe() signature of a State.
18776
18777 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
18778
18779 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java:
18780 Removed. We do not need a state to select a gauge - the selection takes
18781 place by choosing a start and an end point.
18782
18783 2011-04-13 Ingo Weinzierl <ingo@intevation.de>
18784
18785 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
18786 Bugfix: added missing label node to root node and a namespace to the
18787 data node.
18788
18789 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
18790
18791 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18792 The name of the artifact 'winfo' is written into the DESCRIBE document
18793 now. We need this to have a proper way to distinguish between different
18794 artifacts in the UI.
18795
18796 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
18797
18798 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix:
18799 States are filled with data before they describe themself.
18800
18801 2011-04-11 Ingo Weinzierl <ingo@intevation.de>
18802
18803 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
18804 New. A factory that returns the annotations of a specific river.
18805
18806 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
18807 New. This service provides a document that contains information about
18808 distances of a river.
18809
18810 * doc/conf/conf.xml: Registered the DistanceInfoService.
18811
18812 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
18813
18814 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18815 This collection overrides the out() operation now. The incoming request
18816 document is read and the related OutGenerator is used to create the
18817 output.
18818
18819 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
18820 the code to create discharge curves. It has moved to the
18821 DischargeCurveGenerator which now does this work.
18822
18823 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
18824
18825 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The
18826 generate() method throws an IOException now.
18827
18828 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
18829 New. This OutGenerator creates discharge curves.
18830
18831 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
18832
18833 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
18834 the visibility of the getData() method. It's now public, because the
18835 OutGenerator needs an artifact's data.
18836
18837 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18838
18839 * src/**/*.java: Removed trailing whitespace.
18840
18841 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18842
18843 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18844 Make project compilable again by
18845 commenting out a not existing XMLDebug reference.
18846
18847 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
18848
18849 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18850 Added code to parse the configured OutGenerators and to save them (in a
18851 map) in the FLYSContext.
18852
18853 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
18854 Added a key that is used to save the OutGenerators Map in the context.
18855
18856 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
18857
18858 * src/main/java/de/intevation/flys/exports/OutGenerator.java:
18859 New. This interface is used to generator different types of output.
18860 ArtifactCollections will make use of this interface to create a
18861 collected output of all its artifacts.
18862
18863 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
18864
18865 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18866 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase
18867 operations instead.
18868
18869 * TODO: Removed 'remove Backend reference' TODO.
18870
18871 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
18872
18873 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the
18874 discharge curve output mode. This output now provides three facets - W,
18875 Q and the curve itself.
18876
18877 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
18878
18879 Tagged RELEASE 0.1
18880
18881 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
18882
18883 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO
18884 artifact configuration.
18885
18886 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
18887
18888 * src/main/resources/messages_de_DE.properties,
18889 src/main/resources/messages_de.properties: Changed a german string.
18890
18891 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
18892
18893 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
18894 Modified the available calculation modes and its order in the DESCRIBE
18895 document.
18896
18897 * src/main/resources/messages.properties,
18898 src/main/resources/messages_de_DE.properties,
18899 src/main/resources/messages_en.properties,
18900 src/main/resources/messages_de.properties: Adapted the names of
18901 calculation modes.
18902
18903 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
18904
18905 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18906 Added the hash code of an artifact to the artifact part of the
18907 collection's DESCRIBE document.
18908
18909 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
18910
18911 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed
18912 the background color of discharge curves to white.
18913
18914 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18915
18916 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18917 Cache the scale, too. Otherwise two calls to getValues() with
18918 different arguments will result in the same output.
18919
18920 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
18921
18922 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18923 Introduced a 'scale' parameter in the getValues() method.
18924
18925 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled
18926 the out() operation with code that draws a discharge table of one or
18927 more gauges specified by the given range in entered in a previous state.
18928
18929 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
18930
18931 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
18932 New. A helper class to exports charts.
18933
18934 * pom.xml: Added dependencies to iText, Batik and JFreeChart.
18935
18936 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18937
18938 * src/main/java/de/intevation/flys/importer/PegelGltParser.java:
18939 Fixed swap of operands.
18940
18941 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18942
18943 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
18944 New. Load gauges for a river and filter them for given
18945 ranges.
18946
18947 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18948
18949 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18950 Store data in a double [][] instead of interleaved double []
18951 to be compatible with org.jfree.data.xy.DefaultXYDataset.
18952
18953 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
18954
18955 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove
18956 the Backend reference from FLYSArtifactCollection.
18957
18958 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
18959
18960 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18961 Added missing artifact namespace of an attribute in the DESCRIBE
18962 document.
18963
18964 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
18965
18966 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18967 New. This ArtifactCollection overrides the DefaultArtifactCollection to
18968 implement FLYS specific describe() and out() operations.
18969
18970 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the
18971 DefaultArtifactCollection for this application.
18972
18973 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18974
18975 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18976 New. Fetches values of discharge tables in form of packed
18977 w/q double arrays for given gauges.
18978
18979 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
18980 Removed needless import.
18981
18982 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
18983
18984 * src/main/resources/messages_de_DE.properties: Added a german resource
18985 bundle to avoid exceptions in the flys artifacts. Sometimes, the
18986 Resources class is not able to find a 'de_DE' bundle and throws an
18987 exception. This is really strange, because it should use the 'de' bundle
18988 in that case, but it doesn't.
18989
18990 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
18991
18992 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
18993 some code to append the output modes of previous states to the DESCRIBE
18994 document.
18995
18996 TODO: Determine if the current state is already filled with data and
18997 append its output modes as well!
18998
18999 2011-03-22 Ingo Weinzierl <ingo@intevation.de>
19000
19001 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with
19002 an output mode 'discharge_table'.
19003
19004 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
19005
19006 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19007 Write human readable strings as label attribute into the DESCRIBE
19008 output. Those labels are used to be displayed in the GUI.
19009
19010 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
19011
19012 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
19013 Added some further calculation types.
19014
19015 * src/main/resources/messages.properties,
19016 src/main/resources/messages_en.properties,
19017 src/main/resources/messages_de.properties: Added i18n strings for the
19018 calculation types
19019
19020 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
19021
19022 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19023 Implemented the step-back part of the advance() operation.
19024
19025 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
19026
19027 * src/main/resources/messages_de.properties: Fixed a german umlaut.
19028
19029 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
19030
19031 * doc/conf/artifacts/winfo.xml: Added new states for entering a
19032 location/distance and w/q.
19033
19034 * src/main/resources/messages.properties,
19035 src/main/resources/messages_en.properties,
19036 src/main/resources/messages_de.properties: New string for the
19037 location/distance and w/q input states.
19038
19039 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
19040
19041 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
19042 New. A state for the W/Q input of the WINFO parameterization.
19043
19044 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
19045
19046 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19047 Append an attribute 'uiprovider' to the dynamic UI node.
19048
19049 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
19050 New. A state for the location/distance selection of the WINFO
19051 parameterization.
19052
19053 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
19054
19055 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19056 Added a new method getUIProvider() that might be overriden by concreted
19057 subclasses that should be rendered with a specific UIProvider.
19058
19059 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
19060
19061 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19062 The static UI part is created by the previous states now. This makes it
19063 possible to group the data objects (which is necessary to group the
19064 objects in the ui).
19065
19066 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19067 Added a describeStatic() method that creates a node that contains the
19068 data of that state.
19069
19070 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
19071
19072 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
19073 Removed TODO: the document contains the rivers provided by the backend
19074 now.
19075
19076 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19077
19078 * pom.xml: Added dependency to flys backend.
19079
19080 * src/main/java/de/intevation/flys/artifacts/model/River.java:
19081 Removed. We are using the backend model now.
19082
19083 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
19084 Fetches the rivers from the backend.
19085
19086 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
19087 Import fixes.
19088
19089 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19090
19091 * doc/conf/conf.xml: Added section for database backend configuration.
19092
19093 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19094
19095 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
19096 Fixed build error coming from different import of XMLUtils.
19097
19098 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
19099
19100 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19101 Appended the missing label node that contains the human readable name of
19102 the data item.
19103
19104 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
19105
19106 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
19107 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19108 I18N of strings for the DESCRIBE document.
19109
19110 * src/main/resources/messages.properties,
19111 src/main/resources/messages_en.properties,
19112 src/main/resources/messages_de.properties: I18N strings for the
19113 calculcation mode state.
19114
19115 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
19116
19117 * doc/conf/artifacts/winfo.xml: Modified the winfo states.
19118
19119 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted
19120 the artifact regarding the changes of the last commit. The states
19121 describe() method creates the dynamic UI node - the artifact needs to
19122 apply this node.
19123
19124 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
19125 New. The state for choosing the calculation mode.
19126
19127 * src/main/resources/messages.properties,
19128 src/main/resources/messages_en.properties,
19129 src/main/resources/messages_de.properties: Added i18n strings for the
19130 calculation mode state.
19131
19132 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
19133
19134 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19135 New. This is the base state for the FLYS application. It provides a
19136 method that creates the dynamic ui node for the DESCRIBE.
19137
19138 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
19139 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both
19140 classes extend the abstract base class DefaultState.
19141
19142 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
19143
19144 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
19145 New. This class retrieves the i18n strings from a ResourceBundle.
19146
19147 * src/main/resources/messages.properties,
19148 src/main/resources/messages_en.properties,
19149 src/main/resources/messages_de.properties: Resource files for german and
19150 english translation.
19151
19152 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
19153
19154 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
19155 the data that have been inserted in former states into the static node
19156 of the DESCRIBE.
19157
19158 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
19159
19160 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
19161 operations feed() and advance() return the description of the artifact
19162 using the describe() operation. This avoids additional server round trips
19163 in the client - the clients gets to know about the new state of the
19164 artifact immediately.
19165
19166 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
19167
19168 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19169 Implemented a part (step forward) of the advance operation.
19170
19171 * TODO: Implement Step-Back in advance operation.
19172
19173 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
19174
19175 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19176 Implemented the abstract method getName(). It returns the constant
19177 'winfo' string.
19178
19179 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19180 Implemented the feed action. The data of an incoming feed() operation is
19181 stored in StateData objects that are saved in a map in the artifact.
19182
19183 NOTE: There is no input validation and no i18n of error messages (see
19184 TODO).
19185
19186 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
19187
19188 * TODO: This file contains some open points that need to be done.
19189
19190 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
19191
19192 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This
19193 artifact serves as the default artifact for the FLYS application.
19194
19195 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This
19196 artifact now inherits from FLYSArtifact. Furthermore, there is one big
19197 change: we don't store the State objects itself in the artifact, but
19198 just the identifier of those. This makes the artifact smaller and more
19199 compatible agains previous versions of the software.
19200
19201 2011-03-08 Ingo Weinzierl <ingo@intevation.de>
19202
19203 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
19204 New. This service will retrieve a list of provided rivers.
19205
19206 * doc/conf/conf.xml: Added a configuration for the RiverService.
19207
19208 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
19209
19210 * doc/conf/conf.xml: Added a section user-factory and collection-factory in
19211 the factories part of the configuration.
19212
19213 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
19214
19215 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
19216 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider'
19217 attribute.
19218
19219 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
19220
19221 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
19222 RiverSelect state is called to create the UI part of the describe
19223 document.
19224
19225 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
19226 Implemented the dynamic UI part of describe(). The static part is not
19227 inserted into the describe document at the moment. We need a reference to
19228 the previous states for this.
19229
19230 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
19231
19232 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
19233 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model
19234 class that represents a river and its factory to create concrete river
19235 instances.
19236 NOTE: Currently, this is just a mockup. The factory just returns two
19237 static rivers "Mosel" and "Saar" without a connection to a backend.
19238
19239 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
19240
19241 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The
19242 input data of a state is initialized with empty StateData objects after
19243 the State has been created.
19244
19245 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states
19246 which now fits better to the class name of the implementation.
19247
19248 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
19249
19250 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
19251 describe document returned by this artifact now contains the current state
19252 and the reachable states.
19253
19254 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
19255
19256 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
19257 The transitions are put into the TransitionEngine with the ID of the state
19258 - not longer with the artifact name. On this way, we are able to fetch
19259 just the transitions for a specific state, instead of all the transitions
19260 of an artifact.
19261
19262 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
19263
19264 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe()
19265 returns the artifact's uuid and hash value. The whole implementation of
19266 describe() is still outstanding.
19267
19268 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
19269
19270 * doc/conf/artifacts/winfo.xml: Removed useless config stuff.
19271
19272 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
19273 useless methods, and improved the init process - the first state is set as
19274 the current state for this artifact.
19275
19276 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
19277 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New.
19278 The states are used in the first two steps of the WINFOArtifact.
19279 Currently, they just implement stubs of the necessary methods setup() and
19280 describe().
19281
19282 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
19283
19284 * src/main/java/de/intevation/flys/artifacts/states/State.java,
19285 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java,
19286 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java:
19287 Removed. These classes are placed in the artifact-database now.
19288
19289 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java,
19290 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
19291 Adapted imports of Transition.
19292
19293 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New.
19294 This factory should be used to create concrete State objects.
19295
19296 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
19297 a constant key to store the StateEngine in the context.
19298
19299 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
19300 New method that initializes the states at application start.
19301
19302 2011-02-03 Ingo Weinzierl <ingo@intevation.de>
19303
19304 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The
19305 interface description of a state.
19306
19307 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java,
19308 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
19309 New. The interface description and a default implementation of a
19310 transition.
19311
19312 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java:
19313 New. The TransitionEngine stores all transitions for each artifact and
19314 should be used to determine, if an artifact can advance from one state to
19315 another.
19316
19317 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
19318 New. Transitions should be created by using this class.
19319
19320 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New.
19321 The Flys context. It currently defines keys to store important components
19322 in the context.
19323
19324 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
19325 New. The context factory initializes the basic components of the
19326 application. Currently, the TransitionEngine is created and all artifacts
19327 with its transitions are read from the global configuration and stored in
19328 the FLYSContext.
19329
19330 * pom.xml: Added a dependency to the 'artifacts-common' package.
19331
19332 * doc/conf/artifacts/winfo.xml: Corrected the classname of the
19333 DefaultTransition.
19334
19335 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory.
19336
19337 2011-02-02 Ingo Weinzierl <ingo@intevation.de>
19338
19339 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact
19340 server.
19341
19342 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an
19343 WINFO artifact.
19344
19345 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of
19346 an artifact for a WINFO parameterization.
19347
19348 * pom.xml: Set the source code version to 1.5.
19349
19350 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19351
19352 * src/**, pom.xml: Added initial maven project.
19353 * ChangeLog: new.

http://dive4elements.wald.intevation.org