comparison artifacts/ChangeLog-before-20121017 @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-artifacts/ChangeLog-before-20121017@79878efbdf07
children
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
1 2012-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2
3 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
4 Let FIX_SECTOR_AVERAGE_DWT*-Facets enter inactively.
5
6 2012-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7
8 Fix loading former derivative curves in fixation analysis artifacts
9 DC.
10
11 * flys-artifacts/doc/conf/meta-data.xml: Fix typo.
12
13 2012-10-17 Björn Ricks <bjoern.ricks@intevation.de>
14
15 * doc/conf/artifacts/gaugedischargecurve.xml,
16 src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java,
17 src/main/resources/messages.properties,
18 src/main/resources/messages_de.properties,
19 src/main/resources/messages_de_DE.properties,
20 src/main/resources/messages_en.properties:
21 Add data for the gauge name to the GaugeDischargeCurveArtifact.
22
23 2012-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
24
25 * src/main/java/de/intevation/flys/utils/DoubleUtil.java(explode):
26 Return empty double array if we are up to create a negative
27 result array. This should fix some problems in
28 "Fixierungsanalyse/Auslagerung von Wasserspiegellagen".
29
30 2012-10-16 Björn Ricks <bjoern.ricks@intevation.de>
31
32 * doc/conf/default-themes.xml,
33 doc/conf/themes.xml:
34 Add theme for gauge discharge curve artifact.
35
36 2012-10-16 Björn Ricks <bjoern.ricks@intevation.de>
37
38 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java:
39 Set uiprovider on the state.
40
41 2012-10-16 Björn Ricks <bjoern.ricks@intevation.de>
42
43 * src/main/java/de/intevation/flys/artifacts/AbstractStaticStateArtifact.java:
44 Use StaticState class instead of State in member staticstate.
45 Override describe method to return also a uiprovider.
46
47 2012-10-16 Björn Ricks <bjoern.ricks@intevation.de>
48
49 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
50 Change visibility of createOutputModes to protected.
51
52 2012-10-16 Björn Ricks <bjoern.ricks@intevation.de>
53
54 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
55 Avoid NullPointerException if help text is null.
56
57 2012-10-16 Ingo Weinzierl <ingo@intevation.de>
58
59 flys/issue930
60
61 * src/main/java/de/intevation/flys/artifacts/access/Access.java: Added new
62 method to retrieve long[] values separated with a ';'.
63
64 * src/main/java/de/intevation/flys/artifacts/access/HistoricalDischargeAccess.java:
65 New. Access class to retrieve information for historical discharge
66 curves.
67
68 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
69 Add the evaluation timerange provided by HistoricalDischargeAccess to
70 the subtitle of those charts.
71
72 * src/main/resources/messages.properties,
73 src/main/resources/messages_de.properties,
74 src/main/resources/messages_de_DE.properties,
75 src/main/resources/messages_en.properties: Added start and end date to
76 subtitle of historical discharge curve charts.
77
78 2012-10-16 Christian Lins <christian.lins@intevation.de>
79
80 * src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
81 src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java:
82 Workaround for double facets in "Mittlere SohlhÃhe" (#961).
83
84 2012-10-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
85
86 Fix issue946.
87
88 * flys-artifacts/doc/conf/meta-data.xml: Load wkms with different
89 parameter for fix wq curves.
90
91 * flys-artifacts/doc/conf/artifacts/fixanalysis.xml:
92 Add new facet to compat list.
93
94 * flys-artifacts/doc/conf/default-themes.xml,
95 flys-artifacts/doc/conf/second-themes.xml,
96 flys-artifacts/doc/conf/themes.xml:
97 Added new theme/mapping.
98
99 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
100 Register new facet type.
101
102 * flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
103 Handle "new" Facet.
104
105 2012-10-16 Christian Lins <christian.lins@intevation.de>
106
107 * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java,
108 src/main/resources/messages_de.properties,
109 src/main/resources/messages_de_DE.properties:
110 Fix typo
111
112 2012-10-16 Ingo Weinzierl <ingo@intevation.de>
113
114 flys/issue930
115
116 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
117 Add unit [cm] to the facet description if calculation mode is W.
118
119 2012-10-15 Ingo Weinzierl <ingo@intevation.de>
120
121 flys/issue904
122
123 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
124 Defined two constants for converting discharge table values into [cm].
125
126 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
127 Use the new constants for value conversion for master discharge table
128 and historical discharge tables.
129
130 2012-10-15 Ingo Weinzierl <ingo@intevation.de>
131
132 flys/issue548
133
134 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
135 Use SCALE=1 for fetching values of a discharge table. In future, all
136 discharge tables should be stored in [cm] in database. Currently,
137 historical discharge tables are in [cm], so no transformation is
138 necessary.
139
140 2012-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
141
142 Improve on issue945/6
143
144 * flys-artifacts/doc/conf/meta-data.xml: Add nodes for W/Q-only
145 mainvalues.
146
147 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
148 Create only W/Q values if corresponding data given.
149
150 2012-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
151
152 Improve on issue945/1
153
154 * flys-artifacts/doc/conf/meta-data.xml: Recommend main values
155 in computed discharge curves.
156
157 2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
158
159 Improve on issue943/4
160
161 * flys-artifacts/doc/conf/meta-data.xml: Do not show double
162 annotation entry in LS DC.
163
164 2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
165
166 Improve on issue943/4
167
168 * flys-artifacts/doc/conf/meta-data.xml: Show an "all" node in DC
169 for annotations per type.
170
171 2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
172
173 Fix issue943/3
174
175 * flys-artifacts/doc/conf/meta-data.xml: Add Floodprotections to
176 LS non-recommendations.
177
178 2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
179
180 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
181 Help future developers.
182
183 2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
184
185 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/RiverAccess.java:
186 Improve code drastically.
187
188 2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
189
190 * flys-artifacts/doc/conf/artifacts/winfo.xml: Include new state and
191 transition for extreme value q input per segment.
192
193 2012-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
194
195 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/extreme/ExtremeQInput.java:
196 New, initial Input state for Q input per segment in extreme analysis
197 path.
198
199 2012-10-12 Ingo Weinzierl <ingo@intevation.de>
200
201 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
202 Insert the date as time millis for each discharge curve.
203
204 2012-10-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
205
206 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
207 Added debug output to detect where data got lost.
208
209 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
210 Fixed problem with losing meassurement points. There are still bugs left.
211
212 2012-10-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
213
214 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeCalculation.java,
215 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java:
216 Documentation.
217
218 2012-10-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
219
220 * flys-artifacts/doc/conf/artifacts/winfo.xm: Introduce another
221 dummyish state for extreme value analysis.
222
223 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/extreme/PercentInput.java:
224 New State to get percentage as input.
225
226 2012-10-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
227
228 * flys-artifacts/doc/conf/artifacts/winfo.xm: Introduce dummyish states for
229 extreme value analysis.
230
231 * flys-artifacts/src/main/resources/messages.properties,
232 flys-artifacts/src/main/resources/messages_de.properties,
233 flys-artifacts/src/main/resources/messages_de_DE.properties,
234 flys-artifacts/src/main/resources/messages_en.properties:
235 i18n.
236
237 2012-10-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
238
239 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
240 flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java:
241 Validate partial strings.
242
243 2012-10-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
244
245 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java,
246 flys-artifacts/src/main/java/de/intevation/flys/artifacts/charts/TimeseriesStepChart.java,
247 flys-artifacts/src/main/java/de/intevation/flys/utils/DoubleUtil.java:
248 Doc.
249
250 2012-10-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
251
252 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
253 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
254 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/extreme/ExtremeCompute.java,
255 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
256 flys-artifacts/src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java:
257 Cosmetics, docs.
258
259 2012-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
260
261 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
262 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
263 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
264 src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
265 src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java,
266 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java,
267 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFactory.java,
268 src/main/java/de/intevation/flys/artifacts/services/BedKMChartService.java,
269 src/main/java/de/intevation/flys/artifacts/services/BedloadKMChartService.java,
270 src/main/java/de/intevation/flys/artifacts/states/OutputState.java,
271 src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java,
272 src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
273 src/main/java/de/intevation/flys/exports/ChoiceStringAttribute.java,
274 src/main/java/de/intevation/flys/exports/DoubleAttribute.java,
275 src/main/java/de/intevation/flys/exports/IntegerAttribute.java,
276 src/main/java/de/intevation/flys/exports/StringAttribute.java,
277 src/main/java/de/intevation/flys/exports/VisibleAttribute.java:
278 More dead code removal. Minor code clean ups.
279
280 2012-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
281
282 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
283 src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java,
284 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENCalculation.java,
285 src/main/java/de/intevation/flys/collections/CollectionAttribute.java,
286 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java,
287 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
288 Cleaned up iterating over maps. Removed some dead code.
289
290 2012-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
291
292 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
293 src/main/java/de/intevation/flys/artifacts/ChartArtifact.java,
294 src/main/java/de/intevation/flys/artifacts/MapArtifact.java,
295 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
296 src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
297 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
298 src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java,
299 src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java,
300 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
301 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
302 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
303 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
304 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
305 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
306 src/main/java/de/intevation/flys/artifacts/states/minfo/DifferenceSelect.java,
307 src/main/java/de/intevation/flys/artifacts/states/minfo/YearEpochSelect.java,
308 src/main/java/de/intevation/flys/exports/OutputHelper.java,
309 src/main/java/de/intevation/flys/themes/DefaultTheme.java:
310 Removed dead code.
311
312 2012-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
313
314 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
315 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java,
316 src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java,
317 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
318 Removed dead code.
319
320 2012-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
321
322 * main/java/de/intevation/flys/exports/LegendProcessor.java:
323 Removed superfluous import.
324
325 * main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
326 main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
327 main/java/de/intevation/flys/exports/FlowVelocityGenerator.java,
328 main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java,
329 main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
330 main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
331 main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java,
332 main/java/de/intevation/flys/utils/MapfileGenerator.java:
333 Removed dead code.
334
335 2012-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
336
337 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
338 Avoid redundant hashing. Removed dead code.
339
340 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
341 Fix for ArrayIndexOutOfBoundsException (#818).
342
343 2012-10-05 Christian Lins <christian.lins@intevation.de>
344
345 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
346 Add chart legend entries for interpolated series (#838).
347
348 2012-10-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
349
350 * doc/conf/meta-data.xml: Fix typo.
351
352 2012-10-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
353
354 Register new calculation mode "extreme".
355
356 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
357
358 * src/main/resources/messages.properties,
359 src/main/resources/messages_de.properties,
360 src/main/resources/messages_de_DE.properties,
361 src/main/resources/messages_en.properties:
362 i18n.
363
364 2012-10-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
365
366 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java,
367 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeCalculation.java:
368 Documentation.
369
370 2012-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
371
372 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
373 Removed dead code.
374
375 2012-10-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
376
377 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
378 Prefer to use static method on Class (vs. on object).
379
380 2012-10-04 Björn Ricks <bjoern.ricks@intevation.de>
381
382 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
383 Allow to set an uiprovider for a static state.
384
385 2012-10-04 Björn Ricks <bjoern.ricks@intevation.de>
386
387 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java:
388 Set translated data descriptions.
389
390 2012-10-04 Björn Ricks <bjoern.ricks@intevation.de>
391
392 * src/main/resources/messages.properties,
393 src/main/resources/messages_de.properties,
394 src/main/resources/messages_de_DE.properties,
395 src/main/resources/messages_en.properties:
396 Add messages for displaying the river name and gauge reference.
397
398 2012-10-04 Björn Ricks <bjoern.ricks@intevation.de>
399
400 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java,
401 src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeCurveFacet.java:
402 Add description from message template for facet and set correct facet
403 name.
404
405 2012-10-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
406
407 Fix issue889/2 .
408
409 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
410 Do not AIOOB on wsts with one (or zero) value only.
411
412 2012-10-04 Björn Ricks <bjoern.ricks@intevation.de>
413
414 * src/main/resources/messages.properties,
415 src/main/resources/messages_de.properties,
416 src/main/resources/messages_de_DE.properties,
417 src/main/resources/messages_en.properties:
418 Add template for the gauge discharge curver description
419
420 2012-10-04 Björn Ricks <bjoern.ricks@intevation.de>
421
422 * doc/conf/artifacts/gaugedischargecurve.xml:
423 Fix typo and change type to chart.
424
425 2012-10-04 Björn Ricks <bjoern.ricks@intevation.de>
426
427 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
428 Add warning if no compatible facet is found.
429
430 2012-10-04 Björn Ricks <bjoern.ricks@intevation.de>
431
432 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
433 Avoid NullPointerException if not attribute outs are present.
434
435 2012-10-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
436
437 Fix issue417.
438
439 * flys-artifacts/doc/conf/default-themes,
440 flys-artifacts/doc/conf/second-themes,
441 flys-artifacts/doc/conf/virtual-themes:
442 Remove not needed theme props from main-value-annotations.
443
444 2012-10-04 Christian Lins <christian.lins@intevation.de>
445
446 * flys-artifacts/src/main/java/de/intevation/flys/exports/LegendProcessor.java,
447 flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
448 Cosmetics, comments.
449
450 * flys-artifacts/src/main/resources/messages.properties,
451 flys-artifacts/src/main/resources/messages_de.properties,
452 flys-artifacts/src/main/resources/messages_de_DE.properties,
453 flys-artifacts/src/main/resources/messages_en.properties:
454 Add message for 'state.chart.km' (#899).
455 Add message for 'state.chart.km' (#899).
456 2012-10-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
457
458 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/AnnotationRiverState.java:
459 If type of annotation was chosen, give facet name of type.
460
461 2012-10-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
462
463 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java
464 (setup): Deal with ids from datacage-doc, expose a data-item with the
465 annotationtypename.
466
467 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java
468 (getData): filter annotations given by typename, if available.
469
470 2012-10-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
471
472 * doc/conf/meta-data.xml: Show "per-type" annotations in
473 longitudinal-sections DC.
474
475 2012-10-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
476
477 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
478 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
479 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
480 Added TODOs for issue880.
481
482 2012-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
483
484 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
485 Totals are now fetched with separate SQL statement. Fixed join to
486 GEWAESSER table.
487
488 2012-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
489
490 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
491 Wrote fractions SQL more compact. Fixed AIOOBE.
492
493 2012-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
494
495 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
496 Fixed typo.
497
498 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
499 Removed unused field from SQL query.
500
501 2012-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
502
503 Finally calculate the S(Q) fractions. TODO: Split SQL into two queries.
504
505 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
506 Make the fractions accessible.
507
508 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
509 Calculate the fraction.
510 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
511 Store new measurements for fractions in separate list.
512
513 2012-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
514
515 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
516 Make it compilable again.
517
518 2012-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
519
520 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java,
521 src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
522 Generate a second list of accumulated meassurements,
523
524 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
525 Do not calculate the adjusted and sieve array for all measurements.
526
527 * src/main/java/de/intevation/flys/artifacts/model/sq/Sieve.java:
528 Added diameter comparator.
529
530 * src/main/java/de/intevation/flys/artifacts/model/sq/SieveArray.java:
531 Copy the data if total load is zero.
532
533
534 2012-10-01 Björn Ricks <bjoern.ricks@intevation.de>
535
536 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
537 Add simple default constuctor.
538
539 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
540 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
541 Add a facet type for GaugeDischargeCurveArtifact
542
543 * doc/conf/artifacts/gaugedischargecurve.xml,
544 flys-artifacts/doc/conf/conf.xml:
545 Add a config for GaugeDischargeCurveArtifact
546
547 2012-09-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
548
549 * flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/Sieve.java:
550 Model a sieve with diameter and load which simplifies the logic a lot.
551
552 * src/main/java/de/intevation/flys/artifacts/model/sq/SieveArray.java:
553 New. A standard sieve array with 12 sieves.
554
555 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
556 Removed the string lookup crap and move the code to classes.
557
558 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
559 Directy generate sieves now not the symbolic string lookup stuff.
560
561 2012-09-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
562
563 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java:
564 Removed dead code.
565
566 2012-09-30 Christian Lins <christian.lins@intevation.de>
567
568 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
569 Fixing Delta W/t chart: reference period area can now switched to invisible (#877).
570
571 2012-09-30 Christian Lins <christian.lins@intevation.de>
572
573 * src/main/resources/messages.properties,
574 src/main/resources/messages_de.properties,
575 src/main/resources/messages_de_DE.properties,
576 src/main/resources/messages_en.properties:
577 Correct i18n for fixation outlier widget (state.fixation.preprocess) (#873).
578
579 2012-09-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
580
581 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java,
582 src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeCurveFacet.java:
583 Removed heavy weight backend data (gauge) from facet.
584 The relevant data is already available in the artifact.
585
586 !!! Facets should be only used to retrieve data with the help of
587 !!! the artifact. If the artifact already stores the data or
588 !!! is able to fetch it for the facet don't replicated it in
589 !!! the members of the facet.
590
591 2012-09-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
592
593 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java,
594 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
595 src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeCurveFacet.java,
596 src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
597 Removed superfluous imports.
598
599 2012-09-29 Christian Lins <christian.lins@intevation.de>
600
601 * doc/conf/themes.xml,
602 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
603 Manual Points working in Fixing Delta W/t chart (#462).
604
605 2012-09-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
606
607 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
608 More code for calculating S fractions. Totally broken and incomplete!
609
610 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
611 Fetch more data from data base (sieve diameters).
612
613 2012-09-29 Björn Ricks <bjoern.ricks@intevation.de>
614
615 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
616 Also add the artifact name to the artifact description.
617
618 2012-09-29 Björn Ricks <bjoern.ricks@intevation.de>
619
620 * doc/conf/conf.xml,
621 src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java,
622 src/main/java/de/intevation/flys/artifacts/AbstractStaticStateArtifact.java,
623 src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeCurveFacet.java:
624 Implement new Artifacts and State for displaying discharge curves at a
625 gauge.
626
627 2012-09-29 Björn Ricks <bjoern.ricks@intevation.de>
628
629 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
630 Make addOuput public. Allow StaticArtifacts to add static outputs to the
631 state.
632
633 2012-09-29 Björn Ricks <bjoern.ricks@intevation.de>
634
635 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
636 Add protected method addFacets to allow child classes to add facets
637 without accessing the member variable.
638
639 2012-09-28 Ingo Weinzierl <ingo@intevation.de>
640
641 * doc/conf/meta-data.xml: Added 'info' column to the dem section of the
642 datacage.
643
644 2012-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
645
646 Work on issue724 (i18n in minfo).
647
648 * src/main/resources/messages.properties,
649 src/main/resources/messages_de_DE.properties,
650 src/main/resources/messages_en.properties,
651 src/main/resources/messages_de.properties:
652 i18n strings.
653
654 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
655
656 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
657 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
658 Whitespace-cosmetics.
659
660 * src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java:
661 Doc.
662
663 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
664
665 Work on issue724 (i18n in minfo).
666
667 * src/main/resources/messages.properties,
668 src/main/resources/messages_de_DE.properties,
669 src/main/resources/messages_en.properties,
670 src/main/resources/messages_de.properties:
671 i18n strings.
672
673 * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java:
674 Fix typo.
675
676 2012-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
677
678 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
679 Removed invalid entries of the SQL projection.
680
681 2012-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
682
683 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java,
684 Added more data fields from SedDB to calculate the fraction parts.
685
686 src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
687 Have now previous and next Measurement attached.
688
689 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
690
691 Fix part of issue871 (selected flow-veloc- parameter shown wrong).
692
693 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
694 Fix conditional.
695
696 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
697
698 Fix issue863 (gaps in middle height bed data).
699
700 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
701 Handle missing data.
702
703 2012-09-27 Ingo Weinzierl <ingo@intevation.de>
704
705 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Set
706 missing 'originalExtent' attribute of the WSPLGEN layer.
707
708 2012-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
709
710 Towards fix issue863 (gaps in middle height bed data).
711
712 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java
713 (addAll): Do not expose single add*-Methods, instead always add a full
714 set of data.
715 Added new isEmpty-data and query it before exporting data as
716 double[][] to e.g. ChartGenerator.
717
718 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
719 Do not use single add()*-Methods, instead call new addAll method.
720 Find out whether a gap-value is present.
721
722 * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java:
723 Prevent skipping of NaNs (gaps).
724
725 2012-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
726
727 * src/main/java/de/intevation/flys/artifacts/model/map/WMSLayerFacet.java,
728 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
729 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
730 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
731 Removed trailing whitespace.
732
733 2012-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
734
735 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java
736 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
737 Add more symbols.
738
739 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
740 Adjust symbols.
741
742 2012-09-26 Björn Ricks <bjoern.ricks@intevation.de>
743
744 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
745 Change createOutputModes method to be private. It is not used in a child
746 class.
747
748 2012-09-26 Björn Ricks <bjoern.ricks@intevation.de>
749
750 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
751 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
752 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
753 Mark FLYSArtifact data member as private and add setter method.
754
755 2012-09-26 Christian Lins <christian.lins@intevation.de>
756
757 * doc/conf/second-themes.xml,
758 doc/conf/default-themes.xml:
759 Enable line labels for Delta W/t sector average lines (#896).
760
761 2012-09-26 Ingo Weinzierl <ingo@intevation.de>
762
763 * doc/conf/mapserver/db_layer.vm: Set initial projection of the database
764 to "epsg:31467".
765
766 * doc/conf/mapserver/mapfile.vm: Set initial projection of the database to
767 "epsg:31467". Set the max extent to the extent of the river Saar.
768
769 TODO: Set the max extent to the extent of germany!
770
771 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
772 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
773 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
774 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
775 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
776 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
777 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
778 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
779 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
780 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
781 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
782 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
783 src/main/java/de/intevation/flys/artifacts/MapArtifact.java,
784 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
785 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
786 Added a parameter "reproject" to the getExtent() method. If reproject is
787 set, the method should return the extent of the layer in the projection
788 that is specified for the relevant river in the configuration.
789 Otherwise, this method should return the extent in the projection that
790 is used by the database.
791
792 * src/main/java/de/intevation/flys/artifacts/model/map/WMSLayerFacet.java:
793 Added new attributes and methods for the original extent of a layer. The
794 original extent is used in the XML document that is generated by
795 toXML().
796
797 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Use the
798 getOriginalExtent() method of WMSLayerFacet to determine the max extent
799 for the map (maps should be in the river projection specified in the
800 configuration).
801
802 2012-09-26 Christian Lins <christian.lins@intevation.de>
803
804 * doc/conf/artifacts/fixanalysis.xml,
805 doc/conf/artifacts/manualpoints.xml,
806 doc/conf/themes.xml,
807 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
808 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
809 src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java,
810 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
811 Rename fix_derivate facet to enable manual points in the derived curve chart.
812
813 2012-09-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
814
815 * doc/conf/artifacts/manualpoints.xml: Re-enable manualpoints
816 compatibility.
817
818 2012-09-24 Christian Lins <christian.lins@intevation.de>
819
820 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
821 Fix for #825 ?
822
823 2012-09-24 Raimund Renkert <raimund.renkert@intevation.de>
824
825 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadOverview.java:
826 Fixed SQL statement. Exclude data where km is null.
827
828 2012-09-24 Christian Lins <christian.lins@intevation.de>
829
830 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
831 Fixing analysis longitudinal section chart has now initially
832 deactivated A1/B facets. W/Q and W(t) has activated facets. (#874)
833
834 2012-09-24 Björn Ricks <bjoern.ricks@intevation.de>
835
836 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
837 Remove info-url from gauge and river in the response and add official
838 number to the river.
839
840 2012-09-23 Christian Lins <christian.lins@intevation.de>
841
842 * doc/conf/default-themes.xml,
843 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
844 W(Q) chart: q sectors are now black and labeled by default (#875).
845
846 2012-09-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
847
848 * src/main/java/de/intevation/flys/artifacts/services/GaugeInfoService.java:
849 Cosmetics.
850
851 2012-09-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
852
853 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
854 Removed trailing whitespace.
855
856 2012-09-23 Christian Lins <christian.lins@intevation.de>
857
858 * doc/conf/second-themes.xml,
859 doc/conf/default-themes.xml,
860 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
861 Themes and i18n of Delta W/t's A1/B facets (#876).
862
863 2012-09-23 Christian Lins <christian.lins@intevation.de>
864
865 * doc/conf/artifacts/fixanalysis.xml,
866 doc/conf/themes.xml,
867 doc/conf/second-themes.xml,
868 doc/conf/default-themes.xml,
869 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
870 src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java,
871 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
872 Add reference period facet to delta W/t chart (#877).
873
874 2012-09-22 Christian Lins <christian.lins@intevation.de>
875
876 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java,
877 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
878 Longitudinal section chart does now respect the bounds of the drawn
879 areas, so that no clipping occurs (#878).
880
881 * src/main/resources/messages.properties,
882 src/main/resources/messages_de_DE.properties,
883 src/main/resources/messages_en.properties,
884 src/main/resources/messages_de.properties:
885 i18n corrections.
886
887 2012-09-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
888
889 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
890 src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
891 Cosmetics, doc.
892
893 2012-09-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
894
895 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
896 Prevent ArrayIndexOutOfBounds.
897
898 2012-09-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
899
900 Document issue880 (extrapolation of wkms).
901
902 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
903 Do not extrapolate, mention further issues with the code.
904
905 2012-09-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
906
907 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffYearResult.java,
908 src/main/java/de/intevation/flys/artifacts/states/minfo/DifferencesState.java,
909 src/main/java/de/intevation/flys/exports/minfo/BedDifferenceEpochGenerator.java,
910 src/main/java/de/intevation/flys/exports/minfo/BedDifferenceYearGenerator.java:
911 Removed trailing whitespace.
912
913 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de>
914
915 * src/main/resources/messages.properties,
916 src/main/resources/messages_de_DE.properties,
917 src/main/resources/messages_en.properties,
918 src/main/resources/messages_de.properties:
919 Added i18n strings for bedheight difference charts.
920
921 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de>
922
923 * doc/conf/themes.xml,
924 doc/conf/second-themes.xml,
925 doc/conf/default-themes.xml:
926 Added themes for bedheight difference charts.
927
928 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de>
929
930 * doc/conf/meta-data.xml:
931 Add river annotations to bedheight difference charts.
932
933 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de>
934
935 * src/main/java/de/intevation/flys/exports/minfo/BedDiffHeightYearInfoGenerator.java,
936 src/main/java/de/intevation/flys/exports/minfo/BedDiffHeightYearGenerator.java,
937 src/main/java/de/intevation/flys/exports/minfo/BedDiffEpochInfoGenerator.java,
938 src/main/java/de/intevation/flys/exports/minfo/BedDiffYearInfoGenerator.java,
939 src/main/java/de/intevation/flys/exports/minfo/BedDifferenceEpochGenerator.java,
940 src/main/java/de/intevation/flys/exports/minfo/BedDifferenceYearGenerator.java:
941 New. Chart generators for bedheight diff calculation charts.
942
943 * src/main/java/de/intevation/flys/artifacts/states/minfo/DifferencesState.java:
944 Add facets to generate outputs.
945
946 * src/main/java/de/intevation/flys/artifacts/access/BedDifferencesAccess.java:
947 Extract calculation relevant data.
948
949 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDifferencesResult.java,
950 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffYearResult.java,
951 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffEpochResult.java:
952 Updated result set data fields.
953
954 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffCalculation.java:
955 Updated the bedheight difference calculation.
956
957 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
958 Added new facet types.
959
960 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffEpochFacet.java,
961 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffYearFacet.java:
962 New facets for bedheight differences.
963
964 * doc/conf/conf.xml:
965 Added ouput generators.
966
967 * doc/conf/artifacts/minfo.xml:
968 Added facets to outputmodes.
969
970 2012-09-21 Raimund Renkert <raimund.renkert@intevation.de>
971
972 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeight.java,
973 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightSingle.java,
974 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightEpoch.java,
975 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFactory.java:
976 Updated data fields to fit the needs of bedheight difference calculation.
977
978 2012-09-21 Björn Ricks <bjoern.ricks@intevation.de>
979
980 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
981 Return also the gauge official number in a service response.
982
983 2012-09-21 Björn Ricks <bjoern.ricks@intevation.de>
984
985 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
986 Use Gauge and River fetchInfoURL instead of getInfoURL until the URLs are
987 fetched from the db.
988
989 2012-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
990
991 Fix issue887 (HYKs in New Chart).
992
993 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
994 Lower the Casting requirement to FLYSArtifact instead of
995 WINFOArtifact.
996
997 2012-09-21 Björn Ricks <bjoern.ricks@intevation.de>
998
999 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
1000 Return also the gauge and river info-url in a service response.
1001
1002 2012-09-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1003
1004 Fix issue886 (do not show waterline if out of range).
1005
1006 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1007 Do not extrapolate waterlines.
1008
1009 2012-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1010
1011 Better Partial issue880 (diverse DC).
1012
1013 * doc/conf/meta-data.xml: Remove double entry for annotations in
1014 longitudinal section case but keep recommending it.
1015
1016 2012-09-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1017
1018 Partial issue880 (diverse DC).
1019
1020 * doc/conf/meta-data.xml: Remove double entry for annotations in
1021 longitudinal section case.
1022
1023 2012-09-20 Christian Lins <christian.lins@intevation.de>
1024
1025 * doc/conf/second-themes.xml,
1026 doc/conf/default-themes.xml,
1027 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1028 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
1029 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
1030 Theme area transparency fixed for longitudinal section chart (#879).
1031
1032 2012-09-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1033
1034 Improvements for manual points in fixation diags.
1035
1036 * doc/conf/artifacts/fixanalysis.xml: Add LS-manual points.
1037
1038 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1039 Add missing ChartTypes.
1040
1041 2012-09-20 Raimund Renkert <raimund.renkert@intevation.de>
1042
1043 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffCalculation.java:
1044 New. Calcuation for bed height differences.
1045
1046 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDifferencesResult.java,
1047 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffEpochResult.java,
1048 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiffYearResult.java:
1049 New. Bed height calculation results.
1050
1051 * src/main/java/de/intevation/flys/artifacts/access/BedDifferencesAccess.java:
1052 New. Access object to get bed height difference parameters from artifact.
1053
1054 2012-09-20 Raimund Renkert <raimund.renkert@intevation.de>
1055
1056 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFactory.java:
1057 Create separate objects for bed height epochs and single bed heights.
1058
1059 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeight.java:
1060 Added morph. width.
1061
1062 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightEpoch.java,
1063 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightSingle.java:
1064 New. Separate classes for bed height epochs and single bed heights.
1065
1066 2012-09-20 Raimund Renkert <raimund.renkert@intevation.de>
1067
1068 * src/main/java/de/intevation/flys/exports/minfo/BedQualityExporter.java:
1069 Add dates to csv header.
1070
1071 2012-09-20 Raimund Renkert <raimund.renkert@intevation.de>
1072
1073 * src/main/resources/messages.properties,
1074 src/main/resources/messages_de_DE.properties,
1075 src/main/resources/messages_en.properties,
1076 src/main/resources/messages_de.properties:
1077 Added i18n string for bed quality CSV export.
1078
1079 2012-09-20 Christian Lins <christian.lins@intevation.de>
1080
1081 * doc/conf/artifacts/fixanalysis.xml,
1082 doc/conf/artifacts/manualpoints.xml,
1083 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
1084 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
1085 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
1086 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
1087 Work on manual points in fix analysis charts (not yet working).
1088
1089 2012-09-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1090
1091 * src/main/java/de/intevation/flys/exports/minfo/BedQualityExporter.java:
1092 Removed superfluous imports.
1093
1094 2012-09-19 Raimund Renkert <raimund.renkert@intevation.de>
1095
1096 * src/main/java/de/intevation/flys/exports/minfo/BedQualityExporter.java:
1097 New. CSV exporter for bed quality calculation result.
1098
1099 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterResult.java,
1100 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiameterResult.java,
1101 src/main/java/de/intevation/flys/artifacts/model/minfo/BedParametersResult.java:
1102 Added getter with km as parameter.
1103
1104 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1105 Added facet for csv export.
1106
1107 * doc/conf/artifacts/minfo.xml:
1108 Added output mode.
1109
1110 * doc/conf/conf.xml:
1111 Added export generator.
1112
1113 2012-09-19 Björn Ricks <bjoern.ricks@intevation.de>
1114
1115 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
1116 Return also the station in a service response.
1117
1118 2012-09-18 Christian Lins <christian.lins@intevation.de>
1119
1120 * src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java:
1121 Cosmetics.
1122
1123 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
1124 A and B facets of fix analysis are now deactivated by default (#717).
1125
1126 2012-09-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1127
1128 * src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeCalculation.java:
1129 Extract parameters needed for calculation from access.
1130
1131 * src/main/java/de/intevation/flys/utils/DoubleUtil.java(isValid):
1132 Added method to check if 2d double array is valid.
1133
1134 2012-09-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1135
1136 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java,
1137 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java,
1138 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1139 Use generics aware Collections.emptyList().
1140
1141 2012-09-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1142
1143 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java,
1144 src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java,
1145 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
1146 src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java,
1147 src/main/java/de/intevation/flys/exports/OutputHelper.java,
1148 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1149 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
1150 src/main/java/de/intevation/flys/themes/ThemeMapping.java,
1151 src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
1152 The usual whitespace and import cleanups.
1153
1154 2012-09-18 Raimund Renkert <raimund.renkert@intevation.de>
1155
1156 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurementFactory.java:
1157 Avoid loading empty data sets.
1158
1159 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java:
1160 Load bedload data sets...
1161
1162 2012-09-18 Raimund Renkert <raimund.renkert@intevation.de>
1163
1164 * src/main/java/de/intevation/flys/artifacts/states/minfo/CharDiameter.java:
1165 Removed incorrect characteristic diameter.
1166
1167 2012-09-18 Christian Lins <christian.lins@intevation.de>
1168
1169 * doc/conf/default-themes.xml:
1170 Update point themes of fixing W/Q chart to show point descriptions
1171 per default (#685).
1172
1173 2012-09-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1174
1175 i18n for area label (fix issue487).
1176
1177 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java,
1178 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1179 Get internationalized label and numberformat, pass it to renderer,
1180 where its used.
1181
1182 * src/main/resources/messages.properties,
1183 src/main/resources/messages_de_DE.properties,
1184 src/main/resources/messages_en.properties,
1185 src/main/resources/messages_de.properties: Area label translations.
1186
1187 2012-09-18 Christian Lins <christian.lins@intevation.de>
1188
1189 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java,
1190 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1191 Add robustness checks to prevent NPEs (#859).
1192
1193 2012-09-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1194
1195 Brought showarea-theme setting back (fix issue865).
1196
1197 * doc/conf/default-themes.xml, doc/conf/second-themes.xml:
1198 Define showarea theme prop where its needed.
1199
1200 2012-09-17 Raimund Renkert <raimund.renkert@intevation.de>
1201
1202 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java:
1203 Added setter for date range.
1204
1205 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java
1206 Set correct date range for result.
1207
1208 2012-09-17 Raimund Renkert <raimund.renkert@intevation.de>
1209
1210 Refactor MINFO bed quality resultsets and facets.
1211
1212 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedLoadBedQualityResult.java,
1213 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedBedQualityResult.java:
1214 Removed.
1215
1216 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java:
1217 Container wrapping the single calculation results.
1218
1219 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiameterResult.java,
1220 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterResult.java,
1221 src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityDiameterResult.java,
1222 src/main/java/de/intevation/flys/artifacts/model/minfo/BedParametersResult.java:
1223 New. Results containing calculated average diameter, porosity and density.
1224
1225 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedPorosityFacet.java,
1226 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterFacet.java,
1227 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiameterFacet.java,
1228 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDensityFacet.java:
1229 Facets now return the concrete datatype using the facet index.
1230
1231 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1232 Create a facet for each resultset.
1233
1234 * src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java:
1235 Use the classes containing the results.
1236
1237 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java:
1238 Use new classes for results and calculate porosity and density once
1239 each period.
1240
1241 2012-09-17 Ingo Weinzierl <ingo@intevation.de>
1242
1243 Tagged RELEASE 2.9.1
1244
1245 2012-09-17 Ingo Weinzierl <ingo@intevation.de>
1246
1247 * src/main/resources/messages.properties,
1248 src/main/resources/messages_de_DE.properties,
1249 src/main/resources/messages_en.properties,
1250 src/main/resources/messages_de.properties: Added still missing
1251 translations for state.
1252
1253 2012-09-17 Ingo Weinzierl <ingo@intevation.de>
1254
1255 * src/main/resources/messages.properties,
1256 src/main/resources/messages_de_DE.properties,
1257 src/main/resources/messages_en.properties,
1258 src/main/resources/messages_de.properties: Added missing translations
1259 for state to select soundings.
1260
1261 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
1262 Added more debug output to find out how many single and epochs where
1263 found.
1264
1265 2012-09-17 Ingo Weinzierl <ingo@intevation.de>
1266
1267 * doc/conf/second-themes.xml,
1268 doc/conf/default-themes.xml: Defined initial colors.
1269
1270 * src/main/java/de/intevation/flys/exports/OutputHelper.java,
1271 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
1272 src/main/java/de/intevation/flys/themes/ThemeMapping.java: Added more
1273 debug output to understand why theme mappings don't match to facets.
1274
1275 2012-09-17 Raimund Renkert <raimund.renkert@intevation.de>
1276
1277 * src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java:
1278 Extract characteristic diameter only if the user selected a diameter.
1279
1280 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java:
1281 Calculate for selected diameter only.
1282
1283 2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1284
1285 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
1286 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
1287 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadOverview.java,
1288 src/main/java/de/intevation/flys/artifacts/model/SQOverview.java,
1289 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
1290 src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
1291 Fixed wrong assigned loggers.
1292
1293 2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1294
1295 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java:
1296 Please _DO NOT_ use FLYSUtils in new code based on Access*!
1297 Now the river name is fetch via access.getRiver().
1298
1299 * src/main/java/de/intevation/flys/artifacts/access/RiverAccess.java:
1300 New. Almost all calculations need accessing the river name.
1301
1302 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java,
1303 src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java,
1304 src/main/java/de/intevation/flys/artifacts/access/FixAccess.java,
1305 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
1306 src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java:
1307 Now extend RiverAccess.
1308
1309 2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1310
1311 * src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java:
1312 Implemented the access methods needed for
1313 "Auslagerung extremer Wasserspiegellagen".
1314
1315 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
1316 Move segment parsing to DoubleUtil to be usable with more data types.
1317 The wire protocol should be the same for:
1318 - "WINFO: W fuer ungleichwertige Abfluesse",
1319 - "WINFO: Auslagerung extremer Wasserspiegellagen"
1320 - "Fixierungsanalyse: Auslagerung von Wasserspiegellagen"
1321
1322 * src/main/java/de/intevation/flys/utils/DoubleUtil.java:
1323 Now contains the the code to parse segments. Found segments
1324 are propagated back with a callback.
1325
1326 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java:
1327 Added toString() method.
1328
1329 2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1330
1331 More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
1332
1333 * src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeCalculation.java:
1334 New. Stub for "Auslagerung extremer Wasserspiegellagen" calculation.
1335
1336 * src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeResult.java:
1337 New. Stub for the cacheable results of the calculation.
1338
1339 * src/main/java/de/intevation/flys/artifacts/states/extreme/ExtremeCompute.java:
1340 New. Stub compute state for the calculation.
1341
1342 * src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java:
1343 New. Sub access to the artifact to extract the relevant data.
1344
1345 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
1346 A little code reordering to keep related stuff together more closely.
1347
1348 2012-09-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1349
1350 * src/main/java/de/intevation/flys/artifacts/BedHeightsArtifact.java,
1351 src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
1352 src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java,
1353 src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java,
1354 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
1355 Removed some superfluous implementations of FacetTypes.
1356 TODO: FacetTypes should be broken into smaller pieces.
1357 ATM a lof of class implement it and share a lot of unnecessary
1358 stuff.
1359
1360 2012-09-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1361
1362 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
1363 src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
1364 Deleted. Some nice code from the early days of the cross sections
1365 but its unused nowadays.
1366
1367 2012-09-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1368
1369 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedBedQualityResult.java:
1370 Removed superfluous imports.
1371
1372 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java,
1373 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiameterFacet.java,
1374 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterFacet.java,
1375 src/main/java/de/intevation/flys/artifacts/model/minfo/BedLoadBedQualityResult.java,
1376 src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java,
1377 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDensityFacet.java,
1378 src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java,
1379 src/main/java/de/intevation/flys/artifacts/model/minfo/BedPorosityFacet.java,
1380 src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java,
1381 src/main/java/de/intevation/flys/exports/minfo/BedQualityInfoGenerator.java,
1382 src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java:
1383 Removed trailing whitespace.
1384
1385 2012-09-15 Christian Lins <christian.lins@intevation.de>
1386
1387 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java,
1388 src/main/java/de/intevation/flys/utils/Formatter.java,
1389 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
1390 i18n messages are now formatted with correct (client) locale, not
1391 server VM locale (#852)..
1392
1393 2012-09-15 Christian Lins <christian.lins@intevation.de>
1394
1395 * doc/conf/artifacts/fixanalysis.xml,
1396 doc/conf/artifacts/manualpoints.xml,
1397 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
1398 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
1399 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
1400 Try to add support for ManualPoints in fixing charts (not working yet).
1401
1402 2012-09-14 Raimund Renkert <raimund.renkert@intevation.de>
1403
1404 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurementFactory.java:
1405 Fixed SQL-statement.
1406
1407 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurements.java:
1408 Added getter for all kms.
1409
1410 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java:
1411 Implemented the bed quality calculation. There are still some fixes to do,
1412 e.g. extract a single result object for porosity and density.
1413
1414 2012-09-14 Raimund Renkert <raimund.renkert@intevation.de>
1415
1416 * src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java:
1417 Getter for characteristic diameter.
1418
1419 2012-09-14 Ingo Weinzierl <ingo@intevation.de>
1420
1421 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1422 Create i18n facet descriptions.
1423
1424 * src/main/resources/messages.properties,
1425 src/main/resources/messages_de_DE.properties,
1426 src/main/resources/messages_en.properties,
1427 src/main/resources/messages_de.properties: New i18n strings for facets
1428 in bed quality calculation.
1429
1430 2012-09-14 Ingo Weinzierl <ingo@intevation.de>
1431
1432 * doc/conf/artifacts/minfo.xml: Splitted facets for diameter of bed into
1433 two facets: diameter for sublayer and toplayer.
1434
1435 * doc/conf/themes.xml,
1436 doc/conf/second-themes.xml,
1437 doc/conf/default-themes.xml: Splitted themes for diameter of bed into
1438 two themes.
1439
1440 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1441 Splitted facets for diameter of bed into two facets.
1442
1443 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java:
1444 New method to retrieve the diameter data.
1445
1446 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedBedQualityResult.java:
1447 New methods to retrieve the porosity, density and diameter data.
1448
1449 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1450 Create two facets for bed diameter instead of a single one.
1451
1452 * src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java:
1453 Insert data supported by facets into chart.
1454
1455 2012-09-14 Ingo Weinzierl <ingo@intevation.de>
1456
1457 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java: Added function to
1458 generate a randomized line.
1459
1460 2012-09-14 Ingo Weinzierl <ingo@intevation.de>
1461
1462 * doc/conf/themes.xml: Defined new mappings for the six bed quality
1463 facets.
1464
1465 * doc/conf/second-themes.xml,
1466 doc/conf/default-themes.xml: Added themes for new mappings in
1467 themes.xml. The themes in second-themes are the same as in
1468 default-themss.
1469
1470 2012-09-14 Raimund Renkert <raimund.renkert@intevation.de>
1471
1472 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java,
1473 src/main/java/de/intevation/flys/artifacts/model/minfo/BedBedQualityResult.java,
1474 src/main/java/de/intevation/flys/artifacts/model/minfo/BedLoadBedQualityResult.java:
1475 Updated bed quality result objects.
1476
1477 2012-09-14 Ingo Weinzierl <ingo@intevation.de>
1478
1479 * doc/conf/artifacts/minfo.xml: Splitted porosity and density facets into
1480 two facets: a toplayer and a sublayer facet for each.
1481
1482 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
1483 the new facets for toplayer and sublayer for porosity and density.
1484
1485 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1486 Create Facets based on the calculation results.
1487
1488 * src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java:
1489 Use concrete result types in doXXXOut().
1490
1491 2012-09-13 Christian Lins <christian.lins@intevation.de>
1492
1493 * doc/conf/artifacts/fixanalysis.xml,
1494 doc/conf/themes.xml,
1495 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
1496 src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
1497 Work on ManualPoints integration in fix analysis charts (wip).
1498
1499 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1500 Fix missing import.
1501
1502 2012-09-13 Raimund Renkert <raimund.renkert@intevation.de>
1503
1504 * src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java:
1505 Added getter for calculation parameters.
1506
1507 * src/main/java/de/intevation/flys/artifacts/model/BedQualityCalculation.java:
1508 Removed. Moved to package de.intevation.flys.artifacts.model.minfo.
1509
1510 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java,
1511 src/main/java/de/intevation/flys/artifacts/model/minfo/BedLoadBedQualityResult.java,
1512 src/main/java/de/intevation/flys/artifacts/model/minfo/BedBedQualityResult.java,
1513 src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java:
1514 New. Calculation results and some more calculation stub.
1515
1516 2012-09-13 Ingo Weinzierl <ingo@intevation.de>
1517
1518 * doc/conf/artifacts/minfo.xml,
1519 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
1520 src/main/java/de/intevation/flys/artifacts/states/DischargeState.java,
1521 src/main/resources/messages.properties,
1522 src/main/resources/messages_de_DE.properties,
1523 src/main/resources/messages_en.properties,
1524 src/main/resources/messages_de.properties: Renamed MINFO parameter
1525 'main.channel' -> 'main_channel' and 'total.channel' -> 'total_channel'.
1526
1527 2012-09-13 Raimund Renkert <raimund.renkert@intevation.de>
1528
1529 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurementFactory.java,
1530 src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurement.java:
1531 Added depth parameter to bed quality data.
1532
1533 2012-09-13 Ingo Weinzierl <ingo@intevation.de>
1534
1535 * doc/conf/conf.xml: Registered new OutGenerators BedQualityGenerator and
1536 BedQualityInfoGenerator.
1537
1538 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedPorosityFacet.java,
1539 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDiameterFacet.java,
1540 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadDiameterFacet.java,
1541 src/main/java/de/intevation/flys/artifacts/model/minfo/BedDensityFacet.java:
1542 New Facets for serving data for bed quality exports/charts.
1543
1544 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1545 Add some dummy Facets to force chart creation.
1546
1547 * src/main/java/de/intevation/flys/exports/minfo/BedQualityInfoGenerator.java,
1548 src/main/java/de/intevation/flys/exports/minfo/BedQualityGenerator.java:
1549 New OutGenerators for bed quality charts.
1550
1551 * src/main/resources/messages.properties,
1552 src/main/resources/messages_de_DE.properties,
1553 src/main/resources/messages_en.properties,
1554 src/main/resources/messages_de.properties: New I18N strings for bed
1555 quality charts.
1556
1557 2012-09-13 Raimund Renkert <raimund.renkert@intevation.de>
1558
1559 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurementFactory.java:
1560 The factory can load bedload and bed data from seddb now.
1561
1562 2012-09-13 Raimund Renkert <raimund.renkert@intevation.de>
1563
1564 Objects and factory for minfo bedquality calculation data.
1565
1566 * src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurementFactory.java,
1567 src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurements.java,
1568 src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurement.java:
1569 New. Data objects and factory for minfo bed quality calculation.
1570
1571 2012-09-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1572
1573 Added missing images for datacage config manual doc.
1574
1575 * doc/datacage-config-manual/figures/bsh_logo.png,
1576 doc/datacage-config-manual/figures/intevation-logo.eps,
1577 doc/datacage-config-manual/figures/intevation-logo.pdf:
1578 Logos for DC conf doc.
1579
1580 2012-09-13 Björn Ricks <bjoern.ricks@intevation.de>
1581
1582 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
1583 Add also min and max q values to the river info.
1584
1585 2012-09-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1586
1587 * src/main/java/de/intevation/flys/artifacts/services/BedloadKMChartService.java,
1588 src/main/java/de/intevation/flys/artifacts/services/BedKMChartService.java:
1589 Removed trailing whitespace.
1590
1591 2012-09-12 Raimund Renkert <raimund.renkert@intevation.de>
1592
1593 * src/main/java/de/intevation/flys/artifacts/services/BedloadKMChartService.java,
1594 src/main/java/de/intevation/flys/artifacts/services/BedKMChartService.java,
1595 src/main/java/de/intevation/flys/artifacts/model/minfo/BedOverview.java,
1596 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadOverview.java,
1597 src/main/java/de/intevation/flys/artifacts/model/minfo/BedOverviewFactory.java,
1598 src/main/java/de/intevation/flys/artifacts/model/minfo/BedloadOverviewFactory.java:
1599 New. Services, data structures and factories for overview charts in minfo
1600 bed quality calculation.
1601
1602 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityPeriodsSelect.java:
1603 New. State for period input in minfo bed quality that displays the overview
1604 charts.
1605
1606 * doc/conf/artifacts/minfo.xml:
1607 Added states and transitions for minfo bed quality calculation.
1608
1609 * doc/conf/conf.xml:
1610 Added services.
1611
1612 2012-09-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1613
1614 * src/main/java/de/intevation/flys/artifacts/model/BedQualityCalculation.java,
1615 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
1616 src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java,
1617 src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1618 Removed trailing whitespace.
1619
1620 2012-09-12 Ingo Weinzierl <ingo@intevation.de>
1621
1622 * doc/conf/artifacts/minfo.xml: Defined facets for bed quality chart.
1623
1624 * src/main/java/de/intevation/flys/artifacts/model/BedQualityCalculation.java:
1625 Calculation stub for bed quality.
1626
1627 * src/main/java/de/intevation/flys/artifacts/access/BedQualityAccess.java:
1628 Access stub for bed quality data.
1629
1630 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
1631 facets defined in minfo.xml.
1632
1633 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java:
1634 Override computeAdvance; no calculation and facet creation takes place
1635 yet.
1636
1637 2012-09-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1638
1639 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
1640 Made AEo and datum attributes NPE proof.
1641
1642 2012-09-11 Björn Ricks <bjoern.ricks@intevation.de>
1643
1644 * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
1645 Use getGaugeValue method also for aeo and datum. Also add some javadoc for
1646 the getGaugeValue method.
1647
1648 2012-09-11 Christian Lins <christian.lins@intevation.de>
1649
1650 * doc/conf/second-themes.xml,
1651 doc/conf/default-themes.xml,
1652 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1653 Fix for line text annotations in Delta W(t) charts (#837).
1654
1655 2012-09-10 Christian Lins <christian.lins@intevation.de>
1656
1657 * src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
1658 Add additional check to prevent NPE (fix for #844)
1659
1660 2012-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1661
1662 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java:
1663 Extends Range now.
1664
1665 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
1666 Adjusted to use slightly different method names of Range.
1667
1668 2012-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1669
1670 * src/main/java/de/intevation/flys/artifacts/model/Range.java:
1671 Added disjoint method.
1672
1673 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
1674 Find a list of segments intersecting a given range.
1675
1676 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1677 Generate a list of ranges needed for the input of Qs
1678 in the "Auslagerung extremer Wasserspiegellagen.".
1679
1680 2012-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1681
1682 * src/main/java/de/intevation/flys/artifacts/model/extreme/Curve.java:
1683 Added type safety.
1684
1685 2012-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1686
1687 * pom.xml: Java 1.5 -> 1.6
1688
1689 2012-09-10 Christian Lins <christian.lins@intevation.de>
1690
1691 * doc/conf/second-themes.xml,
1692 doc/conf/default-themes.xml:
1693 Remove unnecessary attributes for fixation derived curve (#836).
1694
1695 2012-09-10 Björn Ricks <bjoern.ricks@intevation.de>
1696
1697 * doc/conf/conf.xml,
1698 src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
1699 Add new artifact service for the gauge overview
1700
1701 2012-09-09 Christian Lins <christian.lins@intevation.de>
1702
1703 * doc/conf/second-themes.xml,
1704 doc/conf/default-themes.xml,
1705 doc/conf/virtual-themes.xml,
1706 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1707 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
1708 Theme transparency attribute support (part of #840).
1709
1710 2012-09-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1711
1712 * src/main/java/de/intevation/flys/artifacts/model/extreme/Curve.java:
1713 Store Ws and Qs in double arrays instead of WQ objects (as
1714 they are return from WstValueTable.interpolateTabular()).
1715 This simplifies the code and should be more memory effective.
1716
1717 2012-09-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1718
1719 * src/main/java/de/intevation/flys/artifacts/math/Linear.java:
1720 Added a vectorwise weighting.
1721
1722 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1723 Added methods to interpolate tabulated values only.
1724 Need in "Auslagerung extremer Wasserspiegellagen".
1725
1726 2012-09-09 Christian Lins <christian.lins@intevation.de>
1727
1728 * doc/conf/second-themes.xml,
1729 doc/conf/default-themes.xml,
1730 doc/conf/virtual-themes.xml:
1731 Updating themes for issue #840 (wip).
1732
1733 2012-09-09 Christian Lins <christian.lins@intevation.de>
1734
1735 * doc/conf/second-themes.xml:
1736 Modify every theme to differ from default theme (#835).
1737
1738 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
1739 Use gauge.getMainValues() instead of gauge.fetchMainValues() which fixes
1740 a compiling issue on my setup.
1741
1742 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1743
1744 Some models for representing results for the upcoming
1745 "Auslagerung extremer Wasserspiegellagen". Work im progress.
1746
1747 * src/main/java/de/intevation/flys/artifacts/math/NaNFunction.java:
1748 New. Function always return NaNs.
1749
1750 * src/main/java/de/intevation/flys/artifacts/math/UnivariateRealFunctionFunction.java:
1751 New. Adapter to bridge between our Functions and UnivariateRealFunctions
1752 of Apache Common Math.
1753
1754 * src/main/java/de/intevation/flys/artifacts/model/extreme/Curve.java:
1755 New. Part of the result model of "Auslagerung extremer Wasserspiegellagen".
1756 Its a function for a given km that uses a spline interpolation
1757 for the tabulated Q range (which is effectively the same as the
1758 calculated discharge curve for this km) and an extrapolated
1759 function beyond the tabulated values.
1760
1761 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1762
1763 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
1764 src/main/java/de/intevation/flys/themes/DefaultTheme.java:
1765 More iterator code simplification.
1766
1767 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1768
1769 * src/main/java/de/intevation/flys/themes/DefaultThemeField.java:
1770 Simplified code.
1771
1772 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1773
1774 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
1775 Simplified code.
1776
1777 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java:
1778 Improved robustness and performance.
1779 Only expose date events as Collections not TreeSets.
1780
1781 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1782
1783 * src/main/java/de/intevation/flys/artifacts/model/QW.java:
1784 New. a pure model for discharge and waterlevel. No extras.
1785
1786 Makes reuse in upcoming "Auslagerung extremer Wasserspiegellagen"
1787 a lot easier.
1788
1789 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java:
1790 Removed.
1791
1792 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWI.java:
1793 Re-inserted here. Extends the new QW and adds all the extra bells
1794 and whistles needed in the fixings analysis.
1795
1796 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java,
1797 src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java,
1798 src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java,
1799 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
1800 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
1801 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java,
1802 src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingResult.java,
1803 src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java,
1804 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
1805 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1806 Adjusted QW to QWI.
1807
1808 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1809
1810 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java;
1811 Removed because code is found in backend already.
1812
1813 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
1814 Simplified. Please _DO_NOT_ use NullPointerExceptions for regular flow control!
1815 This hides unintended errors.
1816
1817 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1818
1819 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java,
1820 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1821 Removed code duplication.
1822
1823 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1824
1825 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1826 Removed trailing whitespace.
1827
1828 2012-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1829
1830 * src/main/java/de/intevation/flys/artifacts/states/minfo/CharDiameter.java:
1831 Removed superfluous imports.
1832
1833 2012-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1834
1835 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java,
1836 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
1837 src/main/java/de/intevation/flys/artifacts/ChartArtifact.java,
1838 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
1839 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1840 src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java,
1841 src/main/java/de/intevation/flys/exports/fixings/FixATExport.java,
1842 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1843 src/main/java/de/intevation/flys/exports/TypeSection.java,
1844 src/main/java/de/intevation/flys/jfree/DoubleBounds.java,
1845 src/main/java/de/intevation/flys/jfree/Bounds.java:
1846 Cosmetics, docs.
1847
1848 2012-09-07 Raimund Renkert <raimund.renkert@intevation.de>
1849
1850 * doc/conf/artifacts/minfo.xml:
1851 Add data fields for characteristic bed and bedload diameter.
1852
1853 * src/main/java/de/intevation/flys/artifacts/states/minfo/CharDiameter.java:
1854 Use parametermatrix as UI provider and set the correct data.
1855
1856 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
1857 src/main/java/de/intevation/flys/artifacts/states/MultiStringArrayState.java:
1858 Updated method parameter.
1859
1860 * src/main/resources/messages.properties,
1861 src/main/resources/messages_de_DE.properties,
1862 src/main/resources/messages_en.properties,
1863 src/main/resources/messages_de.properties:
1864 Added i18n strings.
1865
1866 2012-09-07 Raimund Renkert <raimund.renkert@intevation.de>
1867
1868 Issue 791.
1869
1870 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
1871 Add start km to data to compare reference and target km in next state.
1872
1873 2012-09-07 Ingo Weinzierl <ingo@intevation.de>
1874
1875 Tagged RELEASE 2.9
1876
1877 2012-09-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1878
1879 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
1880 src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
1881 Removed superfluous imports.
1882
1883 2012-09-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1884
1885 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
1886 Removed the deprecated method.
1887
1888 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1889 Call the new Gauge model method fetchDurationCurveData().
1890
1891 2012-09-06 Björn Ricks <bjoern.ricks@intevation.de>
1892
1893 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
1894 Mark getDurationCurveData as deprecated. The instance method of Gauge with
1895 the same name should be used instead.
1896
1897 2012-09-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1898
1899 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
1900 Revert accidentally committed experiment.
1901
1902 2012-09-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1903
1904 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
1905 Comments, changed order of columns as requested in issue825.
1906
1907 2012-09-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1908
1909 * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
1910 Only goto down to Q = 0.0001 to circumvent some numerial issues
1911 with steep functions around zero.
1912
1913 2012-09-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1914
1915 * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
1916 Increase Q max about 5% (as it should be).
1917
1918 2012-09-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1919
1920 Fix for issue687
1921
1922 * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
1923 Rewrote AT export to fix it.
1924
1925 2012-09-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1926
1927 Fix for issue820.
1928
1929 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
1930 Changed label for middle height/depth.
1931
1932 2012-09-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1933
1934 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1935 Default horizontal and vertical placement of logo to "center" and
1936 "top" instead of "none."
1937
1938 2012-09-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1939
1940 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1941 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1942 Improved comment regarding image placement.
1943
1944 2012-09-03 Raimund Renkert <raimund.renkert@intevation.de>
1945
1946 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1947 Fixed URLs for logos.
1948
1949 2012-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1950
1951 Fix issue744 (wrong ranges for w/q input).
1952
1953 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
1954 Do not add items for gauges that do not intersect with given range.
1955
1956 2012-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1957
1958 Fix issue829 (wrong fixation names).
1959
1960 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
1961 Fix check, column indices start with 0.
1962
1963 2012-09-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1964
1965 * src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeight.java,
1966 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFacet.java,
1967 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
1968 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1969 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1970 src/main/java/de/intevation/flys/exports/ChoiceStringAttribute.java:
1971 Removed trailing whitespace.
1972
1973 2012-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1974
1975 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1976 Fix cast.
1977
1978 2012-08-31 Raimund Renkert <raimund.renkert@intevation.de>
1979
1980 * src/main/resources/messages.properties,
1981 src/main/resources/messages_de_DE.properties,
1982 src/main/resources/messages_en.properties,
1983 src/main/resources/messages_de.properties:
1984 Added i18n strings for minfo bed quality parameters.
1985
1986 2012-08-31 Björn Ricks <bjoern.ricks@intevation.de>
1987
1988 * src/main/java/de/intevation/flys/artifacts/services/ModuleService.java,
1989 src/main/java/de/intevation/flys/artifacts/model/Module.java,
1990 src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java,
1991 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
1992 src/main/resources/messages.properties,
1993 src/main/resources/messages_de_DE.properties,
1994 src/main/resources/messages_en.properties,
1995 src/main/resources/messages_de.properties,
1996 doc/conf/conf.xml:
1997 Add a module service. It's now possible to configure the modules which are
1998 available for a client. With the selected attribute it is possible to give
1999 a hint for the client which module should be pre selected by default.
2000
2001 2012-08-31 Raimund Renkert <raimund.renkert@intevation.de>
2002
2003 * src/main/java/de/intevation/flys/artifacts/states/minfo/BedQualityState.java,
2004 src/main/java/de/intevation/flys/artifacts/states/minfo/CharDiameter.java:
2005 New. States for minfo bed quality calculation.
2006
2007 * doc/conf/artifacts/minfo.xml:
2008 Added states and transitions for minfo bed quality calculation.
2009
2010 2012-08-31 Raimund Renkert <raimund.renkert@intevation.de>
2011
2012 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
2013 Refactored state to use FLYSArtifact instead of WINFOArtifact.
2014
2015 2012-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2016
2017 Fix issue817 (double datacage entries).
2018
2019 * doc/conf/meta-data.xml: removed double entries.
2020
2021 2012-08-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2022
2023 issue729, default line labels for waterlines in cross sections.
2024
2025 * doc/conf/default-themes.xml: Default line label and level label
2026 to true for lines in crossections..
2027
2028 2012-08-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2029
2030 issue814, line labels do not follow zoom.
2031
2032 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
2033 Move line label into visible area if otherwise outside.
2034
2035 2012-08-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2036
2037 issue695, show waterlevel as line label.
2038
2039 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
2040 Fix path to showlevel style property.
2041
2042 2012-08-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2043
2044 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2045 Mention how/where to change predefined logos in comment.
2046
2047 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2048 Mention how/where to change predefined logos in comment,
2049 Use resource for images.
2050
2051 * src/main/resources/images/bfg_logo.gif,
2052 src/main/resources/images/intevation.png:
2053 Added sample logos of intevation and bfg.
2054
2055 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2056
2057 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2058 Copy and slightly modified XYChartGenerators logo mechanism.
2059
2060 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2061
2062 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
2063 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2064 (getLeftX, getRightX): New and overridden to deal with inverted axis
2065 for logo placement in longitudinalsection charts.
2066
2067 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2068
2069 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2070 Use RectangleAnchor to set anchor of logo.
2071
2072 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2073
2074 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
2075 Add Logo settings to CrossSection ChartSettings.
2076
2077 2012-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2078
2079 Split logo-placement property in two, one for horizontal, one for
2080 vertical placement.
2081
2082 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
2083 src/main/java/de/intevation/flys/exports/ChartSection.java:
2084 Accessors for split property.
2085
2086 * src/main/java/de/intevation/flys/exports/ChartGenerator.java
2087 (logoHPlace,logoVPlace,logoPlace): Use split properties for vertical
2088 and horizontal placement of logo.
2089
2090 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2091 Use split properties, respect in placement.
2092
2093 2012-08-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2094
2095 Sloppy logo placement property implementation.
2096
2097 * src/main/java/de/intevation/flys/exports/ChartSettings.java:
2098 Parse and set logo placement property value.
2099
2100 * src/main/java/de/intevation/flys/exports/ChartSection.java:
2101 Accessors for Logo placement property.
2102
2103 * src/main/java/de/intevation/flys/exports/ChartGenerator.java
2104 (logoPlace): New, get logo placement property value.
2105 (showLogo): Default to "none".
2106
2107 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2108 Sloppy interpretation of the logo placement property.
2109
2110 2012-08-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2111
2112 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2113 (addLogo): New, add an image annotation to plot, very stubby,
2114 use hard-coded paths for now.
2115
2116 2012-08-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2117
2118 Preparations for logo-inclusion in charts.
2119
2120 * src/main/java/de/intevation/flys/exports/ChoiceStringAttribute.java:
2121 New string attribute type to trigger different UI (selectboxes)
2122 in client.
2123
2124 * src/main/java/de/intevation/flys/exports/TypeSection.java
2125 (setChoiceStringValue): Create new ChoiceStringAttribute.
2126
2127
2128 * src/main/java/de/intevation/flys/exports/ChartSection.java,
2129 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2130 src/main/java/de/intevation/flys/exports/ChartSettings.java:
2131 Accessors to show logo-property.
2132
2133 2012-08-28 Raimund Renkert <raimund.renkert@intevation.de>
2134
2135 MINFO: Implemented UI and facet/artifact stack for bed height differences.
2136
2137 * src/main/java/de/intevation/flys/artifacts/model/minfo,
2138 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeight.java,
2139 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFacet.java,
2140 src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightFactory.java,
2141 src/main/java/de/intevation/flys/artifacts/model/StaticBedHeightCacheKey.java:
2142 New. Facet and data object incl. factory for bed heights.
2143
2144 * src/main/java/de/intevation/flys/artifacts/states/minfo,
2145 src/main/java/de/intevation/flys/artifacts/states/minfo/YearEpochSelect.java,
2146 src/main/java/de/intevation/flys/artifacts/states/minfo/DifferenceSelect.java,
2147 src/main/java/de/intevation/flys/artifacts/states/minfo/DifferencesState.java,
2148 src/main/java/de/intevation/flys/artifacts/BedHeightsArtifact.java:
2149 New. States for difference calculation mode and new artifact for difference
2150 selection.
2151
2152 * src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java:
2153 Added getter for time (year or epoch).
2154
2155 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2156 Added new facet type.
2157
2158 * doc/conf/meta-data.xml:
2159 Datacage config for minfo bed heights.
2160
2161 * doc/conf/artifacts/minfo.xml:
2162 Added transitions and states for minfo difference calculation.
2163
2164 * doc/conf/conf.xml:
2165 Added artifact factory.
2166
2167 * src/main/resources/messages.properties,
2168 src/main/resources/messages_de_DE.properties,
2169 src/main/resources/messages_en.properties,
2170 src/main/resources/messages_de.properties:
2171 Added i18n strings.
2172
2173 2012-08-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2174
2175 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
2176 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2177 src/main/java/de/intevation/flys/exports/ChartSettings.java:
2178 (setDisplayGird, setDisplayGrid): Fixed typos.
2179
2180 2012-08-23 Raimund Renkert <raimund.renkert@intevation.de>
2181
2182 FixA: Changed sector average form point to line in delta W(t) chart.
2183
2184 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
2185 Add data points for sector average and changed time unit for analysis period
2186 from month to day.
2187
2188 * doc/conf/default-themes.xml:
2189 Changed theme for sector average to color line.
2190
2191 2012-08-23 Raimund Renkert <raimund.renkert@intevation.de>
2192
2193 Issue 716. FixA: Spilt reference and analysis period themes into one theme for each event.
2194
2195 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
2196 Create a facet for each event and use new facet for sector average in
2197 longitudinal section chart.
2198
2199 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
2200 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2201 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
2202 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java:
2203 The facets now return data for a single event.
2204
2205 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAvSectorFacet.java:
2206 New. This facet returns an analysis period containing the calculated
2207 average.
2208
2209 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java:
2210 Added methods to get the dates for all reference and analysis period events.
2211
2212 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
2213 Fixed range combining.
2214
2215 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
2216 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
2217 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
2218 Adjusted generators to use the data returned by the facets.
2219
2220 * src/main/resources/messages.properties,
2221 src/main/resources/messages_de_DE.properties,
2222 src/main/resources/messages_en.properties,
2223 src/main/resources/messages_de.properties:
2224 Added i18n strings.
2225
2226 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2227
2228 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
2229 Using trove to map int->int instead of bloated generics.
2230
2231 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2232
2233 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2234 Prevent another NPE. Removed dead code.
2235
2236 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2237
2238 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
2239 Each analysis period has its own index scheme now.
2240
2241 2012-08-22 Christian Lins <christian.lins@intevation.de>
2242
2243 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2244 Fix for NullPointerException.
2245
2246 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2247
2248 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
2249 Made indices of analysis periods QWs zero based.
2250
2251 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2252
2253 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java:
2254 Store index, too.
2255
2256 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
2257 Adjusted to keep constructors in sync.
2258
2259 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java,
2260 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
2261 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
2262 Set QD index to the values of the column cache columns.
2263
2264 2012-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2265
2266 Use the column cache to establish a consistent index scheme.
2267 TODO: Store the index values in the created QWDs.
2268
2269 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2270 doFitting() fetches the columns from column cache, too.
2271
2272 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
2273 Reuse same column cache from fitting to have the same index scheme.
2274
2275 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
2276 Adjusted to use the column cache.
2277
2278 2012-08-22 Christian Lins <christian.lins@intevation.de>
2279
2280 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java,
2281 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
2282 Fix NullPointerExceptions in cross section diagrams that occurred when
2283 no HYKs are available for the selected kms.
2284
2285 * src/main/resources/messages_de_DE.properties,
2286 src/main/resources/messages_de.properties:
2287 Typo, see issue #806
2288
2289 2012-08-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2290
2291 * src/main/java/de/intevation/flys/exports/fixings/FixATExport.java:
2292 Removed superfluous import. s/Double.valueOf/Double.parseDouble/.
2293
2294 2012-08-17 Raimund Renkert <raimund.renkert@intevation.de>
2295
2296 * src/main/java/de/intevation/flys/exports/fixings/FixATExport.java:
2297 Removed debug outputs.
2298
2299 2012-08-17 Raimund Renkert <raimund.renkert@intevation.de>
2300
2301 * src/main/java/de/intevation/flys/exports/fixings/FixATExport.java:
2302 New. Exporter for FixAnaylsis AT files.
2303
2304 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
2305 Add facet for AT export.
2306
2307 * doc/conf/conf.xml:
2308 Added out generator for fix AT export.
2309
2310 * doc/conf/artifacts/fixanalysis.xml:
2311 Added outputmode for AT export.
2312
2313 2012-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2314
2315 * doc/conf/artifacts/fixanalysis.xml: Add more facets to
2316 compat list, removed doubled wq output.
2317
2318 2012-08-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2319
2320 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
2321 Shorten overlong lines. Simplified code.
2322
2323 2012-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2324
2325 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
2326 Interpolate and reduce WQKms if currentKm found in context.
2327
2328 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2329 Handle WQKms in WQOuts.
2330
2331 2012-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2332
2333 * doc/conf/artifacts/fixanalysis.xml: Add longitudinal section
2334 facet type to compatibility list of W/Q diags.
2335
2336 2012-08-16 Raimund Renkert <raimund.renkert@intevation.de>
2337
2338 * src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java:
2339 Added getter for ui provider.
2340
2341 2012-08-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2342
2343 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2344 BasicStroke constructor takes an float as first argument
2345 so there is no need to blow up an 'int' to an Integer
2346 which is auto-unboxed to int which is implicitly cast to float.
2347
2348 2012-08-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2349
2350 * doc/conf/meta-data.xml: Do not hard-recommend gauge-dis. for fixwq.
2351
2352 2012-08-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2353
2354 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java:
2355 Fail more gracefully.
2356
2357 2012-08-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2358
2359 * doc/conf/meta-data.xml: More former calculations in fixA (dwt) DC.
2360
2361 2012-08-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2362
2363 * doc/conf/meta-data.xml: More former calculations in fixA DC.
2364
2365 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2366
2367 * doc/conf/artifacts/fixanalysis.xml: Add discharge curve facet to
2368 compat. list.
2369
2370 * doc/conf/meta-data.xml: Show discharge curves for FixA WQ DC.
2371
2372 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2373 Handle discharge curve data.
2374
2375 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2376
2377 * doc/conf/artifacts/fixanalysis.xml: Add more facets to compat. list.
2378
2379 * doc/conf/meta-data.xml: Show more additional data in FixA w/q-diag.
2380
2381 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2382 Handle new, annotation-type facets.
2383
2384 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2385
2386 * doc/conf/artifacts/fixanalysis.xml: Added wqkms facets to comp. list.
2387
2388 * doc/conf/meta-data.xml: Add wq-basedata and other stubs to fixA dc.
2389
2390 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java
2391 (getWQAtKm): Adjusted behaviour such that passed km can be
2392 respected.
2393
2394 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2395 Handle WQFacets.
2396
2397 * src/main/java/de/intevation/flys/artifacts/model/WQFacet.java:
2398 Pass contexts current_km if available.
2399
2400 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2401
2402 * doc/conf/artifacts/fixanalysis.xml: Added deltawt-out.
2403
2404 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2405
2406 * doc/conf/meta-data.xml: Show former calculations in FixA WQ-DC.
2407
2408 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2409
2410 * doc/conf/meta-data.xml: Show more former calculations in DeltaWTs
2411 and fix query (and/or/() precedences).
2412
2413 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2414
2415 * doc/conf/meta-data.xml: Show more former calculations in fixA LS.
2416
2417 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2418
2419 * doc/conf/conf.xml: Renamed qsector(s) factory.
2420
2421 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2422
2423 * doc/conf/meta-data.xml: Load annotations for fixA long.sections.
2424 Add stubs for "old calculations"-dc-conf for various FixA outs.
2425
2426 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
2427 Handle annotation outs.
2428
2429 2012-08-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2430
2431 * doc/conf/themes.xml, doc/conf/default-themes.xml:
2432 Added theme fields for qsectors label.
2433
2434 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2435 Add markers for the qsectors.
2436
2437 2012-08-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2438
2439 * doc/conf/themes.xml, doc/conf/default-themes.xml:
2440 Fix some typos, correct defaults and add mapping for qsector-theme.
2441
2442 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
2443 Cosmetics.
2444
2445 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2446 Add accidentally omitted change, stub for style-handling.
2447
2448 2012-08-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2449
2450 * src/main/java/de/intevation/flys/artifacts/model/QSectorFacet.java,
2451 src/main/java/de/intevation/flys/artifacts/states/QSectorSingleState.java,
2452 src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java:
2453 Wording and i18n of qsectors.
2454
2455 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2456 Add Markers to plot for qsectors.
2457
2458 * src/main/resources/messages.properties,
2459 src/main/resources/messages_de_DE.properties,
2460 src/main/resources/messages_en.properties,
2461 src/main/resources/messages_de.properties:
2462 i18n for qsectors.
2463
2464 2012-08-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2465
2466 * src/main/java/de/intevation/flys/artifacts/states/QSectorSingleState.java:
2467 New, accidentally omitted single state of a qsector-artifact.
2468
2469 2012-08-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2470
2471 * doc/conf/artifacts/fixanalysis.xml: Add qsectors-facet to
2472 compatibility list.
2473
2474 * doc/conf/conf.xml: Register qsector artifact and its factory.
2475
2476 * doc/conf/meta-data.xml: Recommend qsectors in fix w/q settings.
2477
2478 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2479 Add qsector facet type.
2480
2481 2012-08-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2482
2483 * doc/conf/artifacts/qsector.xml:
2484 Trivial state model for qsector artifact.
2485
2486 * src/main/java/de/intevation/flys/artifacts/model/QSectorFacet.java:
2487 Rather trivial facet to get QSectors from QSectorArtifact.
2488
2489 * src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java:
2490 New QSectorArtifact.
2491
2492 2012-08-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2493
2494 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java,
2495 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
2496 Cosmetics.
2497
2498 2012-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2499
2500 * src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java,
2501 src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
2502 Removed superfluous imports.
2503
2504 2012-08-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2505
2506 * doc/conf/meta-data.xml: Set info attribute (will evaluate as tooltip
2507 in GUI.
2508
2509 2012-08-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2510
2511 * src/main/resources/messages.properties,
2512 src/main/resources/messages_de_DE.properties,
2513 src/main/resources/messages_en.properties,
2514 src/main/resources/messages_de.properties:
2515 Reflect fact that there can be only one reference station.
2516
2517 2012-08-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2518
2519 Fix issue798.
2520
2521 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
2522 Set Tick Units dependant on cm/m scale on X axis.
2523
2524 2012-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2525
2526 Fix for flys/issue748
2527
2528 * src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java,
2529 src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
2530 Only remove one data point per outlier removal iteration.
2531
2532 2012-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2533
2534 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
2535 Only evict only one(!) data point as outlier.
2536
2537 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
2538 Recalculate the function when one point is removed.
2539
2540 2012-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2541
2542 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
2543 Corrected the formulas of Grubbs' test for outliers.
2544 TODO: Remove only one(!) data point. Currently it removes
2545 more than on point without recalculating the fitting curve.
2546 This leads to too much removed points.
2547
2548 2012-07-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2549
2550 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
2551 Setup better initial activity for the facets of the S/Q results.
2552
2553 2012-07-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2554
2555 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
2556 Use getCurrentKmFromRequest().doubleValue() in i18n formatting.
2557
2558 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2559
2560 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
2561 getCurrentKmFromRequest returns Double(!) not double.
2562
2563 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
2564 Use Double.parseDouble() instead od Double.valueOf().
2565
2566 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2567
2568 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
2569 Initially activate/deactivate facets.
2570
2571 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2572
2573 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
2574 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
2575 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2576 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
2577 Refactored to use the new Chain-of-responsibility pattern in facet
2578 activation.
2579
2580 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2581
2582 * src/main/java/de/intevation/flys/artifacts/services/GaugeInfoService.java:
2583 Made expensive XMLUtils.toString() debug output conditional.
2584
2585 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2586
2587 Use the new infrastructure to figure out if a facet should
2588 be initially active or not.
2589
2590 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
2591 Uses the FacetActivity.Registry to look up the initial acitiviy.
2592
2593 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2594 Do not use sub classing any more.
2595
2596 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
2597 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
2598 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
2599 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
2600 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
2601 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
2602 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
2603 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2604 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
2605 src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
2606 Register to FacetActivity.Registry now. TODO: Make it configurable.
2607
2608 2012-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2609
2610 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
2611 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2612 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
2613 src/main/java/de/intevation/flys/collections/CollectionAttribute.java,
2614 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java,
2615 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
2616 src/main/java/de/intevation/flys/artifacts/ChartArtifact.java,
2617 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
2618 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
2619 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
2620 s/container.size() == 0/container.isEmpty()/
2621
2622 2012-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2623
2624 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2625 Lowered logging output level from info to debug.
2626 Made some more debug outputs conditional.
2627
2628 2012-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2629
2630 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2631 Some code simplifications.
2632
2633 2012-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2634
2635 Extented the result data model of the S/Q calculation to
2636 store the curve coefficients for each iteration step
2637 of the outlier elimination. The starting data set of S/Qs
2638 is stored as well.
2639
2640 TODOs:
2641 - Create the new facets as inactive.
2642 - Repair the facet to style mapping.
2643
2644 * doc/conf/themes.xml: Added mappings for new facets.
2645
2646 * doc/conf/artifacts/minfo.xml: Configured the new facets.
2647
2648 * src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java:
2649 Adjusted to new data model.
2650
2651 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
2652 Generate facets for outlier curves and measurements. Simplified code.
2653
2654 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2655 New facet types for outlier curves and meassurements.
2656
2657 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2658 New set() method to set an array of values by their names.
2659
2660 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
2661 Removed trailing whitespace.
2662
2663 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java,
2664 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java,
2665 src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
2666 Adjusted to new data model. Curves are drawn over the whole length of the
2667 starting S/Q dataset.
2668
2669 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierCurveFacet.java:
2670 New. Facet for the curves of the outlier test iterations.
2671
2672 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierMeasurementFacet.java
2673 New. Facet for the meassurement data remainind after outlier test iteration.
2674
2675 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2676 Now creates the new data model.
2677
2678 * src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java,
2679 src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
2680 Refactorted to have more control over the data structures to be generated.
2681
2682 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
2683 The new data model to represnt a fraction result. Each outlier test iteration
2684 results in a different iteration object.
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:
2690 Added i18n strings for new facets.
2691
2692 2012-07-27 Ingo Weinzierl <ingo@intevation.de>
2693
2694 * src/main/java/de/intevation/flys/artifacts/model/QWDDateRange.java:
2695 Added method getQWD() to retrieve the QWD property.
2696
2697 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2698 Avoid class cast exceptions; a QWDDateRange object is returned by WQ
2699 sector average Facet - not a QWD object. Use new getter method to
2700 retrieve the required data object.
2701
2702 2012-07-27 Ingo Weinzierl <ingo@intevation.de>
2703
2704 Tagged module as '2.8.1'.
2705
2706 2012-07-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2707
2708 * src/main/java/de/intevation/flys/artifacts/model/QWDDateRange.java:
2709 New class. QWD and a DateRange.
2710
2711 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
2712 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
2713 Produce QWDDateRanges in state, consume in generator.
2714
2715 2012-07-26 Ingo Weinzierl <ingo@intevation.de>
2716
2717 * doc/conf/artifacts/fixanalysis.xml: Registered new Output
2718 'fix_vollmer_wq_curve'.
2719
2720 * doc/conf/conf.xml: Registered new FixWQCurveGenerator for
2721 'fix_vollmer_wq_curve'.
2722
2723 * src/main/resources/messages.properties,
2724 src/main/resources/messages_de_DE.properties,
2725 src/main/resources/messages_en.properties,
2726 src/main/resources/messages_de.properties: Added new names for Facets
2727 used in 'fix_vollmer_wq_curve' Output.
2728
2729 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2730 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
2731 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
2732 Make use of FitResult (parent of FixAnalysisResult) which is enough for
2733 these Facets instead of casting the calculation result to
2734 FixAnalysisResult.
2735
2736 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java:
2737 Fixed potential NullpointerException.
2738
2739 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2740 Create new Facets for WQ curve, fix events and outliers.
2741
2742 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2743 Add subtitles only if the required data (date period and referenence
2744 period) are existing. Otherwise do not add a subtitle.
2745
2746 2012-07-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2747
2748 * src/main/resources/messages.properties,
2749 src/main/resources/messages_de_DE.properties,
2750 src/main/resources/messages_en.properties,
2751 src/main/resources/messages_de.properties:
2752 Adjusted i18n strings (vollmer).
2753
2754 2012-07-26 Christian Lins <christian.lins@intevation.de>
2755
2756 * doc/conf/virtual-themes.xml,
2757 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
2758 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
2759 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
2760 src/main/java/de/intevation/flys/themes/ThemeAccess.java,
2761 src/main/java/de/intevation/flys/themes/TextStyle.java,
2762 src/main/java/de/intevation/flys/themes/LineStyle.java,
2763 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
2764 src/main/java/de/intevation/flys/themes/PointStyle.java,
2765 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java,
2766 src/main/java/de/intevation/flys/jfree/XYStyle.java,
2767 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
2768 Line labels and point labels share same styles and code.
2769 Point labels can have a background color.
2770
2771 2012-07-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2772
2773 * src/main/resources/messages.properties,
2774 src/main/resources/messages_de_DE.properties,
2775 src/main/resources/messages_en.properties,
2776 src/main/resources/messages_de.properties:
2777 Adjusted i18n strings (vollmer).
2778
2779 2012-07-26 Ingo Weinzierl <ingo@intevation.de>
2780
2781 * doc/conf/artifacts/fixanalysis.xml: Registered new Output
2782 'fix_waterlevel_export' for FixRealizingCompute State.
2783
2784 * doc/conf/conf.xml: Registered new WaterlevelExport Generator for
2785 'fix_waterlevel_export'.
2786
2787 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2788 Create proper CSV, WST and PDF Facets with hash and State id.
2789
2790 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Made
2791 WaterlevelExporter support FixRealizingResult objects.
2792
2793 2012-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2794
2795 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWaterlevelFacet.java:
2796 Removed instanceof hack to fetch the WQKms of the fix realizations.
2797
2798 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWaterlevelFacet.java:
2799 New. Subclass of WaterlevelFacet. Used to fetch the WQKms the fix realization way.
2800
2801 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2802 Create the subclassed waterlevel facets.
2803
2804 2012-07-25 Ingo Weinzierl <ingo@intevation.de>
2805
2806 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2807 Create proper facets for Ws and Qs.
2808
2809 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2810
2811 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2812 Also add Q-Facet.
2813
2814 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2815
2816 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
2817 Add WaterlevelFacet.
2818
2819 * doc/conf/artifacts/fixanalysis.xml:
2820 Add output and facet compability.
2821
2822 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2823
2824 * src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
2825 Fix data names in FixRealizingAccess.
2826
2827 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2828
2829 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
2830 Handle slightly different access to Fixation-WQKms.
2831
2832 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2833
2834 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
2835 Handle slightly different access to Fixation-WQKms.
2836
2837 2012-07-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2838
2839 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java:
2840 Fix (last?) vol(l)mer naming issue.
2841
2842 2012-07-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2843
2844 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java,
2845 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java
2846 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
2847 src/main/java/de/intevation/flys/themes/ThemeMapping.java:
2848 s/.equals("")/.length() == 0/
2849
2850 2012-07-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2851
2852 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java,
2853 src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java,
2854 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
2855 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
2856 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2857 Removed some superfluous casts.
2858
2859 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2860
2861 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2862 Removed some inner whitespace.
2863
2864 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2865
2866 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
2867 New base class for fixing analysis results.
2868
2869 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java,
2870 src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingResult.java:
2871 Inherits from FixResult.
2872
2873 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
2874 Calculation returns FixRealizingResult.
2875
2876 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
2877 Remove superfluous import.
2878
2879 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
2880 Cosmetics.
2881
2882 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2883
2884 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
2885 Broke over long line.
2886
2887 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
2888 Added some getters.
2889
2890 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
2891 Calculated the Q -> Ws. TODO: Produce result.
2892
2893 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2894
2895 * src/main/resources/messages.properties,
2896 src/main/resources/messages_de_DE.properties,
2897 src/main/resources/messages_en.properties,
2898 src/main/resources/messages_de.properties:
2899 Adjusted i18n strings (vollmer).
2900
2901 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2902
2903 * src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java:
2904 Set ld_mode so that FLYSUtils can use it.
2905
2906 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2907
2908 * src/main/resources/messages.properties,
2909 src/main/resources/messages_de_DE.properties,
2910 src/main/resources/messages_en.properties,
2911 src/main/resources/messages_de.properties:
2912 Adjusted i18n strings (vollmer).
2913
2914 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2915
2916 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
2917 Handle FixationArtifacts with as much care as WINFOArtifacts,
2918 by using refactore FLYSUtils.
2919
2920 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2921
2922 Towards per-Gauge-input of W/Q values for FixationArtifact.
2923
2924 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2925 src/main/java/de/intevation/flys/utils/FLYSUtils.java:
2926 (getGauges): Refactored, moved from WINFOArtifact to FLYSUtils.
2927
2928 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
2929 Handle unlucky differences in names of data for
2930 WINFOArtifact/FixationArtifact.
2931
2932 * doc/conf/artifacts/fixanalysis.xml:
2933 (Re-)use WQAdapted State for fix.analysis.
2934
2935 2012-07-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2936
2937 * doc/conf/artifacts/winfo.xml,
2938 src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java,
2939 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
2940 src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java,
2941 src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java,
2942 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
2943 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
2944 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
2945 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2946 Cosmetics, docs.
2947
2948 2012-07-23 Christian Lins <christian.lins@intevation.de>
2949
2950 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
2951 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
2952 Moved code to convert W to Q at gauge to segments to be reusable.
2953
2954 2012-07-23 Christian Lins <christian.lins@intevation.de>
2955
2956 * doc/conf/themes.xml,
2957 doc/conf/second-themes.xml,
2958 doc/conf/default-themes.xml:
2959 Remove line style attributes from FixingReferenceEvents theme.
2960
2961 2012-07-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2962
2963 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java
2964 src/main/java/de/intevation/flys/artifacts/model/Segment.java:
2965 Moved reference point comparator to segment class be be reusable
2966 in FixA 'ausgelagerte Wasserspiegellagen'.
2967
2968 2012-07-23 Christian Lins <christian.lins@intevation.de>
2969
2970 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
2971 Simplify annotation code.
2972
2973 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2974
2975 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2976 Made abstract. Sub classes have to overwrite innerCalculate()
2977 calculate() now figures out the fixings overview and the function
2978 to fit and passes it to innerCalculate()
2979
2980 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java,
2981 src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
2982 Overrides innerCalculate() now.
2983
2984 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2985
2986 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2987 Prevent NPE in getOutputForState(). Why does this happen?
2988
2989 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2990
2991 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java,
2992 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2993 Made curve fitting over the given calculation range reusable. Removed dead code.
2994
2995 2012-07-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2996
2997 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
2998 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
2999 Moved more common code into base class.
3000
3001 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3002
3003 * contrib/fixoverview2html.xsl: Clip the displayed from/to ranges
3004 of the gauges to the max extent of the events.
3005
3006 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3007
3008 * contrib/fixoverview2html.xsl: Embed german and english translations
3009 into the stylesheet. This should be better done by importing
3010 an external resource depending on the choosen locale!
3011
3012 2012-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3013
3014 * contrib/fixoverview2html.xsl: Introduced i18n to transformation.
3015
3016 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3017
3018 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
3019 Wrong epsilon was taken so sector aggregation was not working
3020 leading to too large result documents and wrong range display
3021 on client side.
3022
3023 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3024
3025 * contrib/fixoverview2html.xsl: Render the names of the gauges into
3026 the header line. Full name and spread is displayed as a tooltip.
3027
3028 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
3029
3030 * doc/conf/artifacts/minfo.xml: Use SQPeriodSelect state for the input of
3031 a time range. The difference to PeriodSelect is the UI provider desired
3032 by this state.
3033
3034 * src/main/java/de/intevation/flys/artifacts/states/sq/SQPeriodSelect.java:
3035 New subclass of PeriodSelect; this state wants to be rendered in a
3036 'sq.period.select' UI provider.
3037
3038 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3039
3040 * contrib/fixoverview2html.xsl: To help developing the
3041 HTML overview stylsheet more quickly bring back in sync with
3042 version of the flys-client.
3043
3044 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
3045
3046 * doc/conf/artifacts/minfo.xml: Changed the parameters for SQ relation
3047 period selection; only a single period is allowed now.
3048
3049 * src/main/java/de/intevation/flys/artifacts/states/PeriodSelect.java: New
3050 class that allows the selection of a time period.
3051
3052 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
3053 Reduced support of time periods to a single period.
3054
3055 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3056 Adapted the usage of SQRelationAccess which method signature has
3057 changed; it returns a single DateRange instance only.
3058
3059 * src/main/resources/messages.properties,
3060 src/main/resources/messages_de_DE.properties,
3061 src/main/resources/messages_en.properties,
3062 src/main/resources/messages_de.properties: Modified the keys of the
3063 state for SQ relation time period input.
3064
3065 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
3066
3067 * src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
3068 Disabled legends in this overview.
3069
3070 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3071
3072 * src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
3073 Removed superfluous imports.
3074
3075 2012-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3076
3077 * src/main/resources/messages_de.properties,
3078 src/main/resources/messages.properties,
3079 src/main/resources/messages_de_DE.properties,
3080 src/main/resources/messages_en.properties:
3081 Fixed anomalies.
3082
3083 2012-07-20 Ingo Weinzierl <ingo@intevation.de>
3084
3085 * src/main/java/de/intevation/flys/exports/ReportGenerator.java,
3086 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
3087 src/main/java/de/intevation/flys/exports/ATExporter.java,
3088 src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java,
3089 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
3090 src/main/java/de/intevation/flys/exports/MapGenerator.java,
3091 src/main/java/de/intevation/flys/exports/OutGenerator.java,
3092 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
3093 Added a setCollection() method that allows the caller of OutGenerators
3094 to set a reference to a FLYSArtifactCollection.
3095
3096 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3097 Use setCollection() to set the reference to the current
3098 FLYSArtifactCollection before using OutGenerators.
3099
3100 * doc/conf/conf.xml: Registered the SQOverviewGenerator.
3101
3102 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3103
3104 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
3105 Add a list of gauges which intersect the range of the selected columns:
3106
3107 <fixings>
3108 <gauges from="..." to="..." name="..."/>
3109 ...
3110 <gauges from="..." to="..." name="..."/>
3111 </fixings>
3112
3113 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
3114 Store the name of the gauge, too.
3115
3116 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java:
3117 Load the names of the gauges from database, too.
3118
3119 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3120
3121 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
3122 Some minor refactoring.
3123
3124 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
3125 Call super constructor to retrieve the common data from the artifact.
3126
3127 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3128
3129 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3130 New. Common base class for Fix*Calculations.
3131
3132 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
3133 Moved common stuff to base class FixCalculation.
3134
3135 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
3136 Inherit from FixCalculation.
3137
3138 * src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
3139 Extract parameters that are only relevant for the
3140 'Ausgelagerte Wasserspiegellagen' calculation.
3141
3142 isQ(): Must we convert the given values from W to Q first?
3143 Used data field: 'fix_isq'
3144 getSegments(): Segments same semantics as WINFO's
3145 'W fuer ungleichwertige Abfluesse.'
3146 Used data field: 'fix_segments'
3147
3148 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
3149 src/main/java/de/intevation/flys/artifacts/access/FixAccess.java:
3150 Cosmetics.
3151
3152 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3153
3154 * src/main/java/de/intevation/flys/artifacts/access/FixAccess.java:
3155 New. Common base class for the Fix*Access.
3156
3157 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java,
3158 src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
3159 Now inherit from FixAccess.
3160
3161 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3162
3163 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
3164 Prevent NPE.
3165
3166 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3167
3168 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
3169 Use constant to lookup column instead of dynamically allocated array.
3170
3171 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3172
3173 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
3174 Removed.
3175
3176 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisResult.java:
3177 Re-added here.
3178
3179 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
3180 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
3181 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
3182 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
3183 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java,
3184 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
3185 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
3186 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
3187 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
3188 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
3189 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
3190 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
3191 src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java,
3192 src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java,
3193 src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
3194 Adjusted.
3195
3196 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3197
3198 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingCalculation.java:
3199 New. Stub for 'Ausgelagerte Wasserspiegellagen' calculation.
3200
3201 * src/main/java/de/intevation/flys/artifacts/access/FixRealizingAccess.java:
3202 New. Stub for accessing the artifact to extract the relevant parameters
3203 for the 'ausgelagerte Wasserspiegellagen' calculation.
3204
3205 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
3206 Call the calculation if the state is reached.
3207
3208 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
3209 Removed trailing whitespace.
3210
3211 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3212
3213 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java:
3214 Deleted.
3215
3216 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java:
3217 Re-added here.
3218
3219 * doc/conf/artifacts/fixanalysis.xml: Adjusted. BTW: Vollmer is spelled with two 'l's.
3220
3221 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3222
3223 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3224 Removed.
3225
3226 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java:
3227 Re-added.
3228
3229 * doc/conf/artifacts/fixanalysis.xml: Adjusted.
3230
3231 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3232
3233 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3234 Deleted
3235
3236 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisCalculation.java:
3237 Re-added.
3238
3239 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java,
3240 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3241 Adjusted class name usage.
3242
3243 2012-07-19 Christian Lins <christian.lins@intevation.de>
3244
3245 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
3246 src/main/resources/messages.properties,
3247 src/main/resources/messages_de_DE.properties,
3248 src/main/resources/messages_en.properties,
3249 src/main/resources/messages_de.properties:
3250 native2ascii with properties files.
3251 Show analysis periods as subtitle in W/Q chart.
3252
3253 2012-07-19 Christian Lins <christian.lins@intevation.de>
3254
3255 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
3256 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
3257 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
3258 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
3259 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java,
3260 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
3261 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
3262 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
3263 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
3264 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
3265 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
3266 src/main/resources/messages.properties,
3267 src/main/resources/messages_de_DE.properties,
3268 src/main/resources/messages_en.properties,
3269 src/main/resources/messages_de.properties:
3270 Add subtitle to Fix W/Q chart.
3271 Move addSubtitle() code from generators up to ChartGenerate which saves
3272 a lot of duplicate code.
3273
3274 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3275
3276 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
3277 Deleted.
3278
3279 * src/main/java/de/intevation/flys/artifacts/access/FixAnalysisAccess.java:
3280 Re-added.
3281
3282 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
3283 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
3284 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
3285 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
3286 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
3287 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
3288 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
3289 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
3290 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
3291 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
3292 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
3293 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
3294 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
3295 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
3296 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
3297 Adjusted class name usage.
3298
3299 2012-07-19 Ingo Weinzierl <ingo@intevation.de>
3300
3301 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
3302 Sourced code to set default values of a parameter to an own method.
3303 Subclasses should override this method.
3304
3305 * src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java:
3306 Set default value for outliers to "3".
3307
3308 2012-07-19 Christian Lins <christian.lins@intevation.de>
3309
3310 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java,
3311 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
3312 src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
3313 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
3314 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java,
3315 src/main/resources/messages.properties,
3316 src/main/resources/messages_de_DE.properties,
3317 src/main/resources/messages_en.properties,
3318 src/main/resources/messages_de.properties:
3319 Add kilometer info to chart titles.
3320
3321 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3322
3323 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
3324 src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
3325 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
3326 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
3327 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
3328 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
3329 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
3330 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
3331 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
3332 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
3333 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java,
3334 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
3335 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
3336 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
3337 src/main/java/de/intevation/flys/exports/ChartSettings.java,
3338 src/main/java/de/intevation/flys/jfree/XYStyle.java:
3339 Use Integer.parseInt() instead of Integer.valueOf() + Autounboxing.
3340
3341 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3342
3343 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
3344 Replaced "string -> object -> native -> object" by simple "string -> object".
3345 Removed stupid duplicate XPathing.
3346
3347 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3348
3349 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
3350 Use only blue as point color.
3351
3352 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3353
3354 Adjusted Delta W(t) CSV exporter to customers wishes.
3355
3356 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
3357 Reordered columns, removed description, added W and formatted date
3358 via i18n.
3359
3360 * src/main/java/de/intevation/flys/utils/Formatter.java:
3361 Added method to get a formatter based on pattern and locale.
3362
3363 * src/main/resources/messages.properties,
3364 src/main/resources/messages_de_DE.properties,
3365 src/main/resources/messages_en.properties,
3366 src/main/resources/messages_de.properties:
3367 Adjusted i18n strings.
3368
3369 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3370
3371 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
3372 Classify each discharge range by the gauges which intersect it.
3373
3374 * src/main/java/de/intevation/flys/artifacts/model/Range.java:
3375 Added convinience constructor.
3376
3377 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
3378 Added method to return all gauges.
3379
3380 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3381
3382 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
3383 Use bandwidth parameter for width of band, adjusted name to be
3384 displayed in legend.
3385
3386 2012-07-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3387
3388 * doc/conf/default-themes.xml,
3389 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
3390 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
3391 Change bandwidth type to double (still bugged, round integers still
3392 work, though).
3393
3394 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3395
3396 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
3397 Added column for time range.
3398
3399 * src/main/resources/messages.properties,
3400 src/main/resources/messages_de_DE.properties
3401 src/main/resources/messages_en.properties
3402 src/main/resources/messages_de.properties:
3403 Added i18n strings.
3404
3405 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
3406 Fixed stupid formatting bug.
3407
3408 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3409
3410 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
3411 Added discharge column.
3412
3413 * src/main/resources/messages.properties,
3414 src/main/resources/messages_de_DE.properties,
3415 src/main/resources/messages_en.properties,
3416 src/main/resources/messages_de.properties:
3417 Added missing strings.
3418
3419 2012-07-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3420
3421 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3422 Removed trailing whitespace.
3423
3424 2012-07-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3425
3426 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
3427 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
3428 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
3429 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java,
3430 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
3431 src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java,
3432 src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
3433 Cosmetics, doc.
3434
3435 2012-07-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3436
3437 Partial implementation of issue720 (bandwith for curves), in
3438 longitudinal section ws only, no styling, integer-based.
3439
3440 * doc/conf/default-themes.xml: Add bandwidth to fields of longitudinal
3441 section facets.
3442
3443 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Add bandwidth
3444 theme parsing.
3445
3446 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
3447 If bandwidth is set, add an area data series with datapoints
3448 above/under the actual data points.
3449
3450 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
3451 Helper for adding points with offset.
3452
3453 2012-07-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3454
3455 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
3456 Use Q_BPEGEL as symbolic name for Q
3457
3458 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3459 Out commented the LEFT JOINs which produce a lot of empty and
3460 redundant data. Bring them back in when we treat subsamples right.
3461
3462 2012-07-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3463
3464 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3465 Added getValue() method.
3466
3467 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3468 Store location of calculation in result, too.
3469
3470 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
3471 Added method getTotalCount() to return the number of used S/Q pairs.
3472
3473 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java:
3474 Store location of result, too.
3475
3476 * src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java:
3477 Write parameters as export result.
3478
3479 2012-07-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3480
3481 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
3482 Bit of doc.
3483
3484 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
3485 TODO for automatic official lines added.
3486
3487 2012-07-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3488
3489 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3490 Out commented debug output which caused OOM errors.
3491
3492 2012-07-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3493
3494 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java,
3495 src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3496 Q is not taken from MESSUNG.Q but from MESSUNG.Q_BPEGEL
3497
3498 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
3499 Fixed indentation. More macros.
3500
3501 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3502 Removed trailing whitespace.
3503
3504 2012-07-16 Ingo Weinzierl <ingo@intevation.de>
3505
3506 * Tagged module as '2.8'.
3507
3508 2012-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3509
3510 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java,
3511 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java,
3512 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java,
3513 src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java,
3514 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
3515 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java,
3516 src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java,
3517 src/main/java/de/intevation/flys/artifacts/states/PeriodsSelect.java,
3518 src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
3519 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
3520 src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java,
3521 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
3522 src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java,
3523 src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java,
3524 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
3525 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java,
3526 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
3527 src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java,
3528 src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java,
3529 src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java,
3530 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
3531 src/main/java/de/intevation/flys/artifacts/model/WQFacet.java:
3532 Removed same package imports.
3533
3534 2012-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3535
3536 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3537 Lowered log level.
3538
3539 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3540
3541 * doc/conf/meta-data.xml: Allow manual loading of official lines in
3542 longitudinal_discharge diagrams.
3543
3544 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3545
3546 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
3547 Prevent nasty NPE (hidden by autobox).
3548
3549 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3550
3551 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
3552 Suppress data points with values <= 0 because they kill JFreeChart's
3553 log/log diagrams.
3554
3555 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3556
3557 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3558 Fixed more SQL syntax errors.
3559
3560 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3561 Generate more than one SQResult (To my big suprise it's possible).
3562
3563 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java,
3564 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java.
3565 src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
3566 Made more NPE bullet proof.
3567
3568 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3569
3570 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3571 Fixed problem with string operation precedence.
3572
3573 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3574
3575 * doc/conf/meta-data.xml: very basic official lines matching the current
3576 artifact (for this it is wrongly placed in previous calc.-part, for
3577 now.
3578
3579 2012-07-13 Christian Lins <christian.lins@intevation.de>
3580
3581 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java:
3582 Create shapefile directory instead of shapefile 'file'.
3583
3584 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3585
3586 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
3587 src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java,
3588 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
3589 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
3590 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
3591 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
3592 Removed translation whitespace.
3593
3594 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3595
3596 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
3597 src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
3598 Finally! SQResult is build and should be ready for display. :-)
3599
3600 2012-07-13 Christian Lins <christian.lins@intevation.de>
3601
3602 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
3603 src/main/java/de/intevation/flys/utils/GeometryUtils.java:
3604 Fix and workaround NullPointerExceptions.
3605
3606 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
3607
3608 * src/main/java/de/intevation/flys/wsplgen/WSPLGENCallable.java,
3609 src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
3610 src/main/java/de/intevation/flys/wsplgen/JobObserver.java,
3611 src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java,
3612 src/main/java/de/intevation/flys/wsplgen/Scheduler.java,
3613 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
3614 src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
3615 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
3616 src/main/java/de/intevation/flys/artifacts/MapArtifact.java,
3617 src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
3618 src/main/java/de/intevation/flys/exports/MapGenerator.java:
3619 Organized and added missing imports.
3620
3621 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
3622
3623 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new
3624 functions to reproject an Envelope from one CoordinateReferenceSystem to
3625 antoher.
3626
3627 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
3628 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
3629 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
3630 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
3631 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
3632 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
3633 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
3634 src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
3635 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
3636 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
3637 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
3638 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
3639 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
3640 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
3641 The getExtent() method will now return the extent of the layer in the
3642 coordinate reference system that is configured for the specific river.
3643
3644 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
3645
3646 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java,
3647 src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java,
3648 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java,
3649 src/main/java/de/intevation/flys/artifacts/model/WSPLGENLayerFacet.java,
3650 src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java,
3651 src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java:
3652 Moved to subpackage map.
3653
3654 * src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENLayerFacet.java,
3655 src/main/java/de/intevation/flys/artifacts/model/map/WMSLayerFacet.java,
3656 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENJob.java,
3657 src/main/java/de/intevation/flys/artifacts/model/map/WMSDBLayerFacet.java,
3658 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENCalculation.java,
3659 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENReportFacet.java:
3660 Moved from upper package.
3661
3662 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3663
3664 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
3665 src/main/java/de/intevation/flys/exports/OutputHelper.java,
3666 src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
3667 Added missing vim lines.
3668
3669 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3670
3671 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
3672 src/main/java/de/intevation/flys/exports/OutputHelper.java:
3673 Removed trailing whitespace.
3674
3675 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3676
3677 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
3678 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3679 Removed superfluous imports.
3680
3681 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3682
3683 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3684 Only use first period of the time periods given by the UI.
3685
3686 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java:
3687 Added some more index checking.
3688
3689 2012-07-13 Raimund Renkert <raimund.renkert@intevation.de>
3690
3691 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java:
3692 New. Facet for chart overview in sq relation.
3693
3694 * src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
3695 New. Generator for chart overview. This generator is not used jet.
3696 Currently we generate the overview on client side by putting all charts in a
3697 simple grid, cause the charts rendered by this generator are empty.
3698
3699 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
3700 Added new Facet type.
3701
3702 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
3703 Add facets for overview.
3704
3705 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
3706 Avoid a NPE in legend entry aggregation.
3707
3708 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3709 Moved log output to avoid NPE.
3710
3711 * doc/conf/artifacts/minfo.xml:
3712 Added new output for chart overview.
3713
3714 2012-07-13 Raimund Renkert <raimund.renkert@intevation.de>
3715
3716 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3717 Refactored. Moved some functionality to FLYSContext and OutputHelper.
3718
3719 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
3720 Added 'getOutGenerator' to get a concrete generator. Moved from
3721 FLYSArtifactCollection.
3722
3723 * src/main/java/de/intevation/flys/exports/OutputHelper.java:
3724 New. Provides the 'doOut' functionality for FYLSArtifactCollection.
3725
3726 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3727
3728 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
3729 Handle the error case of accessing wrong indexed SQ relation
3730 more smoothly.
3731
3732 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3733
3734 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
3735 Added access to the data of GSIEBSATZ and SSIEBUNG.
3736
3737 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3738
3739 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3740 Added the left joins to the GSIEBSATZ and SSIEBUNG tables.
3741
3742 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3743
3744 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3745 Do not store null values from database.
3746
3747 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3748
3749 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
3750 New. Container for measurements. Helps to extract the S/Q fractions.
3751
3752 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3753 Now uses the measurements container.
3754
3755 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
3756 Added convenience methods to extract the different fractions.
3757 DONE: Q, S_SS, S_SF
3758 TODO: S_BL_S, S_BL_FG, S_BL_CG, S_BL
3759
3760 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java,
3761 src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3762 Relax existence of SIEBSATZID.
3763 We have to use a left join during data extraction anyway.
3764 We force the existence of Q because we cannot do the fitting if
3765 we don't have them.
3766
3767 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3768
3769 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
3770 New. Access to the data from the SedDB.
3771
3772 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
3773 Load measurements from SedDB.
3774
3775 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
3776 Force NOT NULL for discharge values, too.
3777
3778 * src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
3779 Indentation fix.
3780
3781 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
3782 Iterate over all given periods.
3783
3784 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3785
3786 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java:
3787 Fixed wrong logger class.
3788
3789 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3790
3791 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
3792 Filter out the meassures which don't have a related 'Siebsatz'.
3793
3794 * doc/conf/cache.xml: Added forgotten cache for sq-overview.
3795
3796 * src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
3797 Added vim line.
3798
3799 2012-07-12 Christian Lins <christian.lins@intevation.de>
3800
3801 * doc/conf/default-themes.xml,
3802 doc/conf/virtual-themes.xml,
3803 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
3804 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
3805 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
3806 src/main/java/de/intevation/flys/themes/ThemeAccess.java:
3807 Add showpointlabel style attribute. Refactor some styles to make use of
3808 general attributes in the virtual themes.
3809
3810 * src/main/java/de/intevation/flys/utils/GeometryUtils.java,
3811 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
3812 Suppress or fix some warnings.
3813
3814 2012-07-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3815
3816 * doc/conf/conf.xml: Fix class name.
3817
3818 2012-07-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3819
3820 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
3821 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
3822 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
3823 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
3824 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
3825 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
3826 src/main/java/de/intevation/flys/exports/ChartExportHelper.java,
3827 src/main/java/de/intevation/flys/exports/WstWriter.java,
3828 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
3829 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
3830 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
3831 Various cosmetic doc fixes.
3832
3833 2012-07-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3834
3835 * doc/conf/meta-data.xml: Make official lines available in dc for
3836 manual loading in longitudinal sections.
3837
3838 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3839
3840 * src/main/java/de/intevation/flys/artifacts/model/sq/Sieve.java:
3841 Simulates a sieve to separate the differen fractions from each other.
3842
3843 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3844
3845 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java,
3846 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
3847 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
3848 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
3849 Removed trailing whitespace.
3850
3851 2012-07-11 Christian Lins <christian.lins@intevation.de>
3852
3853 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java,
3854 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
3855 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
3856 src/main/resources/messages.properties,
3857 src/main/resources/messages_de_DE.properties,
3858 src/main/resources/messages_en.properties,
3859 src/main/resources/messages_de.properties:
3860 Delta W(t) chart subtitle now with real values and correct i18n.
3861
3862
3863 2012-07-11 Christian Lins <christian.lins@intevation.de>
3864
3865 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
3866 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
3867 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
3868 Re-add HYK rendering code again to CrossSectionGenerator (fix for #712).
3869
3870 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3871
3872 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java,
3873 src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
3874 Removed superfluous imports.
3875
3876 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3877
3878 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
3879 Made km separating of dates epsilon tolerant and avoid empty date lists.
3880
3881 2012-07-10 Raimund Renkert <raimund.renkert@intevation.de>
3882
3883 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java:
3884 New. Service that generates an overview chart for measuring points.
3885
3886 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
3887 New. Instance of measuring points overview data.
3888
3889 * src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
3890 New. Foctory for overview data objects.
3891
3892 * doc/conf/conf.xml:
3893 Added new service to config.
3894
3895 * src/main/resources/messages.properties,
3896 src/main/resources/messages_de_DE.properties,
3897 src/main/resources/messages_en.properties,
3898 src/main/resources/messages_de.properties:
3899 Added i18n strings.
3900
3901 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3902
3903 Fix for issue694.
3904
3905 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
3906 Also resolve edge cases (last/first cross section km).
3907
3908 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3909
3910 Partial fix for issue694 (Heightmarks snap to nearest cross section
3911 line).
3912
3913 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
3914 Extended signature of getWaterLines to allow behaviour of only
3915 delivering data if it snaps to the km (is closest).
3916
3917 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
3918 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
3919 Documentation, updated signature of getWaterLines().
3920
3921 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
3922 Remember if Heightmarks are displayed, if so deliver data
3923 only if cross-section is closest (snap).
3924
3925 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
3926 Make next and previous km of cross-sections available as data.
3927
3928 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
3929 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
3930 Provide next and previous cross-section km via blackboard, adjusted
3931 call to getWaterLines.
3932
3933 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3934
3935 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
3936 Removed trailing whitespace.
3937
3938 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3939
3940 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
3941 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
3942 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java,
3943 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
3944 src/main/java/de/intevation/flys/exports/ChartExportHelper.java,
3945 src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java,
3946 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
3947 src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java,
3948 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
3949 src/main/java/de/intevation/flys/exports/OutGenerator.java,
3950 src/main/java/de/intevation/flys/exports/FlowVelocityGenerator.java:
3951 Fix various documentation issues.
3952
3953 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3954
3955 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
3956 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
3957 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
3958 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java,
3959 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
3960 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java,
3961 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
3962 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java,
3963 src/main/java/de/intevation/flys/exports/ChartHelper.java,
3964 src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java,
3965 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
3966 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
3967 Fix various issues in the hard-to-find documentation.
3968
3969 2012-07-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3970
3971 * pom.xml: Configure javadoc mojo to include doc for protected/private.
3972
3973 2012-07-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3974
3975 * contrib/themes2html.xsl: Create a list of direct sub themes
3976 of a theme.
3977
3978 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3979
3980 * doc/datacage-config-manual/Makefile: New, added Makefile.
3981
3982 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3983
3984 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
3985 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
3986 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
3987 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
3988 src/main/java/de/intevation/flys/jfree/HasLabel.java:
3989 Cosmetics, docs.
3990
3991 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3992
3993 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
3994 Fixed XPath typo.
3995
3996 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3997
3998 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3999 Removed dynamic XPaths to pervent potential XPath injections.
4000
4001 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4002
4003 * contrib/themes2html.xsl: New. Transformation to get a better
4004 overview of themes.xml. Usage:
4005
4006 $ xsltproc --path doc/conf \
4007 contrib/themes2html.xsl \
4008 doc/conf/themes.xml \
4009 > themes.xhtml
4010
4011 Use browser to view the resulting file.
4012
4013 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4014
4015 * doc/conf/second-themes.xml: Name the second themegroup 'second'
4016 instead of 'default' to avoid clashes with the real 'default'
4017 themegroup.
4018
4019 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4020
4021 * doc/conf/default-themes.xml,
4022 doc/conf/virtual-themes.xml,
4023 doc/conf/themes.xml,
4024 doc/conf/second-themes.xml:
4025 Added xml processing instruction.
4026
4027 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4028
4029 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLog.java,
4030 src/main/java/de/intevation/flys/artifacts/access/Access.java,
4031 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
4032 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
4033 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorA.java,
4034 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorB.java,
4035 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorC.java,
4036 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorD.java,
4037 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorE.java,
4038 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorF.java,
4039 src/main/java/de/intevation/flys/exports/ChartArea.java,
4040 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
4041 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
4042 Added vim lines.
4043
4044 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4045
4046 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
4047 src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
4048 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
4049 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
4050 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
4051 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java:
4052 Replaced tabs with four spaces each.
4053
4054 2012-07-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4055
4056 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
4057 src/main/java/de/intevation/flys/exports/ChartArea.java,
4058 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4059 Removed superfluous imports.
4060
4061 2012-07-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4062
4063 * src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java,
4064 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
4065 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
4066 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
4067 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4068 Removed trailing whitespace.
4069
4070 2012-07-06 Christian Lins <christian.lins@intevation.de>
4071
4072 * doc/conf/*-themes.xml,
4073 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
4074 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
4075 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
4076 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
4077 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java,
4078 src/main/resources/messages.properties,
4079 src/main/resources/messages_de_DE.properties,
4080 src/main/resources/messages_en.properties,
4081 src/main/resources/messages_de.properties:
4082 Add styles for W(t) domain markers.
4083
4084 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
4085 Remove false @override.
4086
4087 2012-07-06 Christian Lins <christian.lins@intevation.de>
4088
4089 * doc/conf/themes.xml,
4090 doc/conf/second-themes.xml,
4091 doc/conf/default-themes.xml:
4092 Add missing themes for fixation charts.
4093
4094 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4095
4096 Fix issue705 (names for mainvalues in export).
4097
4098 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
4099 Documentation and use NamedMainValues irrespective of WQ-type (
4100 single vs range).
4101
4102 2012-07-06 Christian Lins <christian.lins@intevation.de>
4103
4104 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
4105 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
4106 W(t) chart label rotation now working (see #684)
4107
4108 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4109
4110 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4111 Removed solved TODO.
4112
4113 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4114
4115 Fix issue710 (crashing diagrams with only one point).
4116
4117 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4118 Expand the range/bounds where its added.
4119
4120 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4121
4122 * src/main/java/de/intevation/flys/exports/ChartGenerator.java
4123 (expandPointRange): Fix weird code with help of new ChartHelper
4124 method.
4125
4126 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4127
4128 * src/main/java/de/intevation/flys/exports/ChartHelper.java
4129 (expandBounds): New, expand bounds by given percentage.
4130
4131 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4132
4133 * src/main/java/de/intevation/flys/artifacts/math/Distance.java:
4134 New distance helper module.
4135
4136 2012-07-06 Christian Lins <christian.lins@intevation.de>
4137
4138 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
4139 Remove debugging code.
4140
4141 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4142 Remove HYK references and code.
4143
4144 2012-07-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4145
4146 * doc/datacage-config-manual/datacage-config-manual.tex:
4147 Changed inclusions to include new content file.
4148
4149 * doc/datacage-config-manual/content.tex: Content from doc/datacage.txt,
4150 xml formatted.
4151
4152 2012-07-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4153
4154 * doc/datacage-config-manual/datacage-config-manual.tex,
4155 doc/datacage-config-manual/README,
4156 doc/datacage-config-manual/title.tex:
4157 Added stub of tex-version of datacage config documentation.
4158
4159 2012-07-05 Christian Lins <christian.lins@intevation.de>
4160
4161 * doc/*-themes.xml:
4162 Add textorientation field.
4163
4164 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
4165 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
4166 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
4167 src/main/java/de/intevation/flys/exports/ChartArea.java:
4168 Move annotation related code to base class ChartGenerator.
4169
4170 2012-07-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4171
4172 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
4173 Prevent casting exception.
4174
4175 2012-07-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4176
4177 issue487 (wrong area calculation).
4178
4179 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
4180 Fix area calculation.
4181
4182 2012-07-04 Ingo Weinzierl <ingo@intevation.de>
4183
4184 * doc/conf/themes.xml: Moved theme groups to own XML files to improve the
4185 structure.
4186
4187 * doc/conf/second-themes.xml,
4188 doc/conf/default-themes.xml,
4189 doc/conf/virtual-themes.xml: New XML files for themes / theme groups; each
4190 theme group in one single file.
4191
4192 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
4193 Improved logging; print number of theme groups and themes in it as INFO.
4194
4195 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4196
4197 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
4198 Only show labels if enabled in theme. Commented (failed) trials to get the
4199 text rotation right.
4200
4201 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4202
4203 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
4204 Fix certain AIOOBs that were caused by the fact that QWDs can end up in two
4205 different series.
4206
4207 2012-07-03 Raimund Renkert <raimund.renkert@intevation.de>
4208
4209 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4210 Implemented mergeRanges to combine y bounds in timeseries charts.
4211
4212 2012-07-03 Raimund Renkert <raimund.renkert@intevation.de>
4213
4214 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveInfoGenerator.java,
4215 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtInfoGenerator.java:
4216 New. Added chart info generator for WQ and delta W(t) chart.
4217
4218 * doc/conf/conf.xml:
4219 Added info generators to config.
4220
4221 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4222
4223 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
4224 Very basic, unstyled, always-on labels of points in DeltaWt-Diagrams.
4225
4226 2012-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4227
4228 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
4229 Replaced Arrays.asList(new String[] { "a", "b" }).contains("a") code.
4230
4231 2012-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4232
4233 * doc/conf/themes.xml,
4234 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
4235 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
4236 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
4237 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
4238 src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java,
4239 src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
4240 Removed trailing whitespace.
4241
4242 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
4243
4244 * doc/conf/themes.xml: Added missing themes for middle bed height curves.
4245
4246 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
4247
4248 * src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
4249 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java:
4250 New Access objects to access relevant information of Artifacts specific
4251 to bed heights and flow velocity calculations.
4252
4253 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
4254 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
4255 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
4256 src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java,
4257 src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
4258 Use *Access objects to get required information from Artifact.
4259
4260 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Moved
4261 methods to access specific information for calculations to *Access
4262 objects.
4263
4264 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4265
4266 Fix issue695 (labeling of waterlines).
4267
4268 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
4269 (doCrossSectionWaterLineOut): Handle labels more individually.
4270
4271 * src/main/java/de/intevation/flys/jfree/XYStyle.java
4272 (applyShowLineLabel): Tell renderer that there is something to do in case
4273 any label is switched on.
4274
4275 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
4276
4277 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
4278 src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java,
4279 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
4280 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
4281 src/main/java/de/intevation/flys/artifacts/model/DifferenceCurveFacet.java,
4282 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
4283 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
4284 src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java,
4285 src/main/java/de/intevation/flys/artifacts/geom/Lines.java,
4286 src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
4287 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
4288 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
4289 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
4290 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
4291 src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java,
4292 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
4293 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
4294 src/main/java/de/intevation/flys/themes/ThemeAccess.java,
4295 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
4296 Fixed various bugs (package declarations, moved classes to correct
4297 places).
4298
4299 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
4300
4301 * doc/conf/themes.xml: Removed line properties from fixation point themes
4302 and added missing point properties.
4303
4304 2012-07-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4305
4306 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
4307 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
4308 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
4309 Cosmetics.
4310
4311 2012-07-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4312
4313 issue654.
4314
4315 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
4316 Do not include type in hash for legend item.
4317
4318 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4319
4320 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
4321 Generate CSV for facet 'fix_parameters'.
4322
4323 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
4324 Be more eloquent on which kind of facet the exporter does not
4325 like.
4326
4327 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4328
4329 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
4330 Made it more symmetrical to FixationCompute.
4331
4332 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
4333 Removed fake result stuff. Fetch parameters from SQRelationAccess.
4334
4335 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4336
4337 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java:
4338 Remove some evidence that the authors of this software
4339 do not know Java at all.
4340
4341 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4342
4343 Part of flys/issue687
4344
4345 * src/main/java/de/intevation/flys/exports/ATWriter.java:
4346 New. Samples fitting function to AT files.
4347
4348 !!! Untested and expected to be slightly broken. !!!
4349
4350 * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
4351 Made some formatting things public to be reusable.
4352
4353 * src/main/resources/messages.properties,
4354 src/main/resources/messages_de_DE.properties,
4355 src/main/resources/messages_en.properties,
4356 src/main/resources/messages_de.properties:
4357 Added i18n strings for AT headers.
4358
4359 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4360
4361 * doc/conf/artifact-db.xml,
4362 doc/conf/cache.xml,
4363 doc/conf/meta-data.xml: Removed trailing whitespace.
4364
4365 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4366
4367 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4368 Removed embedded class IdGenerator.
4369
4370 * src/main/java/de/intevation/flys/utils/IdGenerator.java:
4371 New. Re-added the id generator as top level class.
4372
4373 2012-06-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4374
4375 Added parameter exporter for fixings analysis.
4376 Part of flys/issue689
4377
4378 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
4379 New. Exports the contents of the parameters of the fix analysis.
4380
4381 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
4382 Added visitor interface to visit all rows of the parameters.
4383
4384 * doc/conf/artifacts/fixanalysis.xml: Added new facet for
4385 parameter export.
4386
4387 * doc/conf/conf.xml: Register the new parameter exporter.
4388
4389 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4390 Added facet type.
4391
4392 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4393 Fixed indentation.
4394 Removed some programming oddities.
4395 Create facet for parameter export.
4396
4397 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
4398 Removed code which is already contained in the base class.
4399
4400 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
4401 Cleaned up code.
4402
4403 2012-06-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4404
4405 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
4406 Deleted
4407
4408 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
4409 Re-added here
4410
4411 * doc/conf/conf.xml: Adjusted package name of DeltaWtExporter.
4412
4413 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4414
4415 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveInfoGenerator.java:
4416 New. Added chart info companion for FixDerivedCurveGenerator.
4417
4418 * doc/conf/conf.xml: Added to configuration.
4419
4420 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
4421 Code clean up.
4422
4423 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFunction.java:
4424 Simplified. Not Serializable any more because its only a transient object.
4425
4426 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
4427 Clean up. Simplified. Removed dependency from Function2DAdapter because
4428 we are doing our own sampling.
4429
4430 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionInfoGenerator.java:
4431 Removed empty last line.
4432
4433 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4434 Small cosmetics.
4435
4436 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
4437 Do not notify listeners when add data series.
4438
4439 * src/main/java/de/intevation/flys/jfree/Function2DAdapter.java:
4440 Removed. Obsolete.
4441
4442 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4443
4444 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4445 Removed superfluous import.
4446
4447 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4448
4449 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionInfoGenerator.java:
4450 New. Added chart info companion for FixLongitudinalSectionGenerator.
4451
4452 * doc/conf/conf.xml: Added to configuration.
4453
4454 2012-06-29 Christian Lins <christian.lins@intevation.de>
4455
4456 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
4457 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
4458 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
4459 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
4460 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
4461 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4462 Unfinished work on generalizing annotations in ChartGenerators.
4463
4464 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4465
4466 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
4467 Fixed parameter name.
4468
4469 * src/main/resources/messages_de_DE.properties,
4470 src/main/resources/messages_de.properties:
4471 Fixed typo.
4472
4473 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4474
4475 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
4476 Finished the access to the S/Q relation stuff.
4477
4478 * doc/conf/artifacts/minfo.xml:
4479 State "state.minfo.sq.periods" returns the value as string
4480 symmetrical to state "state.fix.analysisperiods".
4481
4482 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java:
4483 Deleted.
4484
4485 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java:
4486 Re-added here because its of use not only in the fix analysis
4487 but also in the S/Q relation.
4488
4489 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
4490 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
4491 src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java,
4492 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
4493 src/main/java/de/intevation/flys/artifacts/access/Access.java,
4494 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
4495 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
4496 Adjusted the imports for the moved DateRange.
4497
4498 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4499
4500 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
4501 New. Artifact access for the S/Q relation. TODO: Add more parameters.
4502
4503 * src/main/java/de/intevation/flys/artifacts/access/Access.java:
4504 Remove trailing whitespace.
4505
4506 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
4507 Added more debug output.
4508
4509 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4510
4511 * src/main/java/de/intevation/flys/artifacts/access/Access.java: New.
4512 Base class for *Access of FLYSArtifacts.
4513
4514 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
4515 Extends Access now.
4516
4517 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4518
4519 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
4520 Removed dead code.
4521
4522 2012-06-28 Christian Lins <christian.lins@intevation.de>
4523
4524 * doc/conf/themes.xml,
4525 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
4526 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
4527 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
4528 src/main/java/de/intevation/flys/themes/ThemeAccess.java:
4529 Set text orientation to horizontal for points in Fixation W/Q curve.
4530
4531 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4532 Fix overlapping indices of facets.
4533
4534 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4535
4536 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
4537 Added method to figure out which discharge sectors of the
4538 the analysis periods really contains data.
4539
4540 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4541 Only emit analysis period / discharge sectors which really contain data.
4542
4543 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4544
4545 Moved FixationArtifactAccess into own package access because there are
4546 more *Access to come e.g. SQRelationAccess.
4547
4548 TODO: Refactor the code for WINFO to use this *Access pattern. This
4549 results in much cleaner, better scaling and better understandable code.
4550
4551 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java: Deleted.
4552 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java: New.
4553
4554 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
4555 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
4556 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
4557 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
4558 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
4559 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
4560 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
4561 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
4562 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
4563 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
4564 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
4565 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
4566 src/main/java/de/intevation/flys/artifacts/access,
4567 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
4568 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4569 Adjusted imports.
4570
4571 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
4572 Removed superfluous imports.
4573
4574 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4575
4576 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
4577 If fitting fails for tolerance of 1e-10 increase it incremental
4578 by factor of 10 to 1e-3 and only bail out if it fails on this level.
4579
4580 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4581
4582 * src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java:
4583 Fixed da/dQ but the fitting still does not work for the function. :-/
4584
4585 2012-06-27 Christian Lins <christian.lins@intevation.de>
4586
4587 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4588 Show only dates as point labels.
4589
4590 2012-06-27 Christian Lins <christian.lins@intevation.de>
4591
4592 * doc/conf/conf.xml:
4593 Fix typo in generator class for fix_longitudinal_section_curve
4594
4595 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4596
4597 Create and handle new manual line facets.
4598
4599 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
4600 Added new constructor to play nice with upcoming facet-type.
4601
4602 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
4603 Added functionality to serve as WaterLineFacet (calculate water
4604 line against cross section profile).
4605
4606 * src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
4607 Extended to generate cross section water line facets, too.
4608
4609 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4610 Handle new Facet Type.
4611
4612 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4613
4614 FacetType for upcoming cross_section.manualline facet.
4615
4616 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4617 Added Facet Type and IS-helper dor upcoming facet.
4618
4619 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4620
4621 Configure Themes and compatibility of upcoming
4622 cross_section.manualline facet.
4623
4624 * doc/conf/artifacts/winfo.xml,
4625 doc/conf/artifacts/manualpoint.xml:
4626 Add upcoming facet to compatibility lists.
4627
4628 * doc/conf/themes.xml: Register theme for upcoming facet.
4629
4630 2012-06-27 Christian Lins <christian.lins@intevation.de>
4631
4632 * doc/conf/conf.xml:
4633 Add output generator for 'fix_derived_curve'
4634
4635 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4636 Add some ugly formatted point labels.
4637
4638 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4639
4640 Moved describe() and the generating of output into FLYSArtifact.
4641
4642 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
4643 This the base class so it should contain common code!
4644
4645 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
4646 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
4647 src/main/java/de/intevation/flys/artifacts/ChartArtifact.java,
4648 src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java,
4649 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
4650 Moved common code into base class.
4651
4652 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4653 Removed superfluous imports.
4654
4655 2012-06-27 Christian Lins <christian.lins@intevation.de>
4656
4657 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
4658 Use JFreeUtil.sampleFunction2D() to sample a StyledXYSeries.
4659
4660 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
4661 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
4662 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
4663 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
4664 Add ctor with addtional custom facet index parameter.
4665
4666 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4667 Introduce IdGenerator to generate unique facets IDs within an output,
4668 so themes can now be applied properly to points and lines.
4669
4670 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4671
4672 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
4673 Removed some expensive XPath usage. Some quick profiling
4674 showed that up to 7% of our code (excluding Hibernate, H2, Restlet, etc.)
4675 were spend in these XPaths. A lot of time
4676
4677 !!! Please, please, dear fellow programmers do not use XPath for fetching
4678 !!! trivial things that are easily accessible via DOM, too!
4679
4680 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4681
4682 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java,
4683 src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java:
4684 Refactored to better fit the data types of SQResult.
4685
4686 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4687
4688 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
4689 Removed trailing whitespace.
4690
4691 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4692
4693 * src/main/java/de/intevation/flys/artifacts/model/sq/SQ.java:
4694 Added method to validate point.
4695
4696 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
4697 Added method to callback to re-initialize the function to fit.
4698
4699 * src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java:
4700 New. Shell for fitting of one SQ fraction.
4701
4702 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4703 Removed superfluous import.
4704
4705 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4706
4707 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
4708 New. Specialized outlier test for the S/Q relation.
4709 Outliers are accepted in multiples of the standard deviation.
4710
4711 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4712
4713 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4714 Only generate outlier facet when we done the prepocessing.
4715
4716 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4717
4718 Enable legend aggregation in time series charts.
4719
4720 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4721 Call super.aggregateLegendEntries.
4722
4723 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4724
4725 Legend Item Aggregation refactoring.
4726
4727 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
4728 src/main/java/de/intevation/flys/exports/ChartGenerator.java
4729 (aggregateLegendEntries): Moved up from XYChartGenerator to ChartGenerator.
4730
4731 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4732
4733 Legend Item Aggregation refactoring.
4734
4735 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
4736 New (extracted from XYChartGenerator).
4737
4738 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4739 Extracted legend item aggregation to LegendProcessor.
4740
4741 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4742
4743 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4744 Removed trailing whitespace.
4745
4746 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4747
4748 Minor polish for LegendItem-Aggregation.
4749
4750 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4751  Define and use static SPACE Shape.
4752
4753 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4754
4755 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
4756 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
4757 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
4758 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
4759 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
4760 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java:
4761 Completed inverse stubs.
4762
4763 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4764
4765 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
4766 Register the singletons instead of new objects.
4767
4768 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
4769 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
4770 src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java,
4771 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java,
4772 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
4773 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
4774 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
4775 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java:
4776 Link the functions to there inverses via getInverse().
4777
4778 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4779
4780 Implemenation of the inverses of the fitting functions. Needed
4781 for the AT export of the calculated curves.
4782
4783 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
4784 Added abstract method getInverse() to get the inverse of the
4785 function.
4786
4787 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
4788 src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java,
4789 src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java,
4790 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java,
4791 src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
4792 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java,
4793 src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java:
4794 Implements the getInverse() method.
4795
4796 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLog.java,
4797 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
4798 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
4799 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
4800 src/main/java/de/intevation/flys/artifacts/math/fitting/InvExp.java,
4801 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
4802 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLinear.java:
4803 Implements the inverses of the function above. Some are still
4804 stubs.
4805
4806 2012-06-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4807
4808 Fix issue663 ("step" curves for Q).
4809
4810 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
4811 (addStepPointsKmQ): New, add "step" points for series.
4812
4813 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
4814 Use new StyledSeriesBuilder function.
4815
4816 2012-06-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4817
4818 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4819 Fix LegendAggregation; prevent single aggregated legend item to
4820 overflow by splitting it into many, but iconless legenditems.
4821
4822 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4823
4824 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4825 Fixed typo in I18N key.
4826
4827 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4828
4829 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4830 Finished I18N.
4831
4832 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
4833 Accept callback to label legend items.
4834
4835 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: Added interface
4836 LabelGenerator to create labels for entries.
4837
4838 * src/main/resources/messages.properties,
4839 src/main/resources/messages_de_DE.properties,
4840 src/main/resources/messages_en.properties,
4841 src/main/resources/messages_de.properties:
4842 Added strings.
4843
4844 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4845
4846 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java:
4847 Removed trailing whitespace.
4848
4849 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4850
4851 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
4852 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
4853 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
4854 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
4855 Removed superfluous imports.
4856
4857 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4858
4859 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4860 Uses I18N now.
4861
4862 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
4863 Added convenience constructor for creating date formatters with strings.
4864
4865 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
4866 Added variadic method format().
4867
4868 * src/main/resources/messages.properties,
4869 src/main/resources/messages_de_DE.properties,
4870 src/main/resources/messages_en.properties,
4871 src/main/resources/messages_de.properties:
4872 Added strings.
4873
4874 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
4875
4876 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
4877 New. Generator for longitudinal sections in fix analysis.
4878
4879 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
4880 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
4881 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java:
4882 New. Facets for longitudinal sections chart in fix analysis.
4883
4884 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4885 Added new facet types.
4886
4887 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4888 Add facets for new chart.
4889
4890 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4891 Fixed NPE.
4892
4893 * doc/conf/artifacts/fixanalysis.xml:
4894 Added facets to config.
4895
4896 * doc/conf/themes.xml:
4897 Added new themes.
4898
4899 * doc/conf/conf.xml:
4900 Added new chart generator.
4901
4902 * src/main/resources/messages.properties,
4903 src/main/resources/messages_de_DE.properties,
4904 src/main/resources/messages_en.properties,
4905 src/main/resources/messages_de.properties:
4906 Added i18n strings.
4907
4908 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
4909
4910 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4911 Look for the attribut "outline" to render shape outlines in charts.
4912
4913 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
4914 Add the "outline" attribute.
4915
4916 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
4917
4918 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4919 Do not add entries ending with " " to legend.
4920
4921 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4922
4923 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4924 Prevent that the plot becomes to small if only one point is drawn.
4925
4926 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4927
4928 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4929 Added debug output about the concrete coeffs found by the fitting.
4930
4931 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
4932 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java:
4933 Re-checked the partial deviations to the coeffs. Write the formulas
4934 more human readable.
4935
4936 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4937
4938 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: If a label collides
4939 with a other labels try to draw it on the other side of the point.
4940 This results in more labeled points which is useful because you cannot zoom
4941 in for details in the fixings km chart.
4942
4943 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
4944 Paint measured points blue and interpolated green.
4945
4946 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4947 Set background color to white.
4948
4949 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4950
4951 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4952 Interpolated and measured values where switched.
4953
4954 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4955
4956 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4957 Label the points in diagram and show if they are interpolated or not.
4958
4959 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
4960 New. Extended XYSeriesCollection to cope with QWs
4961
4962 * src/main/java/de/intevation/flys/utils/Formatter.java: Added formatters
4963 to be fetched only over CallMeta. CallContext are not present in services.
4964
4965 * src/main/java/de/intevation/flys/java2d/ShapeUtils.java: New. Some code
4966 to handle Shapes.
4967
4968 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: New. Shape
4969 renderer. This is a simplified version of the shape renderer
4970 from fixings analysis in desktop FLYS.
4971
4972 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4973
4974 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4975 Re-added accidentially removed code.
4976
4977 2012-06-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4978
4979 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
4980 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
4981 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
4982 src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
4983 Removed trailing whitespace.
4984
4985 2012-06-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4986
4987 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
4988 Removed TODOs about I18N
4989
4990 * src/main/resources/messages.properties,
4991 src/main/resources/messages_de_DE.properties,
4992 src/main/resources/messages_en.properties,
4993 src/main/resources/messages_de.properties:
4994 Added strings for fixing analysis.
4995
4996 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4997
4998 * src/main/java/de/intevation/flys/utils/KMIndex.java:
4999 OpenJDK javac 1.6.0_24 seems to be more picky about
5000 correct usage of generics.
5001
5002 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5003
5004 * contrib/add-i18n-numbers.py: New. Script to prefix
5005 the values of property files with a small number to
5006 make the keys identifiable even through the UI.
5007
5008 Apply in the same manner as contrib/check-i18n-properties.py
5009
5010 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5011
5012 * src/main/resources/messages_de.properties,
5013 src/main/resources/messages.properties,
5014 src/main/resources/messages_de_DE.properties:
5015 Repaired inconsistencies.
5016
5017 2012-06-24 Christian Lins <christian.lins@intevation.de>
5018
5019 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
5020 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
5021 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
5022 src/main/java/de/intevation/flys/jfree/XYStyle.java:
5023 Add debug logs.
5024
5025 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
5026 src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
5027 Draw the W/Q function as StyledXYSeries.
5028
5029 2012-06-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5030
5031 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5032 Re-enable legend entry aggregation, take the threshold from
5033 settings.
5034
5035 2012-06-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5036
5037 * src/main/java/de/intevation/flys/exports/ChartSettings.java:
5038 Parse and set legend aggregation value.
5039
5040 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5041
5042 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java,
5043 src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java,
5044 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
5045 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
5046 Removed trailing whitespace.
5047
5048 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5049
5050 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
5051 Added bug output when creating Q sector markers.
5052
5053 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
5054 Added toString() method.
5055
5056 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5057
5058 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
5059 Set the aggregation threshold value.
5060
5061 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5062
5063 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java,
5064 src/main/java/de/intevation/flys/collections/OutputParser.java:
5065 Cosmetics, doc.
5066
5067 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5068
5069 * src/main/java/de/intevation/flys/exports/WstWriter.java:
5070 Cosmetics.
5071
5072 2012-06-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5073
5074 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
5075 Draw domain markers for borders of Q sectors. There is some kind of glitch
5076 in in the Q sector classifaction code or the db data is strange.
5077
5078 Because of the common code basis this affects the fixings calculations, too. :-(
5079
5080 2012-06-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5081
5082 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5083 Calculate the standard deviation of the Q sector delta Ws, too.
5084
5085 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
5086 Store the standard deviation of the Q sector delta Ws, too.
5087 Indexed 0..3; NaN means the std dev for this sector is not existing.
5088
5089 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5090
5091 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
5092 added method getSectorBorder(int). With this method you can figure
5093 the three discharge sector borders. Returns NaN if border is
5094 not there. Usage:
5095
5096 GaugeFinderFactory ggf = GaugeFinderFactory.getInstance();
5097 GaugeFinder gf = ggf.getGaugeFinder("Elbe");
5098 if (gf == null) { /* FAIL */ }
5099 GaugeRange gr = gf.find(km); // km is the km where you are.
5100 if (gr == null) { /* FAIL */ }
5101
5102 double m0 = gr.getSectorBorder(0); // Draw as marker if not NaN
5103 double m1 = gr.getSectorBorder(1); // Draw as marker if not NaN
5104 double m2 = gr.getSectorBorder(2); // Draw as marker if not NaN
5105
5106 Labels should be:
5107 '(MNQ+MQ)/2' for m0
5108 '(MQ+MHQ)/2' for m1
5109 'HQ5' for m2
5110
5111 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5112
5113 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java:
5114 New. Cache access to per river gauge finders. This very useful
5115 if you want to draw the discharge sectors of river at a given
5116 km into a diagram.
5117
5118 * doc/conf/cache.xml: Added cache 'gauge-finders'.
5119
5120 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
5121 Added find(double km) method to find GaugeRange by km.
5122
5123 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5124 Uses the instance of the GaugeFinderFactory to access the
5125 gauge ranges.
5126
5127 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
5128 Simplified code.
5129
5130 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5131
5132 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
5133 New. Moved out of FixingsOverview.
5134
5135 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5136 Moved GaugeFinder into top level class.
5137
5138 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5139
5140 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
5141 New. Moved out of FixingsOverview.
5142
5143 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5144 Moved GaugeRange into top level class.
5145
5146 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5147
5148 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5149 Prevent some NPEs.
5150 !!! This is not a fix for the real problem !!!
5151
5152 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5153
5154 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
5155 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
5156 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
5157 Removed superfluous imports.
5158
5159 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5160
5161 * src/main/java/de/intevation/flys/artifacts/model/Range.java:
5162 New. Moved out of FixingsOverview.
5163
5164 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5165 Moved Range into top level class.
5166
5167 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
5168 src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java,
5169 src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
5170 Adjusted imports.
5171
5172 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5173
5174 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5175 Fixed problem with select the wrong meta data (date, descriptions, etc.)
5176 for a data column.
5177
5178 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5179
5180 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
5181 Fixed stupid i/j switch bug.
5182
5183 2012-06-21 Raimund Renkert <raimund.renkert@intevation.de>
5184
5185 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5186 Updated i18n.
5187
5188 * src/main/resources/messages.properties,
5189 src/main/resources/messages_de_DE.properties,
5190 src/main/resources/messages_en.properties,
5191 src/main/resources/messages_de.properties:
5192 Added i18n string for delta W(t) chart.
5193
5194 2012-06-21 Raimund Renkert <raimund.renkert@intevation.de>
5195
5196 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5197 Added attribution for single series styling.
5198
5199 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
5200 Skip legend items for interpolated point series.
5201
5202 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
5203 Split analysis and reference points into two chart series. Added attribute
5204 for interpolated points for different styling.
5205
5206 * src/main/java/de/intevation/flys/jfree/Style.java:
5207 Added getter for renderer.
5208
5209 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
5210 Implemented getter for renderer.
5211
5212 2012-06-21 Christian Lins <christian.lins@intevation.de>
5213
5214 * doc/conf/artifacts/fixanalysis.xml,
5215 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5216 Split fix_sector_average_wq in four facet types, one for each class (_0, _1, ..)
5217
5218 * doc/conf/themes.xml:
5219 Update themes for WQ curve
5220
5221 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5222 Fix for small issue with sector average points
5223
5224 2012-06-21 Christian Lins <christian.lins@intevation.de>
5225
5226 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5227 Adapt doAverageSectorOut() to reflect changes in Facet.
5228
5229 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
5230
5231 Added delta W(t) chart in fix analysis.
5232
5233 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5234 Added facet types for deta W(t) chart.
5235
5236 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
5237 Changed facet index to determine the sector index and the analysis period
5238 index.
5239
5240 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
5241 Calculate a facet index including the sector index and the analysis period
5242 index.
5243 Added new facet for delta W(t) chart.
5244
5245 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java:
5246 New. Facet to display the standard deviation in delta W(t) chart.
5247
5248 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
5249 New. Generator for the delta W(t) chart.
5250
5251 * doc/conf/artifacts/fixanalysis.xml:
5252 Updated facets in outputmodes.
5253
5254 * doc/conf/conf.xml:
5255 Added output generator to config.
5256
5257 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
5258
5259 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5260 New methods to add domain and value axis markers to the plot.
5261
5262 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
5263
5264 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
5265 Added reference events to CSV export.
5266
5267 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
5268
5269 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
5270 Changed data type from QW[] to QWD[] to have delta Ws in reference events.
5271
5272 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
5273
5274 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
5275 Moved function instantiation to alway have a valid function instance.
5276
5277 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
5278
5279 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5280 Fixed binary search.
5281
5282 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5283
5284 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5285 Bring binarySearch with epsilon more to source of binarySearch of Collections.
5286 Still not working properly. Why?
5287
5288 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5289
5290 Avoid problems with corrected Ws in cross-sections; hacky solution,
5291 issue680.
5292
5293 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
5294 (waterLineC): New, get corrected W.
5295
5296 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
5297 Create C-facet with other index.
5298
5299 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5300
5301 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
5302 Cosmetics, doc.
5303
5304 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5305
5306 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
5307 Cosmetics, doc.
5308
5309 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5310
5311 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5312 Now respects the selected events and reference period correctly.
5313
5314 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
5315 referenceStart and referenceEnd are now melted into referencePeriod.
5316
5317 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5318 Add a new filter IdsFilter which is more efficent to check than a
5319 OrFilter with a list of IdFilters inside.
5320
5321 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
5322 Expose the new IdsFilter to the XML representation in form of
5323 <columns cids="<list of whitespace separated ids"/>
5324
5325 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
5326
5327 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
5328 Fixed broken naming of chart curves.
5329
5330 * src/main/resources/messages.properties,
5331 src/main/resources/messages_de_DE.properties,
5332 src/main/resources/messages_en.properties,
5333 src/main/resources/messages_de.properties: Renamed facets for SQ
5334 relation chart curves.
5335
5336 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
5337
5338 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
5339 Create a compound index value for SQOutlierFacets. This index is based
5340 on the index of the result object (to get the correct data) and the
5341 iteration of the outliers. This compound index is used to make
5342 SQOutlierFacets unique to FLYSCollection's DESCRIBE document.
5343
5344 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java:
5345 Parse the index of the result object and the iteration number from index
5346 property.
5347
5348 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
5349 Added some more debug output.
5350
5351 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
5352
5353 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
5354 Create only SQ objects with values > 0. Otherwise JFreeChart will break
5355 during chart creation (values for logarithmic axes have to be > 0).
5356
5357 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
5358
5359 * doc/conf/themes.xml: Adjusted the color of SQ Facets (lines and points)
5360 as shown in examples.
5361
5362 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
5363
5364 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
5365 Create new Facets with proper i18n label.
5366
5367 * src/main/resources/messages.properties,
5368 src/main/resources/messages_de_DE.properties,
5369 src/main/resources/messages_en.properties,
5370 src/main/resources/messages_de.properties: Added i18n strings for facet
5371 names.
5372
5373 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
5374
5375 * src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorA.java,
5376 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorB.java,
5377 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorC.java,
5378 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorD.java,
5379 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorE.java,
5380 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorF.java:
5381 New concrete chart generators. Each fraction of the SQ relation
5382 calculation has its own generator now. This is because they all have
5383 different chart titles and labels.
5384
5385 * doc/conf/conf.xml: Let SQ relation charts use more concrete generators.
5386
5387 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
5388 Implemented getDefaultXAxisLabel() getDefaultYAxisLabel().
5389
5390 * src/main/resources/messages.properties,
5391 src/main/resources/messages_de_DE.properties,
5392 src/main/resources/messages_en.properties,
5393 src/main/resources/messages_de.properties: Added i18n strings for chart
5394 titles and axes labels.
5395
5396 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5397
5398 Fix issue681 (wrong vertical lines in duration curve q-mainvalues on
5399 second y-axis).
5400
5401 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5402 Fix vertical line if on second y-axis.
5403
5404 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5405
5406 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
5407 Restrict q-filter facet to the differences case.
5408
5409 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5410
5411 * doc/conf/artifacts/waterlevel.xml: Add Q-facets to compatibility list.
5412
5413 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
5414 Add Q-facets to filter facet list.
5415
5416 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5417
5418 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java,
5419 src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
5420 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5421 Removed trailing whitespace.
5422
5423 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5424
5425 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java: Directly
5426 sample "our" Function objects instead of JFreeChart Function2Ds.
5427
5428 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
5429 Removed JFreeChart Function2D wrapper and directly use our Function
5430 objects.
5431
5432 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5433
5434 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
5435 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5436 Removed superfluous imports.
5437
5438 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5439
5440 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
5441 Calculate the standard deviation of the delta Ws of the referencen points, too.
5442
5443 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5444 Store the standard deviation of delta Ws of reference points into
5445 a parameters column "std-dev".
5446
5447 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
5448
5449 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java: New function to
5450 sample a Function2D. This method is used, because JFreeChart's
5451 DataUtilities.sampleFunction2D() returns an instance of XYSeries but we
5452 need StyledXYSeries.
5453
5454 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java: Added a
5455 method to retrieve parameter values for a list of parameter names.
5456
5457 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
5458 Create a fake Parameters object for the SQ curve.
5459
5460 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
5461 Added getMinQ() and getMaxQ() to determine the Q range.
5462
5463 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFunction.java: New
5464 model class that stores a Function and a min and max Q value.
5465
5466 * src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java:
5467 Return a SQFunction instance based on the parameters and Q range of the
5468 SQFractionResult.
5469
5470 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java: Use
5471 JFreeUtil's new function sampleFunction2D to create a StyledXYSeries for
5472 the SQ curve.
5473
5474 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5475
5476 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5477 Store into QWs if they are interpolated.
5478
5479 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java,
5480 src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
5481 Stores boolean if the values are interpolated.
5482
5483 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5484
5485 * src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java:
5486 Name derivative S'(Q).
5487
5488 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5489
5490 * doc/conf/artifacts/winfo.xml: Add Q-Facets to compatibility list of dis-c.
5491
5492 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
5493
5494 * doc/conf/themes.xml: Added theme mappings for sq relation fractions b - f.
5495
5496 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
5497
5498 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java: Renamed
5499 the former SQResult to SQFractionResult. This class is now used to store a
5500 set of SQFractionResults for each SQ calculation.
5501
5502 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
5503 Former SQResult.
5504
5505 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
5506 Create new fake SQFractionResults for fraction A, B and C (used for
5507 testing).
5508
5509 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java,
5510 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java,
5511 src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
5512 Added the 'fractionIdx' property to get to know which fraction should be
5513 represented.
5514
5515 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java: Create
5516 Facets for each SQResult and SQFractionResult.
5517
5518 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5519
5520 * src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java:
5521 New. S(Q) = a*Q^b
5522
5523 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
5524 Registered new function.
5525
5526 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
5527
5528 * src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
5529 Implemented getData(). It returns the SQ[] of
5530 SQResult.getMeasurements().
5531
5532 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java: Create
5533 proper facet for sq measurements and corrected constructor call of
5534 SQOutlierFacet.
5535
5536 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
5537 Generalized doSQMeasurementsOut() and doSQOutliersOut() to one single
5538 method doSQOut() which is able to handle SQ[] data.
5539
5540 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
5541
5542 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Changed the
5543 default behavior: line labels are not visible if no config option is set!
5544
5545 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5546
5547 * doc/conf/conf.xml: Load config of rest server and floodmap over
5548 external entities, too.
5549
5550 * doc/conf/floodmap.xml, doc/conf/rest-server.xml: New.
5551 External config.
5552
5553 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5554
5555 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
5556 The reference points are now wrapped in QWDs. This enables the
5557 plotting of Delta W(t) data for the reference points.
5558
5559 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
5560 Added convenience constructor.
5561
5562 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
5563 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
5564 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
5565 Adjusted.
5566
5567 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
5568 Cosmetics.
5569
5570 2012-06-18 Christian Lins <christian.lins@intevation.de>
5571
5572 * doc/conf/artifacts/fixanalysis.xml:
5573 Remove fix_analysis_periods_wq from fix_wq_curve facet.
5574
5575 * doc/conf/themes.xml:
5576 Add fixing themes for other theme groups.
5577
5578 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
5579 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java:
5580 Debug output added.
5581
5582 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5583
5584 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
5585 Added vim line, made class public.
5586
5587 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5588
5589 * doc/conf/conf.xml: Using external system entities to configure databases.
5590 !!!
5591 !!! FROM NOW ON YOU CAN YOUR conf.xml FROM TRUNK.
5592 !!! Adjust the database credentials via the *-db.xml files
5593 !!! which are included.
5594 !!!
5595
5596 * doc/conf/artifact-db.xml: New. Configuration for the artifact database.
5597 * doc/conf/seddb-db.xml: New. Configuration for the SedDB
5598 * doc/conf/backend-db.xml: New. Configuration for the FLYS3 database.
5599 * doc/conf/datacage-db.xml: Configuration for the datacage datacage.
5600
5601 2012-06-18 Raimund Renkert <raimund.renkert@intevation.de>
5602
5603 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
5604 Fixed constructor.
5605
5606 2012-06-18 Christian Lins <christian.lins@intevation.de>
5607
5608 * doc/conf/themes.xml:
5609 Add themes for fixing facets.
5610
5611 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
5612 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
5613 Use FixFacetUtils.getMaxQ() to retrieve max Q.
5614 Interpolate km values instead of strict binary search.
5615
5616 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
5617 Added, contains static getMaxQ() method.
5618
5619 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
5620 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5621 Some issues fixed.
5622
5623 2012-06-18 Ingo Weinzierl <ingo@intevation.de>
5624
5625 * doc/conf/themes.xml: Fixed broken color strings.
5626
5627 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added new functions
5628 that return colors for points.
5629
5630 * src/main/java/de/intevation/flys/themes/ThemeAccess.java: Added new
5631 function that returns the color for points.
5632
5633 * src/main/java/de/intevation/flys/jfree/XYStyle.java: Added new method to
5634 apply the color of points (independent of the specified line color).
5635
5636 2012-06-18 Ingo Weinzierl <ingo@intevation.de>
5637
5638 * doc/conf/themes.xml: Added themes for SQ relation charts
5639 ('sq_a_measurement', sq_a_outlier' and 'sq_a_curve').
5640
5641 2012-06-18 Raimund Renkert <raimund.renkert@intevation.de>
5642
5643 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java:
5644 New. Abstract chart generator for fix analysis. This generator adds the
5645 current km to the context.
5646
5647 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
5648 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5649 Generators now extend the FixCahrtGenerator.
5650
5651 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
5652 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
5653 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
5654 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
5655 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
5656 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
5657 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
5658 Get the current km from context.
5659
5660 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
5661 Removed getter for current km.
5662
5663 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5664
5665 * src/main/java/de/intevation/flys/artifacts/map/PrintMap.java,
5666 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
5667 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java,
5668 src/main/java/de/intevation/flys/artifacts/states/DischargeState.java,
5669 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
5670 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
5671 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
5672 src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
5673 Removed repeated x.size() calls from for loops.
5674
5675 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5676
5677 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
5678 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5679 Removed superfluous imports.
5680
5681 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5682
5683 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java,
5684 src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java,
5685 src/main/java/de/intevation/flys/artifacts/model/WQTJRDataSource.java:
5686 Added missing 'else's in if/else ladders.
5687
5688 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5689
5690 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
5691 Fixed string comparision for identity.
5692
5693 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5694
5695 * src/main/java/de/intevation/flys/**/*.java: Added missing vim lines.
5696
5697 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5698
5699 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5700 Removed tabs. Set log level from INFO to DEBUG because this case
5701 is much too common.
5702
5703 2012-06-17 Christian Lins <christian.lins@intevation.de>
5704
5705 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5706 Comments added.
5707
5708 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
5709 Logging output added.
5710
5711 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
5712 Max Q is now determined by parameter.interpolate().
5713
5714 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
5715 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5716 Use getCurrentKmFromRequest() in output generation.
5717
5718 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
5719 Typo in method description.
5720
5721 2012-06-15 Raimund Renkert <raimund.renkert@intevation.de>
5722
5723 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
5724 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
5725 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
5726 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
5727 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
5728 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
5729 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
5730 The getData() method now takes a km parameter to get the data at a specific
5731 km.
5732
5733 2012-06-15 Ingo Weinzierl <ingo@intevation.de>
5734
5735 * src/main/java/de/intevation/flys/artifacts/model/sq/SQ.java: New model to
5736 store values for S/Q.
5737
5738 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java: New
5739 model class that should be used to store calculation results of SQ
5740 relation.
5741
5742 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
5743 Create a fake SQResult.
5744
5745 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java:
5746 Set missing required properties, so that this facet will be able to
5747 re-calculate results again if the results are not in cache.
5748
5749 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
5750 Create correct number of facets for parameter A for outliers Facet.
5751
5752 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
5753 Create a JFreeChart XYSeries from SQResult's outliers Facet.
5754
5755 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
5756 method to create X axes. The SQRelationGenerator overrides this method,
5757 because it requires a logarithmic axis.
5758
5759 2012-06-15 Raimund Renkert <raimund.renkert@intevation.de>
5760
5761 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
5762 Added getter for current km.
5763
5764 2012-06-15 Ingo Weinzierl <ingo@intevation.de>
5765
5766 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
5767 new functions to determine if a Facet is a SQ curve, measurement or
5768 outlier independend of their parameter.
5769
5770 * src/main/java/de/intevation/flys/exports/sq/SQRelationInfoGenerator.java,
5771 src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java,
5772 src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java:
5773 Stubs for chart and export generators.
5774
5775 * doc/conf/conf.xml: Registered new output-generators for SQ relation
5776 charts and exports.
5777
5778 * src/main/resources/messages.properties,
5779 src/main/resources/messages_de_DE.properties,
5780 src/main/resources/messages_en.properties,
5781 src/main/resources/messages_de.properties: Added i18n strings for CSV
5782 export of SQ relations.
5783
5784 2012-06-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5785
5786 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace.
5787
5788 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5789
5790 * doc/conf/conf.xml: Added out commented block for SedDB configuration.
5791
5792 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5793
5794 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
5795 Some code cleanup.
5796
5797 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5798
5799 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
5800 Added more debug output.
5801
5802 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
5803 Interpolate the coeffs for the function to be drawn.
5804
5805 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5806 Made code more robust for none existing data.
5807
5808 2012-06-14 Ingo Weinzierl <ingo@intevation.de>
5809
5810 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
5811 new Facets for MINFO SQ relation calculation.
5812
5813 * doc/conf/artifacts/minfo.xml: Added output for chart and data export for
5814 sq relation calculation. Registered new facets.
5815
5816 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
5817 src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java,
5818 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java,
5819 src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
5820 Stubs for calculation and Facets used for SQ relation calculation.
5821
5822 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
5823 Override computeAdvance() and implemented a stub for calculation and
5824 Facet creation.
5825
5826 2012-06-11 Raimund Renkert <raimund.renkert@intevation.de>
5827
5828 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
5829 Changed filter string to 'Messstelle'.
5830
5831 2012-06-14 Ingo Weinzierl <ingo@intevation.de>
5832
5833 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
5834 Fetch only cross section tracks that have a name 'qps' set for WSPLGEN
5835 calculation.
5836
5837 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5838
5839 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
5840 Use binary search again.
5841
5842 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5843
5844 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
5845 Removed superfluous import.
5846
5847 2012-06-13 Christian Lins <christian.lins@intevation.de>
5848
5849 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
5850 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
5851 Workaround for IndexOutOfBoundsException.
5852
5853 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
5854 Output generator for fixing derived curve.
5855
5856 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
5857 Use binary search with epsilon again.
5858
5859 2012-06-13 Ingo Weinzierl <ingo@intevation.de>
5860
5861 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
5862 Added more debug/warn log statements.
5863
5864 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java: Do
5865 not add empty objects into the calculation result.
5866
5867 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5868 Take care on empty QWD objects.
5869
5870 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5871
5872 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java,
5873 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
5874 src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
5875 Max Q is store in column "max_q" in Parameters now. So function can be plotted
5876 bewtween calculated kms, too.
5877 For function sampling use something like this.:
5878
5879 double [] maxQ = parameters.interpolate("km", 42.3", new String [] { "max_q" });
5880 double maxSampleQ = 10000d;
5881
5882 if (maxQ != null) {
5883 maxSampleQ = Math.min(2000d, Math.abs(maxQ[0]));
5884 maxSampleQ += 0.05*maxSampleQ;
5885 }
5886
5887 2012-06-13 Christian Lins <christian.lins@intevation.de>
5888
5889 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5890 Add missing imports and correct coding issues.
5891
5892 2012-06-12 Christian Lins <christian.lins@intevation.de>
5893
5894 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
5895 Use KMIndex.search() (with epsilon) instead of KMIndex.binarySearch().
5896
5897 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
5898 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5899 Move marker generation to XYChartGenerator.
5900
5901 2012-06-12 Christian Lins <christian.lins@intevation.de>
5902
5903 * doc/conf/conf.xml:
5904 Add fix_wq_curve output generator.
5905
5906 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
5907 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
5908 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
5909 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
5910 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
5911 Add additional null-checks to prevent NullPointerExceptions when accessing empty
5912 facets.
5913
5914 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
5915 getMaxQ() now returns constant '1000' until it is properly fixed.
5916
5917 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5918 Code for generating charts more or less complete but untested due to bugs in facets.
5919
5920 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5921
5922 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5923 Added method double [] interpolate(keyName, key, columnNames).
5924 This construct is better suited for the extraction of
5925 coefficients for building functions. In pseudo code:
5926
5927 fitting.Function function =
5928 FunctionFactory.getInstance().getFunction("log");
5929
5930 double km = 42.35;
5931
5932 double [] coeffs = parameters.interpolate(
5933 "km", km, function.getParamterNames());
5934
5935 math.Function f = function.instantiate(coeffs);
5936
5937 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5938
5939 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
5940 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
5941 Removed superfluous imports.
5942
5943 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5944
5945 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5946 Added interpolate methods that return an array of linear interpolated
5947 values for a given key. Say you have a column named "km" you can call
5948 'values = parameters.interpolate("km", 12)' to fetch a set
5949 of proportional interpolated parameters even if there are only
5950 "km": 10 and "km": 15 in the data structure. Returns null if out of bounds.
5951
5952 2012-06-11 Raimund Renkert <raimund.renkert@intevation.de>
5953
5954 * doc/conf/artifacts/minfo.xml:
5955 Added states and transitions for S-Q-relation.
5956
5957 * src/main/java/de/intevation/flys/artifacts/states/PeriodsSelect.java,
5958 src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java,
5959 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
5960 New. States for multiple periods input, outliers input and final
5961 S-Q-relation.
5962
5963 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
5964 Added name filter for locations.
5965
5966 * src/main/resources/messages.properties,
5967 src/main/resources/messages_de_DE.properties,
5968 src/main/resources/messages_en.properties,
5969 src/main/resources/messages_de.properties:
5970 Added i18n strings for states.
5971
5972 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5973
5974 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
5975 Fixed broken logger class.
5976
5977 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
5978 Re-establish old indentation.
5979
5980 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5981
5982 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
5983 (doWOut): Interpolate values from WKms.
5984
5985 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5986
5987 * src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
5988 Enable caching.
5989
5990 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5991
5992 * doc/conf/meta-data.xml: Simplified choice of gauges for discharge c.
5993
5994 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
5995 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
5996 Create better name for facets, minor refactoring, polishing.
5997
5998 * src/main/resources/messages.properties,
5999 src/main/resources/messages_de_DE.properties,
6000 src/main/resources/messages_en.properties,
6001 src/main/resources/messages_de.properties:
6002 Added i18n strings.
6003
6004 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6005
6006 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
6007 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
6008 Cosmetics, docs
6009
6010 2012-06-07 Raimund Renkert <raimund.renkert@intevation.de>
6011
6012 * src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
6013 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
6014 Use i18n strings.
6015
6016 * src/main/resources/messages.properties,
6017 src/main/resources/messages_de_DE.properties,
6018 src/main/resources/messages_en.properties,
6019 src/main/resources/messages_de.properties:
6020 Added i18n strings.
6021
6022 2012-06-07 Raimund Renkert <raimund.renkert@intevation.de>
6023
6024 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
6025 Changed facet description.
6026
6027 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6028
6029 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java,
6030 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
6031 src/main/java/de/intevation/flys/utils/FLYSUtils.java:
6032 Cosmetics, doc.
6033
6034 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6035
6036 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java:
6037 Fix issues, import river, documentation, more debug.
6038
6039 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6040
6041 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java:
6042 Hard-code state id, instruct computation to result in facets.
6043
6044 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6045
6046 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
6047 Doc.
6048
6049 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
6050
6051 Added facet for derivate curve and fixed facet names.
6052
6053 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
6054 New. Facet for derivate curve.
6055
6056 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
6057 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
6058 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
6059 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
6060 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
6061 Added name for facet to constructor.
6062
6063 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
6064 Add one facet for each output using a different name.
6065
6066 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6067 Added facet names.
6068
6069 * doc/conf/artifacts/fixanalysis.xml:
6070 Changed facet names.
6071
6072 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6073
6074 * src/main/java/de/intevation/flys/exports/MiddleBedHeightExporter.java:
6075 Trivial doc.
6076
6077 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6078
6079 * doc/datacage.txt: More documentation of datacage conf.
6080
6081 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
6082
6083 Added new facet for analysis periods and updated facet names.
6084
6085 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java:
6086 New. Facet for analysis periods. Returns the date ranges for the analysis
6087 periods.
6088
6089 * doc/conf/artifacts/fixanalysis.xml,
6090 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6091 Added new facet and updated facet names.
6092
6093 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
6094 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
6095 Updated facet names.
6096
6097 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6098
6099 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
6100 Minor doc.
6101
6102 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6103
6104 * doc/datacage.txt: More documentation of datacage conf.
6105
6106 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
6107
6108 Implemented facets and splitted up the event facet.
6109
6110 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixEventsFacet.java:
6111 Removed.
6112
6113 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
6114 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
6115 New. Facets for events.
6116
6117 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
6118 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
6119 Implemented getData().
6120
6121 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
6122 Add new event facets.
6123
6124 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
6125 Fixed return value.
6126
6127 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6128
6129 * src/main/java/de/intevation/flys/jfree/Function2DAdapter.java:
6130 New. Adapter class to brigde de.intevation.flys.artifacts.math.Function
6131 to org.jfree.data.function.Function2D.
6132
6133 Function2D objects can be used by org.jfree.data.general.DatasetUtilities
6134 to sample functions into XYDatasets.
6135 See DatasetUtilities.sampleFunction2D()
6136
6137 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6138
6139 * doc/datacage.txt: New file that will contain datacage configuration
6140 documentation.
6141
6142 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
6143
6144 * doc/conf/artifacts/fixanalysis.xml:
6145 Fixed outputmodes.
6146
6147 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6148
6149 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
6150 Local variable shadowed instance variable.
6151
6152 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6153
6154 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6155 Fixed index problem with name of chi^2.
6156
6157 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
6158
6159 Added facets for fix analysis.
6160
6161 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
6162 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
6163 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
6164 src/main/java/de/intevation/flys/artifacts/model/fixings/FixEventsFacet.java:
6165 New. Facets for W/Q-Chart in fix analysis. FixAvSectorFacet is implemented,
6166 the others are just stubs.
6167
6168 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
6169 Add facets to artifact after calculation.
6170
6171 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
6172 Added method to get the current km for charts. The km is used for
6173 synchronous navigation in fix analysis charts.
6174
6175 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6176 Added new facet types.
6177
6178 * doc/conf/artifacts/fixanalysis.xml:
6179 Added facets to config.
6180
6181 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6182
6183 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
6184 Added some binary search methods. TODO: Sort by column.
6185
6186 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6187
6188 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
6189 Use new data structures for export.
6190
6191 * src/main/java/de/intevation/flys/utils/KMIndex.java:
6192 Implements java.lang.Iterable now.
6193
6194 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWT.java,
6195 src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
6196 Removed. Obsolete.
6197
6198 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
6199 Removed superfluous import.
6200
6201 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6202
6203 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
6204 Prevent duplicates in analysis periods.
6205
6206 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java:
6207 Added equals.
6208
6209 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6210
6211 * src/main/java/de/intevation/flys/utils/EpsilonComparator.java:
6212 Removed. Obsolete now.
6213
6214 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6215
6216 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java:
6217 Improved collision detection.
6218
6219 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
6220 Avoid collisions of line labels, documentation.
6221
6222 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
6223 Use JFreeUtil.
6224
6225 * src/main/java/de/intevation/flys/jfree/CollisionFreeLineLabelEntity.java:
6226 New, ChartEntity class for Line labels.
6227
6228 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6229
6230 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
6231 Store the QWs that are actually used in the fitting as referenced.
6232
6233 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6234 Store the referenced QWs for each km. TODO: Use same index structure.
6235
6236 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
6237 Store the referenced QWs, too.
6238
6239 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6240
6241 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResults.java:
6242 Removed. Obsolete.
6243
6244 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6245
6246 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriodsKM.java:
6247 Removed. Not needed any longer.
6248
6249 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6250 Store the AnalysisPeriod per km into FixResult.
6251
6252 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
6253 Uses KMIndex<AnalysisPeriod []> instead of DeltaWTsKM now.
6254
6255 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
6256 Commented out old code.
6257 TODO: Rewrite exporter to use AnalysisPeriods.
6258
6259 2012-06-05 Ingo Weinzierl <ingo@intevation.de>
6260
6261 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Override
6262 endOfLife() to remove files and directories produced for WMS output.
6263
6264 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6265
6266 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java:
6267 New jfreechart-related utility class.
6268
6269 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6270
6271 * src/main/java/de/intevation/flys/utils/Formatter.java:
6272 (getMeterFormat): New.
6273 Doc.
6274
6275 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
6276 i18n and formatting for line labels.
6277
6278 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6279
6280 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
6281 Added better doc and TODO.
6282
6283 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6284
6285 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
6286 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
6287 Now uses the KMIndex for outliers.
6288 TODO: Use KMIndex for DeltaWTs, too.
6289
6290 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6291
6292 * src/main/java/de/intevation/flys/utils/KMIndex.java: New.
6293 Serializable index structure to find objects by there km.
6294 TODO: Use in fixings analysis.
6295
6296 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6297
6298 * src/main/java/de/intevation/flys/utils/EpsilonComparator.java:
6299 Fixed sign problem in comparison.
6300
6301 2012-06-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6302
6303 Implemented outlier checks in fixings analysis. Expected to be
6304 still broken, but the code is in the right place now and has the
6305 right structure.
6306
6307 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
6308 Fixed endless loop.
6309
6310 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
6311 Added further set methods for indexed access.
6312
6313 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
6314 New. Out factored fitting code from FixCalculation. Checks for outliers, too.
6315
6316 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6317 Moved fitting code out to separate class. Streamlined code a bit.
6318
6319 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
6320 Store the outliers from fitting in separate data structure, too.
6321
6322 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java: New.
6323 Base class for delta W/t data. Used as storage for outliers.
6324
6325 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
6326 Is a sub class of QW now.
6327
6328 2012-06-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6329
6330 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6331 Store Chi^2 of fitting into result, too.
6332
6333 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
6334 Added indexed set method.
6335
6336 2012-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6337
6338 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
6339 Added inner class Derivative representing the first derivative of the
6340 function. Can be instantiated with a given set of parameters.
6341
6342 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
6343 src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
6344 src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java,
6345 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java,
6346 src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java,
6347 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java:
6348 Added the derivatives of all fitting functions.
6349
6350 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6351
6352 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6353 Calculate the Delta W/ts +
6354 the average Delta W/ts per Q sector per analysis period.
6355 !!! Very complicated stuff !!!
6356 TODO:
6357 - Store results into the new data structures AnalysisPeriod and
6358 AnalysisPeriods.
6359 - Remove the old DeltaWTsKM and DeltaWT.
6360 - Adjust the facets and the export.
6361
6362 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
6363 Added convinience constructor.
6364
6365 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
6366 Added sector filter.
6367
6368 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
6369 Expose the new sector filter to the fixing overview service. Syntax:
6370 <sector value="<value>"/>
6371
6372 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6373
6374 * src/main/java/de/intevation/flys/utils/DateAverager.java:
6375 New. Averages a list of dates preventing overflows.
6376
6377 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6378
6379 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
6380 Added a km filter to find columns which touches a given km.
6381
6382 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
6383 Expose the new km filter to the fixing overview service. Syntax:
6384 <position km="<value>"/>
6385
6386 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6387
6388 Better persistence model for delta w/t calculations. Supports
6389 storage of Q sector averages, too. TODO: Use the new model.
6390
6391 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
6392 New. Will be used as a replacement for DeltaWT.
6393
6394 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
6395 New. Will be used as a replacement for DeltaWTsKM.KM.
6396
6397 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriodsKM.java:
6398 New. List<AnalysisPeriodsKM> Will be used as a replacement for DeltaWTsKM.
6399
6400 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6401
6402 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
6403 src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
6404 Use DateRange objects now.
6405
6406 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java: New.
6407 Model for date ranges. To be used in re-factored persistance model.
6408
6409 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6410
6411 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
6412 Added method to find the Q sector of fixing column for a given km.
6413 Useful to classify fixing events at certain kms.
6414
6415 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6416
6417 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
6418 Fixed access to analysis periods.
6419
6420 2012-05-30 Raimund Renkert <raimund.renkert@intevation.de>
6421
6422 * doc/conf/artifacts/fixanalysis.xml:
6423 Changed data fields to a single string data field. The data contains a
6424 string of semi-colon separated 'long' value pairs.
6425
6426 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
6427 Process the new data.
6428
6429 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6430
6431 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
6432 trivial doc.
6433
6434 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
6435 Removed disturbing comment.
6436
6437 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java
6438 (SimpleAxis): Add ommitted Y_AXIS2 to enum.
6439
6440 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6441
6442 solve issue417: duration curve annotations as line to curve.
6443
6444 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
6445 (createStickyLineAnnotation): New.
6446 Resolved todos, use the line style.
6447
6448 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6449
6450 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6451 Doc, TODOs added.
6452
6453 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6454
6455 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
6456
6457 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6458 Consider theme setting before drawing line to curve.
6459
6460 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6461
6462 * doc/conf/themes.xml: Donate own theme for mainvalues.
6463
6464 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6465
6466 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6467 Fit from Q to W not from W to Q!
6468 Delta w/t's are now in cm.
6469 Slimmed down fitting error report.
6470
6471 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
6472 Changed default column header of delta W to cm.
6473
6474 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6475
6476 Made Delta W/t calculation work.
6477
6478 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
6479 Added toString() method.
6480
6481 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java:
6482 Fixed problem accessing Ws.
6483
6484 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
6485 Fixed silly 'name.equals(name)' bug. This mainly prevented delta W/t
6486 computation from working.
6487
6488 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
6489 More deug code.
6490
6491 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6492 More debug code. Simplified access to data a bit.
6493
6494 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
6495 Allow CSV exporter to throw IOExceptions.
6496
6497 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
6498 More debug output. Flush CSV after writing.
6499
6500 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6501
6502 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6503 Units of step is in meter and not km. Added more debug output.
6504
6505 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
6506 Stupidly forgot to add facet to return the delta w/t as CSV.
6507
6508 2012-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6509
6510 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
6511 There was a cast to WINFOArtifact where a cast to FLYSArtifact
6512 is sufficient. This prevented generating error reports that
6513 does not inherit from WINFOArtifact like FixationArtifact.
6514
6515 2012-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6516
6517 * doc/conf/artifacts/fixanalysis.xml,
6518 doc/conf/conf.xml: Added CSV and error report generator/facets.
6519
6520 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
6521
6522 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
6523 CrossSectionFactory.isNewest() will return true if the CrossSection is
6524 the only CrossSection found in the database. No IndexOutOfBounds is
6525 thrown.
6526
6527 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
6528
6529 * Tagged module as '2.7'.
6530
6531 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
6532
6533 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
6534 Don't break chart creation if no hyks are existing.
6535
6536 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6537
6538 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java,
6539 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
6540 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
6541 src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
6542 Removed superfluous imports.
6543
6544 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6545
6546 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
6547 Added getters to access the inner data structures.
6548
6549 * src/main/java/de/intevation/flys/utils/Formatter.java: Added formatting
6550 support for delta w/t exports of fix analysis.
6551
6552 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
6553 New. CSV exporter for delta w/ts of fix analysis.
6554
6555 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6556 Reordered imports.
6557
6558 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6559
6560 * src/main/java/de/intevation/flys/artifacts/model/fixings/FitResult.java:
6561 Removed. Obsolete.
6562
6563 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
6564 New. Stores the result of the fixing analysis.
6565
6566 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6567 Return the right structure (FixResult) from the calculation.
6568
6569 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6570
6571 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
6572 Fixed stupid index bug.
6573
6574 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6575
6576 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
6577 Call the computing.
6578
6579 2012-05-25 Ingo Weinzierl <ingo@intevation.de>
6580
6581 * doc/conf/conf.xml: Use the correct Artifacts for wms fixpoints and
6582 floodmaps (they were interchanged).
6583
6584 2012-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6585
6586 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResults.java:
6587 New. Stores all results of a fixing analysis.
6588
6589 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
6590 New. Km indexed container for Delta W/t diagrams.
6591
6592 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6593 Create FixResults and DeltaWTsKM now to store the results.
6594
6595 2012-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6596
6597 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
6598 Replaced another silly "@attribute" XPATH with direct getAttribute()
6599 call.
6600
6601 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6602
6603 Draw line of mainvalues to duration curve hit point to ground.
6604
6605 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6606 Also work for q-value case on second y-axis, refactored.
6607
6608 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
6609 Doc and fix.Doc and fix.
6610
6611 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6612
6613 Also draw lines to curve from q-mainvalues in dur. curve
6614
6615 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
6616 In analogy to the W-case, calculate where line from main value hits
6617 a wqday-curve from DurationCurve.
6618
6619 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6620
6621 Draw line of w-mainvalue to duration curve hit point to ground.
6622
6623 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6624 If StickyAxisAnnotation has a hit point set, also add line annotation
6625 from the crossing point to the x-axis.
6626
6627 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6628
6629 Draw line of w-mainvalue to duration curve, baby version.
6630
6631 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
6632 Added field "hitPoint", when a line to a point should be drawn
6633 - leveraging this annotation into the second dimension.
6634
6635 * src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
6636 Calculate where mainvalue hits a duration curve.
6637
6638 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6639 If StickyAxisAnnotation has a hit point set, add line annotation
6640 to hit (the duration) curve.
6641
6642 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
6643
6644 * doc/conf/themes.xml:
6645 Added a warning to not use virtual themes for facets.
6646
6647 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
6648
6649 * doc/conf/themes.xml:
6650 Added concrete themes for maps.
6651
6652 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6653
6654 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6655 Moved parameter of addAnnotations out, renamed to addVisibleAnnotation.
6656
6657 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
6658 Adjusted.
6659
6660 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
6661
6662 * doc/conf/themes.xml:
6663 Added concrete themes for areas.
6664
6665 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6666
6667 * doc/conf/meta-data.xml: Load mainvalues in reference curves.
6668
6669 * doc/conf/artifacts/winfo.xml: Add mainvalues to compatibility list
6670 of reference curves; fix typo.
6671
6672 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6673
6674 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6675 Render mainvalues as annotations.
6676
6677 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
6678 Render static wkms data.
6679
6680 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6681
6682 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6683 Cosmetic.
6684
6685 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6686
6687 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java,
6688 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
6689 (flipStickyAxis): Allow easy change of sticky axes.
6690
6691 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6692
6693 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
6694 (getWaterlevelData): Exception for discharge case.
6695
6696 * src/main/java/de/intevation/flys/utils/FLYSUtils.java
6697 (getLocations): Exception for discharge case.
6698
6699 2012-05-24 Raimund Renkert <raimund.renkert@intevation.de>
6700
6701 Issue 667.
6702
6703 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
6704 Added data to jfreechart data source.
6705
6706 2012-05-24 Ingo Weinzierl <ingo@intevation.de>
6707
6708 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
6709 src/main/java/de/intevation/flys/artifacts/services/ThemeListingService.java,
6710 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
6711 src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
6712 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
6713 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
6714 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
6715 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
6716 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
6717 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
6718 src/main/java/de/intevation/flys/themes/ThemeGroup.java: Removed
6719 needless imports.
6720
6721 2012-05-24 Ingo Weinzierl <ingo@intevation.de>
6722
6723 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Reproject
6724 geometries into the coordinate reference system defined in the
6725 configuration.
6726
6727 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6728
6729 * doc/conf/meta-data.xml: Include other "thematic" heights for
6730 reference curve relative points dc conf.
6731
6732 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6733
6734 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6735 Cosmetics.
6736
6737 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
6738 Added TODO.
6739
6740 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6741
6742 * doc/conf/artifacts/relativepoint.xml,
6743 doc/conf/conf.xml: Remove relativepoint artifact remainders, so far
6744 all cases are covered by facet.
6745
6746 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6747
6748 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6749 Handle reference curve case, slightly refactored.
6750
6751 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6752 Handle points in doOut.
6753
6754 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6755
6756 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6757 Expose data via blackboard.
6758
6759 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6760
6761 * doc/conf/meta-data.xml: Serve fixations
6762 with relative points for reference curves.
6763
6764 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6765
6766 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
6767 (getReferenceStartKm, getReferenceEndKms): Made public.
6768
6769 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6770
6771 * doc/conf/artifacts/winfo.xml: Add relative point to compatibility
6772 list of reference curve out.
6773
6774 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6775
6776 * doc/conf/artifacts/winfo.xml: Remove second facet from
6777 StaticWKmsArtifact from compatibility list of duration curves.
6778
6779 * doc/conf/themes.xml: Add basic theme for relativepoint.
6780
6781 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6782
6783 * doc/conf/meta-data.xml: Serve floodprotections and heightmarks
6784 with relative points for duration curves.
6785
6786 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6787
6788 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
6789 Handle relative points in doOut.
6790
6791 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6792
6793 * doc/conf/meta-data.xml: Serve fixations with relative points
6794 for duration curves.
6795
6796 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6797
6798 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
6799 Use superclass static field and method.
6800
6801 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6802
6803 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
6804 Handle duration curve case. Do a linear interpolation of the day.
6805
6806 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6807
6808 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java:
6809 Be a DataProvider, provide the duration curve and its km.
6810
6811 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6812
6813 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
6814 (getWAtKmLin): Linear interpolating version of getWAtKm.
6815
6816 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6817
6818 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
6819 Add (dummy-) implementation of a relative point facet.
6820
6821 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
6822 Use superclass infrastructure. Spawn RelativePointFacet.
6823
6824 * doc/conf/winfo.xml: Add relativepoint facet to compatibility list
6825 of duration curve out.
6826
6827 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6828 Add RELATIVE_POINT Facet Type.
6829
6830 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
6831
6832 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
6833 Allow instantiation of a function with concrete parameters.
6834
6835 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
6836 Enable indexed access to parameter names.
6837
6838 * src/main/java/de/intevation/flys/artifacts/model/fixings/FitResult.java:
6839 New. Bundles the results of the fitting.
6840
6841 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWT.java:
6842 New. Stores results of Delta W/t calcs.
6843
6844 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
6845 Calculate Delta W/t s, too.
6846
6847 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
6848 Make component filters ('and', 'or') more easy to construct.
6849
6850 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
6851
6852 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
6853 src/main/java/de/intevation/flys/themes/ThemeFactory.java:
6854 Improved startup performance.
6855
6856 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6857
6858 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java
6859 (getDatacageIDValue): New, extracted from various duplicates.
6860
6861 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
6862 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
6863 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
6864 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
6865 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
6866 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
6867 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
6868 Use getDatacageIDValue() from superclass or static context.
6869
6870 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6871
6872 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
6873 Define XPath to access "id" value of element coming from datacage-document.
6874
6875 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
6876 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
6877 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
6878 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
6879 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
6880 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
6881 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
6882 Use xpath defined in superclass.
6883
6884 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6885
6886 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
6887 Whitespace-Cosmetics.
6888
6889 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6890
6891 * doc/conf/relativepoint.xml: New artifact-state-config for upcoming
6892 artifact.
6893
6894 * doc/conf/conf.xml: Register artifact factory and artifact for
6895 upcoming artifact.
6896
6897 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
6898
6899 * src/main/java/de/intevation/flys/themes/ThemeGroup.java:
6900 New. A theme group takes a set of themes configured in the themes.xml.
6901
6902 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
6903 Read the theme groups configured in the themes.xml.
6904 Improved reading the xml file. Thanks to Sascha for the patch.
6905
6906 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6907 Get a theme using the new parameter themegroup.
6908
6909 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
6910 Create theme groups while configuring themes.
6911
6912 * src/main/java/de/intevation/flys/artifacts/services/ThemeListingService.java:
6913 New. This service returns a list with all configured theme groups, each
6914 containing exactly one theme filtered by name.
6915 The theme name has to be provided as parameter.
6916
6917 * doc/conf/conf.xml:
6918 Added new service to config.
6919
6920 * doc/conf/themes.xml:
6921 Introduced theme groups and added new group.
6922
6923 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6924
6925 * doc/conf/meta-data.xml: Repair CS-DC-Conf, allow loading
6926 waterlevels, add fixations and heightmarks.
6927
6928 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6929
6930 * doc/conf/artifacts/winfo.xml: Cosmetics.
6931
6932 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6933
6934 * doc/conf/meta-data.xml: Allow loading of fixations in cross-sections.
6935
6936 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6937
6938 * src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
6939 More debugging of discharge curve issue.
6940
6941 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6942
6943 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
6944 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java
6945 (getDischargeCurveData): Moved to more specific class.
6946
6947 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java:
6948 Cosmetics, be louder in miscondition.
6949
6950 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6951
6952 * doc/conf/meta-data.xml: Allow loading of fixations and thmatic
6953 heights in longitudinal sections, make discharge-curve-misbehavior
6954 testable with trunk.
6955
6956 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6957
6958 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
6959 Render discharge outs (was own out once).
6960
6961 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6962
6963 * doc/conf/artifacts/winfo.xml: Allow cross-section stuff in
6964 dischargelongitudinal state.
6965
6966 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
6967 Add CrossSectionWaterLineFacets, will trigger the cross section output.
6968
6969 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6970
6971 * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
6972 Added vim line.
6973
6974 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
6975 Removed empty line.
6976
6977 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
6978 Removed invalid/not helpful comments.
6979
6980 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
6981 (outputExists): Doc.
6982
6983 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6984
6985 * src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
6986 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java:
6987 Adjusted ui providers to make parameter names unique in client.
6988
6989 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6990
6991 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6992 Fixed short evaluation problem.
6993
6994 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
6995 Added more debuf output.
6996
6997 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6998
6999 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
7000 New. Access the state data of fixings artifacts.
7001
7002 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7003
7004 * doc/conf/artifacts/fixanalysis.xml: Make "start" and "end" parameters
7005 unique in fixings artifact states.
7006
7007 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7008
7009 * doc/conf/winfo.xml: Extend compatibility lists.
7010
7011 * doc/conf/conf.xml: Add gaugedischarge factory and artifact.
7012
7013 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java,
7014 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
7015 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
7016 New, State, Facet and Artifact to access discharge curves of gauges.
7017
7018 * doc/conf/gaugedischarge.xml: New trivial state model for gaugedis.
7019
7020 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7021
7022 * doc/conf/meta-data.xml: Allow loading of prev. reference curves.
7023
7024 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7025
7026 * doc/conf/meta-data.xml: (yet unused) sceleton for ref-curve dc conf.
7027
7028 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de>
7029
7030 * src/main/resources/messages.properties,
7031 src/main/resources/messages_de_DE.properties,
7032 src/main/resources/messages_en.properties,
7033 src/main/resources/messages_de.properties:
7034 Added i18n strings for fix analysis.
7035
7036 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de>
7037
7038 * src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java:
7039 Implemented static data for state.
7040
7041 * doc/conf/artifacts/fixanalysis.xml:
7042 Changed transition in 'volmer' states.
7043
7044
7045 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7046
7047 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
7048 Include km in names of duration curve facets.
7049
7050 * src/main/resources/messages.properties,
7051 src/main/resources/messages_de_DE.properties,
7052 src/main/resources/messages_en.properties,
7053 src/main/resources/messages_de.properties: Adjusted i18n for
7054 duration curve facet names (now include km).
7055
7056 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7057
7058 * doc/conf/meta-data.xml: Allow loading of previous duration curves and
7059 fixations in duration curves.
7060
7061 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
7062
7063 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
7064 Take the current km range into account in getOptions().
7065
7066 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
7067
7068 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
7069 doc/conf/artifacts/minfo.xml: Adapted facets for middle bed height. We
7070 now distinguish between epochs and singles.
7071
7072 * doc/conf/conf.xml: Registered new output generator for middle bed height.
7073
7074 * doc/conf/themes.xml: Added new themes for middle bed height epoch and
7075 single curves.
7076
7077 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
7078 Take the km range into account.
7079
7080 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
7081 Create facets for single and epochs.
7082
7083 * src/main/java/de/intevation/flys/exports/MiddleBedHeightInfoGenerator.java,
7084 * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java:
7085 Chart and info generator for middle bed height charts.
7086
7087 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
7088
7089 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java:
7090 Added new methods that create names for singles and epochs.
7091
7092 * src/main/java/de/intevation/flys/utils/Formatter.java: Added number
7093 formatters used to export middle bed heights values.
7094
7095 * src/main/java/de/intevation/flys/exports/MiddleBedHeightExporter.java:
7096 New exporter for middle bed heights values.
7097
7098 * doc/conf/conf.xml: Registered new output generator for middle bed height
7099 exports.
7100
7101 * src/main/resources/messages.properties,
7102 src/main/resources/messages_de_DE.properties,
7103 src/main/resources/messages_en.properties,
7104 src/main/resources/messages_de.properties: New i18n strings for middle
7105 bed height facets and csv export.
7106
7107 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
7108
7109 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java:
7110 New model class for storing data for middle bed height exports (chart,
7111 data exports).
7112
7113 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
7114 New Calculation that generates new MiddleBedHeightData.
7115
7116 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightFacet.java:
7117 New Facet which is used for middle bed height charts.
7118
7119 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7120 new facet type for middle bed height curves.
7121
7122 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
7123 Calculate middle bed height data using MiddleBedHeightCalculation and
7124 create new facets for charts and csv export.
7125
7126 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Added new
7127 methods that return the IDs of selected single bed heights and epoch bed
7128 heights.
7129
7130 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
7131
7132 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
7133 Implemented getOptions() and getLabelFor().
7134
7135 2012-05-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7136
7137 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7138 Stabilized legend item aggregation.
7139
7140 2012-05-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7141
7142 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7143 Extensive - although mostly trivial - doc adds.
7144
7145 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
7146
7147 * doc/conf/artifacts/minfo.xml: Added states and transitions for MINFO
7148 middle bed height calculation.
7149
7150 * src/main/java/de/intevation/flys/artifacts/states/MultiStringArrayState.java:
7151 New. Nearly a copy of MultiIntArrayState but uses String values.
7152
7153 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
7154 New subclass of MultiStringArrayState. It will be used for bed heights
7155 selection. We need to do handle the values as string, because singles
7156 and epochs are mixed, so the DB ID is not enough as parameter value.
7157
7158 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
7159 New. This state will trigger the calculation for middle bed height in
7160 MINFO module.
7161
7162 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
7163
7164 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
7165 Do not add a <art:choices> element to the dynamic DESCRIBE but add the
7166 <art:item> directly to <art:select> which allows using default mechanism
7167 in FLYS client.
7168
7169 2012-05-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7170
7171 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
7172 Replaced event name by its description, which combines the
7173 description of the fixing (= WST file description) and the name
7174 of the column.
7175
7176 * contrib/fixoverview2html.xsl: Adjusted.
7177
7178 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
7179
7180 * doc/conf/artifacts/minfo.xml: Added a chart output and relevant facets to
7181 flow velocity state.
7182
7183 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7184 new facet types for mainchannel, totalchannel and tau of flow velocity
7185 calculation.
7186
7187 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityFacet.java:
7188 New Facet that returns FlowVelocityData in getData().
7189
7190 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityData.java:
7191 Added new methods that return xy points for mainchannel, totalchannel and
7192 tau.
7193
7194 * src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java:
7195 Create new mainchannel, totalchannel and tau Facets for each
7196 FlowVelocityData instance retrieved by FlowVelocityCalculation.
7197
7198 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Commented
7199 legend aggregation out.
7200
7201 * src/main/java/de/intevation/flys/exports/FlowVelocityInfoGenerator.java,
7202 src/main/java/de/intevation/flys/exports/FlowVelocityGenerator.java: New
7203 chart generator for flow velocity data and its info generator.
7204
7205 * doc/conf/conf.xml: Registered the chart and chart info generator for flow
7206 velocity data.
7207
7208 * doc/conf/themes.xml: Added new themes for mainchannel, totalchannel and
7209 tau of flow velocity calculation.
7210
7211 * src/main/resources/messages.properties,
7212 src/main/resources/messages_de_DE.properties,
7213 src/main/resources/messages_en.properties,
7214 src/main/resources/messages_de.properties: Added i18n strings for flow
7215 velocity facets.
7216
7217 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
7218
7219 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
7220 Add a 'label' attribute to each <data> element in the static DESCRIBE.
7221 In addition to that, the <data> element created in this class can have
7222 multiple <item> elements which consist of a 'value' and a 'label'
7223 attribute. This 'label' attribute is taken from getLabelFor() which is
7224 abstract and needs to be implemented by subclasses.
7225
7226 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
7227 Implemented the abstract method getLabelFor().
7228
7229 * src/main/resources/messages.properties,
7230 src/main/resources/messages_de_DE.properties,
7231 src/main/resources/messages_de.properties: New i18n strings for MINFO
7232 parameter names.
7233
7234 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
7235
7236 * src/main/resources/messages.properties,
7237 src/main/resources/messages_de_DE.properties,
7238 src/main/resources/messages_en.properties,
7239 src/main/resources/messages_de.properties: New i18n strings for MINFO
7240 states.
7241
7242 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
7243
7244 * src/main/java/de/intevation/flys/exports/FlowVelocityExporter.java:
7245 Append the name of a location for the km row which is provided by
7246 FLYSUtils.getLocationDescription(km);
7247
7248 * src/main/resources/messages.properties,
7249 src/main/resources/messages_de_DE.properties,
7250 src/main/resources/messages_en.properties,
7251 src/main/resources/messages_de.properties: Added i18n strings for flow
7252 velocity CSV export headers.
7253
7254 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
7255
7256 * doc/conf/artifacts/minfo.xml: Added new state and csv export for MINFO flow
7257 velocity calculation.
7258
7259 * doc/conf/conf.xml: Registered a new CSV exporter for flow velocity
7260 values.
7261
7262 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java:
7263 New calculation for MINFO flow velocity. Actually, this is no
7264 calculation but a bundling of data.
7265
7266 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityData.java:
7267 New model class that is used to store flow velocity relevant data.
7268
7269 * src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java:
7270 New state that triggers the FlowVelocityCalculation and creates new
7271 facets. Currently, only a CSV Facet is created.
7272
7273 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Added
7274 methods to retrieve the IDs of main channels and total channels for the
7275 flow velocity calculation.
7276
7277 * src/main/java/de/intevation/flys/utils/Formatter.java: New formatters
7278 that are used in CSV exporter for flow velocity.
7279
7280 * src/main/java/de/intevation/flys/exports/FlowVelocityExporter.java: New
7281 concrete subclasses of AbstractExporter that currently implements the
7282 path to export FlowVelocityData as CSV.
7283
7284 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
7285
7286 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
7287 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
7288 Removed getDataAsDouble() which is now implemented in FLYSArtifact.
7289
7290 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
7291 Implemented getDataAsDouble(). This method will return a Double based on
7292 a given parameter name.
7293
7294 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
7295
7296 * doc/conf/artifacts/fixanalysis.xml:
7297 Changed data type for state 'eventselect'.
7298
7299 2012-05-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7300
7301 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
7302 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
7303 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
7304 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
7305 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
7306 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
7307 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
7308 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
7309 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
7310 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
7311 src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
7312 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java,
7313 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
7314 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
7315 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
7316 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java,
7317 src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java,
7318 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java,
7319 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
7320 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
7321 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
7322 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
7323 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
7324 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
7325 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
7326 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java,
7327 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
7328 Removed superfluous imports.
7329
7330 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
7331
7332 * doc/conf/artifacts/fixanalysis.xml:
7333 Adjusted state data fields.
7334
7335 * src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
7336 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
7337 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
7338 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java:
7339 Implemented states.
7340
7341 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
7342
7343 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
7344 Fixed constructor. Descriptions are now available.
7345
7346 2012-05-15 Ingo Weinzierl <ingo@intevation.de>
7347
7348 * doc/conf/artifacts/minfo.xml: Added new transistions and states for
7349 MINFO flow velocity calculation.
7350
7351 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
7352 New abstract states that might be used to append a list of available
7353 integer values to the DESCRIBE document.
7354
7355 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
7356 Concrete subclass of MultiIntArrayState which implements the abstract
7357 method getOptions().
7358
7359 2012-05-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7360
7361 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
7362 New. Model for storing fitting results in cache.
7363
7364 2012-05-14 Ingo Weinzierl <ingo@intevation.de>
7365
7366 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
7367 Removed the computeFeed() method that created Facets for discharge
7368 curves to make this state ready to use in MINFO calculations.
7369
7370 2012-05-14 Ingo Weinzierl <ingo@intevation.de>
7371
7372 * doc/conf/artifacts/minfo.xml: New Artifact configuration for module
7373 MINFO.
7374
7375 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: New
7376 Artifact for module INFO.
7377
7378 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelectMinfo.java:
7379 New. The state is used for choosing the calculation in module MINFO.
7380
7381 * doc/conf/conf.xml: Registered the MINFO Artifact.
7382
7383 * src/main/resources/messages.properties,
7384 src/main/resources/messages_de_DE.properties,
7385 src/main/resources/messages_en.properties,
7386 src/main/resources/messages_de.properties: New strings for states and
7387 calculations.
7388
7389 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7390
7391 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
7392 Removed unused code.
7393
7394 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7395
7396 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
7397 Doc.
7398
7399 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7400
7401 * doc/conf/meta-data.xml: Allow duration_curve.q loading via datacage.
7402
7403 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7404
7405 * doc/conf/meta-data.xml: Allow hyk loading also when in non-
7406 recommendation mode.
7407
7408 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7409
7410 Improved middle height calculations for waterlevels.
7411
7412 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
7413 (area): Improved or even corrected area calculation.
7414
7415 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7416 Corrected middle height calculated, have a very verbose label for
7417 the time being.
7418
7419 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7420
7421 Somewhat improve area calculation during line computation.
7422 Still faulty.
7423
7424 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
7425 (fillWater): Piecewise calculate area in more cases.
7426
7427 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7428
7429 Tackle water-through-mountain issue that exists since r4099.
7430
7431 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
7432 (addPoints): Add parameter that decides whether or not to skip NaNs.
7433
7434 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
7435 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
7436 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
7437 Set new parameter to StyledSeriesBuilder.addPoints calls.
7438 For waterlines it is important that NaNs stay included!
7439
7440 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
7441
7442 * src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java:
7443 New Artifact for storing geometries for gauges.
7444
7445 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7446 a new facet type for WMSGaugeLocationArtifact 'floodmap.gaugelocation'.
7447
7448 * doc/conf/artifacts/winfo.xml,
7449 doc/conf/artifacts/map.xml: Added 'floodmap.gaugelocation' facet to the
7450 list of valid facets for map and floodmap output.
7451
7452 * doc/conf/conf.xml: Added a factory for creating
7453 WMSGaugeLocationArtifacts.
7454
7455 * doc/conf/themes.xml: Added a theme for 'floodmap.gaugelocation' facets.
7456
7457 * doc/conf/meta-data.xml: Added a datacage section for gauge locations to
7458 the floodmap and map section.
7459
7460 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
7461
7462 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
7463 new facet types 'floodmap.hydr_boundaries' and
7464 'floodmap.hydr_boundaries_poly'
7465
7466 * doc/conf/artifacts/winfo.xml,
7467 doc/conf/artifacts/map.xml: Registered 'floodmap.hydr_boundaries' and
7468 'floodmap.hydr_boundaries_poly' for floodmap and map output types.
7469
7470 * doc/conf/conf.xml:
7471
7472 * doc/conf/themes.xml: Added themes for 'floodmap.hydr_boundaries' and
7473 'floodmap.hydr_boundaries_poly'.
7474
7475 * doc/conf/meta-data.xml: Improved datacage configuration specific to
7476 floodmaps and maps.
7477
7478 * src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
7479 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java:
7480 New artifacts to save information about hydrological boundaries.
7481
7482 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
7483 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
7484 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
7485 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
7486 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
7487 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
7488 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
7489 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
7490 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
7491 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
7492 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
7493 Moved the methods getRiverId() and getTitle() into WMSDBArtifact.
7494
7495 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
7496
7497 * doc/conf/mapserver/wsplgen_layer.vm,
7498 doc/conf/mapserver/shapefile_layer.vm: Added a 'PROJECTION' section.
7499
7500 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7501
7502 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
7503 Minor refactoring, doc.
7504
7505 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
7506
7507 * doc/conf/mapserver/layer.vm: Added a 'PROJECTION' section.
7508
7509 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7510
7511 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
7512 Minimal doc, TODO.
7513
7514 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7515
7516 Fix issue620: synchron navigation at impossible kms.
7517
7518 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
7519 (searchCrossSectionLine): Do not return a CrossSectionLine if there
7520 is none found within 1km.
7521
7522 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7523
7524 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
7525 Minimal cosmetics.
7526
7527 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7528
7529 Preparations for fix issue620: Synchron navigation on non-existing km.
7530
7531 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java
7532 (getData): Return empty lines if no cross section found.
7533
7534 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7535
7536 Display mittlere hoehe (which is not yet calculated).
7537
7538 * doc/conf/themes.xml: Added theme prop to display middlere hoehe or not.
7539
7540 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
7541 (parseShowMiddleHeight): New, parse the new theme prop.
7542
7543 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
7544 (fillWater, ListWithArea): Return new type wich also contains area.
7545
7546 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7547 Respect new theme prop and adjust label if set.
7548
7549 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7550
7551 Beginning of calculation of Mittlere Hoehe: area calculation.
7552
7553 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
7554 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
7555 Adjusted to LineData constructor.
7556
7557 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
7558 (area): New, calculate area of a polygon.
7559 Added todos where area calculation code paths are missing.
7560
7561 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
7562
7563 * doc/conf/meta-data.xml: Moved the hws layers out to an own node.
7564
7565 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
7566 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Moved the
7567 'name' property from WMSCatchmentArtifact to WMSDBArtifact.
7568
7569 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: Create
7570 more specific filter and extent that takes the 'name' into account.
7571
7572 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
7573
7574 * doc/conf/meta-data.xml: Moved the catchments out to an own node.
7575
7576 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java:
7577 Parse the name of required catchments fetch name specific catchments
7578 only.
7579
7580 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
7581
7582 * doc/conf/artifacts/map.xml: Added the 'floodmap.floodmaps' facet to the
7583 list of valid facets of the 'map' output.
7584
7585 * doc/conf/themes.xml: Renamed the 'Line' theme used for floodmaps to
7586 'FloodmapLines'.
7587
7588 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
7589
7590 * doc/conf/mapserver/db_layer.vm: Added a PROJECTION section which is
7591 filled by the LayerInfo object.
7592
7593 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added
7594 a 'srid' property.
7595
7596 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the
7597 'srid' property of all LayerInfo objects.
7598
7599 2012-05-07 Raimund Renkert <raimund.renkert@intevation.de>
7600
7601 * doc/conf/artifacts/fixanalysis.xml:
7602 Changed state data and added new state.
7603
7604 * src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
7605 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
7606 src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java,
7607 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
7608 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java:
7609 Modified states and added new state for concrete event selection.
7610
7611 2012-05-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7612
7613 * doc/conf/themes: Add text-bg properties to Area style.
7614
7615 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
7616 (TextStyle.apply): Apply text bg theme-properties to renderer.
7617
7618 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
7619 Cosmetics.
7620
7621 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
7622 Added field to store labels background color, calculate arithmetic
7623 middles of polygons, to put label there (improves situation slightly).
7624
7625 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7626
7627 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
7628 (parseShowArea): parse show area field of theme.
7629
7630 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
7631 (TextStyle.apply): Be applicable to StableXYDifferenceRenderers.
7632
7633 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
7634 Apply setting from theme to renderer.
7635
7636 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
7637 Simplified area calculation (always calculate). Added getters and
7638 setters for text for label style, respect most of that.
7639
7640 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7641
7642 * doc/conf/themes: Let Area style not inherit from colorlines (as labels
7643 work slightly different. Enable showarea property. Comment dupe Lines.
7644
7645 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7646
7647 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
7648 (doArea): Add Lines.LineData datatype to areable data types.
7649
7650 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7651
7652 * doc/conf/themes.xml: Add two new options for waterlevel label in cs.
7653
7654 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
7655 Parse new theme properties.
7656
7657 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7658 Adjust label according to chosen properties.
7659
7660 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7661
7662 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
7663 (parseShowLineLabelBG): parse show line label bg field of theme.
7664
7665 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7666 Respect show line label bg setting of theme.
7667
7668 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
7669 Apply setting from theme to renderer.
7670
7671 2012-05-03 Ingo Weinzierl <ingo@intevation.de>
7672
7673 * doc/conf/artifacts/winfo.xml: Added a 'helpText' field to each state.
7674 The 'helpText' field represents in this case a message in the i18n
7675 resources which should be a link to a online help page.
7676
7677 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
7678 Append the 'helpText' to the DESCRIBE document.
7679
7680 * src/main/resources/messages.properties,
7681 src/main/resources/messages_de_DE.properties,
7682 src/main/resources/messages_en.properties,
7683 src/main/resources/messages_de.properties: Added links to help text in
7684 the FLYS wiki.
7685
7686 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7687
7688 Use the colors specified in theme document for linelabel.
7689
7690 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
7691 New methods to find colors specified for linelabels.
7692
7693 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7694 Store and use background and foreground color for linelabels.
7695
7696 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
7697 Communicate colors of linelabels to renderer.
7698
7699 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7700
7701 Actually use the font specified in theme document for linelabel.
7702
7703 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
7704 Fixed paths for linelabel-related fields in theme doc.
7705
7706 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7707 Set font for linelabel.
7708
7709 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7710
7711 * doc/conf/themes.xml: No default background show for linelabels.
7712
7713 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7714
7715 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
7716 Cosmetic, added annotation.
7717
7718 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7719
7720 Parse font for linelabels, do not use it yet.
7721
7722 * doc/conf/themes.xml: Add more theme properties related to linelabels.
7723
7724 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
7725 (parseTextSize, parseLineLabelSize): New and slightly refactored.
7726 (parseLineLabelFont): New.
7727 (parseTextStyle, parseLineLabelStyle): New and slightly refactored.
7728
7729 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
7730 (setLineLabelFont, getLineLabelFont): New, accessors to
7731 linelabelfont field.
7732
7733 * src/main/java/de/intevation/flys/jfree/XYStyle.java
7734 (applyLineLabelFont): New.
7735
7736 2012-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7737
7738 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
7739 Make it compile again after signature change in backend.
7740
7741 2012-04-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7742
7743 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Doc.
7744
7745 2012-04-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7746
7747 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
7748 Added local class LineData and return it to also include
7749 Length of lines.
7750
7751 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
7752 Changed signature of interfaces getWaterLines.
7753
7754 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
7755 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
7756 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
7757 (getWaterLines): adjusted signature.
7758
7759 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
7760 Adjusted to return type of Lines.createWaterLines.
7761
7762 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7763 Include length in label (stub).
7764
7765 * src/main/java/de/intevation/flys/jfree/HasLabel.java:
7766 New interface.
7767
7768 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
7769 Implement new HasLabel interface.
7770
7771 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7772 Take into account that StyledXYSeries are HasLabel.
7773
7774 2012-04-26 Raimund Renkert <raimund.renkert@intevation.de>
7775
7776 Initial transition configuration and artifact/state stubs for fixation
7777 analysis.
7778
7779 * doc/conf/artifacts/fixanalysis.xml:
7780 New. Initial transition configuration.
7781
7782 * doc/conf/conf.xml:
7783 Added artifact and factory entry to config.
7784
7785 * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
7786 New. Stub with initial implementation.
7787
7788 * src/main/java/de/intevation/flys/artifacts/states/fixation,
7789 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
7790 src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
7791 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
7792 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java,
7793 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
7794 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
7795 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
7796 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java,
7797 src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java,
7798 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java,
7799 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
7800 New. Stubs for fixation states.
7801
7802 * src/main/resources/messages.properties,
7803 src/main/resources/messages_de_DE.properties,
7804 src/main/resources/messages_en.properties,
7805 src/main/resources/messages_de.properties:
7806 Added i18n strings.
7807
7808 2012-04-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7809
7810 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
7811 Add method to calculate length of water lines.
7812
7813 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7814
7815 Most of issue454: Label waterlevels.
7816
7817 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
7818 (drawSecondaryPass): Use correct label for lines.
7819
7820 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7821
7822 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
7823 (showSeriesMinimunX, showLineLabel): Renamed field.
7824 (isShowLineLabel, setShowLineLabel): Added getters and setters for
7825 showLineLabel field.
7826 (drawSecondaryPass): Respect showLineLabel field, draw static text
7827 as placeholder for real label (stub).
7828
7829 * doc/conf/themes.xml: Define theme prop 'showlinelabel' for Lines.
7830
7831 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse theme
7832 theme prop.
7833
7834 * src/main/java/de/intevation/flys/jfree/XYStyle.java: Apply showline
7835 theme prop.
7836
7837 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7838
7839 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7840 Cosmetics, doc.
7841
7842 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7843
7844 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
7845 Gah! Checked in out dated version.
7846
7847 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java,
7848 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
7849 Removed superfluous imports.
7850
7851 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7852
7853 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
7854 New. Simple Grubb's outlier test. Needs testing. ;-)
7855
7856 2012-04-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7857
7858 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
7859 (isMinimumX): Implemented minimum finding for x in analogy to the ones for
7860 y values. Stub to label dataset curves in plot.
7861
7862 2012-04-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7863
7864 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
7865 Cosmetics, added doc, TODO and an OPTIMIZE.
7866
7867 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7868
7869 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
7870 Make it cross platform.
7871
7872 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7873
7874 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
7875 Make it compilable.
7876
7877 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7878
7879 Issue 657.
7880
7881 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
7882 New. Service to upload a file as base64 string embedded in xml structure.
7883
7884 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
7885 Extract shape files from zip archive and move them to artifact directory.
7886 Add the user shapefile as parameter for wsplgen calculation.
7887
7888 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
7889 Remove the artifact directory on step back.
7890
7891 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
7892 src/main/java/de/intevation/flys/exports/MapGenerator.java:
7893 Create layer to display the uploaded shapefile.
7894
7895 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java:
7896 Create a facet to output the user defined layer.
7897
7898 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7899 Added type for user shape file.
7900
7901 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java:
7902 Resized array for '-lin' parameter.
7903
7904 * doc/conf/artifacts/winfo.xml:
7905 Added facet to diplay user defined shapefile.
7906
7907 * doc/conf/conf.xml:
7908 Added file upload service.
7909
7910 * src/main/resources/messages.properties,
7911 src/main/resources/messages_de_DE.properties,
7912 src/main/resources/messages_en.properties,
7913 src/main/resources/messages_de.properties:
7914 Added i18n string.
7915
7916 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7917
7918 Issue 560.
7919
7920 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENLayerFacet.java:
7921 New. Facet for WSPLGEN layers.
7922
7923 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java:
7924 Create a new WSPLGEN facet when creating uesk layers.
7925
7926 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
7927 src/main/java/de/intevation/flys/exports/MapGenerator.java:
7928 Use WSPLGENLayerFacet to create uesk layer.
7929
7930 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
7931 Switch back to false as return value in isQueryable().
7932
7933 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7934
7935 Issue 560.
7936
7937 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java:
7938 Generate WSPLGEN-Layer with its own template and set the layertitle to
7939 an i18n string.
7940
7941 * src/main/java/de/intevation/flys/exports/MapGenerator.java:
7942 Call createUeskLayer with a CallContext.
7943
7944 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
7945 Set queryable to true.
7946
7947 * doc/conf/mapserver/wsplgen_layer.vm:
7948 New. Template for WSPLGEN-Layer.
7949
7950 2012-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7951
7952 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7953 Removed superfluous imports.
7954
7955 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7956
7957 * doc/conf/themes.xml:
7958 Added mapping for manual points in historical discharge chart.
7959
7960 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7961
7962 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7963 Fixed duplicated legend entry for manual points.
7964
7965 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
7966
7967 Issue 494.
7968
7969 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
7970 Create manual points with text annotations in time charts.
7971
7972 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
7973 Add manual points to the chart.
7974
7975 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7976 Added historical discharge to chart types.
7977
7978 * doc/conf/artifacts/winfo.xml,
7979 doc/conf/artifacts/manualpoints.xml:
7980 Added manual points facet to output modes.
7981
7982 2012-04-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7983
7984 * contrib/fixoverview2html.xsl: Render optional check boxes.
7985 Use different font. TODO: Move to client,
7986
7987 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
7988 Ignore hours and seconds.
7989
7990 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de>
7991
7992 Issue 528, 637
7993
7994 * src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java:
7995 Added fields for new columns.
7996
7997 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
7998 Added columns for 'W at gauge' and fixed column header.
7999
8000 * src/main/resources/messages.properties,
8001 src/main/resources/messages_de_DE.properties,
8002 src/main/resources/messages_en.properties,
8003 src/main/resources/messages_de.properties:
8004 Added filenames for new pdf export templates.
8005
8006 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de>
8007
8008 * doc/conf/jasper/reference_gauge_end.jasper,
8009 doc/conf/jasper/reference_gauge.jasper,
8010 doc/conf/jasper/reference_gauge_start_end.jasper:
8011 Small fixes in pdf templates.
8012
8013 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de>
8014
8015 Issue 528, 637.
8016
8017 * doc/conf/jasper/reference_gauge.jasper,
8018 doc/conf/jasper/reference_en_gauge.jasper:
8019 Modified templates.
8020
8021 * doc/conf/jasper/reference_gauge_end.jasper,
8022 doc/conf/jasper/reference_gauge_start_end.jasper,
8023 doc/conf/jasper/reference_en_gauge_end.jasper,
8024 doc/conf/jasper/reference_en_gauge_start_end.jasper:
8025 New. Templates for reference curve pdf export.
8026
8027 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de>
8028
8029 Issue 528, 637.
8030
8031 * doc/conf/jasper/reference.jasper,
8032 doc/conf/jasper/reference_en.jasper:
8033 Fixed column header.
8034
8035 * doc/conf/jasper/reference_gauge.jasper,
8036 doc/conf/jasper/reference_en_gauge.jasper:
8037 New.
8038
8039 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8040
8041 * contrib/check-i18n-properties.py: Checked in unsaved version. :-/
8042
8043 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de>
8044
8045 Issue 656.
8046
8047 * src/main/resources/messages_en.properties:
8048 Added missing i18n strings.
8049
8050 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8051
8052 * contrib/check-i18n-properties.py: New. Script to check inconsistencies
8053 of i18n properties files: Detects duplicates and keys not defined in other
8054 properties files. Usage:
8055
8056 $ find -name messages\*.properties | \
8057 xargs contrib/check-i18n-properties.py
8058
8059 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8060
8061 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8062 Generate error message when more than one Q is found for given
8063 Q in "W auf freier Strecke".
8064
8065 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
8066 Added feature to adopt problems from other reports.
8067
8068 * src/main/resources/messages.properties,
8069 src/main/resources/messages_de_DE.properties,
8070 src/main/resources/messages_en.properties,
8071 src/main/resources/messages_de.properties:
8072 Added i18n for the error message.
8073
8074 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de>
8075
8076 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8077 Use factor to calculate steps in range input mode.
8078
8079 2012-04-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8080
8081 * doc/conf/cache.xml: Increased number of fixings columns a bit.
8082
8083 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
8084 Corrected misspelled cache name. Added bebug output.
8085
8086 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java:
8087 Added debug output.
8088
8089 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8090
8091 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
8092 Small fixes: The service works as expected but there seems
8093 to be a caching issue.
8094
8095 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8096
8097 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
8098 Generate chart and deliver the image as the response of the service.
8099
8100 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
8101 Return null when looking for a fixing data column that does not exist.
8102
8103 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8104
8105 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
8106 Load ws and qs from database. Cache the fixings columns.
8107
8108 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java:
8109 Removed column id and added q values.
8110
8111 * doc/conf/cache.xml: Added cache for the columns of the fixings.
8112
8113 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de>
8114
8115 Fix for 'W free' validation and theme names.
8116
8117 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
8118 Append the current Q values to theme name if the previous theme has
8119 the same name.
8120
8121 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8122 Use the start km to get min/max W values in distance mode and use the
8123 first km to get min/max W values if in location mode.
8124
8125 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de>
8126
8127 Issue 499.
8128
8129 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8130 Added validation for 'W free' using WstValueTable min/max values.
8131
8132 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8133 Added getter for WstValueTable.
8134
8135 2012-04-05 Ingo Weinzierl <ingo@intevation.de>
8136
8137 * doc/conf/themes.xml: Defined a theme for WSPLGEN layers.
8138
8139 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
8140 Made style creation more robust against nullpointers and added an
8141 Expression class.
8142
8143 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a static
8144 method createWSPLGENStyle() and some helpers to create a WSPLGEN style.
8145
8146 * src/main/java/de/intevation/flys/exports/MapGenerator.java,
8147 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Methods
8148 for creating the WSPLGEN layer now take a style document.
8149
8150 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8151
8152 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
8153 Extract parameters from input xml and fetch fixings filters and overview
8154 to find the columns to be viewed.
8155 TODO: Generate chart.
8156
8157 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java: Added
8158 boolean result to indicate if value comes from table or is interpolated.
8159
8160 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
8161 New. Factory to fetch fixings column data from cache or database. Stub by now.
8162
8163 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8164
8165 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
8166 New. Service to generate a chart of fixings for given river and km applied
8167 some filters.
8168
8169 Usage:
8170 $ curl http://localhost:8181/service/fixings-km-chart \
8171 -d @fix-overview.xml > chart.png
8172
8173 The input XML is nearly the same as for the overview service.
8174 Besides the river, filters and range it accepts elements
8175 <km value="..."/> for passing the river km,
8176 <extent width="..." height="..."/> for the extent of the output chart,
8177 <mime type="..."/> for type of result. Currently ignored.
8178
8179 ATM only a static fixed sized PNG image is delivered.
8180
8181 * doc/conf/conf.xml: Added service to list of services.
8182
8183 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8184
8185 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8186 Made bullet proof for null filters and ranges.
8187
8188 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
8189 Fixed bug which leeds to always generating a null range filter.
8190
8191 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8192
8193 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
8194 Squashed performance bug introduced in rev4070, which slowed down
8195 CSV export about 245 times!
8196
8197 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
8198 Added debug output about savings when joining neighbored nodes.
8199
8200 2012-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8201
8202 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
8203 Removed the code for filter building.
8204
8205 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
8206 New. Now contains the code for filter building. This useful because other
8207 services like the "Fixierungs-Rohdaten am KM" service need this filtering, too.
8208
8209 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8210 Refactored the code to obtain a filtered list of fixings columns without
8211 the XML serialization, too. The "Fixierungs-Rohdaten am KM" service
8212 does not need the overview data but the ids of the fixing columns to be
8213 displayed.
8214
8215 2012-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8216
8217 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java,
8218 src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
8219 src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
8220 Derive from XMLService now.
8221
8222 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8223 Removed superfluous import.
8224
8225 2012-03-30 Ingo Weinzierl <ingo@intevation.de>
8226
8227 flys/issue460 (W-Differenzen: Frühere Berechnungen aus den Datenkorb werden doppelt geladen)
8228
8229 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
8230 code to find out all Outputs of this Artifacts. A method getOutputs()
8231 had been implemented some time ago that does exactly this work.
8232
8233 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Heavy
8234 bugfix! Adding the current state id to the list of previous state ids
8235 for temporary usage was no good idea! Now, the list of previous state
8236 ids only modifified in advance(). This solves the problem of having
8237 duplicated Outputs in the Artifact's DESCRIBE document.
8238
8239 2012-03-29 Ingo Weinzierl <ingo@intevation.de>
8240
8241 flys/issue366 (W-INFO / Abflusskurve, Diagramm: Umbenennen von Themen und Anzeige im Diagramm)
8242
8243 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
8244 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8245 Use description from ArtifactAndFacet objects for JFreeChart Series
8246 creation.
8247
8248 2012-03-28 Ingo Weinzierl <ingo@intevation.de>
8249
8250 flys/issue362 (W-Info / Abflusskurve, Diagramm)
8251
8252 * doc/conf/themes.xml: Adjusted text color of w and q main values for
8253 computed discharge curves.
8254
8255 2012-03-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8256
8257 flys/issue639: Bezugsliniendiagramm,Achsen-Intervall-Skalierung vereinheitlichen
8258
8259 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
8260 Render only axis ticks in meters.
8261
8262 2012-03-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8263
8264 * doc/conf/themes.xml: Let hyks have a text orientation in themes.
8265
8266 2012-03-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8267
8268 Fix flys/issue491, if area fill between curve and axis, draw not only
8269 to zero.
8270
8271 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
8272 (doArea): Add an artificial dataset to set lower bounds for area.
8273
8274 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
8275 (addPoints): New convenience method to be used in future.
8276 (createGroundAtInfinity, createCeilingAtInfinity): Create artificial
8277 datasets for better areas.
8278
8279 2012-03-20 Raimund Renkert <raimund.renkert@intevation.de>
8280
8281 Issue 506.
8282
8283 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8284 Create the date from long values instead of the year.
8285
8286 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
8287 Added method to transform a String into an array of long values.
8288
8289 * doc/conf/artifacts/winfo.xml:
8290 changed data type from intrange to longrange.
8291
8292 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
8293
8294 flys/issue544 (Historische ATs: Eingabeunterstützung W/Q)
8295
8296 * src/main/java/de/intevation/flys/artifacts/services/GaugeInfoService.java:
8297 New service that returns information for gauges based on a specified
8298 river.
8299
8300 * doc/conf/conf.xml: Registered the GaugeInfoService.
8301
8302 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
8303
8304 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
8305 Skip DischargeTables that have no time interval set or that are marked
8306 as master DischargeTable.
8307
8308 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Skip
8309 DischargeTables that have no time interval set.
8310
8311 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
8312
8313 flys/issue146 (In WINFO Diagramm Abflusskurve raus, wenn nicht gewünscht)
8314
8315 * doc/conf/artifacts/winfo.xml: Do not create outputs for discharge curves
8316 at gauge any longer.
8317
8318 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
8319
8320 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe)
8321
8322 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Added
8323 the numeric value of a selected named main value to the WST column name.
8324
8325 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
8326
8327 * doc/conf/mapserver/db_layer.vm: Set the FILTER expression into double
8328 quotes (") instead of single quotes (') which allows single quotes in
8329 expressions.
8330
8331 * doc/conf/meta-data.xml: Moved the floodmaps from kilometrage to its
8332 parent folder.
8333
8334 * src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java:
8335 Fixed broken filter expression and set geometry type (MapServer does not
8336 know a 'MULTIPOLYGON').
8337
8338 2012-03-16 Raimund Renkert <raimund.renkert@intevation.de>
8339
8340 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8341 Remove unnecessary outputs from attributes instead of copying outs to
8342 new attribute element.
8343
8344 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
8345
8346 * Tagged module as 'pre2.7-2012-03-16'.
8347
8348 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
8349
8350 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
8351 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
8352 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
8353 Removed useless imports.
8354
8355 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
8356
8357 flys/issue523 (W-INFO / Bezugslinienverfahren / Linieneinstellungen / Min+Max anzeigen)
8358
8359 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
8360 Improved the look of the minimum and maximum shape of a series. They are
8361 now rectangles with a darker fill color as the line color is.
8362
8363 2012-03-15 Ingo Weinzierl <ingo@intevation.de>
8364
8365 flys/issue522 (W-INFO / Bezugslinienverfahren / Schriftgröße der Achsenbeschriftung)
8366
8367 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
8368 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
8369 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Label and
8370 tick label fonts for axes will now always be the same.
8371
8372 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
8373 Removed the createYAxis() method which is already implemented in an
8374 upper class. There, the method also takes the ChartSettings into account.
8375
8376 2012-03-15 Raimund Renkert <raimund.renkert@intevation.de>
8377
8378 Issue 547.
8379
8380 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
8381 Use date format with MEDIUM style.
8382
8383 * src/main/java/de/intevation/flys/utils/Formatter.java:
8384 Added date format with MEDIUM style.
8385
8386 2012-03-15 Ingo Weinzierl <ingo@intevation.de>
8387
8388 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a new
8389 method that returns the Bounds for a given XYDataset. Based on the
8390 concrete type of the XYDataset, the call is dispatched to a more specific
8391 method.
8392
8393 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
8394 Removed the whole "range" stuff and some methods that are implemented in
8395 upper classes.
8396
8397 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Removed the
8398 setXRange() and setYRange() methods. In our own code, we will use Bounds
8399 instead of JFreeChart's Range instances to save range/bounds information.
8400 This is necessary to save information which is not not from type double
8401 (which is the case in Timeseries charts).
8402
8403 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Replaced
8404 usage of Range with Bounds in the whole class.
8405
8406 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
8407 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8408 Adapted the method signature of zoom() and zoomX().
8409
8410 2012-03-14 Ingo Weinzierl <ingo@intevation.de>
8411
8412 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
8413 Copied the adjustAxes() method from XYChartGenerator which enables axes
8414 label font sizes.
8415
8416 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
8417 Removed unnecessary axes creation method which is implemented in upper
8418 classes.
8419
8420 2012-03-14 Raimund Renkert <raimund.renkert@intevation.de>
8421
8422 Issue 640.
8423
8424 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8425 Remove all unnecessary output settings from attributes.
8426
8427 2012-03-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8428
8429 Partial for flys/issue358, rough stub for legenditem aggregation.
8430
8431 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8432 Added rough stub for legend aggregation.
8433
8434 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
8435
8436 * doc/conf/themes.xml: Fixed broken XML syntax.
8437
8438 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
8439
8440 * doc/conf/meta-data.xml: Modified the datacage structure of 'floodmaps'.
8441
8442 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
8443
8444 * src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java: New.
8445 This Artifacts allows loading 'floodmaps'.
8446
8447 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
8448 new Facet type "floodmap.floodmaps" which are created by
8449 WMSFloodmapsArtifact.
8450
8451 * doc/conf/artifacts/winfo.xml: Registered the "floodmap.floodmaps" facet
8452 for "floodmap" output.
8453
8454 * doc/conf/conf.xml: Registered the new WMSFloodmapsArtifact.
8455
8456 * doc/conf/themes.xml: Added a theme for the "floodmap.floodmaps" facet.
8457
8458 * src/main/resources/messages.properties,
8459 src/main/resources/messages_de_DE.properties,
8460 src/main/resources/messages_en.properties,
8461 src/main/resources/messages_de.properties: Added i18n string for
8462 "floodmap.floodmaps" title.
8463
8464 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
8465
8466 * doc/conf/meta-data.xml: Improved datacage configuration to serve
8467 floodmaps.
8468
8469 2012-03-05 Ingo Weinzierl <ingo@intevation.de>
8470
8471 flys/issue566 (ÜSK: Formalien in der Parametrisierung)
8472
8473 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java:
8474 Override getLabelFor() method to return better I18N strings for selected
8475 floodplain option.
8476
8477 * src/main/resources/messages.properties,
8478 src/main/resources/messages_de_DE.properties,
8479 src/main/resources/messages_en.properties,
8480 src/main/resources/messages_de.properties: Added options
8481 for floodplain (active/inactive) and adapted a german I18N string.
8482
8483 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8484
8485 Fix flys/issue 528 for csv.
8486
8487 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
8488 Fixed column order, reworked todos.
8489
8490 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8491
8492 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
8493 Fixed column order.
8494
8495 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8496
8497 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
8498 Stub to export the "W (cm)" column conditionally on Gauge presence.
8499
8500 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8501
8502 * src/main/java/de/intevation/flys/exports/StepCSVWriter.java:
8503 New utility to handle csv rows of more "dynamical" length.
8504
8505 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8506
8507 * src/main/java/de/intevation/flys/exports/StepCSVWriter.java:
8508 New utility to handle csv rows of more "dynamical" length.
8509
8510 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8511
8512 Fix flys/issue501 (manual points have two legend entries).
8513
8514 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8515 Respect wish to not have a legend entry.
8516
8517 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8518
8519 Fix flys/issue636 (cross-section: name of waterlevel facets).
8520
8521 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
8522 Corrected name for waterlevel facets.
8523
8524 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8525
8526 Partial fix flys/issue615 (datacage: events for fixations).
8527
8528 * doc/conf/meta-data.xml: Adjusted to make loading single events
8529 possible.
8530
8531 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8532
8533 Partial Dontcrash on flys/issue647 (NaNs from WstValueTable interpolation).
8534
8535 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
8536 Do not add data pairs where a NaN is present.
8537
8538 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8539
8540 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
8541 Cosmetics, doc.
8542
8543 2012-02-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8544
8545 Added functions to be used for fitting in
8546 the "Fixierungsanalyse" and "Extremwertermittlung".
8547
8548 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java: New.
8549 Abstract base class for functions to fit. Provides the name of the function,
8550 a short description, the names of the parameters and an initial parameter guess
8551 for the fit processe. Sub classes have to overwite the function evaluation and
8552 the partial derivative of the function in respect to the parameters.
8553
8554 TODO: Add a meachnism for the inverse function (needed for AT export) and
8555 the first derivative (needed for the respective diagram).
8556
8557 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
8558 New. Factory to fetch a function by its name.
8559
8560 * src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java: New.
8561 exp: W(Q) = m * a^Q + b
8562
8563 * src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java: New.
8564 quad: W(Q) = n*Q^2 + m*Q + b
8565
8566 * src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java: New.
8567 linear: W(Q) = m*Q + b
8568
8569 * src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java: New.
8570 log-linear: W(Q) = a*ln(m*Q + b)
8571
8572 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java: New
8573 log: W(Q) = m*ln(Q + b)
8574
8575 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java: New.
8576 pow: W(Q) = a*Q^c + d
8577
8578 !!! This power function is new in the pool of functions to be fit. !!!
8579 See my mail "Manuelle Punkte in der Fixierungsanalyse" 2011-10-27 for details.
8580 The function exp-new found in the old FLYS function pool is omitted
8581 because it is worthless and was maybe never used.
8582
8583 * src/main/java/de/intevation/flys/artifacts/math/fitting/App.java: New.
8584 Small test driver to check if the fitting is working. The points to
8585 fit are read from stdin the function to fit is determined by the
8586 system property 'function'. Example usage:
8587
8588 $ mvn -e \
8589 -Dfunction=linear \
8590 -Dexec.mainClass=de.intevation.flys.artifacts.math.fitting.App exec:java <<EOF
8591 357.390696917 7546.72096163
8592 61.4291036312 1334.54835721
8593 799.962128234 16836.7698076
8594 126.52761023 2703.69789985
8595 900.448553398 18955.0578748
8596 EOF
8597
8598 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8599
8600 * src/main/resources/messages_de.properties:
8601 Added ommitted translations.
8602
8603 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8604
8605 fix flys/issue638.
8606
8607 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
8608 (doArea): Ract to WKms as upper/lower area data again.
8609
8610 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8611
8612 Partial fix flys/issue637.
8613
8614 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java,
8615 src/main/resources/messages.properties,
8616 src/main/resources/messages_de_DE.properties,
8617 src/main/resources/messages_en.properties,
8618 src/main/resources/messages_de.properties:
8619 Modified translations.
8620
8621 2012-02-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8622
8623 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8624 - Calculate the extent of the river by the extents of the fixings.
8625 Reason: The river Elbe has only has fixings up to km 351. The other half
8626 of the river is empty which results in a sparse looking overview.
8627 - Add the name of the river as name attribute to resulting <river> element.
8628
8629 * contrib/fixoverview2html.xsl: New. Demo XSL transformation to turn
8630 the output of the overview service directly into HTML. Used in the
8631 client a variant of this script could be used for producing the content
8632 of the assistance widget. Usage:
8633
8634 $ curl http://localhost:8181/service/fixings-overview \
8635 -d @fix-overview.xml | \
8636 xsltproc contrib/fixoverview2html.xsl - \
8637 > fixings-overview.html
8638
8639 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8640
8641 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
8642 Made the filter mechanisms available via the incoming XML document.
8643
8644 1 - range: Simply add a <range from="..." to="..."/> element next to the
8645 <river> element. Optional. Defaults to full extent.
8646
8647 2 - filters: Add a <filter> element next to the <river> element.
8648 Optional. Defaults to accepting all.
8649 The <filter> element can contain the following elements:
8650
8651 <column cid="..."/>: Creates an IdFilter.
8652 <date when="..."/>: Creates a DateFilter.
8653 <date-range from="..." to="..."/>: Creates a DateRangeFilter.
8654 <sector-range from="..." to="..."/>: Create a SectorRangeFilter.
8655 <not>...</not>: Creates a NotFilter. The nested element is negated.
8656 <and>...</and>: Create an AndFilter: The nested elements are 'and'ed.
8657 <or>...</or>: Create an OrFilter: The nested elements are 'or'ed.
8658
8659 These filters need testing!
8660
8661 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8662 Made date format a public constant.
8663
8664 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8665
8666 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8667 Added a filter mechanism for generating output.
8668
8669 There are two kinds of filters:
8670
8671 1 - A range. Defaults to [-Double.MAX_VALUE, Double.MAX_VALUE]
8672 The resulting sectors are cut to this range. Sectors outside
8673 this range are omitted.
8674
8675 2 - column filters: Given a fixing column they can decide to keep
8676 or not to keep it. Following filters exist:
8677
8678 - IdFilter: Keep column if column id matches.
8679 - DateFilter: Keep column if column date matches.
8680 - DateRangeFilter: Keep column if column date is in range.
8681 - SectorRangeFilter: Keep colum if one of its q sectors is in given range.
8682 - NotFilter: Negates another nested filter.
8683 - AndFilter: Keep column if all nested filters accept column.
8684 - OrFilter: Keep column if at least one of the nested filters accepts it.
8685
8686 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8687
8688 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8689 Refactored to build the Q sectors once at construction time and not
8690 every time output is generated.
8691 This will ease the job of applying filters to the Overview.
8692
8693 2012-02-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8694
8695 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
8696
8697 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
8698 New. A service that serves an XML overview version of the fixings of a given river.
8699
8700 The input documents look like this:
8701
8702 <?xml version="1.0" encoding="UTF-8"?>
8703 <fixings>
8704 <river name="Saar"/>
8705 </fixings>
8706
8707 The output documents looks like this:
8708
8709 <?xml version="1.0" encoding="UTF-8"?>
8710 <fixings>
8711 <river from="0.0" rid="1" to="93.0"/>
8712 <events>
8713 ...
8714 <event cid="85" date="29.01.1995 00:00" name="Fixierungen/0-93_1988-2001.wst">
8715 <sector class="0" from="82.7" to="92.85"/>
8716 </event>
8717 <event cid="86" date="13.11.1996 00:00" name="Fixierungen/0-93_1988-2001.wst">
8718 <sector class="2" from="0.0" to="50.599999"/>
8719 <sector class="1" from="50.6" to="65.89"/>
8720 </event>
8721 ...
8722 </events>
8723 </fixings>
8724
8725 The <river> element contains the extent of the whole river
8726 and its db id.
8727 The <events> sections contains serveral <event> elements.
8728 They have a meassure date, db id, a name and a number of <sector>s.
8729 These sectors are q classified from/to ranges. Classes are:
8730
8731 0: smaller (MNQ+MQ)/2
8732 1: (MNQ+MQ)/2 to (MQ+MHQ)/2
8733 2: (MQ+MHQ)/2 to HQ5
8734 3: greater HQ5
8735
8736 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
8737 New. Cacheable instance of the overview.
8738 TODO: Apply a filter mechanism when generating the output.
8739
8740 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java:
8741 New. Fetched the fixing overviews from cache if configured.
8742
8743 * doc/conf/conf.xml: Added the service.
8744 * doc/conf/cache.xml: Configured the cache for the fixing overviews.
8745
8746 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8747
8748 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ):
8749 Argh! Forget to check in the range method.
8750
8751 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8752
8753 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ):
8754 Symmetrical to getMinMaxW() add two methods to find min/max Q for a given
8755 km or a range. The range method is maybe a bit slow.
8756
8757 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8758
8759 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxW):
8760 Added signature to give w extend for a given km range.
8761
8762 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8763
8764 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxW):
8765 Added method to find the w extent for a given km. Useful
8766 for validating "W auf freier Strecke".
8767
8768 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
8769 Removed superfluous import.
8770
8771 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de>
8772
8773 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
8774 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
8775 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
8776 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
8777 doc/conf/artifacts/winfo.xml:
8778 Renamed state data fields: wq_mode -> wq_isq
8779 wq_free -> wq_isfree
8780 wq_selection -> wq_isrange
8781
8782 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de>
8783
8784 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
8785 Write the description instead of the Q value to CSV file.
8786
8787 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
8788 Added parameter to overriden method.
8789
8790 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
8791 Get Qs without range.
8792
8793 * src/main/resources/messages.properties,
8794 src/main/resources/messages_de_DE.properties,
8795 src/main/resources/messages_en.properties,
8796 src/main/resources/messages_de.properties:
8797 Adjusted i18n string for CSV metadata.
8798
8799 2012-02-17 Ingo Weinzierl <ingo@intevation.de>
8800
8801 Part II/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
8802
8803 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
8804 Apply legend specific settings (show/hide).
8805
8806 2012-02-17 Ingo Weinzierl <ingo@intevation.de>
8807
8808 Part I/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
8809
8810 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
8811 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
8812 adjustPlot() from XYChartGenerator to ChartGenerator which enables the
8813 TimeseriesChartGenerator to call this method as well.
8814
8815 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
8816 Call adjustPlot() in generateChart() to apply the settings specific to
8817 gridlines in the timeseries plot.
8818
8819 2012-02-16 Raimund Renkert <raimund.renkert@intevation.de>
8820
8821 Refactored the wq data fields.
8822
8823 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
8824 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
8825 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8826 Changed the wq data fields to boolean values.
8827
8828 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
8829 Changed the wq data fields to boolean values and added method that
8830 returns the km input mode.
8831
8832 2012-02-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8833
8834 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
8835 Fixed W->Q conversion for "W fuer ungleichwertige Abflusslaengsschnitte."
8836
8837 2012-02-16 Ingo Weinzierl <ingo@intevation.de>
8838
8839 flys/issue509 (Dauerlinie: Q-Achse sollte bei 0 beginnen)
8840
8841 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8842 Set the lower bounds of the Q axis to 0 to avoid displaying negative
8843 discharge values.
8844
8845 2012-02-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8846
8847 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
8848 src/main/java/de/intevation/flys/artifacts/model/WKms.java:
8849 (guessWaterIncreasing): Removed from interface.
8850
8851 2012-02-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8852
8853 Fix flys/issue150 (exposure of gravitational anomalies)
8854
8855 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
8856 src/main/java/de/intevation/flys/artifacts/model/WKms.java:
8857 (guessWaterIncreasing): In analogy to W->WQ->WQKms defined and
8858 implemented.
8859
8860 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8861 (needInvertAxis): Changed Parameter type to WKms (was WQKms).
8862 (doW): Use in this case weaker wkms cast to find out whether axis
8863 has to be inverted.
8864
8865 2012-02-15 Ingo Weinzierl <ingo@intevation.de>
8866
8867 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java: Fixed
8868 SQL statement to fetch hyk formations for rivers with 'km_up' = 0.
8869
8870 2012-02-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8871
8872 Another partial fix for flys/issue499: Do the W to Q conversions
8873 needed for "W am Pegel" correctly.
8874
8875 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
8876 Repaired getQsForW(): The mapping from W to Q is not unique! There
8877 could be more then one Q having the the same W.
8878 Ws are not strictly monoton/sorted so doing a binary search on this
8879 is just a fail. We now scan them linearly.
8880
8881 XXX: The whole class is mess. The scaling stuff is a stupid
8882 and there is no caching.
8883
8884 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8885 Fetch the master discharge table for converting Ws to Qs. Handle
8886 the case that there are more Qs for a given W.
8887
8888 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java,
8889 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
8890 Adjusted to new semantic.
8891
8892 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8893
8894 Partial Fix flys/issue500: text-orientation for texts.
8895
8896 * doc/conf/themes.xml: Change default text orientation for text
8897 annotations.
8898
8899 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8900 Minor cosmetics.
8901
8902 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
8903 Parse and apply text rotation field.
8904
8905 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8906
8907 Partial fix for flys/issue499 (Wasserspiegellagen: Berechnung für W frei und Pegel kaputt)
8908 There are still validation issue in the client.
8909
8910 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
8911 Fixed state evaluation for "W auf freier Strecke"/"W am Pegel".
8912 There is still an issue in the client with the input validation
8913 which prevents entering the right W values for
8914 "W auf freier Strecke". :-/
8915
8916 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8917
8918 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8919 Make it compilable again.
8920
8921 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8922
8923 Partial Fix flys/issue500: text-backgrounds for manual points.
8924
8925 * doc/conf/themes.xml: Added text-related style items to manual
8926 point themes.
8927
8928 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8929
8930 Partial Fix flys/issue500
8931
8932 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
8933 Parse whether to show text background. Apply to textannotation.
8934
8935 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8936
8937 Fix flys/issue490
8938
8939 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8940 Pass artifact and facet for doAnnotation.
8941
8942 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8943
8944 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
8945 Use AddScaleFunction instead of LinearFunction.
8946
8947 * src/main/java/de/intevation/flys/artifacts/math/AddScaleFunction.java:
8948 New. f(x) = m*(x+b). I know its aequivalent to m*x + m*b but it
8949 makes more clear that the datum [m] (PNP) is substracted before the
8950 scaling to cm is done.
8951
8952 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8953
8954 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Bugfix: take
8955 care on empty ArtifactAndFacet objects in doAnnotations().
8956
8957 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8958
8959 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java:
8960 Inherits from ReferenceCurveGenerator now which really simplifies it a lot.
8961
8962 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
8963 Added to methods to be overwritten by sub classes.
8964
8965 * src/main/resources/messages.properties,
8966 src/main/resources/messages_de_DE.properties,
8967 src/main/resources/messages_en.properties,
8968 src/main/resources/messages_de.properties: Adjusted i8n.
8969
8970 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8971
8972 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
8973 Indexed access to getInCm.
8974
8975 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
8976 Simplified. Do not provide any data to blackboard. Only side effect the
8977 call context.
8978
8979 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
8980 Added convinience method to i18n string with defaulting to key name.
8981
8982 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
8983 Label the axis according the scale types of the data.
8984 TODO: Let the NormalizedReferenceCurveGenerator be a sub class of
8985 this.
8986
8987 * src/main/resources/messages.properties,
8988 src/main/resources/messages_de_DE.properties,
8989 src/main/resources/messages_en.properties,
8990 src/main/resources/messages_de.properties: i18n for the reference curve axes.
8991
8992 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
8993
8994 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
8995 Fixed wrong double array dimension for PDF exports and write correct
8996 differences into PDF.
8997
8998 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8999
9000 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
9001 src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
9002 Adjust function to deliver data provider ('blackboard') keys.
9003
9004 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
9005 Change the way we exploit the blackboard-mechanism. TODOs added.
9006
9007 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9008
9009 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9010 Argh! Finally found the stupid bug in the W~W relation:
9011 Used iQ1 index on W2(Q2).
9012
9013 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9014
9015 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9016 Improved error messsages even more.
9017
9018 * src/main/resources/messages.properties,
9019 src/main/resources/messages_de_DE.properties,
9020 src/main/resources/messages_en.properties,
9021 src/main/resources/messages_de.properties: Adjusted messages.
9022
9023 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9024
9025 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
9026 Forget to put new created WWAxisType onto blackboard.
9027
9028 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9029
9030 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
9031 Adjust offset of linear function by same factor as the values.
9032
9033 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
9034
9035 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Write
9036 correct min and max values for date axes into the info document.
9037
9038 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9039 Enabled zooming for timeseries charts.
9040
9041 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
9042
9043 * src/main/java/de/intevation/flys/jfree/Bounds.java,
9044 src/main/java/de/intevation/flys/jfree/TimeBounds.java,
9045 src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Added a method
9046 applyBounds(ValueAxis, int) that might be used to adapt the range of the
9047 axis to the bounds adding a space to the left and right.
9048
9049 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
9050
9051 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Defined
9052 new abstract methods for setting and getting Bounds. Modified and
9053 renamed getValueAxisRange(). This method is now called
9054 getValueAxisRangeFromRequest() and returns no longer a Range object but
9055 a String array that consists of the raw string values speicified in the
9056 request document.
9057
9058 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9059 Implemented the missing method getDomainAxisRange(). This method returns
9060 a Range object based on the String array returned from
9061 getValueAxisRangeFromRequest().
9062
9063 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
9064
9065 * src/main/java/de/intevation/flys/jfree/TimeBounds.java: Added new
9066 methods getLowerAsDate() and getUpperAsDate(). The toString() method
9067 will now return a string that contains a human readable date string.
9068
9069 * src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Made 'lower'
9070 always be smaller than 'upper' in the default constructor.
9071
9072 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9073
9074 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9075 Give more precise message when an error occurs in W~W relation.
9076
9077 * src/main/resources/messages.properties,
9078 src/main/resources/messages_de_DE.properties,
9079 src/main/resources/messages_en.properties,
9080 src/main/resources/messages_de.properties:
9081 Improved error messages.
9082
9083 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
9084
9085 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Modified
9086 and renamend getDomainAxisRange(). This method is now called
9087 getDomainAxisRangeFromRequest() and returns no longer a Range object but
9088 a String array that consists of the raw string values specified in the
9089 request document.
9090
9091 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9092 Implemented the missing method getDomainAxisRange(). This method returns
9093 a Range object based on the String array returned from
9094 getDomainAxisRangeFromRequest().
9095
9096 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
9097
9098 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a
9099 helper function to determine the min and max bounds (x and y) for
9100 TimeSeriesCollections.
9101
9102 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
9103
9104 * src/main/java/de/intevation/flys/jfree/TimeBounds.java,
9105 src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Removed
9106 useless imports.
9107
9108 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9109
9110 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
9111 Add accessors to relative heights.
9112
9113 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9114 Add relative heights (to gauge) to csv export.
9115
9116 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
9117
9118 * pom.xml: Added dependency to GeoTools swing module.
9119
9120 * src/main/java/de/intevation/flys/artifacts/map/PrintMap.java: Standalone
9121 demo application to print WMS layers to file.
9122
9123 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
9124
9125 * src/main/java/de/intevation/flys/jfree/TimeBounds.java,
9126 src/main/java/de/intevation/flys/jfree/DoubleBounds.java,
9127 src/main/java/de/intevation/flys/jfree/Bounds.java: New model classes that
9128 should be used for adapting axes ranges later.
9129
9130 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9131
9132 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
9133 Generate a valid intial i18n name.
9134
9135 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
9136 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9137 Pass call context to calculation.
9138
9139 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
9140
9141 flys/issue485 (Themen können umgenannt werden, dies wird nicht in der Legende reflektiert)
9142
9143 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9144 Use ArtifactAndFacet.setFacetDescription() to set the description for
9145 themes which are stored in the Collection's XML attribute.
9146
9147 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9148 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
9149 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9150 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9151 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9152 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
9153 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
9154 src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
9155 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
9156 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9157 Some refactoring of doXXXOut() methods. We pass the ArtifactAndFacet
9158 objects of doOut() into those concrete doOut() methods which allows us to
9159 generate series names for chart curves.
9160
9161 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9162
9163 * doc/conf/meta-data.xml: Replaced dashes by underscores in entities
9164 to ease translation.
9165
9166 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9167
9168 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
9169 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9170 Fixed problem with including Y-Zeros.
9171
9172 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
9173 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9174 Removed superfluous imports.
9175
9176 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9177
9178 Allow points in "new chart"s.
9179
9180 * doc/conf/artifacts/chart.xml: Added manualpoint facets to
9181 compatibility lists.
9182
9183 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
9184
9185 * src/main/java/de/intevation/flys/jfree/Style.java: New. A Style object
9186 needs to implements a method applyTheme() which takes a
9187 XYLineAndShapeRenderer.
9188
9189 * src/main/java/de/intevation/flys/jfree/XYStyle.java: New. This subclass of
9190 Style modifies the XYLineAndShapeRenderer specified in applyTheme().
9191
9192 * src/main/java/de/intevation/flys/jfree/StyledSeries.java: New. This
9193 interface defines two methods getStyle() and setStyle() to adjust and
9194 retrieve the Style of a series.
9195
9196 * src/main/java/de/intevation/flys/jfree/StyledTimeSeries.java: New.
9197 Implementation of StyledSeries that subclasses JFreeChart's TimeSeries.
9198
9199 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: Removed the
9200 code for adapting a XYLineAndShapeRenderer. Instead of implementing this
9201 stuff in StyledXYSeries itself, this instance now implements StyledSeries
9202 and stores an instance of XYStyle.
9203
9204 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
9205 Create new instances of StyledTimeSeries now which enables styling in this
9206 chart.
9207
9208 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Enabled
9209 styling of series for all series that implement StyledSeries.
9210
9211 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9212
9213 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
9214 Be more conservative about arrays and indices in "Bezugslinienverfahren".
9215
9216 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9217
9218 Allow areas in new chart/longitudinal_section.
9219
9220 * doc/conf/artifacts/chart.xml: Added area facet to compatibility
9221 list.
9222
9223 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9224
9225 Fix flys/issue490. Allow CollisionFree..Annotations to collide with
9226 non-collision-free annotations.
9227
9228 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotationEntity.java:
9229 New, to take advantage of cheap instanceof operator.
9230
9231 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
9232 Only avoid collisions with members of same family (i.e. allow
9233 collision with annotations of other types).
9234
9235 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
9236
9237 * doc/conf/themes.xml: Added themes for historical discharge curves and
9238 the differences to a reference curve.
9239
9240 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
9241
9242 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Some
9243 bugfixes and improvements:
9244 1) take only historical discharge tables into account for calculation
9245 2) use the correct values for computing differences
9246 3) moved timerange preparation into an own method
9247
9248 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9249
9250 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
9251 Fix call to StringUtils.join .
9252
9253 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9254
9255 * src/main/resources/messages.properties,
9256 src/main/resources/messages_de_DE.properties,
9257 src/main/resources/messages_en.properties,
9258 src/main/resources/messages_de.properties:
9259 Added i18n string for waterlevels (from datacage).
9260
9261 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9262
9263 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
9264 Locale-format multiple double values also.
9265
9266 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
9267
9268 * doc/conf/artifacts/winfo.xml: Registered a new facet for difference curves
9269 to the historical discharge output.
9270
9271 * src/main/java/de/intevation/flys/artifacts/model/HistoricalWQTimerange.java:
9272 New model that is able to store a further double value "diff" besides a W,
9273 Q and a Timerange.
9274
9275 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Create
9276 new HistoricalWQTimerange instances with difference between the reference
9277 discharge table and the historical discharge tables.
9278
9279 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New type
9280 for historical differences.
9281
9282 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java: Cast
9283 Timerange array in getTimeranges().
9284
9285 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeDifferenceFacet.java:
9286 New Facet for historical discharge difference curves.
9287
9288 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
9289 Create new Facets for the difference curves if the processed data are from
9290 type HistoricalWQTimerange.
9291
9292 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
9293 Added doOut() path for difference curves.
9294
9295 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
9296 Increased the size of a double array to be able to get results from
9297 HistoricalWQTimerange.
9298
9299 * src/main/resources/messages.properties,
9300 src/main/resources/messages_de_DE.properties,
9301 src/main/resources/messages_en.properties,
9302 src/main/resources/messages_de.properties: Added translation for warning
9303 if no reference discharge table was found for the specified gauge.
9304
9305 2012-02-09 Raimund Renkert <raimund.renkert@intevation.de>
9306
9307 Added PDF export to reference curve calculation.
9308
9309 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9310 Added PDF export.
9311
9312 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
9313 doc/conf/artifacts/winfo.xml:
9314 Add facet for PDF export to state.
9315
9316 * src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java:
9317 New. Datasource for JasperReports containing reference curve data.
9318
9319 * src/main/resources/messages.properties,
9320 src/main/resources/messages_de_DE.properties,
9321 src/main/resources/messages_en.properties,
9322 src/main/resources/messages_de.properties:
9323 Added i18n strings for JasperReports template file and calculation mode.
9324
9325 * doc/conf/jasper/reference.jasper,
9326 doc/conf/jasper/reference_en.jasper:
9327 New. Templates for reference curve PDF export.
9328
9329 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9330
9331 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java(getReferenceEndKms):
9332 Prevent duplicates in end kms for reference curve calculation.
9333
9334 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9335
9336 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
9337 doc/conf/artifacts/winfo.xml: Renamed data item names to allow
9338 translations.
9339
9340 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9341
9342 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9343 Give (Normalized)ReferenceCurveFacets are more appropriate
9344 description (to be seen in client).
9345
9346 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9347
9348 Prepare Reference curves to eat multiple locations as 'Ziel'.
9349
9350 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
9351 Cosmetics.
9352
9353 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
9354 New. State to provoke multi_location_panel.
9355
9356 * doc/conf/artifacts/winfo.xml: Made end state of ref curves a (new)
9357 EnterMultipleLocationState.
9358
9359 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
9360
9361 flys/issue483 (Historische Abflusstafeln ohne Ergebnis)
9362
9363 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Add
9364 a problem for the calculation report if no discharge tables were found
9365 for the given timerange.
9366
9367 * src/main/resources/messages.properties,
9368 src/main/resources/messages_de_DE.properties,
9369 src/main/resources/messages_en.properties,
9370 src/main/resources/messages_de.properties: Added translation for error
9371 messages created by Calculation6.
9372
9373 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9374
9375 * src/main/java/de/intevation/flys/utils/Formatter.java:
9376 Format kms in error reports at least with one digit after
9377 the decimal separator.
9378
9379 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9380
9381 Fix flys/issue468 (Fehler beim Projekt-Duplizieren)
9382
9383 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
9384 Always create a new XML document when calling report generation.
9385 XXX: There is a bug somewhere which calls error reporting twice
9386 when cloning a collection. Speculation: It has something to do with
9387 the settings stuff.
9388
9389 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
9390 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9391 Remove superfluous imports.
9392
9393 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java:
9394 Added missing Override annotation.
9395
9396 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9397
9398 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
9399 Handle Manual Point Facets, added TODO.
9400
9401 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9402
9403 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
9404 Subclass BlackboardDataFacet to repair areas over cross sections.
9405
9406 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
9407
9408 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Let text
9409 and line annotations placed at x or y axes always be in foreground.
9410
9411 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9412
9413 Fix flys/issue474 (manual points in reference curves).
9414
9415 * doc/conf/artifacts/winfo.xml,
9416 doc/conf/artifacts/manualpoints.xml:
9417 Add manualpoints to lists just so that really everybody knows.
9418
9419 * doc/conf/themes.xml: Add styles for manual points in ref curves.
9420
9421 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9422 Add ref curve chart types.
9423
9424 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
9425 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9426 Handle manual point facets.
9427
9428 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9429
9430 Partial Fix flys/issue474.
9431
9432 * src/main/resources/messages.properties,
9433 src/main/resources/messages_de_DE.properties,
9434 src/main/resources/messages_en.properties,
9435 src/main/resources/messages_de.properties: Added translation for
9436 normalized_reference_curve.
9437
9438 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9439
9440 Fix flys/issue475.
9441
9442 * doc/conf/themes.xml: Register theme for reference_curve_normalized.
9443
9444 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
9445
9446 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Add a "/" to the
9447 URL of the user wms if the URL configured in conf.xml doesn't end with
9448 a "/".
9449
9450 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9451
9452 Fix flys/issue472.
9453
9454 * doc/conf/themes.xml: Added theme for discharge_curve manualpoints.
9455
9456 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9457 Added discharge_curve as chart type.
9458
9459 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9460
9461 Fix flys/issue484 ((i18n: Ungleichwertige... Report))
9462
9463 * src/main/resources/messages.properties,
9464 src/main/resources/messages_de_DE.properties,
9465 src/main/resources/messages_en.properties,
9466 src/main/resources/messages_de.properties: Fixed key spelling.
9467
9468 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9469
9470 Fix flys/issue478 (Manuelle Punkte: Stil nicht änderbar).
9471
9472 * doc/conf/themes: Map correct theme to manualpoint themes.
9473
9474 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9475
9476 Partial fix flys/issue472 .
9477
9478 * doc/conf/artifacts/winfo.xml: Add manual points to compatibility
9479 list of cross_sections.
9480
9481 * doc/conf/artifacts/manualpoints.xml: Add manualpoints to list of
9482 generated facets.
9483
9484 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9485
9486 * doc/conf/themes.xml: Commented styling option for show area until
9487 area calculation works.
9488
9489 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9490
9491 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
9492 i18n the km of the error report.
9493
9494 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
9495 Fixed potential race conditions.
9496
9497 * src/main/java/de/intevation/flys/utils/Formatter.java: Added
9498 formatter for error report kms.
9499
9500 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
9501 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
9502 Removed superfluous imports.
9503
9504 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9505 Commented out some imports. They are used be out commented code.
9506
9507 2012-02-07 Ingo Weinzierl <ingo@intevation.de>
9508
9509 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
9510 Use the correct km key for an unspecific km for fetching the whole river
9511 annotations.
9512
9513 2012-02-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9514
9515 * doc/conf/conf.xml: Added missing config of chart info generator
9516 of normalized reference curve.
9517
9518 2012-02-07 Ingo Weinzierl <ingo@intevation.de>
9519
9520 * doc/conf/conf.xml: Fixed wrong chart info generator name for historical
9521 discharge curves.
9522
9523 2012-02-07 Raimund Renkert <raimund.renkert@intevation.de>
9524
9525 Added PDF export for historical discharge curve calculations.
9526
9527 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
9528 Implemented PDF export for calculation results.
9529
9530 * src/main/java/de/intevation/flys/artifacts/model/WQTJRDataSource.java:
9531 New. Datasource for JasperReports.
9532
9533 * doc/conf/artifacts/winfo.xml:
9534 Added facet for PDF export to historical discharge curve output mode.
9535
9536 * src/main/resources/messages.properties,
9537 src/main/resources/messages_de_DE.properties,
9538 src/main/resources/messages_en.properties,
9539 src/main/resources/messages_de.properties:
9540 Added i18n strings for historical discharge curve export.
9541
9542 * doc/conf/jasper/historical-discharge.jasper,
9543 doc/conf/jasper/historical-discharge_en.jasper:
9544 New. Templates for JasperReports PDF creation.
9545
9546 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9547
9548 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9549 Handle WWQQs, extended CSV export of reference curves.
9550
9551 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9552
9553 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
9554 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
9555 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
9556 Recactored, moved Formatter accessors to base class AbstractExporter.
9557
9558 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9559
9560 Let reference curve calculation result in specific WWQQ, extended CSV
9561
9562 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java
9563 (getWW,getWWQQ): Renamed and changed result type.
9564
9565 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java,
9566 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9567 Result in WWQQs, not in WWs.
9568
9569 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9570
9571 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9572 Log error as warning.
9573
9574 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9575
9576 * src/main/java/de/intevation/flys/artifacts/math/LinearFunction.java:
9577 New. Linear function f(x) = m*x + b.
9578
9579 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
9580 Do the normalizing. Cascading functions is not required.
9581
9582 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9583
9584 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveInfoGenerator.java:
9585 Added missing chart info generator for the normalized reference curves.
9586
9587 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9588
9589 * src/main/resources/messages_de_DE.properties,
9590 src/main/resources/messages_de.properties: Fix i18n.
9591
9592 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9593
9594 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
9595 Added optional boolean flag to indicated if the data should be 'normalized'.
9596 TODO: Build the cascading normalising function call chain.
9597
9598 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
9599 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9600 Fetch WWAxisTypes from call context to do the right scaling.
9601
9602 2012-02-06 Raimund Renkert <raimund.renkert@intevation.de>
9603
9604 Added service for discharge infos at a specific gauge.
9605
9606 * doc/conf/conf.xml: Added service factory entry.
9607
9608 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
9609 New. Returns description, start year and end year of discharges at a
9610 specific gauge.
9611
9612 * src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
9613 Return a more specific ui provider string.
9614
9615 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9616
9617 * doc/conf/conf.xml: Registered generator for normalized reference curves.
9618
9619 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9620 Added "reference_curve_normalized".
9621
9622 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9623 Added facets for normalized reference curves.
9624
9625 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java:
9626 Generator for normalized reference curves.
9627
9628 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9629
9630 * doc/conf/artifacts/winfo.xml: Added config for "reduzierte Bezugslinie".
9631
9632 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9633
9634 * doc/conf/artifacts/winfo.xml: Added error report.
9635
9636 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
9637
9638 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Set
9639 proper bounds for date axis elements; tell the transformation matrix which
9640 type it is (number/date).
9641
9642 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9643
9644 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9645 Include location description string in csv output of referencecurve-
9646 exporter.
9647
9648 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9649
9650 * src/main/java/de/intevation/flys/artifacts/model/WW.java: Added constructor call.
9651 * src/main/java/de/intevation/flys/artifacts/model/WWQQ.java: New.
9652 Stores the Qs for the Ws, too.
9653
9654 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java: Create
9655 WWQQs instead of WWs.
9656
9657 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9658
9659 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9660 Added further i18n stubs and slightly more data.
9661
9662 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9663
9664 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
9665 Return the Qs of the Ws, too.
9666
9667 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
9668 Adjusted to cope with the return Qs. TODO: Create WQWQ or WWQQ dataset
9669 for storing the result.
9670
9671 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9672
9673 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9674 Added further i18n stubs.
9675 Also added a second Y axis (experimental, to ease axis labeling etc.).
9676
9677 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9678
9679 * doc/conf/artifacts/winfo.xml: Register new export output and csv
9680 facet for reference curves.
9681
9682 * doc/conf/conf.xml: Register Exporter for reference curve.
9683
9684 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
9685 Primitive exporter, bland copy of another one.
9686
9687 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9688
9689 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9690 Enabled some i18n of labels.
9691
9692 * src/main/resources/messages.properties,
9693 src/main/resources/messages_de_DE.properties,
9694 src/main/resources/messages_en.properties,
9695 src/main/resources/messages_de.properties: Basic i18n for reference
9696 curves added.
9697
9698 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
9699
9700 * doc/conf/conf.xml: Registered the HistoricalDischargeCurveInfoGenerator.
9701
9702 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveInfoGenerator.java:
9703 New. This info generator returns information of a
9704 HistoricalDischargeCurveGenerator.
9705
9706 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Add an
9707 attribute "axistype" to axes nodex based on the JFreeChart Axis type.
9708 Number axes get a "number", date axes a "date".
9709
9710 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Defined an
9711 abstract method getRangesForAxis().
9712
9713 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Awaits
9714 now an instance of ChartGenerator instead of XYChartGenerator.
9715
9716 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9717 Implemented the getRangesForAxis() method (copied from XYChartGenerator).
9718
9719 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
9720 @Override annotation to getRangesForAxis().
9721
9722 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9723
9724 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
9725 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
9726 Cosmetics.
9727
9728 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9729
9730 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9731 Add CSV facet (not yet evaluated).
9732
9733 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
9734
9735 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
9736 New. This OutGenerator exports historical discharge curves to CSV and PDF.
9737 Currently, only the CSV export is implemented!
9738
9739 * doc/conf/artifacts/winfo.xml: Registered a new Output CSV for historical
9740 discharge curves.
9741
9742 * doc/conf/conf.xml: Registered the HistoricalDischargeCurveExporter.
9743
9744 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
9745 Generate new Facets for CSV and PDF output.
9746
9747 * src/main/java/de/intevation/flys/utils/Formatter.java: Added new functions
9748 that return number formatters for historical discharge curves and a date
9749 formatter for short dates.
9750
9751 * src/main/resources/messages.properties,
9752 src/main/resources/messages_de_DE.properties,
9753 src/main/resources/messages_en.properties,
9754 src/main/resources/messages_de.properties: Added strings for CSV header of
9755 historical discharge curve export.
9756
9757 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9758
9759 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9760 Adjusted to name change in River ('hibernate fix').
9761
9762 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9763
9764 * doc/conf/artifacts/winfo.xml: Adapted the data type of W/Q input values
9765 for historical discharge curve calculation (intarray -> doublearray).
9766
9767 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
9768 Adapted the data type of W/Q input values.
9769
9770 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9771
9772 First steps to serve the data in cm if we are are gauges only.
9773
9774 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9775 Fetch map gauge station -> gauge datum from backend for reference curve.
9776
9777 * src/main/java/de/intevation/flys/artifacts/math/LinearFilterFunction.java:
9778 New. Linear transforms another function.
9779
9780 * src/main/java/de/intevation/flys/artifacts/math/FilterFunction.java:
9781 New. Allows cascading functions.
9782
9783 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
9784 New. Classifier what kind of axis types are needed.
9785
9786 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
9787 Removed. Is now obsolete.
9788
9789 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
9790 Stores gauge station kms for start and end km if they are any.
9791
9792 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
9793 Should generate a WWAxisTypes classifier via side effect to the
9794 call context.
9795
9796 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
9797 Figure out for each start/end km if its a gauge station and store this
9798 information in the result WWs.
9799
9800 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9801 Uses the WWAxisTypes classifier now to generate the right data.
9802 TODO: Use the blackboard object.
9803
9804 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9805
9806 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
9807 Removed superfluous imports.
9808
9809 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9810
9811 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9812 Set number of interpolation steps for relation curve to 200.
9813
9814 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9815 Do not sort the XYSeries.
9816
9817 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9818
9819 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
9820 Removed. Was stub.
9821
9822 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9823
9824 Improved Reference Curves.
9825
9826 * doc/conf/artifacts/winfo.xml: Add start/end input step for reference
9827 curves.
9828
9829 * doc/conf/themes.xml: Add theme for reference curve.
9830
9831 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9832 Disable start/end point-hack for reference curve. Go with 'live'
9833 values.
9834
9835 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
9836 i18n.
9837
9838 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
9839 New. State to enter location.
9840
9841 * src/main/java/de/intevation/flys/artifacts/states/InputDoubleState.java:
9842 New.
9843
9844 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9845 Take WW name to display in themepanel.
9846
9847 * src/main/resources/messages.properties,
9848 src/main/resources/messages_de_DE.properties,
9849 src/main/resources/messages_en.properties,
9850 src/main/resources/messages_de.properties: Added translations.
9851
9852 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9853
9854 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Use
9855 the current date for discharge tables which doesn't have a stop time set.
9856 A warning message is written to log.
9857
9858 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
9859 Generate report facet before leaving the computeXXX() method when no
9860 calculation results has been computed.
9861
9862 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9863
9864 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
9865 that returns the name of a reference gauge (for historical discharge
9866 curves).
9867
9868 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
9869 Create title, subtitle and axes labels for charts of this type.
9870
9871 * src/main/resources/messages.properties,
9872 src/main/resources/messages_de_DE.properties,
9873 src/main/resources/messages_en.properties,
9874 src/main/resources/messages_de.properties: Added title, subtitle and axes
9875 labels for historical discharge curves.
9876
9877 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9878
9879 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9880 Fix.
9881
9882 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9883
9884 * src/main/resources/messages.properties,
9885 src/main/resources/messages_de_DE.properties,
9886 src/main/resources/messages_en.properties,
9887 src/main/resources/messages_de.properties: Added translations for
9888 states (will be shown in client).
9889
9890 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9891
9892 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9893 Ja!vadoc.
9894
9895 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9896 Declare getYAxisWalker as abstract to avoid weird issue with
9897 overriden methods of this name.
9898
9899 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9900
9901 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
9902 Use the WW.ApplyFunctionIterator to fetch the data.
9903
9904 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
9905 Removed superfluous imports.
9906
9907 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9908
9909 * doc/conf/artifacts/winfo.xml: Registered a ReportFacet for historical
9910 discharge curve report.
9911
9912 * doc/conf/conf.xml: Registered a ReportGenerator for historical discharge
9913 curves.
9914
9915 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Add
9916 problems if we were not able to find a Q for a given W.
9917
9918 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
9919 Generate a ReportFacet if there were problems during calculcation.
9920
9921 * src/main/resources/messages.properties,
9922 src/main/resources/messages_de_DE.properties,
9923 src/main/resources/messages_en.properties,
9924 src/main/resources/messages_de.properties: Added error messages for the
9925 case that we were not able to find a Q for a given W while calculating
9926 historical discharge curve data.
9927
9928 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9929
9930 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
9931 Improved adding new data for historical discharge curves: skip NaN
9932 values; use JFreeChart's Day TimePeriod instead of Second.
9933
9934 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9935
9936 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9937 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Refactoring:
9938 moved addDatasets(), applyThemes() and some other methods into
9939 ChartGenerator; enhanced the AxisDataset interface.
9940
9941 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9942 Implemented necessary abstract methods and improved internal AxisDataset
9943 class (added new methods).
9944
9945 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
9946
9947 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a
9948 function that expands a given range. Take care on NaN in getRanges().
9949
9950 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
9951 Prevent of NullPointerExceptions in isMinimumShapeVisible() and
9952 isMaximumShapeVisible().
9953
9954 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9955
9956 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
9957 Create new AxisDatasets and new TimeSeriesCollections for each Facet.
9958
9959 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9960
9961 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java: Added a
9962 method getTimerange(idx) that returns the Timerange at a given index.
9963
9964 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeFacet.java:
9965 Return the correct WQTimerange object in getData().
9966
9967 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9968
9969 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9970 src/main/java/de/intevation/flys/exports/ChartGenerator.java: More
9971 refactoring: the AxisDataset is defined by an interface in ChartGenerator
9972 now. Each subclass of ChartGenerator should implement its own AxisDataset.
9973 This allows us to provide multiple XYDataset types in different charts.
9974
9975 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9976 Implemented some necessary methods (abstract definitions of parent class)
9977 and create new empty timeseries charts.
9978
9979 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9980
9981 * src/main/java/de/intevation/flys/exports/ChartHelper.java: New helper
9982 class for working with charts.
9983
9984 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
9985
9986 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
9987 Removed useless import.
9988
9989 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9990 src/main/java/de/intevation/flys/exports/ChartGenerator.java: More
9991 refactoring: moved more base code from XYChartGenerator to its parent
9992 class ChartGenerator.
9993
9994 2012-02-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9995
9996 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
9997 Refactored. Use supers static field.
9998
9999 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
10000 Refactored. Use static field.
10001
10002 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
10003 src/main/java/de/intevation/flys/utils/FLYSUtils.java
10004 (getMinMax, getRiverMinMax): Refactored. Moved to FLYSUtils.
10005
10006 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
10007 Add so-called javadoc.
10008
10009 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
10010
10011 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
10012 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Moved
10013 further base code from XYChartGenerator into its ChartGenerator.
10014
10015 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
10016 Override generateChart() instead of generate() which is now implemented
10017 in ChartGenerator.
10018
10019 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
10020
10021 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
10022 New. This ChartGenerator should be used for timeseries charts. Currently,
10023 this class is a stub only! WORK IS IN PROGRESS!
10024
10025 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
10026 Subclasses TimeseriesChartGenerator now instead of XYChartGenerator,
10027 because historical discharge curve charts will have a time x axis set.
10028
10029 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
10030 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Moved some
10031 basic stuff from XYChartGenerator into ChartGenerator.
10032
10033 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
10034
10035 * src/main/java/de/intevation/flys/artifacts/charts/TimeseriesStepChart.java:
10036 Added standalone demo app for evaluating different timeseries charts.
10037
10038 2012-02-02 Raimund Renkert <raimund.renkert@intevation.de>
10039
10040 Issue 466: CSV export for chart themes.
10041
10042 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10043 Export a CSV file if the requested format is 'csv'.
10044
10045 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
10046 Generate the CSV file containing X-Y-data of all activated themes.
10047
10048 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
10049
10050 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
10051 Moved code to load values of a discharge table into an own static
10052 function to be able to reuse it in Calculation6.
10053
10054 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
10055 Implemented the findValueForW().
10056
10057 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10058
10059 Fake some reference curve input values to have working prototype
10060 to work on.
10061
10062 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10063 Syntax-stunt fake reference inputs.
10064
10065 * src/main/java/de/intevation/flys/artifacts/model/WW.java
10066 (getW1): Accessor for first w at index (for the raw ww).
10067
10068 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java
10069 (doReferenceOut): Plot the raw W-over-W.
10070
10071 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
10072
10073 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Create time
10074 millis for timerange used in Calculation6.
10075
10076 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Added
10077 the first step of the calculation: fetch relevant discharge tables based
10078 on the given input parameters. The calculated values are not the right
10079 ones! Finding Ws and Qs in discharge tables is still not implemented! WORK
10080 IN PROGRESS!
10081
10082 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
10083 Create facets for each WQTimerange object calculated by Calculation6.
10084
10085 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
10086
10087 * src/main/java/de/intevation/flys/artifacts/model/Timerange.java: Added a
10088 new constructor that takes Date objects for start and end time.
10089
10090 2012-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10091
10092 * src/main/java/de/intevation/flys/artifacts/model/W.java:
10093 Forget to create ws data in constructor.
10094
10095 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10096
10097 * doc/conf/artifacts/winfo.xml: Replaced Reference Curve input state
10098 with LocationSelect-State for debugging purposes. Add output to
10099 reference.curve- state.
10100
10101 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10102
10103 * doc/conf/conf.xml: Register ReferenceCurve*Generators.
10104
10105 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10106
10107 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
10108 Cosmetics.
10109
10110 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10111
10112 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
10113 Added pro forma facet.
10114
10115 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10116
10117 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
10118 Added comment.
10119
10120 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10121
10122 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10123 Added reference curve facet type.
10124
10125 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
10126
10127 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Fetch
10128 necessary parameters for 'historical discharge curve' calculation and call
10129 Calculation6 with those parameters.
10130
10131 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
10132 Modified default constructor and calculate() signatures and added a
10133 parameter check which is evaluated before the calculation starts.
10134
10135 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10136
10137 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java,
10138 src/main/java/de/intevation/flys/exports/ReferenceCurveInfoGenerator.java:
10139 Added outline of a new chart-generator.
10140
10141 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
10142
10143 * src/main/java/de/intevation/flys/artifacts/model/Timerange.java: New.
10144 This class might be used to store timeranges. Start and end time are
10145 stores as long (milliseconds since january 1, 1970).
10146
10147 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java:
10148 New. This class should be used to save Ws, Qs and timeranges.
10149
10150 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
10151
10152 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added helper
10153 methods to extract int[] and double[] from string.
10154
10155 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
10156
10157 * doc/conf/artifacts/winfo.xml: Registered new facet type
10158 'historical_discharge.historicalq' to the 'historical_discharge' output.
10159
10160 * doc/conf/conf.xml: Registered new HistoricalDischargeCurveGenerator for
10161 output type 'historical_discharge'.
10162
10163 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10164 new facet type for HISTORICAL_DISCHARGE_Q.
10165
10166 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
10167 New. This ChartGenerator is used to generate new charts for historical
10168 discharge curves. WORK IN PROGRESS!
10169
10170 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: New.
10171 This class should 'compute' the historical discharge curves. WORK IN
10172 PROGRESS!
10173
10174 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeFacet.java:
10175 New. This Facet is used during the calculation of historical discharge
10176 curves.
10177
10178 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
10179 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added stubs
10180 to trigger the calculation of data used for generating historical
10181 discharge curve charts.
10182
10183 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
10184
10185 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
10186 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
10187 Removed needless imports.
10188
10189 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10190
10191 * src/main/resources/messages_de.properties,
10192 src/main/resources/messages_de_DE.properties:
10193 Fixed "W bei ..m" -> "W fuer ...n" .
10194
10195 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10196
10197 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
10198 Avoid NPE, add warning to log to not forget about it.
10199
10200 2012-01-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10201
10202 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
10203 Fixed problems with unformatted numbers in error message.
10204
10205 2012-01-31 Ingo Weinzierl <ingo@intevation.de>
10206
10207 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
10208 Override getLabelFor() to return the I18N string for the selected
10209 evaluation mode.
10210
10211 2012-01-31 Ingo Weinzierl <ingo@intevation.de>
10212
10213 * doc/conf/artifacts/winfo.xml: Modified types of parameters in the
10214 'historical discharge curves' transitions.
10215
10216 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10217
10218 * doc/conf/artifacts/winfo.xml: Fix transition type (Stupid Bug 1.0 reverse).
10219
10220 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
10221
10222 * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java:
10223 Override getLabelFor() method defined in DefaultState to return the name
10224 of a Gauge based on the official number which is stored in the
10225 parameterization.
10226
10227 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10228
10229 Allow manual points in more diagram types.
10230
10231 * doc/conf/artifacts/winfo.xml: Add respective facet types to
10232 compatibility lists of output modes.
10233
10234 * doc/conf/artifacts/manualpoints.xml: Mention facet types.
10235
10236 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10237 Added ChartType enum to ease later iteration.
10238 (IS.MANUALPOINTS): Added helper.
10239
10240 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java:
10241 Help artifact figuring out which data to provide by passing facet
10242 name.
10243
10244 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
10245 Respond to getPointData with correct data item, depending on facet
10246 name.
10247
10248 * src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
10249 Iterate over chart types. Add facets if corresponding data is found.
10250
10251 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
10252 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
10253 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
10254 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
10255 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
10256 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
10257 Handle manual point facets.
10258
10259 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
10260
10261 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Clone
10262 StateData model objects to save parameters in this Artifact - create
10263 new StateData instances only if no StateData model was found for a
10264 parameter. This solves the problem of loosing the type of a StateData.
10265
10266 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
10267 Implemented a getLabelFor() method that is used to format a parameter
10268 value.
10269
10270 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
10271 Adapted method signature of transform().
10272
10273 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
10274 Override getLabelFor() method to create a well formatted label for min/max
10275 values.
10276
10277 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
10278
10279 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java:
10280 Bugfix: use correct order of parameters in DefaultStateData constructor.
10281
10282 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
10283
10284 * doc/conf/artifacts/winfo.xml: Fixed a stupid bug. Use
10285 ValueCompareTransition instead of DefaultTransition to evaluate values.
10286
10287 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
10288
10289 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
10290 Write default values for min and max items into the DESCRIBE document.
10291
10292 2012-01-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10293
10294 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
10295 Added field 'startKm' and 'endKm' to make it easier to associate
10296 gauge to km to return Ws in cm if km is at a gauge.
10297
10298 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
10299 Construct the WWs with startKm and endKm. This is necessary because
10300 if an error occurs in calcuting an in between km in a list of end kms
10301 the index does not correspond to the input value any more.
10302
10303 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
10304
10305 * doc/conf/artifacts/winfo.xml: Added transitions for "historical discharge
10306 curves" calculation.
10307
10308 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10309
10310 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10311 (doPoints): Skip 'inactive' points.
10312
10313 2012-01-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10314
10315 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
10316 Removed the createNormalized() method because it did not
10317 solve all problems with the transformation of the W~W data we have.
10318
10319 - We need to shift the values to be based in (0, 0).
10320 - We need to linear transform the values if they are at gauges.
10321 - Copying the data is memory expensive.
10322
10323 Therefore there is now a new inner class ApplyFunctionIterator
10324 that is able to transform the values in an iterator like manner.
10325 The transform functions default to the identity.
10326
10327 * src/main/java/de/intevation/flys/artifacts/math/Sub.java: New.
10328 Simple function that subtract a scalar from the parameter.
10329
10330 * src/main/java/de/intevation/flys/artifacts/model/W.java: Added
10331 method minWs() to calulate the minimal W of the data.
10332
10333 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
10334 getData() returns a WW.ApplyFunctionIterator with identity transform.
10335
10336 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
10337 getData() returns a WW.ApplyFunctionIterator with a base shift to (0, 0).
10338
10339 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10340
10341 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
10342 Added method createNormalized() to shift the data to start in (0, 0).
10343
10344 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
10345 Returns the 'normalized' data of the reference curve.
10346
10347 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10348
10349 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
10350 New. Facet for the normalized W~W relation.
10351 TODO: Implement the on-the-fly creation logic.
10352
10353 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
10354 New. Facet for the W~W relation.
10355
10356 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: Cosmetics.
10357
10358 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10359
10360 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
10361 Added stub loop for creating facets.
10362
10363 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10364 Cosmetics.
10365
10366 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10367
10368 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10369 Call the 'Bezugslinienverfahren'.
10370
10371 * src/main/resources/messages.properties,
10372 src/main/resources/messages_de_DE.properties,
10373 src/main/resources/messages_en.properties,
10374 src/main/resources/messages_de.properties:
10375 I18N for the 'Bezugslinienverfahren' error messages.
10376
10377 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10378
10379 * doc/conf/themes.xml: Better theme for manual points.
10380
10381 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10382 Theme text part of manual points. Offset it a bit.
10383
10384 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10385
10386 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
10387 Fixed stupid bug.
10388
10389 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
10390
10391 * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java,
10392 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
10393 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java,
10394 src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
10395 New. States used in the 'historical discharge curve' calculation.
10396
10397 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
10398
10399 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java: New
10400 state that eases adding min/max value pairs to describe document.
10401
10402 * src/main/java/de/intevation/flys/artifacts/states/IntRangeState.java:
10403 New. Subclasses MinMaxState and allows adding min/max integer value pairs.
10404
10405 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
10406
10407 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Moved
10408 code to add items to a data node for dynamich UI into an own method.
10409
10410 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
10411
10412 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java: Removed
10413 useless import.
10414
10415 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
10416
10417 * src/main/resources/messages.properties,
10418 src/main/resources/messages_de_DE.properties,
10419 src/main/resources/messages_en.properties,
10420 src/main/resources/messages_de.properties: Added strings which are used n
10421 the calculation "historical discharge curve".
10422
10423 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10424
10425 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
10426 New. Calcutation to be created from WINFOArtifact
10427 for the 'Bezugslinienverfahren'.
10428
10429 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
10430 Added TODO about optimization of the 'Bezugslinienverfahren'.
10431 Added number of default samples of the W~W relation.
10432
10433 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
10434 Added convinience constructor to store the calculation results.
10435
10436 * ChangeLog: Removed false TODO.
10437
10438 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
10439
10440 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
10441 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
10442 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
10443 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
10444 Read jasper template file from resources to support i18n reports.
10445
10446 * doc/conf/jasper/wdifferences.jasper,
10447 doc/conf/jasper/duration.jasper,
10448 doc/conf/jasper/computed-discharge.jasper,
10449 doc/conf/jasper/waterlevel.jasper:
10450 Updated report template. Resized left margin.
10451
10452 * doc/conf/jasper/computed-discharge_en.jasper,
10453 doc/conf/jasper/duration_en.jasper,
10454 doc/conf/jasper/wdifferences_en.jasper,
10455 doc/conf/jasper/waterlevel_en.jasper:
10456 New. Templates for english reports.
10457
10458 * src/main/resources/messages.properties,
10459 src/main/resources/messages_de_DE.properties,
10460 src/main/resources/messages_en.properties,
10461 src/main/resources/messages_de.properties:
10462 Added i18n strings for template files and modes.
10463
10464 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10465
10466 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
10467 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10468 Prevent second Legend Entry for points (prior was one for the
10469 TextAnnotations and one for the points).
10470
10471 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10472
10473 Blindly render Text of manual points if it does not collide with
10474 other text.
10475
10476 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
10477 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10478 Handle TextAnnotations, create some for manual points.
10479
10480 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
10481 Added setter for TextAnnotations, documentation.
10482
10483 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10484
10485 * src/main/resources/messages.properties,
10486 src/main/resources/messages_de_DE.properties,
10487
10488 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10489
10490 Refactored class hierachy to integrate model for W~W:
10491
10492 NamedObjImpl
10493 \-- W
10494 +-- WW
10495 \-- WQ
10496 +-- WQDay
10497 \-- WQKms
10498 \-- WQCKms
10499
10500 * src/main/java/de/intevation/flys/artifacts/model/W.java:
10501 New. Base class
10502
10503 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
10504 New. Model for W~W
10505
10506 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
10507 src/main/java/de/intevation/flys/artifacts/model/WQDay.java,
10508 src/main/java/de/intevation/flys/artifacts/model/WQ.java,
10509 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
10510 Adjusted to follow the new class hierarchy.
10511
10512 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
10513 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
10514 Removed superfluous imports.
10515
10516 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10517
10518 * src/main/resources/messages.properties,
10519 src/main/resources/messages_de_DE.properties,
10520 src/main/resources/messages_en.properties,
10521 src/main/resources/messages_de.properties,
10522 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
10523 i18n for ManualPointsFacets.
10524
10525 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
10526
10527 Issue 138: PDF output for calculations.
10528
10529 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
10530 Create the PDF data source and generate the PDF report output.
10531
10532 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
10533 Add the PDF facet to state. Add export facets only once.
10534
10535 * doc/conf/artifacts/winfo.xml:
10536 Added PDF facet to state.
10537
10538 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
10539 Added new field type 'differences'.
10540
10541 * doc/conf/jasper/wdifferences.jasper:
10542 New. Template for w-differences PDF export.
10543
10544 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
10545
10546 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
10547 New method that creates and returns the chosen differences of w-difference
10548 calculation as string.
10549
10550 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
10551
10552 Issue 138: PDF output for calculations.
10553
10554 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
10555 Create the PDF data source and generate the PDF report output.
10556
10557 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
10558 doc/conf/artifacts/winfo.xml:
10559 Added PDF facet to state.
10560
10561 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
10562 Added new field type 'day'.
10563
10564 * doc/conf/jasper/duration.jasper:
10565 New. Template for duration curve PDF report.
10566
10567 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de>
10568
10569 Issue 138: PDF output for calculations.
10570
10571 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
10572 Create the PDF datasource and generate the PDF report output.
10573
10574 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
10575 doc/conf/artifacts/winfo.xml:
10576 Added PDF facet to state.
10577
10578 * doc/conf/jasper/computed-discharge.jasper:
10579 New. Template for computed discharge PDF report.
10580
10581 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de>
10582
10583 Issue 138: PDF output for calculations.
10584
10585 * pom.xml: New Dependency to net.sf.jasperreports/jasperreports and
10586 org.codehaus.groovy/groovy-all.
10587
10588 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
10589 Added methods for PDF generation.
10590
10591 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
10592 Create the PDF data source and generate the PDF report output.
10593
10594 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
10595 New. Data source for jasper reports containing the waterlevel calculation
10596 result.
10597
10598 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10599 Added facet for PDF export to state.
10600
10601 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10602 Added PDF facet type.
10603
10604 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
10605 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
10606 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
10607 Added stub for inherited abstract method.
10608
10609 * doc/conf/artifacts/winfo.xml:
10610 Added PDF facet to outputmode 'export'.
10611
10612 * doc/conf/jasper,
10613 doc/conf/jasper/waterlevel.jasper:
10614 New. Folder for jasperreports templates and first template for
10615 waterlevel report.
10616
10617 * src/main/resources/messages.properties,
10618 src/main/resources/messages_de_DE.properties,
10619 src/main/resources/messages_en.properties,
10620 src/main/resources/messages_de.properties:
10621 Added i18n string for calculation mode.
10622
10623 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10624
10625 Renderer 'manual' points in LongitudinalSectionGenerator.
10626
10627 * pom.xml: New dependency to org.json/json.
10628
10629 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10630 (doOut): Handle manual points.
10631 (doPoints): Add point- series.
10632
10633 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10634 Added MANUALPOINTS Facet Type.
10635
10636 * doc/conf/themes.xml: Added Default Theme for Manual Points.
10637
10638 * doc/conf/artifacts/winfo.xml: Added manual point facet to
10639 compatibility list of longitudinal section diagram.
10640
10641 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10642
10643 Cosmetics.
10644
10645 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
10646 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
10647 Removed obsolete imports.
10648
10649 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10650
10651 Add initial infrastructure for user-provided data ('manual points').
10652
10653 * doc/conf/artifacts/manualpoints.xml: Trivial state model for new
10654 Artifact.
10655
10656 * doc/conf/conf.xml: Registered manualpoint artifact and factory.
10657
10658 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
10659 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java,
10660 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
10661 New. Basic infrastructure for ManualPoints.
10662
10663 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10664
10665 * doc/conf/artifacts/winfo.xml: Removed superfluous condition checks.
10666
10667 2012-01-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10668
10669 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
10670 Cosmetics, documentation.
10671
10672 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10673
10674 * doc/conf/artifacts/winfo.xml: Add states/transitions stubs for
10675 "Bezugsllinenverfahren."
10676
10677 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
10678 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
10679 Stubs for the two new states.
10680
10681 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10682
10683 * contrib/visualize-transitions.xsl: Fixed output of the conditions
10684 of the transitions. Now you can see the circumstances
10685 when a branch is taken.
10686
10687 2012-01-25 Raimund Renkert <raimund.renkert@intevation.de>
10688
10689 Issue 461.
10690
10691 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10692 Override buildChartSection() to disable the chart subtitle entry in
10693 ChartSettings.
10694
10695 2012-01-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10696
10697 I18N for WINFO calculations messages.
10698
10699 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
10700 Allow optional arguments in error messages to support meaningful
10701 formatting containing e.g. numbers.
10702
10703 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
10704 Added a convenience getMsg() method.
10705
10706 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
10707 src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java,
10708 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
10709 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
10710 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
10711 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
10712 Adjusted the code to use the I18N symbols now.
10713
10714 * src/main/resources/messages.properties,
10715 src/main/resources/messages_de_DE.properties,
10716 src/main/resources/messages_en.properties,
10717 src/main/resources/messages_de.properties: Added the I18N strings.
10718
10719 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10720
10721 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10722 Handle the case in "W auf freier Strecke" where more than
10723 one Q is related to a W. TODO: Generate user report.
10724
10725 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10726
10727 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10728 Added code for the simple case of "Bezugslinienverfahren" ("W auf freier Strecke").
10729 TODO: Handle case if the model returns more than one Q for a given W.
10730
10731 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
10732 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
10733 Micro optimizations.
10734
10735 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10736
10737 Fix flys/issue452 (Annotations at second y-axis).
10738
10739 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10740 Added new type (duration_curve.mainvalues.q).
10741
10742 * doc/conf/themes.xml: Added theme mapping for new facet type.
10743
10744 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10745 Create another Facet.
10746
10747 * doc/conf/artifacts/winfo.xml: Added new facet type to compatibility
10748 list.
10749
10750 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
10751 Handle new Facet.
10752
10753 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
10754 Added field to be able to remember which axis to stick to.
10755
10756 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
10757 Tell Annotations to stick to Q axis in the special duration_curve
10758 environment.
10759
10760 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10761 (AxisDataset): Added plotAxisIndex to now have a
10762 two-way-association.
10763 Tell own axisDatasets to which 'jfreechart'-axis they are assigned.
10764 Evaluate which axis the StickyAxisAnnotations should be sticked to,
10765 and calculate text and line positions accordingly.
10766 Removed junk.
10767
10768 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10769
10770 Fix compilation.
10771
10772 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
10773 Use StickyAxisAnnotations instead of XYTextAnnotations.
10774
10775 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10776
10777 Some unification of Annotation handling.
10778
10779 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
10780 Add a third annotation type (now have text, hyk and sticky).
10781
10782 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
10783 Use double instead of float values, removed commented code.
10784
10785 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
10786 Reduced to keep information about placements etc only. Not a
10787 Annotation (in JFreeChart sense) anymore.
10788
10789 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
10790 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
10791 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10792 Use StickyAxisAnnotations instead of XYTextAnnotations.
10793
10794 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
10795 Added new LineStyle class.
10796
10797 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10798 Call addAnnotationsToRenderer later, where positioning information
10799 is already known.
10800 (addAnnotationsToRenderer): Deal with the three Annotation types.
10801 Instead of StickyAnnotations, add
10802 CollisionFreeXYText- and
10803 XYLineAnnotations.
10804 (Area): Helper class.
10805
10806 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10807
10808 Some unification of Annotation handling.
10809
10810 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
10811
10812 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10813
10814 Fix flys/issue395 (SVG/PDF-Export: Längsschitt enthält keine
10815 Streckenfavoriten.)
10816
10817 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
10818 Fix pdf/svg rendering of annotatios, by adding a
10819 ChartRenderingInfo-object to the chart.draw call.
10820
10821 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
10822
10823 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10824 Added new key and getter for a short subtitle. The short subtitle is
10825 used if no range exists.
10826
10827 * src/main/resources/messages.properties,
10828 src/main/resources/messages_de_DE.properties,
10829 src/main/resources/messages_en.properties,
10830 src/main/resources/messages_de.properties:
10831 Added i18n string for shor subtitle.
10832
10833 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
10834
10835 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
10836 Removed state validation. Validation prevents drawing the diffenrences
10837 diagramm and all states except of WDifferencesState always return
10838 true.
10839
10840 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10841
10842 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
10843 New. Candidate to replace StickyAxisAnnotation eventually.
10844
10845 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10846
10847 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
10848 Added null-guards to functions parameters.
10849
10850 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10851
10852 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
10853 Respect flowing direction of river when finding valid
10854 hykformations.
10855
10856 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
10857
10858 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10859 Add an empty facet to this state if the artifact is a Chartartifact.
10860
10861 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10862 Do not add the range to subtitle if no range exists.
10863
10864 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
10865
10866 'New chart' for cross sections.
10867
10868 * doc/conf/artifacts/chart.xml: Updated the states and transitions for
10869 new charts.
10870
10871 * doc/conf/meta-data.xml: Added cross sections to datacage.
10872
10873 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
10874 Changed cast from WINFOArtifact to FLYSArtifact.
10875
10876 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
10877 Changed artifact data strings for chart_type.
10878
10879 * src/main/resources/messages.properties,
10880 src/main/resources/messages_de_DE.properties,
10881 src/main/resources/messages_en.properties,
10882 src/main/resources/messages_de.properties:
10883 Changed i18n string for cross sections and logitudinal sections.
10884
10885 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10886
10887 Add basic (text) styling for HYKs.
10888
10889 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10890 Minor cleanup, pass HYK theme on.
10891
10892 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10893 Apply TextStyle to TextAnnotation part for HYK zones.
10894
10895 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
10896 (TextStyle): New class to bundle text-styling info.
10897
10898 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
10899 Refactored constructors to ease setting Style in the newly
10900 created usage scenario.
10901
10902 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10903
10904 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
10905 Cleanup. Mark spot where State-based caching could happen.
10906
10907 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10908
10909 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java:
10910 Cosmetics.
10911
10912 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10913
10914 * doc/conf/cache.xml: Added Cache for HYKS.
10915
10916 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10917
10918 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
10919 Made HYKFactory.Zone Serializable.
10920
10921 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10922
10923 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
10924 Cosmetics.
10925
10926 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10927
10928 Added style definition for hyks.
10929
10930 * doc/conf/themes.xml: Added hyk style (text).
10931
10932 2012-01-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10933
10934 * doc/conf/cache.xml: Removed cache "service-distanceinfo".
10935
10936 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
10937 Now uses the annotations from the LocationProvider and the
10938 XML documents are no longer cached.
10939
10940 2012-01-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10941
10942 * doc/conf/cache.xml: Removed "annotations" cache.
10943
10944 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
10945 Removed annotation caching.
10946
10947 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
10948 Changed internal data structure to FastAnnotations which are also cached.
10949
10950 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
10951 Use FastAnnotations now which are fetched via the LocationProvider.
10952
10953 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Added
10954 time measurement for writing the CVS output.
10955
10956 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
10957 Removed superfluous import.
10958
10959 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10960
10961 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
10962 Respect visibility flag of HYK facet.
10963
10964 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
10965 Log malcondition, make colored hyk-box a bit smaller.
10966
10967 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10968
10969 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
10970 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
10971 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
10972 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
10973 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
10974 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
10975 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
10976 Cosmetics, docs, improved logging.
10977
10978 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10979
10980 * doc/conf/meta-data.xml: Recommend hyks for current river if hit by
10981 a crosssection-out.
10982
10983 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10984
10985 Somewhat improved HYK handling and rendering.
10986
10987 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
10988 Store ids in more sensibly named data item and expose it.
10989 Spawn all facets in inactive state.
10990
10991 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
10992 Make HYK name accessible, do not query hyks by river, but by hyk-id,
10993 made query more real-world.
10994
10995 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
10996 Use hyks name as facet name, pass hyk-id when asking for hyks.
10997
10998 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10999
11000 Somewhat improved HYK handling and rendering.
11001
11002 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
11003 Added ability to store 'zones', next to text annotations.
11004
11005 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11006 (getLowestYValue, getUppestYValue, colorForHYKZone),
11007 (addBoxAnnotations): New. Create box annotations from zones.
11008
11009 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
11010 (doHYK): New, handle hyk facets by adding zones to annotation
11011 container.
11012
11013 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11014
11015 Preparing improved HYK handling.
11016
11017 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
11018 (Zone.getTo): New accesor.
11019 TODOs and documentation added.
11020
11021 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
11022
11023 'New Chart' for w-differences curve.
11024
11025 * doc/conf/artifacts/chart.xml: Added empty facet to output mode.
11026
11027 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
11028 Add an empty facet if the artifact is a ChartArtifact.
11029
11030 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
11031
11032 'New Chart' for discharge longitudinal section curve.
11033
11034 * doc/conf/artifacts/chart.xml: Added transition for location input.
11035
11036 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
11037 Changed cast from WINFOArtifact to FLYSArtifact.
11038
11039 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
11040 Add an empty facet if the artifact is a ChartArtifact.
11041
11042 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
11043
11044 'New Chart' for duration curve.
11045
11046 * doc/conf/artifacts/chart.xml: Added state and transition for location input.
11047
11048 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
11049 Changed cast from WINFOArtifact to FLYSArtifact.
11050
11051 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
11052 Add an empty facet if the artifact is a ChartArtifact.
11053
11054 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11055
11056 Added accidentally ommitted HYKFacet, fixing build.
11057
11058 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java:
11059 New, stubby facet for hyk infrastructure.
11060
11061 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
11062
11063 'New Chart' for computed discharge curve.
11064
11065 * doc/conf/artifacts/chart.xml: Fixed transitions and added state for km input.
11066
11067 * src/main/java/de/intevation/flys/artifacts/model/EmptyFacet.java:
11068 New. Added an empty facet to avoid deleting an empty output.
11069
11070 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
11071 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
11072 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
11073 Changed some return values if the artifact is a ChartArtifact.
11074
11075 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
11076 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
11077 Changed casts from WINFOArtifact to FLYSArtifact.
11078
11079 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
11080 Add an empty facet if the artifact is a ChartArtifact.
11081
11082 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11083 Set a default axis range if the range is null.
11084
11085 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11086
11087 Added stub hyk infrastructure.
11088
11089 * doc/conf/artifacts/hyk.xml: Added trivial transition configuration
11090 for hyk artifacts.
11091
11092 * doc/conf/conf.xml: Register HYK artifact and its transition conf.
11093
11094 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
11095 src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java,
11096 src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
11097 Added static 'hyk' artifact, facet and state.
11098
11099 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11100
11101 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
11102 Add 'hyk' facet type.
11103
11104 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11105
11106 Add hyk facet to compatibility list of winfo.xml .
11107
11108 * doc/conf/artifacts/winfo.xml: Add hyk facets to compatibility list.
11109
11110 2012-01-18 Ingo Weinzierl <ingo@intevation.de>
11111
11112 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
11113 method getDataAsLong that returns a Long representation of a data item or
11114 null if no such data item is existing or it cannot be parsed as Long.
11115
11116 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
11117 that returns the selected reference gauge (specified by 'reference_gauge'
11118 parameter) of a FLYSArtifact.
11119
11120 2012-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11121
11122 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
11123 Cache a TreeMap<km, annotation string> of the annotation values of whole
11124 rivers. This is _much_ more efficient than firing an HQL/SQL statement for
11125 each km and caching these results.
11126
11127 2012-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11128
11129 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
11130 Deleted. It is in the backend now.
11131
11132 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
11133 src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java,
11134 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
11135 src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLineFactory.java,
11136 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
11137 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
11138 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
11139 Adjusted to use the fast cross section line from backend now.
11140
11141 * doc/conf/cache.xml: Store cross section lines cache on disk.
11142
11143 * src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java,
11144 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
11145 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: Removed
11146 superfluous imports.
11147
11148 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11149
11150 Fix assignment of stateId/hash in WaterlevelFacet.
11151
11152 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
11153 More verbose logging, fix hash/stateid assignment.
11154
11155 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
11156 (deepCopy): implemented.
11157
11158 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11159
11160 "Ported" StaticWQKmsArtifact to use compute-type caching mechanism.
11161
11162 * doc/conf/artifacts/staticwqkms.xml: Declare trivial info.
11163
11164 * doc/conf/conf.xml: Register staticwqkms artifact and factory.
11165
11166 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java:
11167 Sublacss DataFacet.
11168
11169 * src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java:
11170 New. State.
11171
11172 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
11173 Refactored. Most computation and stuff now done in State and Facet.
11174
11175 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11176
11177 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
11178 Minor cosmetics.
11179
11180 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11181
11182 Refactoring.
11183
11184 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
11185 Added new constructor.
11186
11187 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
11188 Refactored, subclass BlackboardDataFacet.
11189
11190 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
11191 Refactored, subclass DataFacet.
11192
11193 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
11194 Adjusted.
11195
11196 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11197
11198 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
11199 Cosmetics, added new constructor.
11200
11201 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11202
11203 Use improved caching for cross section data.
11204 !!! This commit needs heavy testing !!!
11205
11206 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
11207 Refactored to provide the map to determine the nearest cross section line
11208 neighbors for a given km to the public. This is a bit hackish because
11209 it hhould have its own factory which is then used by this service and
11210 other parts of the code.
11211
11212 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
11213 searchCrossSectionLine() now returns a FastCrossSectionLine. To find this
11214 line efficiently it uses the map of the CrossSectionKMService which
11215 already provides a nearest neighbor searching mechanism for cross
11216 section lines. The FastCrossSectionLine is fetched with the
11217 FastCrossSectionLineFactory which uses a cache as described in the
11218 previous commit.
11219
11220 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
11221 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
11222 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
11223 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11224 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Uses
11225 the FastCrossSectionLine instead of CrossSectionLines now.
11226
11227 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
11228 Added method fetchCrossSectionProfile() to access the point data in
11229 the profile generating compatible way.
11230
11231 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java: Removed
11232 superfluous import.
11233
11234 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11235
11236 * doc/conf/cache.xml: Added cache for fast section lines chunks.
11237
11238 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java:
11239 New. Chunks of FastCrossSectionLines. Stores cross section lines for ranges
11240 of one KM.
11241
11242 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLineFactory.java:
11243 New. Access fast cross section lines. It uses the cache 'fast-cross-section-lines'
11244 configured in cache.xml to store chunks of cross section lines.
11245
11246 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
11247 New. Stores the important data (points) of a cross section line.
11248
11249 2012-01-16 Ingo Weinzierl <ingo@intevation.de>
11250
11251 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
11252 Added a new calculation option for historical discharge curves.
11253
11254 * src/main/resources/messages.properties,
11255 src/main/resources/messages_de_DE.properties,
11256 src/main/resources/messages_en.properties,
11257 src/main/resources/messages_de.properties: Added translations for
11258 historical discharge curves.
11259
11260 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11261
11262 * doc/conf/artifacts/winfo.xml: Added certain facets to to
11263 compatibility matrices.
11264
11265 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11266
11267 * doc/conf/artifacts/annotation.xml: Fixed accidental change.
11268
11269 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11270
11271 * doc/conf/artifacts/annotation.xml: Cosmetics.
11272
11273 2012-01-16 Ingo Weinzierl <ingo@intevation.de>
11274
11275 * doc/conf/meta-data.xml: Enabled old floodmap calculations for output
11276 type 'map'.
11277
11278 2012-01-13 Raimund Renkert <raimund.renkert@intevation.de>
11279
11280 Initial implementation for module 'new chart'.
11281
11282 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
11283 New. Artifact for module 'new chart'.
11284
11285 * doc/conf/artifacts/chart.xml:
11286 New. Artifact description for the new artifact.
11287
11288 * doc/conf/conf.xml:
11289 Added new artifact to config.
11290
11291 * src/main/resources/messages.properties,
11292 src/main/resources/messages_de_DE.properties,
11293 src/main/resources/messages_en.properties,
11294 src/main/resources/messages_de.properties:
11295 Added i18n strings for 'new chart' chart types.
11296
11297 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11298
11299 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
11300 Cosmetics.
11301
11302 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11303
11304 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11305 Avoid NPE when copying data from one artifact to another.
11306
11307 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11308
11309 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11310 (expandRange): Prevent collapse due to negative values.
11311
11312 2012-01-12 Raimund Renkert <raimund.renkert@intevation.de>
11313
11314 * doc/conf/artifacts/map.xml,
11315 doc/conf/conf.xml,
11316 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
11317 Changed the MapArtifact name to 'new_map'.
11318
11319 2011-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11320
11321 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
11322 Added code to calculate the area of the generated polygons.
11323 TODO: Render the generated area sum to the plot.
11324
11325 2011-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11326
11327 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
11328 Replaced System.err.println()s with proper logging.
11329
11330 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11331 src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java,
11332 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
11333 superfluous imports.
11334
11335 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11336
11337 flys/issue450 (i18n: Datenkorb: longitudinal-section)
11338
11339 * doc/conf/meta-data.xml: Replaced dash by underscore in
11340 longitudinal-section.
11341
11342 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11343
11344 Towards areas on other than the first axes.
11345
11346 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
11347 Changed signature on which to provide data via the blackboard.
11348 Include facets name to allow unique identification.
11349
11350 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
11351 Store name of one of the facets involved in area creation.
11352 (AreaFacet.Data): New class to hold result data.
11353
11354 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
11355 New methods to find out whether we have a general Q or W type of
11356 facet.
11357
11358 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11359 (doArea): Use new Result-Data object instead of Object[], resolve
11360 which axis to put area to.
11361 (axisIdxForFacet): New.
11362
11363 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
11364 Subclass LongitudinalSectionGenerator.
11365
11366 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11367
11368 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
11369 Do not intefere with CrossSections.
11370
11371 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11372
11373 Cosmetics, cleanups.
11374
11375 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
11376 (getCrossSections, getCrossSectionNames): Removed.
11377
11378 2011-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11379
11380 flys/issue439 (Streckenfavoriten lassen sich nicht über den Datenkorb
11381 hinzuladen)
11382
11383 * doc/conf/meta-data.xml: Made Annotations available via datacage
11384 in longitudinal section, cosmetics.
11385
11386 2012-01-11 Raimund Renkert <raimund.renkert@intevation.de>
11387
11388 * doc/conf/conf.xml:
11389 Added output generator for output type 'map'.
11390
11391 * doc/conf/artifacts/map.xml:
11392 Changed output name to 'map'.
11393
11394 * doc/conf/meta-data.xml:
11395 Added new output type 'map'.
11396
11397 2011-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11398
11399 Fix flys/issue446 (Dauerline/Abflusskurve am Pegel: Eigenschaften vom
11400 Hauptwertthema nicht aufrufbar)
11401
11402 * doc/conf/themes.xml: Add default styles for mainvalues.q/w and other
11403 themes.
11404
11405 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11406
11407 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
11408 Removed XPath injection security hole. A serious one because it allowed
11409 inspecting the conf.xml file ... with all the db passwords.
11410
11411 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11412
11413 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
11414 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11415 Removed superfluous imports.
11416
11417 2012-01-11 Ingo Weinzierl <ingo@intevation.de>
11418
11419 * doc/conf/meta-data.xml: Added the definition of old calculation results
11420 for floodmaps.
11421
11422 2012-01-10 Ingo Weinzierl <ingo@intevation.de>
11423
11424 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Added
11425 methods getLayers() and removeLayer().
11426
11427 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
11428 method getFacets() which returns a list of Facets supported by this
11429 Artifact. In addition, the FLYSArtifact is now more verbose while
11430 filtering Facets for Outputs.
11431
11432 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
11433 Implemented initialize() which now copies the shapefile directory of the
11434 model Artifact and modifies its Facets (adapts the shapepath which is the
11435 uuid of the Artifact).
11436
11437 2012-01-10 Ingo Weinzierl <ingo@intevation.de>
11438
11439 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
11440 src/main/java/de/intevation/flys/collections/OutputParser.java: Made
11441 them more verbose for better debugging.
11442
11443 2012-01-09 Ingo Weinzierl <ingo@intevation.de>
11444
11445 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11446 Initialize() now also calls State.initialize() for each State.
11447
11448 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
11449 Override initialize() which is defined in AbstractState. NOTE: Currently,
11450 this method has no code.
11451
11452 2012-01-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11453
11454 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java:
11455 New. The service to invalidate the caches. (Argh! Forgot to 'svn add')
11456
11457 2012-01-06 Ingo Weinzierl <ingo@intevation.de>
11458
11459 flys/issue298 (Karte: Automatischer Zoom auf Berechnungsergebnisse)
11460
11461 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Added a
11462 debug statement that prints out the WSPLGEN extent.
11463
11464 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create new
11465 Envelope instances for initial and max extent if they are not existing.
11466 Some debug statements have now been removed.
11467
11468 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11469
11470 Add cache for 'static' wqkms (e.g. BaseData) to default cache conf.
11471
11472 * doc/conf/cache.xml: Add Cache Config for static wqkms.
11473
11474 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java:
11475 Adjust typo in cache name, minor cosmetic.
11476
11477 2011-01-06 Raimund Renkert <raimund.renkert@intevation.de>
11478
11479 * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
11480 The map artifact has two states now and overrides describe() to
11481 generate UI sections in the describe response.
11482 The map state overrides computeAdvance() instead of computeFeed().
11483
11484 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
11485 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
11486 Changed the WMSDBArtifact in WMSDBState to FLYSArtifact and adjusted
11487 constructors in state classes.
11488
11489 * doc/conf/artifacts/map.xml:
11490 Added initial state and transition.
11491
11492 * src/main/resources/messages.properties,
11493 src/main/resources/messages_de_DE.properties,
11494 src/main/resources/messages_en.properties,
11495 src/main/resources/messages_de.properties:
11496 Added i18n strings for new state.
11497
11498 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11499
11500 Partial fix for flys/issue437 (Querprofil: Zugeladene Basisdaten
11501 ignorieren W/Q-heit, falsche Namen).
11502
11503 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
11504 Set name also for first column (zero based).
11505
11506 2012-01-06 Ingo Weinzierl <ingo@intevation.de>
11507
11508 flys/issue196 (i18n/l10n: Zahlenformate einheitlich)
11509
11510 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: New method
11511 getRawValue() that extracts the raw double value from 'name' parameter.
11512
11513 * src/main/java/de/intevation/flys/utils/Formatter.java: New method
11514 getRawFormatter() that returns a NumberFormat instance for the current
11515 locale.
11516
11517 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
11518 Localized the W/Q labels in CSV exports.
11519
11520 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11521
11522 flys/issue442 (i18n: Datenkorb: flood-protections)
11523
11524 * doc/conf/meta-data.xml: Replaced dash in flood-protection by
11525 underscore to allow translation.
11526
11527 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11528
11529 flys/issue438 (i18n: Datenkorb: additionals)
11530
11531 * doc/conf/meta-data.xml: Fix typo.
11532
11533 2011-01-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11534
11535 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java:
11536 New. Uses the CacheFactory to invalidate caches by their names.
11537 This can be used by external ETL processes like the AFT/DIPS importer
11538 to prevent cache inconsistencies.
11539
11540 Input documents look like this:
11541
11542 <caches>
11543 <cache name="my-cache"/>
11544 ...
11545 <cache name="your-cache"/>
11546 </caches>
11547
11548 Output documents look like this:
11549
11550 <caches>
11551 <cache name="my-cache">All elements removed.</cache>
11552 ...
11553 <cache name="your-cache">Error: Cache not found.</cache>
11554 </caches>
11555
11556 * doc/conf/conf.xml: Added the cache invalidation service.
11557
11558 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
11559 Added Override annotation.
11560
11561 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11562
11563 flys/issue432 (Diagrammeigenschaften/Flächenrenderer:
11564 Legenden-schriftgröße für Flächenthemen wird ignoriert)
11565
11566 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11567 Respect legend item size when generating legend items for
11568 area dataseries.
11569
11570 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de>
11571
11572 Implemented new module "new map".
11573
11574 * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
11575 New. Artifact for the new module, extends RiverAxisArtifact and
11576 contains the MapState class.
11577
11578 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
11579 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
11580 Added empty constructor to embedded state classes to allow instantiation
11581 of MapState that extends the RiverAxisState.
11582
11583 * src/main/java/de/intevation/flys/exports/MapGenerator.java:
11584 Do not generate an initialExtent element if the initial extent is
11585 empty.
11586
11587 * doc/conf/artifacts/map.xml:
11588 New. Describes the state for the new module.
11589
11590 * doc/conf/conf.xml:
11591 Added new config file.
11592
11593 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
11594
11595 flys/issue444 (error_no_export_found bei "W bei ungleichwertigem Abfluss")
11596
11597 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: If no boolean
11598 value "wq_free" exists in getWQMode(), false is the default.
11599
11600 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11601
11602 flys/issue443 (Querprofile: Hibernate LazyInitializationException)
11603
11604 * doc/conf/cache.xml: Disable cache for cross-sections.
11605
11606 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
11607
11608 flys/issue447 (W-Differenzen: Fehler beim Hinzufügen einer Parameterisierung)
11609
11610 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
11611 Added a new method cleanEmptyOutputs() which removes Outputs that have
11612 no Facets set.
11613
11614 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Call
11615 CollectionAttribute.cleanEmptyOutputs() at the end of write() to remove
11616 empty Outputs that have been added during the merge process.
11617
11618 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
11619
11620 flys/issue440 (Karte: WSPLGEN Berechnungen für Mosel schlagen fehl)
11621
11622 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Modified the
11623 getRiverBoundary() method because the signature of
11624 RiverAxis.getRiverAxis() has changed. This method will now take each
11625 geometry into account, that is retrieved by
11626 RiverAxis.getRiverBoundary().
11627
11628 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
11629 Use GeometryUtils.getRiverBoundary() to determine the boundary of a
11630 river.
11631
11632 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
11633 Create the riveraxis shapefile with all geometries returned by
11634 RiverAxis.getRiverAxis().
11635
11636 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
11637
11638 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Repaired
11639 broken items in legend. The new renderer requires the current plot. This
11640 is set now.
11641
11642 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
11643
11644 * doc/conf/themes.xml: Added a new field 'pointsize' to the virtual theme
11645 'HiddenColorLines'.
11646
11647 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added methods to
11648 parse the new field of 'HiddenColorLines'.
11649
11650 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: Apply the
11651 pointsize defined in themes.
11652
11653 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
11654
11655 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
11656 Use correct keys for buffering in getMinimum() and getMaximum().
11657
11658 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
11659
11660 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java,
11661 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
11662 src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
11663 Moved to de.intevation.flys.jfree.
11664
11665 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java,
11666 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
11667 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
11668 Moved from de.intevation.flys.exports.
11669
11670 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11671 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
11672 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11673 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11674 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
11675 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
11676 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
11677 Added necessary imports.
11678
11679 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
11680
11681 * src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
11682 Buffered the computation results of getMinimum() and getMaximum().
11683
11684 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
11685
11686 flys/issue393 (Themenstileditor: Minimum anzeigen / Beschriftung anzeigen)
11687
11688 * src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
11689 New renderer that overrides JFreeChart's XYLineAndShapeRenderer. This
11690 renderer brings the option to explicitly display the minimum and/or
11691 maximum or a series as shape. Currently, there are no options to adjust
11692 the style of those shapes.
11693
11694 * doc/conf/themes.xml: Added a new virtual theme 'MinMaxPoints'. All line
11695 theme inherit from that theme now.
11696
11697 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added methods to
11698 parse the fields 'showminimum' and 'showmaximum' of 'MinMaxPoints' theme.
11699
11700 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added
11701 methods to apply the fields of the new Theme 'MinMaxPoints'.
11702
11703 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Modified
11704 the getRenderer() method which now always returns a new instance of
11705 EnhancedLineAndShapeRenderer.
11706
11707 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11708
11709 Allow styling of outline of areas.
11710
11711 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
11712 Allow styling of outline of areas.
11713
11714 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
11715 Parse outline style for areas, apply it to renderer.
11716
11717 2012-01-03 Ingo Weinzierl <ingo@intevation.de>
11718
11719 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
11720
11721 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Call
11722 the new flys-backend method Wst.determineMinMaxQFree() to determine the
11723 min/max Qs at a given kilometer.
11724
11725 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11726
11727 * doc/conf/themes.xml: Reflect name chnage of longitudinal sections
11728 area artifacts and include ColorLine style for area styles.
11729
11730 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11731
11732 flys/issue370 (WINFO: Berechnungsausgabe W/Pegel [cm] fehlt bei Wasserspiegellage und W am Pegel)
11733
11734 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New method that
11735 extracts the double value of a WQ object's name.
11736
11737 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Adapted
11738 the header of CSV exports and the content of the "W at gauge" column.
11739
11740 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
11741 Adapted method signatures that have been changed in WaterlevelExporter.
11742
11743 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11744
11745 * src/main/resources/messages.properties,
11746 src/main/resources/messages_de_DE.properties,
11747 src/main/resources/messages_en.properties,
11748 src/main/resources/messages_de.properties: Added strings used in the CSV
11749 export.
11750
11751 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11752
11753 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Check
11754 if the location of a CSV row is in range of the reference gauge. Write
11755 "outside reference gauge" into CSV in such cases.
11756
11757 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11758
11759 PART II of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe)
11760
11761 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Add the
11762 named main value of a Q and the name of the gauge used for the calculation
11763 if the WQ mode is "W at gauge" or "Q at gauge".
11764
11765 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
11766 Adapted the method signatures that have been modified in
11767 WaterlevelExporter.
11768
11769 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11770
11771 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
11772 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11773 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11774 src/main/java/de/intevation/flys/exports/AxisSection.java,
11775 src/main/java/de/intevation/flys/exports/ExportSection.java,
11776 src/main/java/de/intevation/flys/exports/LegendSection.java,
11777 src/main/java/de/intevation/flys/exports/ChartSection.java: Removed
11778 unused imports.
11779
11780 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
11781
11782 PART I of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe)
11783
11784 * doc/conf/cache.xml: Registered a new Cache for the LocationProvider.
11785
11786 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
11787 New. This class is able to return the description of a location based on a
11788 river and kilometer parameter. The LocationProvider stores single
11789 locations into a Cache if one is configured for this class.
11790
11791 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
11792 Added a method that returns a single Annotation for a specific kilometer and
11793 river.
11794
11795 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
11796 getLocationDescription() that might be used to determine the description
11797 of a specified kilometer for a given river.
11798
11799 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Make use
11800 of FLYSUtils.getLocationDescription() to add a new column that contains
11801 the location description.
11802
11803 2011-12-29 Ingo Weinzierl <ingo@intevation.de>
11804
11805 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Write
11806 min/max values for free Qs into Artifact's DESCRIBE document.
11807
11808 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
11809
11810 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fixed
11811 broken order to determine the step width of Qs and Ws.
11812
11813 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
11814
11815 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
11816
11817 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
11818 Validate user defined free Q values.
11819
11820 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
11821
11822 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
11823 Compute better step width based on a maximal number of steps = 30.
11824 Results with digits are rounded up. E.g.:
11825 Q range = 9.6 - 1750
11826 Step width = 58.01
11827 Rounded result = 60
11828
11829 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11830
11831 * src/main/java/de/intevation/flys/exports/AxisSection.java,
11832 src/main/java/de/intevation/flys/exports/LegendSection.java,
11833 src/main/java/de/intevation/flys/exports/ChartSection.java: Subclasses
11834 TypeSection to be able to use convinience methods for string, integer,
11835 double and boolean values.
11836
11837 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11838
11839 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: The
11840 getSize() method now returns null if no width and height is specified in
11841 the request document or if width/height <= 0. It no longer returns the
11842 result of getDefaultSize().
11843
11844 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Set the
11845 size of a chart export to the size specified in the ChartSettings if
11846 there are no valid values in the request document.
11847
11848 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Set the
11849 chart size to ChartGenerator.getDefaultSize() if no valid values are
11850 returned by ChartGenerator.getSize(). This has been done autoamtically
11851 before.
11852
11853 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11854
11855 * src/main/java/de/intevation/flys/exports/TypeSection.java: New. This
11856 Section defines some convinience methods to add/set string, integer,
11857 double and boolean values.
11858
11859 * src/main/java/de/intevation/flys/exports/ExportSection.java: New.
11860 Subclasses TypeSection. The ExportSection currently offers attributes
11861 'width' and 'height'.
11862
11863 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added
11864 getter/setter methods to support an ExportSection.
11865
11866 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create an
11867 ExportSection while initial ChartSettings creation.
11868
11869 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11870
11871 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added and
11872 make use of a new method createLegendLabelFont() to create unified Fonts for
11873 LegendItems. This method considers the user defined size for LegendItems.
11874
11875 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11876
11877 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11878 Implemented adjustAxes(). This method now sets the label Font of the X
11879 axis. Its size is determined by getXAxisLabelFontSize().
11880
11881 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11882
11883 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added method
11884 getFontSize() to retrieve the font size for an axis.
11885
11886 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11887 Modified createYAxis(int): call super.createYAxis(int) and adjust
11888 necessary settings - no Axis creation takes place here.
11889
11890 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
11891 getXAxisLabelFontSize() and getYAxisLabelFontSize(int) to retrieve the
11892 user defined font size for an axis. The getYAxisLabelFontSize() is used in
11893 createYAxis(int) to set the font size for axes labels.
11894
11895 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11896
11897 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
11898 Override getYAxisWalker().
11899
11900 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create new
11901 instances of IdentifiableNumberAxis in createYAxis(int) default
11902 implementation.
11903
11904 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11905
11906 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added
11907 getLabel() to retrieve the axis label.
11908
11909 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11910 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
11911 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11912 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11913 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
11914 Override getDefaultXAxisLabel() and getDefaultYAxisLabel() defined in
11915 XYChartGenerator.
11916
11917 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implement
11918 getXAxisLabel() and getYAxisLabel(int). Both methods search for an axis
11919 label defined in the ChartSettings first. If no label is specified or if
11920 no ChartSettings is set, getDefaultXAxisLabel() or
11921 getDefaultYAxisLabel(int) is called to retrieve the initial/default axis
11922 label.
11923
11924 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
11925
11926 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Modified the
11927 signature of addAxisSection(). This method now accepts AxisSections only.
11928 In addition, there is a new method getAxisSection(String) that returns an
11929 AxisSection specified by its identifier.
11930
11931 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added new
11932 methods getIdentifier(), isFixed(), getUpperRange() and getLowerRange() to
11933 retrieve the attributes supported by this Section.
11934
11935 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use
11936 of axes ranges specified in ChartSettings if an axis is fixed.
11937
11938 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
11939
11940 * src/main/java/de/intevation/flys/exports/IdentifiableNumberAxis.java: New.
11941 Subclasses JFreeChart's NumberAxis and offers a getId() method which
11942 returns an identifiable key.
11943
11944 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implements
11945 a createNumberAxis() method that should be used by all subclasses to
11946 create new axes. This method returns an instance of IdentifiableNumberAxis
11947 which is required for zooming.
11948
11949 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11950 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11951 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
11952 Create new NumberAxis instances by using XYChartGenerator.createNumberAxis().
11953
11954 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
11955
11956 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11957 Implemented the methods getChartTitle() and getChartSubtitle(). Both
11958 methods try to get the required information from ChartSettings. If no
11959 ChartSettings is set for this OutGenerator, these methods will call
11960 getDefaultChartTitle() and getDefaultChartSubtitle().
11961
11962 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11963 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
11964 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11965 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11966 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
11967 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11968 Renamed getChartTitle() and getChartSubtitle() to
11969 getDefaultChartTitle() and getDefaultChartSubtitle(). In addition, the
11970 methods addSubtitles() became more robust - these OutGenerators add
11971 subtitles only if the subtitle is not empty.
11972
11973 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
11974
11975 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
11976 setSettings(Settings) method.
11977
11978 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11979 Call OutGenerator.setSettings() before calling doOut() for each Facet.
11980
11981 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Implemented
11982 setSettings() and added convinience methods to access chart specific
11983 settings.
11984
11985 * src/main/java/de/intevation/flys/exports/MapGenerator.java,
11986 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
11987 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
11988 src/main/java/de/intevation/flys/exports/ATExporter.java,
11989 src/main/java/de/intevation/flys/exports/ReportGenerator.java: Implemented
11990 setSettings().
11991
11992 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11993 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use
11994 of the attributes specified in the Settings: the title, subtitle,
11995 displayGrid and displayLegend settings are functional now.
11996
11997 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
11998
11999 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
12000 src/main/java/de/intevation/flys/exports/LegendSection.java,
12001 src/main/java/de/intevation/flys/exports/ChartSection.java: Use more
12002 concrete classes than Settings and Section in these classes to avoid a lot
12003 of castings.
12004
12005 2011-12-22 Ingo Weinzierl <ingo@intevation.de>
12006
12007 flys/issue242 (W-INFO: Fehlende Header in Datenexporten)
12008
12009 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added functions
12010 getQs(), getWs(), getGauge(), getGaugename() and getRivername() that all
12011 take a parameter FLYSArtifact.
12012
12013 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Moved the
12014 implementation of getGauge() to FLYSUtils. The getGauge() in this class
12015 just calls and returns FLYSUtils.getGauge().
12016
12017 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Write a
12018 header into a CSV export containing meta information about this export.
12019
12020 * src/main/resources/messages.properties,
12021 src/main/resources/messages_de_DE.properties,
12022 src/main/resources/messages_en.properties,
12023 src/main/resources/messages_de.properties: Added strings used in the CSV
12024 export as header.
12025
12026 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12027
12028 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
12029 (getKm): Removed, not called anymore.
12030
12031 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12032
12033 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
12034 Include km of cross-section-master in diagrams subtitle (fetched
12035 from 'blackboard'.
12036
12037 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12038
12039 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
12040 Cosmetics, docs.
12041
12042 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12043
12044 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
12045 (getInitialFacetActivity): Only newest CrossSection is initially
12046 active.
12047
12048 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12049
12050 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java
12051 (isNewest): New, query whether a CrossSection is the newest for its
12052 river, doc.
12053
12054 2011-12-21 Ingo Weinzierl <ingo@intevation.de>
12055
12056 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
12057 convinience method to retrieve the value of an data object stored at
12058 FLYSArtifact as Boolean value.
12059
12060 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method that
12061 returns the named value of a given double value. This method returns only
12062 the named value, if the WQ mode is "Q at gauge" and if the value fits to a
12063 named value. In addition to this method, there is a new method to retrieve
12064 the selected WQ mode as 'WQ_MODE' enum.
12065
12066 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
12067 Removed prepareData() and its call. The data preparation had a bad side
12068 effect: the modifications are "persisted" into cache, which has again bad
12069 side effects.
12070
12071 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Removed
12072 prepareData(). The label creation for columns in the WST export will now
12073 take place in addWSTColumn(). With help of the master Artifact (I forgot
12074 this Artifact in my last commit) we are able to replace Q values with
12075 their named main value.
12076
12077 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12078
12079 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
12080 Cover 'locations' case for initial km of cross section artifacts.
12081
12082 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12083
12084 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
12085 (initialize): Eat ld_from from master artifact.
12086 (setup): Set cross_section.km to either masters km or the lowest
12087 defined cross-section line, whatever is bigger.
12088
12089 2011-12-21 Ingo Weinzierl <ingo@intevation.de>
12090
12091 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe)
12092
12093 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
12094 stripNamedMainValue(). The result of this function is a named main value's
12095 base name without declaration of a year.
12096
12097 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
12098 method pepareData() that is called in doOut() before the data supported by
12099 the current Facet is added using addData().
12100
12101 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Override
12102 the prepareData() method to reset the name of WQKms objects. The Qs in a
12103 waterlevel export should be the Q value or the named main value if the
12104 value fits to a named main value.
12105
12106 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12107
12108 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12109 Survive cases where the first dataset has an area-renderer assigned.
12110
12111 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12112
12113 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java:
12114 Store additional parameter (whether or not to fill everything in
12115 between two curves.)
12116
12117 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
12118 Deliver additional info from artifact.
12119
12120 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
12121 Evaluate new parameter.
12122
12123 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12124
12125 * doc/conf/themes.xml: Add transparency setting to area theme style.
12126
12127 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Helper to
12128 access transparency setting in theme.
12129
12130 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
12131 Respect transparency setting.
12132
12133 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12134
12135 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
12136 Subclass BlackboardDataFacet to provide data for area calculation.
12137
12138 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12139 Cast data to WKms instead of WQKms.
12140
12141 2011-12-20 Ingo Weinzierl <ingo@intevation.de>
12142
12143 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
12144 Use a ';' as seperator between Qs and Ws.
12145
12146 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12147
12148 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
12149 (doOut, doArea): Added handling for areafacets. Code yet mostly
12150 copied from CrossSectionGenerator.
12151
12152 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12153
12154 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
12155 Refactoring, subclass BlackboardDataFacet, remove duplicate code.
12156
12157 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12158
12159 Cosmetics.
12160
12161 * doc/conf/artifacts/winfo.xml,
12162 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12163 Renamed facet for consistency reasons.
12164
12165 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12166
12167 Make Waterlevelfacet deliver data via blackbord.
12168
12169 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
12170 Subclass BlackboardDataFacet.
12171
12172 2011-12-20 Ingo Weinzierl <ingo@intevation.de>
12173
12174 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
12175 Create all formatted string labels for Ws and Qs in this class, because
12176 this class is the only instance that knows that there are double values
12177 to format.
12178
12179 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12180
12181 Introduced new Facet that will deliver whatever getData returns via
12182 blackbord under key which is defined by convention. Attention, the
12183 data is not cached if handled this way.
12184
12185 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
12186 New facet, will be useful for easing implementation of facets that
12187 can contribute to area-computations.
12188
12189 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12190
12191 * src/main/java/de/intevation/flys/exports/VisibleAttribute.java:
12192 Removed obsolete imports.
12193
12194 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12195
12196 Removed obsolete imports.
12197
12198 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
12199 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
12200 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java,
12201 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
12202 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12203 Removed obsolete imports.
12204
12205 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12206
12207 With StableXYDifferenceRenderer, create legend items in rectangular
12208 form, to discern "line" from "area" in legend.
12209
12210 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java
12211 (legendLine, legendShape): Renamed.
12212 (getLegendItem): Create LegendItem with fill, use PositivePaint for
12213 that.
12214
12215 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12216
12217 Added further 'area' infrastructure.
12218
12219 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
12220 New, "area dataset".
12221
12222 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
12223 (doOut): Use helper to decide if facet is an 'area' facet.
12224 (doArea): Construct StyledAreaSeriesCollection instead of two
12225 dataseries.
12226
12227 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12228 (AxisDataset.isArea): Distinguish area datasets with instanceof.
12229 (AxisDataset.addArea): New. Replaces addAreaDataset.
12230 (addAreaSeries): Simplified with new custom SeriesCollection.
12231 (applyTheme): Register and style StableXYDifferenceRenderer for
12232 StyledAreaSeriesCollections.
12233 Added various TODOs and debug output to stabilize development.
12234
12235 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12236
12237 * doc/conf/artifacts/winfo.xml: Added facets to compatibility
12238 matrices.
12239
12240 * doc/conf/themes.xml: Added Area theme defaults.
12241
12242 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12243
12244 Lay ground for having areas in longitudinal section diagrams, too.
12245 This is done by different naming of the facets.
12246
12247 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
12248 Make the name dynamic.
12249
12250 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12251 Added further facet types, helper.
12252
12253 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java:
12254 Store name for facets in data item, restrict access to some fields.
12255
12256 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
12257 Use AreaArtifacts data item to use name for facets.
12258
12259 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12260
12261 Cosmetics.
12262
12263 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java,
12264 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
12265 src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
12266 Doc.
12267
12268 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
12269 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
12270 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12271 Whitespace.
12272
12273 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Doc and
12274 whitespace.
12275
12276 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12277
12278 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
12279 (parseBoolean): New, extracted, updated callers.
12280 (parseFillColorField, parseShowBorder): New, for area styles.
12281
12282 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
12283
12284 flys/issue202 (W-INFo: Wasserspiegellagenberechnung / Vorbelegung Strecke)
12285
12286 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
12287 Added a system property which is used to determine, if the DESCRIBE
12288 document of an Artifact should include default values (values, that have
12289 been inserted by the user some time ago) or not. The default case is,
12290 that the DESCRIBE does NOT include default values. To enable default
12291 values, set "flys.use.default.values" to "true".
12292
12293 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
12294
12295 flys/issue419 (Themen-Name "Q(null)" bei W bei ungl. A.)
12296
12297 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
12298 Use correct variable to create Facet names.
12299
12300 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
12301
12302 flys/issue380 (W-INFO / Überschwemmungskarte, falsches DGM)
12303
12304 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
12305 convinience method that returns a parameter of FLYSArtifact as Integer.
12306
12307 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Override
12308 validate() to determine, if the DGM selected by the user is valid for the
12309 current calculation range and river.
12310
12311 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12312
12313 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12314 Roll-back accidentally committed changes.
12315
12316 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12317
12318 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
12319 (doOut): Hide 'invisible' (deleted) themes from Outgenerators.
12320
12321 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12322
12323 Added area.name data item and access to areaartifact.
12324
12325 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
12326 Rephrased debug output, do survive case where only one curve is
12327 given for area calculation (this is the "above" or "under" case).
12328
12329 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java
12330 (getAreaName): Access "area.name" data item.
12331
12332 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
12333 Respect area.name data of artifact when reproducing facets.
12334
12335 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12336
12337 * doc/conf/conf.xml: Fix, accidentally added wrong factory in last
12338 commit.
12339
12340 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12341
12342 * doc/conf/conf.xml: Register area artifact factory.
12343
12344 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12345
12346 * doc/conf/artifacts/winfo.xml: Added area artifacts to cross-section
12347 compatibility matrix.
12348
12349 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12350
12351 Add area dataseries when facet delivering one.
12352
12353 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
12354 (doOut): Handle area facets.
12355 (doArea): Register areas for area facets.
12356
12357 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12358
12359 Add simple area registerig functions.
12360
12361 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12362 (AxisDataset.addAreaDataset): New, add an area dataset.
12363 (AxisDataset.isArea): New.
12364 (addAreaSeries): New. Add Area Dataset.
12365 (applyThemes): Pass info if we have an area, to set different
12366 renderer.
12367
12368 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12369
12370 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
12371 Added convenience function and easy sybclassing.
12372
12373 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12374
12375 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12376 Register AREA ("area") facet type.
12377
12378 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12379
12380 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
12381 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
12382 Register blackboard key uuid+index and respond with data to it, as
12383 assumed by the areaartifact and facet.
12384
12385 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12386
12387 Added partial area-infrastructure.
12388
12389 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
12390 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
12391 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
12392 New artifact, facet and state for area rendering.
12393
12394 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
12395
12396 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Defined an
12397 interface YAxisWalker that allows to walk over each Y axis definition in
12398 subclasses. This walker can be retrieved using the new getYAxisWalker()
12399 method. The AxisSections are built in this class now.
12400
12401 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12402 Implemented the YAxisWalker interface and the getYAxisWalker() method.
12403 Removed the code to build AxisSections.
12404
12405 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
12406 Implemented getYAxisLabel(int pos) and getYAxisWalker().
12407
12408 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
12409 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
12410 Implemented the getYAxisWalker() method.
12411
12412 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
12413
12414 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12415 Some optimizations during out() operation - the CollectionAttribute is
12416 parsed a single time now (*i guess*). This code really needs some
12417 refactoring!
12418
12419 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
12420
12421 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12422 Added an INFO message that displays the duration time for the out()
12423 operation.
12424
12425 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
12426
12427 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12428 Calls super.buildAxisSections().
12429
12430 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12431 Implemented the method buildAxisSections(). The result list will contain
12432 an AxisSection for the X axis.
12433
12434 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
12435
12436 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Bugfix:
12437 Add new Outputs to the current CollectionAttribute if no old one is
12438 existing.
12439
12440 2011-12-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12441
12442 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
12443 Directly fetch key/value pairs when writing a collection attribute.
12444
12445 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
12446
12447 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added new
12448 functions that allow parsing a ChartSettings object from DOM Node.
12449
12450 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Parse
12451 the Settings of each Output.
12452
12453 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
12454
12455 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
12456 Added a method to set a new Settings object for a specific Output and a
12457 method to clear the list of Facets of a specific Output.
12458
12459 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: The
12460 AttributeWriter no longer creates new CollectionAttributes - it only
12461 modifies the old CollectionAttribute. At first, it clears the Facets of
12462 all Outputs. Finally, the merged Facets are added to the Outputs.
12463
12464 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12465 Added the CollectionAttribute to the AttributeWriters constructor.
12466
12467 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
12468
12469 * src/main/java/de/intevation/flys/exports/DoubleAttribute.java: New. An
12470 Attribute that stores double values.
12471
12472 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods
12473 to set values for 'fixation', 'font-size', 'lower' and 'upper'.
12474
12475 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12476 Set new attributes mentioned above for each axis' AxisSection.
12477
12478 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
12479
12480 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods
12481 to set the axis label and id.
12482
12483 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Improved
12484 the ChartSettings that will now contain a set of AxisSections. The new
12485 buildAxisSections() method in this class is not implemented and needs to
12486 be implemented by subclasses.
12487
12488 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12489 Override buildAxisSections() of XYChartGenerator to create an AxisSection
12490 for each axis that is able to be displayed in this sort of chart. In
12491 addition, there is a new method getYAxisLabel(int) that returns the label
12492 for a specific Y axis.
12493
12494 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
12495
12496 * src/main/java/de/intevation/flys/exports/IntegerAttribute.java: New.
12497 Concrete subclass of a DefaultAttribute for storing integer values.
12498
12499 * src/main/java/de/intevation/flys/exports/LegendSection.java: New. A
12500 concrete Section subclass to store legend specific attributes.
12501
12502 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
12503 src/main/java/de/intevation/flys/exports/StringAttribute.java: Removed
12504 needless import of org.w3c.dom.Attr.
12505
12506 * src/main/java/de/intevation/flys/exports/ChartSettings.java: ChartSettings
12507 is able to store a Section for legends now.
12508
12509 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
12510 methods to retrieve the font size of legends and if the legend should be
12511 visible or not. In addition, the ChartSettings returned by this instance
12512 will now contain a LegendSection as well.
12513
12514 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
12515
12516 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Introduced
12517 methods getChartSubtitle() and isGridVisible(). getChartSubtitle() returns
12518 in this implementation null. Concrete subclasses should override this
12519 mehtod if they require subtitles in charts. isGridVisible() determines if
12520 the grid in the chart should be visible or not. This method return always
12521 true in this implementation.
12522 In addition, the Settings object returned by getSettings() will now have a
12523 ChartSection set properly.
12524
12525 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12526 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
12527 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12528 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
12529 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12530 Override getChartSubtitle().
12531
12532 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
12533
12534 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12535 Prepare the OutGenerator (process each of the Output's Facets) during the
12536 describe() operation to be able to return an initial Settings object.
12537
12538 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
12539
12540 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
12541 src/main/java/de/intevation/flys/exports/VisibleAttribute.java,
12542 src/main/java/de/intevation/flys/exports/StringAttribute.java: Fixed wrong
12543 usage of DOM operations.
12544
12545 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
12546
12547 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
12548 src/main/java/de/intevation/flys/exports/VisibleAttribute.java,
12549 src/main/java/de/intevation/flys/exports/StringAttribute.java: New.
12550 Concrete subclasses of a DefaultAttribute.
12551
12552 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
12553 src/main/java/de/intevation/flys/exports/AxisSection.java,
12554 src/main/java/de/intevation/flys/exports/ChartSection.java:
12555 Implementations for chart settings. WORK IN PROGRESS!
12556
12557 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Override
12558 the getSettings() method. The implementation here returns a ChartSettings
12559 instance.
12560
12561 * src/main/java/de/intevation/flys/exports/EmptySettings.java: Modified the
12562 node name of the settings ("art:settings" -> "settings").
12563
12564 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12565
12566 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
12567 Cosmetics, doc.
12568
12569 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12570
12571 Cosmetics.
12572
12573 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
12574 Remove needless imports.
12575
12576 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12577
12578 Fix/Guard certain misconditions.
12579
12580 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Do
12581 not crash when given null-range.
12582
12583 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
12584 Do not crash when given malformed array.
12585
12586 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12587
12588 Cosmetics.
12589
12590 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
12591 ChangeLog: Whitespace cosmetic.
12592
12593 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
12594 Annotation cosmetic.
12595
12596 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
12597 Convenience cosmetic.
12598
12599 * src/main/java/de/intevation/flys/utils/DataUtil.java:
12600 vim-magicosmetic.
12601
12602 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12603
12604 Implement new WaterLineArtifact where needed so far.
12605
12606 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12607 Declare that we implement WaterLineArtifact.
12608
12609 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
12610 (getWaterLines): Implement to fulfil new WaterLineArtifact-
12611 interface-impl. Also generate new Facet.
12612
12613 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
12614 Do not depend on WINFOArtifacts, but on WaterLineArtifacts instead.
12615
12616 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12617
12618 Added interface WaterLineArtifact to be implemented by artifacts
12619 that know how to create a water line "against" a cross section.
12620
12621 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
12622 New, straight-forward interface.
12623
12624 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
12625
12626 * src/main/java/de/intevation/flys/exports/EmptySettings.java: An
12627 implementation of the Settings interface defined in the artifact-database
12628 module. This implementation accepts no Section objects at all and creates
12629 an empty "settings" Node in its toXML() operation.
12630
12631 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Defined a new
12632 method getSettings() that returns a Settings instance.
12633
12634 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
12635 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
12636 src/main/java/de/intevation/flys/exports/MapGenerator.java,
12637 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
12638 src/main/java/de/intevation/flys/exports/ATExporter.java,
12639 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
12640 Implemented the getSettings() operation. All OutGenerators will currently
12641 return an instance of EmptySettings.
12642
12643 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12644 Before the DESCRIBE document is created, we gonna evaluate each Output
12645 defined in the Collection's attribute document, if it has a Settings
12646 object set. If this is not the case, the relevant OutGenerator is called
12647 to retrieve a new instance of Settings.
12648
12649 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
12650 Append the Settings of Outputs to the Output nodes in the XML
12651 representation.
12652
12653 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12654
12655 Recommend cross-sections.
12656
12657 * doc/conf/meta-data.xml: When having a cross-section out, recommend
12658 respective artifacts.
12659
12660 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12661
12662 Register factory for CrossSectionArtifacts.
12663
12664 * doc/conf/conf.xml: Register CrossSectionArtifact-Factory.
12665
12666 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
12667
12668 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
12669 New. This class will store the information provided in the Collection's
12670 attribute (which is a DOM document).
12671
12672 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
12673 Store an instance of CollectionAttribute and append its XML representation
12674 to the DESCRIBE document.
12675
12676 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Removed
12677 all DOM operations from this writer. Its new task is to create a new
12678 CollectionAttribute object which represents a merged version of the old
12679 CollectionAttribute and the information provided by the Collection's child
12680 Artifacts.
12681
12682 * src/main/java/de/intevation/flys/collections/AttributeParser.java: The
12683 result of AttributeParser's parse() operation is a CollectionAttribute
12684 object now. The methods getOuts() and getFacets() are as of now proxy
12685 methods that call the relevant methods of CollectionAttribute.
12686
12687 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12688 Some structural changes in the process to build the attribute Document of
12689 the Collection's DESCRIBE. We will no longer work with Document during
12690 this process but with instances of CollectionAttribute.
12691
12692 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12693
12694 Server-side of newer Cross-Section diagram construction architecture.
12695
12696 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
12697 (searchCrossSectionKmLine, getCrossSectionSnapKm),
12698 (getCrossSectionData): Removed, most functionality contained in
12699 CrossSectionArtifact.
12700 (getWaterLines): Now get CrossSectionLines to calculate water line.
12701
12702 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
12703 Get a CrossSectionLine from blackboard.
12704
12705 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
12706 Hard TODO, commented out function needed for subtitle to allow
12707 compilation.
12708
12709 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
12710 Added Empty-Dataset- guard.
12711
12712 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12713
12714 Cosmetics.
12715
12716 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12717 Cosmetics.
12718
12719 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
12720
12721 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java,
12722 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
12723 Removed superfluous imports.
12724
12725 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
12726
12727 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
12728 New. This class helps generating the DESCRIBE document of a collection.
12729
12730 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12731 Moved some of the code to create the DESCRIBE document out to
12732 CollectionDescriptionHelper.
12733
12734 2011-12-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12735
12736 Resolve todo about wrongly named cross sections.
12737 Open StaticState to allow that facets survive a compute.
12738
12739 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java
12740 (computeAdvance, computeFeed, computeInit): Override to call
12741 staticCompute.
12742 (staticCompute): New. Do nothing but be able to be overridden.
12743
12744 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
12745 (setup): Fetch facets name from db (resolves todo).
12746 (getCurrentState): override staticstates staticcompute to let
12747 facets survive a compute.
12748
12749 2011-12-12 Ingo Weinzierl <ingo@intevation.de>
12750
12751 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java,
12752 src/main/java/de/intevation/flys/wsplgen/WSPLGENCallable.java: Renamed
12753 JobExecutor to WSPLGENCallable (because it is a Callable now). In addition
12754 to the call() method which starts the WSPLGEN process, this Callable
12755 offers a cancelWSPLGEN() method to destroy a running WSPLGEN process.
12756
12757 * src/main/java/de/intevation/flys/wsplgen/WSPLGENFuture.java: A FutureTask
12758 that overrides cancel(boolean). Before this instance call
12759 super.cancel(boolean), it executes WSPLGENCallable.cancelWSPLGEN() to kill
12760 a running WSPLGEN process.
12761
12762 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: The Scheduler is
12763 no longer a Runnable. It makes now use of a ScheduledThreadPoolExecutor to
12764 schedule the incoming WSPLGENJobs. The ScheduledThreadPoolExecutor has a
12765 fixed number of worker threads that process the jobs. The number is 1 per
12766 default; it can be modified using a System property "wsplgen.max.threads".
12767
12768 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
12769 a string constant SCHEDULER.
12770
12771 * src/main/java/de/intevation/flys/wsplgen/SchedulerSetup.java: A
12772 LifetimeListener that currently implements the systemUp() method to create
12773 an instance of Scheduler. After its creation, the Scheduler is put into
12774 the GlobalContext using FLYSContext.SCHEDULER as key.
12775
12776 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12777 Fetch the Scheduler from GlobalContext.
12778
12779 * doc/conf/conf.xml: Registered SchedulerSetup as LifetimeListener.
12780
12781 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12782
12783 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
12784 (describe): Add data items to StaticFLYSArtifacts describe-doc.
12785
12786 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12787
12788 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
12789 (addDefaultChartOutput): Convenienve function to add a chart-output.
12790
12791 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12792
12793 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
12794 Play nice with CrossSectionArtifact. Employ blackboard.
12795
12796 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
12797 Spawn a CrossSectionFacet, handle various data.
12798
12799 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12800 Do not produce CrossSectionFacets anymore, these now "belong" to
12801 CrossSectionArtifacts.
12802
12803 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12804
12805 * doc/conf/cache.xml: Added cross_sections cache.
12806
12807 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12808
12809 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
12810 (getCrossSection, getCrossSectionUncached): New, access specific
12811 CrossSection, employ caching.
12812
12813 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12814
12815 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
12816 New artifact to handle cross-section access.
12817
12818 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de>
12819
12820 Issue 413.
12821
12822 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
12823 Apply point size from theme attribute linewidth.
12824
12825 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12826
12827 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
12828 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
12829 src/main/java/de/intevation/flys/exports/OutGenerator.java,
12830 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
12831 Cosmetics.
12832
12833 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12834
12835 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
12836 Documentation added, let a value be its own neighbour (distance 0).
12837
12838 2011-12-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12839
12840 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
12841 Added "Bezugslinie" to list of calculation alternatives.
12842
12843 * src/main/resources/messages.properties,
12844 src/main/resources/messages_de_DE.properties,
12845 src/main/resources/messages_de.properties: Added I18N.
12846
12847 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12848
12849 Further flys/issue420 fix (No Discharge Curves for Mosel).
12850
12851 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12852 (includeYRange, mergeRanges): Moved NaN-guard to lowest level.
12853 (combineXRanges): Also NaN guard the X Axis extent.
12854
12855 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12856
12857 Partial fix for flys/issue420 (Berechnete Abflusskurve: Kein Diagramm für
12858 Mosel). Protect axis extent calculation from empty or invalid
12859 datasets.
12860
12861 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12862 (includeRange, includeYRange): Renamed, updated callers.
12863 (includeYRange): Protect from merging extent with NaNs.
12864 (debugDatasets): Be more verbose on the datasets.
12865 (zoom): Doc.
12866
12867 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12868
12869 Fix flys/issue423 (Diagramm: Hauptwerte bei Abflusskurve am Pegel
12870 werden an Y-Achse nicht angezeigt) - show not "raw" (vs interpolated)
12871 values at Gauge.
12872
12873 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
12874 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
12875 Add parameterization to let facet know whether to fetch data at
12876 Gauges or at Artifacts position.
12877
12878 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
12879 Let the MainValueFacets know whether to ask for interpolated
12880 MainValues; (do not interpolate for Gauges Main Values).
12881 (getMainValuesQ, getMainValuesW): Added parameter to control
12882 interpolation.
12883
12884 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
12885
12886 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified
12887 prefix constants for Mapserver layers and renamed constants (which have
12888 been postfixes before).
12889
12890 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Adjusted
12891 usage of Mapserver constants to the changes described above.
12892
12893 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
12894
12895 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12896 Bugfix: Evaluate the correct parameter whether to set the floodplain or
12897 not. In addition, the scenario parameter used by WSPLGEN is now set
12898 correctly.
12899
12900 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12901
12902 Allow longitudinal_section.q facets in wdiff states output.
12903
12904 * doc/conf/artifacts/winfo.xml: Added longitudinal_section.q facets
12905 to w-diff states out compatibility- matrix.
12906
12907 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12908
12909 Refactored Longitudinal*/WDiff-*Generator hierarchy and change axis
12910 ordering, resolved label-i18n TODO.
12911
12912 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12913 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12914 Merge, avoid duplicate code, fix axis ordering in w-diff diagram,
12915 label in ls-diagramm.
12916
12917 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
12918
12919 * src/main/resources/messages.properties,
12920 src/main/resources/messages_de_DE.properties,
12921 src/main/resources/messages_en.properties,
12922 src/main/resources/messages_de.properties: Added missing state titles.
12923
12924 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12925
12926 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
12927 Do not include zero on first axis.
12928
12929 2011-12-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12930
12931 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12932 (buildArtifactNode): Include artifacts state data in description
12933 document of collection.
12934
12935 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12936
12937 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12938 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12939 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
12940 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
12941 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
12942 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12943 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
12944 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
12945 src/main/java/de/intevation/flys/exports/ATExporter.java,
12946 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
12947 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
12948 src/main/java/de/intevation/flys/exports/OutGenerator.java,
12949 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
12950 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
12951 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12952 Removed superfluous imports.
12953
12954 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12955
12956 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12957 Removed import to make it compileable again.
12958
12959 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12960
12961 Introduce pre-rendering inter-facet communication phase ('blackboard
12962 pass').
12963
12964 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
12965 (doBlackboardPass): New. Before actually calling doOut, bundle
12966 ArtifactAndFacets and let them register
12967 themselfes as DataProvider in CallContext if they
12968 want ("announce on blackboard").
12969
12970 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12971
12972 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java
12973 (doOut): Adjusted signature.
12974
12975 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12976
12977 Changed doOut signature to use ArtifactAndFacet, which will be
12978 side effect of upcoming "blackboard" feature.
12979
12980 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
12981 (getRangesForDataset, getRangesForAxis): Renamed, removed TODO.
12982
12983 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java
12984 (createAxis): Update call to XYChartGenerator.getRangesForAxis,
12985 cosmetics.
12986
12987 * src/main/java/de/intevation/flys/exports/OutGenerator.java
12988 (doOut): Changed Signature to accet ArifactAndFacet instead of
12989 Artifact and Facet.
12990
12991 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
12992 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12993 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
12994 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
12995 src/main/java/de/intevation/flys/exports/MapGenerator.java,
12996 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
12997 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
12998 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
12999 src/main/java/de/intevation/flys/exports/ATExporter.java,
13000 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
13001 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
13002 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
13003 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java
13004 (doOut): Adjusted to new signature.
13005
13006 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
13007 (adjustAxes): Removed, we do not need a (manual) second axis.
13008
13009 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13010
13011 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13012 Fix compilation, use features of XYChartGenerator.
13013
13014 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13015 Set default behaviour such that 0 is not included in ranges.
13016
13017 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
13018 Set behaviour of axis such that 0 is not (automagically) included.
13019
13020 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13021
13022 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
13023 Fix wrong documentation.
13024
13025 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13026
13027 Fix LongitudinalSections multi-axes plotting behavior.
13028
13029 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13030 Removed obsolete functions, use better working multi-axis
13031 magic by XYChartGenerator.
13032
13033 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13034
13035 Overhaul dataset/axis/renderer housekeeping in Mother of all
13036 ChartGenerators.
13037
13038 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13039 Refactored, keep axis/rendering relevant information in objects
13040 of new class AxisDataset. Removed some obsolete code while adding
13041 documentation.
13042
13043 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13044
13045 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
13046 Added the implementation of the 'Bezugslinienverfahren'. Should
13047 be complete but needs testing!
13048 TODO: Setup a Calculation and integrate it into WINFO.
13049
13050 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13051
13052 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13053 Refactored the code for the "berechnete Abflusskurve" to enable
13054 the "Bezugslinienverfahren" to use the same code paths. It also
13055 removes a good deal of already existing code duplication.
13056
13057 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13058
13059 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(findQsForW):
13060 Added method findQsForW(w, km) to retrieve the Qs that correspond
13061 for the given w and km.
13062
13063 This is to be called when doing a "W auf freier Strecke" calculation
13064 to find out the Qs belonging to the user given W.
13065
13066 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
13067 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
13068 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13069 Removed superfluous imports.
13070
13071 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13072
13073 Fix bug when adding Q data in LongitudinalSectionGenerator.
13074
13075 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13076 Add data from Q -Facet as Q over Km points.
13077
13078 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13079
13080 Added handling of empty plots.
13081
13082 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13083 (createAxes, removeEmptyRangeAxes): Survive empty datasets map, create
13084 primary axis.
13085 (recoverEmptyPlot): New.
13086
13087 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13088
13089 Let first visible axis be always on the left.
13090
13091 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13092 (createAxes): When creating axes, keep track of which is the first
13093 one. Set its location to "left".
13094
13095 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13096
13097 Use multiple axis in relevant generators.
13098
13099 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
13100 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
13101 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
13102 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
13103 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13104 (createYAxis): Implemented.
13105 Define and use YAXIS enum for axes.
13106
13107 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13108
13109 Fix theming and legend items for plot with multiaxis feature.
13110 Decouple renderer index from dataset index.
13111
13112 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13113 (applyThemes): Do not get renderer based on dataset/axis-index but
13114 count.
13115
13116 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13117
13118 In XYChartGenerators allow more than two datasets.
13119 Assign axis to indices of datasets, do not show axis if corresponding
13120 dataset is set to be not visible.
13121 Do proper axis-setting in LongitudinalSectionGenerator only (other
13122 will follow). Based on a patch by Sascha Teichmann.
13123
13124 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13125 Keep relation between index and dataset, once its added. Compute
13126 ranges per index. Allow subclasses to override createAxes to specify
13127 internationalized labels etc.
13128
13129 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
13130 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
13131 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
13132 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
13133 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
13134 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
13135 Add datasets to first index.
13136
13137 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13138 Implement createYAxis to create correct first, second and third
13139 axis. Added enum to easy identification of axis. Stripped down
13140 adjustAxis which was used to create second axis.
13141 Add datasets at correct indices.
13142
13143 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13144
13145 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java,
13146 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java,
13147 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
13148 Cosmetics, docs.
13149
13150 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13151
13152 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
13153 Cosmetics, docs.
13154
13155 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13156
13157 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
13158 Cosmetics, docs.
13159
13160 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13161
13162 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
13163 Resolved TODO about caching certain WstValueTables.
13164
13165 2011-11-22 Ingo Weinzierl <ingo@intevation.de>
13166
13167 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java: New.
13168 This Artifact is used to allow users adding external WMS layers to their
13169 floodmaps. An ExternalWMSArtifact stores an URL of a WMS, the name and the
13170 title of the WMS layer. The internal State extends WMSBackgroundState.
13171
13172 * doc/conf/conf.xml: Registered the ExternalWMSArtifact.
13173
13174 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
13175 new type "floodmap.externalwms" which is used by the ExternalWMSArtifact.
13176
13177 * doc/conf/artifacts/winfo.xml: Allowed the "floodmap.externalwms" facet for
13178 floodmaps.
13179
13180 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
13181 Some refactoring to allow easier subclassing.
13182
13183 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13184
13185 Fixed flys/411.
13186
13187 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
13188 Use different queries to avoid costy joins.
13189
13190 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13191
13192 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
13193 Use different queries to avoid costy joins. Patch by Sascha
13194 Teichmann, minor typo-fix.
13195
13196 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13197
13198 * doc/conf/artifacts/winfo.xml: Added other.wkms.interpol facet
13199 to compatibility matrix for computed discharge curves.
13200
13201 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13202
13203 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13204 Resolve cosmetic todo, use importData-convenience method.
13205
13206 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13207
13208 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13209 Handle STATIC_WKMS_INTERPOL and WQ/Points as Annotations.
13210
13211 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13212
13213 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
13214 Give Facet different name when its a flood*, so that it can be
13215 understood to be e.g. a flood-protection further down the processing
13216 line.
13217
13218 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13219
13220 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13221 Prevent ArrayIndexOutOfBounds, log method entry.
13222
13223 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13224
13225 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
13226 Added new Facet Type: Interpolated W/Km values.
13227
13228 2011-11-16 Ingo Weinzierl <ingo@intevation.de>
13229
13230 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
13231 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
13232 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Avoid
13233 WMS layer names that begin with digits. This would lead to invalid
13234 WMSGetFeatureInfo responses, where the name of a layer is the name of a
13235 XML node.
13236
13237 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13238
13239 * doc/conf/meta-data.xml: Added and use *_wq macros for interpolated
13240 w/q data (currently used in computed discharge curve only).
13241
13242 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13243
13244 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13245 Handle STATIC_WQ_ANNOTATION type facets, build and add annotations
13246 for these.
13247
13248 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13249
13250 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
13251 Set Facet type (name) based on static datas name (special case
13252 everything starting with "height").
13253
13254 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13255
13256 * doc/conf/artifacts/winfo.xml: Extended compatibility matrices.
13257
13258 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13259
13260 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
13261 Added new STATIC_WQ_ANNOTATIONS Facet Type.
13262
13263 2011-11-16 Ingo Weinzierl <ingo@intevation.de>
13264
13265 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
13266 Added a method isQueryable() that determines if a layer is queryable via
13267 WMS GetFeatureInfo request. This method returns false as default.
13268
13269 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
13270 Override isQueryable(). All WMSDBLayerFacets are queryable via WMS
13271 GetFeatureInfo request.
13272
13273 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13274
13275 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
13276 Added functionality to artifact to use single column wst
13277 interpolators.
13278
13279 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13280
13281 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
13282 Added methods to create WstValueTables (interpolators) for specific
13283 columns of wsts.
13284
13285 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13286
13287 * doc/conf/themes.xml: Added Point Style for other.wq data.
13288
13289 2011-11-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13290
13291 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13292 Do not re-evaluate constant size() in for-loops.
13293
13294 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13295
13296 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
13297 Get ld_locations not locations data item to determine km.
13298 (getDataAsDouble): New helper function to get data item as double.
13299
13300 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13301
13302 * doc/conf/meta-data.xml: Recommend fixations for computed discharge
13303 curve outs, minor refactoring of dc conf.
13304
13305 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13306
13307 * doc/conf/conf.xml: Added wqinterpol factory to produce
13308 WQKmsInterpolArtifacts.
13309
13310 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13311
13312 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13313 Use StyledSeriesBuilder to add WQ data from WQKms to Series.
13314
13315 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13316
13317 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13318 Handle interpolated WQ data.
13319
13320 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13321
13322 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
13323 Adjusted to similar implementations. Added TODO about merging with
13324 these similar implementations.
13325
13326 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13327
13328 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13329 Removed logging noise, find better suited rows for interpolation.
13330
13331 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13332
13333 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
13334 Cache WstValueTables that were fetched by wst_id.
13335
13336 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13337
13338 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
13339 (getWstName): Fix and use SQL statement.
13340
13341 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13342
13343 * src/main/java/de/intevation/flys/artifacts/model/WQFacet.java,
13344 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
13345 Added new Facet and Artifact to access W over Q data.
13346
13347 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13348
13349 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13350 (importData): New function to copy data from one artifact to
13351 another.
13352
13353 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13354
13355 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java
13356 (getTable): New methods to get WstValueTable for given wst_id.
13357 Prepolate Arrays with NaNs.
13358
13359 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13360
13361 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
13362 (getWKmsName): Fix definition.
13363
13364 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13365
13366 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
13367 (getWKmsName): New function. Get name (description) of a WST.
13368
13369 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13370
13371 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
13372 Added new "other.wq"/STATIC_WQ Facet-Type, e.g. for fixations in
13373 discharge curves.
13374
13375 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13376
13377 Picky cosmetics.
13378
13379 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java,
13380 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java,
13381 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
13382 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
13383 Cosmetics, docs.
13384
13385 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13386
13387 Added translations for Mosel, Elbe and Saar.
13388
13389 * src/main/resources/messages.properties,
13390 src/main/resources/messages_de_DE.properties,
13391 src/main/resources/messages_en.properties,
13392 src/main/resources/messages_de.properties: Added translations
13393 for Mosel, Elbe, Saar.
13394
13395 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13396
13397 Added new interpolation mechanism to WstValueTable to interpolate
13398 given columns only.
13399
13400 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java
13401 (linearW): New, interpolate a given columns w's between given rows.
13402 (interpolateWQColumnwise): New, interpolate between rows ws at a
13403 given column and km.
13404
13405 2011-11-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13406
13407 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13408 Minor doc added.
13409
13410 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13411
13412 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
13413 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java,
13414 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
13415 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
13416 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
13417 src/main/java/de/intevation/flys/themes/ThemeFactory.java:
13418 Removed dead ';' from empty bodies.
13419
13420 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13421
13422 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
13423 s/reset/resetQuick/s in TDoubleArrayLists.
13424
13425 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13426
13427 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
13428 Added system properties 'waterlevel' and 'km'. Useful to
13429 init the UI with a given waterlevel and drawing the cross-sections
13430 at the given km.
13431
13432 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
13433 Spliting by NaNs definition holes _should_ work now. Needs
13434 some more testing.
13435 TODOs:
13436 - Use log4j instead of println for logging.
13437 - Subclass XYDifferenceRenderer instead of replacing it totally.
13438
13439 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13440
13441 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
13442 Draw water, too.
13443
13444 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
13445 First code to split datasets by NaNs. WIP.
13446
13447 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13448
13449 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
13450 Draw ground with StableXYDifferenceRenderer.
13451
13452 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
13453 Removed XYDatasetToZeroMapper stuff. Not needed any longer
13454 because we use rendereres on dataset basis now.
13455
13456 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java:
13457 Removed.Not longer needed.
13458
13459 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13460
13461 * doc/conf/meta-data.xml: Include computed discharge curves in dc
13462 conf.
13463
13464 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13465
13466 * doc/conf/meta-data.xml: Somewhat unify user-part of dc config.
13467
13468 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
13469
13470 * doc/conf/themes.xml: Modified some floodmap styles and added a
13471 backgroundcolor attribute to polygon themes.
13472
13473 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
13474 Added support for backgroundcolor.
13475
13476 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse
13477 backgroundcolor from theme document. If a value is given, the
13478 backgroundcolor is set on the Mapserver style.
13479
13480 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
13481
13482 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
13483 Set correct Mapserver attribute name to adjust the width of a line.
13484
13485 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
13486
13487 * doc/conf/themes.xml: Added 'textcolor' and 'textsize' attributes to the
13488 existing 'Kms' theme.
13489
13490 * doc/conf/mapserver/fontset.txt: Defined a 'DefaultFont' that is used as
13491 default font for Mapserver labels.
13492
13493 * doc/conf/mapserver/db_layer.vm: Add a Mapserver LABELITEM if a value is
13494 provided by LayerInfo object.
13495
13496 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added a
13497 getLabelItem() method that returns null as default.
13498
13499 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override
13500 getLabelItem() to return "km" which is the database field that contains
13501 the kilometer information.
13502
13503 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java,
13504 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
13505 Added an attribute labelItem with appropriate getter/setter methods.
13506
13507 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
13508 Splitted up the internal class Clazz. Now, there are two new inner
13509 classes Style and Label that fulfill the appropriate Mapfile sections of
13510 Mapserver.
13511
13512 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Also Read font
13513 attributes and add new Clazz Label for the Mapserver layer.
13514
13515 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the
13516 "labelItem" attribute on the LayerInfo object used to fill DB layer
13517 templates.
13518
13519 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13520
13521 * doc/conf/meta-data.xml: Re-use macros to include more data to
13522 datacage in more situations.
13523
13524 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
13525
13526 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
13527 Removed needless imports.
13528
13529 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
13530
13531 * src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java: New
13532 WMSDBArtifact that creates facets for "fixpoints" relation.
13533
13534 * doc/conf/artifacts/winfo.xml: Registered "floodmap.fixpoints" as valid
13535 "floodmap" facet.
13536
13537 * doc/conf/conf.xml: Registered the new WMSFixpointsArtifact.
13538
13539 * doc/conf/themes.xml: Added a theme for "floodmap.fixpoints".
13540
13541 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13542 Facet type "floodmap.fixpoints".
13543
13544 * doc/conf/meta-data.xml: Made "floodmap.fixpoints" available via datacage.
13545
13546 * src/main/resources/messages.properties,
13547 src/main/resources/messages_de_DE.properties,
13548 src/main/resources/messages_en.properties,
13549 src/main/resources/messages_de.properties: Added titles for
13550 "floodmap.fixpoints" facets.
13551
13552 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13553
13554 * doc/conf/meta-data.xml: Refactored and (re)use macros.
13555
13556 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
13557
13558 * src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java: New
13559 WMSDBArtifact that creates facets for "buildings" relation.
13560
13561 * doc/conf/artifacts/winfo.xml: Registered "floodmap.buildings" as valid
13562 "floodmap" facet.
13563
13564 * doc/conf/conf.xml: Registered the new WMSBuildingsArtifact.
13565
13566 * doc/conf/themes.xml: Added a theme for "floodmap.buildings".
13567
13568 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13569 Facet type "floodmap.buildings".
13570
13571 * doc/conf/meta-data.xml: Made "floodmap.buildings" available via datacage.
13572
13573 * src/main/resources/messages.properties,
13574 src/main/resources/messages_de_DE.properties,
13575 src/main/resources/messages_en.properties,
13576 src/main/resources/messages_de.properties: Added titles for
13577 "floodmap.buildings" facets.
13578
13579 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
13580
13581 * src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java: New
13582 WMSDBArtifact that creates facets for "lines" relation.
13583
13584 * doc/conf/artifacts/winfo.xml: Registered "floodmap.lines" as valid
13585 "floodmap" facet.
13586
13587 * doc/conf/conf.xml: Registered the new WMSLineArtifact.
13588
13589 * doc/conf/themes.xml: Added a theme for "floodmap.lines".
13590
13591 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13592 Facet type "floodmap.lines".
13593
13594 * doc/conf/meta-data.xml: Made "floodmap.lines" available via datacage.
13595
13596 * src/main/resources/messages.properties,
13597 src/main/resources/messages_de_DE.properties,
13598 src/main/resources/messages_en.properties,
13599 src/main/resources/messages_de.properties: Added titles for facets.
13600
13601 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13602
13603 * doc/conf/meta-data.xml: Adjusted DC configuration to
13604 also allow heightmarks and base data in discharge longitudinal
13605 sections. Minor refac.
13606
13607 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13608
13609 * doc/conf/meta-data.xml: Adjusted DC configuration to let old
13610 calculations be available for discharge longitudinal sections.
13611
13612 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13613
13614 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
13615 Handle other WQKm and WKm Facets.
13616
13617 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13618
13619 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java
13620 (IS): New inner class with static method to allow queries whether
13621 a type belongs to a however-defined "group".
13622
13623 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13624
13625 * doc/conf/conf.xml: Reverted accidental commit.
13626
13627 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation
13628 for discharge longitudinal sections.
13629
13630 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13631
13632 * doc/conf/conf.xml: Reverted accidental commit.
13633
13634 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation
13635 for discharge longitudinal sections.
13636
13637 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13638
13639 Made discharge longitudinal section out compatible with annotations.
13640
13641 * doc/conf/artifacts/winfo.xml: Added facets to compatibility list
13642 for discharge longitudinal section outs.
13643
13644 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13645
13646 Extracted Annotations-Macro in dc conf, recommend Annotations for
13647 discharge longitudinal sections. (Note correction two commits later).
13648
13649 * doc/conf/conf.xml: Extracted annotations-macro, add recommendation
13650 for discharge longitudinal sections.
13651
13652 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13653
13654 Handle Annotations in DischargeLongitudinalSection diagrams.
13655
13656 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
13657 Call doAnnotations for LONGITUDINAL_ANNOTATION facets.
13658
13659 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13660
13661 Resolve code duplicate.
13662
13663 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
13664 (doAnnotationsOut): Removed duplicate code.
13665 Theoretically handle WQKMS data.
13666
13667 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13668 Adjusted call to doAnnotationOut.
13669
13670 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
13671 (doAnnotations): Doc from LongitudinalSectionGenerator.
13672
13673 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13674
13675 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13676 Include exception when logging issue with spline creation.
13677
13678 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13679
13680 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
13681 When during XPath evaluation an exception is thrown, log the
13682 expression that caused the trouble.
13683
13684 2011-11-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13685
13686 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
13687 Use separate XYDataset for each curve. This is needed because
13688 "Raum/Flaeche" needs specialized renderers, which are not compatible
13689 with the standard renderers.
13690
13691 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
13692 Removed superfluous import.
13693
13694 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
13695
13696 * src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java: New
13697 Artifact that is used to create WMS layers for floodplains in maps.
13698
13699 * doc/conf/conf.xml: Registered the new WMSFloodplainArtifact.
13700
13701 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13702 a new type 'floodmap.floodplain'.
13703
13704 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.floodplain' facet
13705 for floodmaps.
13706
13707 * doc/conf/themes.xml: Added a theme for 'floodmap.floodplain' facets.
13708
13709 * doc/conf/meta-data.xml: Added configuration for 'floodplain'.
13710
13711 * src/main/resources/messages.properties,
13712 src/main/resources/messages_de_DE.properties,
13713 src/main/resources/messages_en.properties,
13714 src/main/resources/messages_de.properties: Added facet titles for
13715 'floodmap.floodplain' facets.
13716
13717 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
13718
13719 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java: New
13720 Artifact that is used to create WMS layers for catchments in maps.
13721
13722 * doc/conf/conf.xml: Registered the new WMSCatchmentArtifact.
13723
13724 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13725 a new type 'floodmap.catchment'.
13726
13727 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.catchment' facet
13728 for floodmaps.
13729
13730 * doc/conf/themes.xml: Added a theme for 'floodmap.catchment' facets.
13731
13732 * doc/conf/meta-data.xml: Added configuration for 'catchments'.
13733
13734 * src/main/resources/messages.properties,
13735 src/main/resources/messages_de_DE.properties,
13736 src/main/resources/messages_en.properties,
13737 src/main/resources/messages_de.properties: Added facet titles for
13738 'floodmap.catchment' facets.
13739
13740 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
13741
13742 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: New
13743 Artifact that is used to create WMS layers for flood protected works.
13744
13745 * doc/conf/conf.xml: Registered the new WMSHwsArtifact.
13746
13747 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13748 a new type 'floodmap.hws'.
13749
13750 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.hws' facet for
13751 floodmaps.
13752
13753 * doc/conf/themes.xml: Added a theme for 'floodmap.hws' facets.
13754
13755 * doc/conf/meta-data.xml: Added configuration for 'hws'.
13756
13757 * src/main/resources/messages.properties,
13758 src/main/resources/messages_de_DE.properties,
13759 src/main/resources/messages_en.properties,
13760 src/main/resources/messages_de.properties: Added facet titles for
13761 'floodmap.hws' facets.
13762
13763 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
13764
13765 * doc/conf/mapserver/dbconnection.include: Removed. DB connections are
13766 supported by LayerInfo objects now. So, we do not need to configure it any
13767 more.
13768
13769 * doc/conf/mapserver/db_layer.vm: The database connection is provided by
13770 LayerInfo objects. The "INCLUDE dbconnection.include" has been replaced.
13771
13772 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: The inner
13773 State class got two new methods that provide information about db
13774 connection string and connection type.
13775
13776 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java,
13777 src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Both
13778 classes support getter/setter for connection and connectionType.
13779
13780 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Fill
13781 LayerInfo objects used to create DB layers with the connection and
13782 connection type provided by WMSDBLayerFacet.
13783
13784 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13785
13786 Allow height marks with points style in w-differences diagrams.
13787
13788 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
13789 Handle HEIGHTMARKS_POINTS facets.
13790
13791 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13792
13793 Made Q Duration curve initially inactive.
13794
13795 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
13796 (getInitialFacetActivity): Return 0 for DURATION_Q facets. Minor
13797 cosmetics.
13798
13799 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13800
13801 Recommend mainvalues for Duration Curve Diagrams.
13802
13803 * doc/conf/meta-data.xml: Recommend mainvalues for duration curve
13804 diagrams. refactored into macro.
13805
13806 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13807
13808 Handle MainValue Facets in Duration Curve Diagrams.
13809
13810 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
13811 Handle MainValues.
13812
13813 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13814 Adjusted to call doAnnotations.
13815
13816 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13817
13818 Move do*Annotation* (like mainvalue) in XYChartGenerator.
13819
13820 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
13821 (doAnnotations): New, moved from DischargeCurveGenerator.
13822
13823 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java
13824 (doMainValueAnnotations): Moved to superclass.
13825
13826 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13827
13828 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
13829 Removed duplicate code.
13830
13831 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13832
13833 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
13834 (): Minor cosmetics, added stability.
13835 (getInitialFacetActivity): Let facets be inactive in duration curve
13836 diagrams.
13837
13838 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13839
13840 * doc/conf/artifacts/winfo.xml: Allow other.wqkms facets in many
13841 outputs, mainvalues in duration curves.
13842
13843 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
13844
13845 * doc/conf/mapserver/dbconnection.include: Adapted connection params for
13846 using an oracle database.
13847
13848 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
13849 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
13850 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
13851 Added Oracle support for Mapserver's DATA attribute. Oracle doesn't allow
13852 a "USING UNIQUE id" string in this attribute which is required by Postgis.
13853
13854 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13855 Modified the geometry type of "talaue.shp" from MultiPolygon to Polygon.
13856
13857 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
13858 which returns true, if the backend uses an Oracle db instance. Otherwise,
13859 it returns false.
13860
13861 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13862
13863 Fix flys/issue406 (Themestyle-editor: themes for "other.wkms" and
13864 "other.wqkms" missing)
13865
13866 * doc/conf/themes.xml: Fixed typos in WKms and WQKms theme names.
13867
13868 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13869
13870 Fix flys/issue405 (Datacage: Recommendations get loaded twice).
13871
13872 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java
13873 (setup): Do not try/catch exception.
13874 (spawn_state): Generate just one "general" output.
13875
13876 2011-11-08 Ingo Weinzierl <ingo@intevation.de>
13877
13878 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
13879 Added a log.warn() which prints out an exception - previously it was
13880 just skipped.
13881
13882 2011-11-08 Ingo Weinzierl <ingo@intevation.de>
13883
13884 * doc/conf/meta-data.xml: Removed orphaned datacage configuration which is
13885 no longer loadable.
13886
13887 2011-11-07 Ingo Weinzierl <ingo@intevation.de>
13888
13889 * doc/conf/conf.xml: Added an "post-describe" hook which is necessary to
13890 load recommendations for "floodmaps".
13891
13892 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13893
13894 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java
13895 (loadRows, loadColumns, loadQRanges): Refactored in preparation to
13896 ability to create WstValueTables for given wst_id and
13897 column_pos (interpolation for static data).
13898
13899 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13900
13901 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
13902 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
13903 Minor, picky cosmetics.
13904
13905 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java:
13906 Removed junk.
13907
13908 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13909 Added documentation.
13910
13911 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13912
13913 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13914 Be more specific in what to catch.
13915
13916 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
13917
13918 * doc/conf/meta-data.xml: Added the CrossSectionTracks to the "floodmap"
13919 datacage configuration.
13920
13921 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
13922 FacetType "floodmap.qps".
13923
13924 * doc/conf/conf.xml: Defined an ArtifactFactory for the "wmspqsartifact"
13925 string. The factory will create new instances of WMSQPSArtifact.
13926
13927 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java: New. This
13928 Artifact is used to create "floodmap.qps" facets. It has an internal fixed
13929 State WMSQPSState.
13930
13931 * doc/conf/artifacts/winfo.xml: Added the "floodmap.qps" layer to the
13932 "floodmap" output.
13933
13934 * doc/conf/themes.xml: Added a theme for "floodmap.qps" facets.
13935
13936 * src/main/resources/messages.properties,
13937 src/main/resources/messages_de_DE.properties,
13938 src/main/resources/messages_en.properties,
13939 src/main/resources/messages_de.properties: Added strings for the QPS WMS
13940 layer used in floodmaps.
13941
13942 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13943
13944 Re-enable mainvalue-recommendations for computed discharge curves,
13945 as the NPE should be gone.
13946
13947 * doc/conf/meta-data.xml: Uncomment mainvalue recommendations.
13948
13949 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13950
13951 When querying metadata/datacage, use only output-names of outputs that
13952 actually exists (in the sense of having facets).
13953
13954 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
13955 Get output names from artifact, not from state.
13956
13957 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
13958
13959 * doc/conf/meta-data.xml: Removed DEMs from floodmap configuration,
13960 because we are not able to draw DEMs into maps.
13961
13962 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
13963
13964 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
13965 Subclasses WMSDBArtifact now and defines an inner class RiverAxisState
13966 which subclasses WMSDBState.
13967
13968 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
13969 Removed. The RiverAxisState is an inner class of RiverAxisArtifact now
13970 which subclasses WMSDBState.
13971
13972 * doc/conf/artifacts/riveraxis.xml: Removed, because the RiverAxisArtifact
13973 has a fixed static State only.
13974
13975 * doc/conf/conf.xml: Removed riveraxis.xml definition.
13976
13977 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13978
13979 For a Flys-Collection, add outputt to attributes-part of describe
13980 document only if they contain facets. -> Prevent empty output nodes
13981 in flys-collections outputs.
13982
13983 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
13984 (writeFacets): Added return type to indicate whether any facet was
13985 written. Decide whether to add an output-node depending on this
13986 return value.
13987
13988 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
13989
13990 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Create
13991 line and polygon layers for barriers only if they are really existing.
13992
13993 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13994
13995 Disable mainvalue-recommendations for discharge curves as they trigger
13996 a yet-to-be understood NPE.
13997
13998 * doc/conf/meta-data.xml: Comment mainvalue-recommendations for
13999 discharge curves.
14000
14001 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14002
14003 Added new matching condition for theme-mappings: the name of
14004 the output.
14005
14006 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
14007 Added output field and function to match it against a given
14008 output name.
14009
14010 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
14011 Createing ThemeMapping with output attribute from configuration.
14012
14013 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
14014 (getTheme(FLYSContext, string)): Removed, never called.
14015 (getTheme): Added outputName argument, match it.
14016
14017 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14018 Pass outputs name until it can be matched against mapping.
14019
14020 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14021
14022 * doc/conf/themes.xml: Added default themes for other.w(q)kms.
14023
14024 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14025
14026 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14027 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
14028 Cosmetics, reduce logging noise.
14029
14030 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14031
14032 Added access to static W_Q_Kms - data in much the same way then static
14033 WKms.
14034
14035 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java:
14036 Cache Key for static wqkms data.
14037
14038 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java:
14039 Facet for WQKms.
14040
14041 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java:
14042 Factory to access WQKms.
14043
14044 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
14045 Artifact that provides 'static' WQKms.
14046
14047 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
14048 Added STATIC_WQKMS type.
14049
14050 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14051
14052 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java:
14053 New. Maps series to zero to be compatible with XYDifferenceRenderer.
14054 It returns an iterator over XYDatasets to enable splitting by NaNs,
14055 which still needs to be implemented.
14056
14057 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
14058 Uses a XYDatasetToZeroMapper now. Fixed package name.
14059
14060 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14061
14062 Added new matching options for theme-mappings to allow more
14063 overspecification of defaults (e.g. now name,description-pattern and
14064 master-artifacts attributes are matched). The first full match from
14065 the configuration file is done.
14066 New matching option in the masterAttr- field of a mapping are
14067 super-basic until new use-cases come up.
14068 Concrete new themes are point-styles of Ws when locations where chosen
14069 to calculate.
14070
14071 * doc/conf/themes.xml: Added newly defined Themes.
14072
14073 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14074 Put master-artifact in flys-context.
14075
14076 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
14077 Accept masterAttr in constructor.
14078 (masterAttrMatches): New, check masterAttr-condition against
14079 artifact.
14080
14081 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
14082 When creating ThemeMappings, pass in masterAttr.
14083
14084 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
14085 (getTheme): Evaluate masterAttr-condition, always return first full
14086 match.
14087
14088 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14089
14090 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
14091 Added ARTIFACT key, documentation.
14092
14093 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14094
14095 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
14096 New. At the moment a pure copy of JFreeChart's XYDifferenceRenderer.
14097 Needs to be refactored to cope with its limitations:
14098
14099 - Series numbers need to be zero based. We have more than two series
14100 in our diagrams.
14101
14102 - Cannot handle definition holes indicated by NaNs. We have these
14103 cases e.g. more than one "Fliessbereich".
14104
14105 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14106
14107 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
14108 Reenabled dumping data to disk.
14109
14110 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14111
14112 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14113 Removed superfluous import.
14114
14115 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14116
14117 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
14118 Use new pair in stack of results and connections because they are
14119 always used in pairs. Maintaining two separate stacks is not
14120 needed any longer.
14121
14122 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14123
14124 * src/main/java/de/intevation/flys/utils/Pair.java: New. A generic pair.
14125
14126 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
14127 Rewritten to useful as test bed for "Raum/Flaeche" operations.
14128
14129 2011-11-02 Ingo Weinzierl <ingo@intevation.de>
14130
14131 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added
14132 setter methods for all parameters and removed the constructors. There is
14133 just an empty constructor - all parameters need to be set via setter
14134 methods.
14135
14136 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified the
14137 creation of LayerInfo objects.
14138
14139 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java:
14140 Removed, because the internal structure and constructors of LayerInfo have
14141 changed, so that we gonna use LayerInfo for all layers now.
14142
14143 * doc/conf/themes.xml: Modified the color definitions of
14144 'floodmap.riveraxis' and 'floodmap.kms' themes and added a 'symbol' field
14145 to 'floodmap.kms'.
14146
14147 * doc/conf/mapserver/symbols.sym,
14148 doc/conf/mapserver/fontset.txt: New. Required by Mapserver.
14149
14150 * doc/conf/mapserver/db_layer.vm: Added an 'EXTENT' field that is filled
14151 using LayerInfo.getExtent().
14152
14153 * doc/conf/mapserver/mapfile.vm: Modified FONTSET directory and added a
14154 SYMBOLSET.
14155
14156 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added an
14157 abstract method getGeometryType().
14158
14159 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override
14160 getGeometryType() of WMSDBArtifact. This Artifact provides "POINT"s.
14161
14162 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
14163 Create new WMSDBLayerFacets with geometry type "LINE".
14164
14165 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
14166 Added a 'geometryType' attribute and getter/setter methods. This attribute
14167 determines the type of geometry provided by this database wms layer. Types
14168 could be "POLYGON", "POINT", "LINE" and so on.
14169
14170 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
14171 Added a 'symbol' attribute to the inner class Clazz.
14172
14173 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a function to
14174 parse the symbol field of a theme. This symbol is used for
14175 MapserverStyle.Clazz.
14176
14177 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14178
14179 Apply point theme to heightmarks when imported in longitudinal
14180 section diagram.
14181
14182 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
14183 Added new FacetType HEIGHTMARK_POINTS.
14184
14185 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
14186 Allow name to be given in constructor.
14187
14188 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
14189 If heightmarks were loaded, give respective name in WKmsFacet
14190 generation.
14191
14192 * doc/conf/themes.xml: Added virtual "Points" and concrete
14193 heightmark_points - theme.
14194
14195 * doc/conf/artifacts/winfo.xml: Made longitudinal_section output
14196 compatible with heightmarks_points.
14197
14198 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14199 Render heightmarks like other wkms.
14200
14201 * doc/conf/meta-data.xml: Changed heightmark ids such that it can be
14202 identified in StaticWKmsFacet .
14203
14204 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14205
14206 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
14207 Documentation added.
14208
14209 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14210
14211 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
14212 Fix bug where (wrong) active-attribute was set, doc.
14213
14214 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14215
14216 Refactoring to allow mainvalues in both discharge and computed
14217 discharge curve diagrams.
14218
14219 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
14220 (addPointsQW): New helper function.
14221
14222 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
14223 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
14224 Moved doMainValueQAnnotations, doMainValueWAnnotations from child-
14225 to parent-class, extracetd doDischargeOut. Use
14226 StyledSeriesBuilder.addPointsQW .
14227
14228 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14229
14230 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14231 Removed logger/debugging noise.
14232
14233 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14234
14235 1) Pass outputs name to artifacts getInitialFacetActivity().
14236 2) Do not allow "gaps" in positions of facets in outputs in attributes
14237 of collection (prevent e.g. positions 1,3,5; will become 1,2,3
14238 instead).
14239
14240 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
14241 Pass outputname to artifacts getInitialFacetActivity(), prevent
14242 gaps in facets positions in outputs (1,3,10 become 1,2,3).
14243
14244 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14245
14246 1) Give Artifacts information about the out when they have to decide
14247 whether a given facet is initially in/active by adding parameter
14248 to getInitialFacetActivity(+outputName).
14249 2) Generate separate Set of MainValueFacets for discharge curves.
14250
14251 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
14252 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14253 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
14254 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
14255 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14256 (getInitialFacetActivity): Adjusted, new parameter outputName.
14257 Added MAINVALUES_{Q,W} definition.
14258
14259 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
14260 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
14261 Accept name in constructor.
14262
14263 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14264 Create second pair of MainValuesFacets, give distinguishable names.
14265
14266 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14267
14268 Added compatibility of (computed)discharge-curve diagrams with
14269 mainvalues.
14270
14271 * doc/conf/artifacts/winfo.xml: Added mainvalues to compatibility list
14272 of (computed) discharge curve outputs. These facet-definitionss can
14273 differ in names because we can can have up to 4 mainvalue facets in
14274 one state.
14275
14276 2011-11-01 Ingo Weinzierl <ingo@intevation.de>
14277
14278 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Determine
14279 the extent of such WMS layer based on the list of RiverAxisKm objects
14280 returned by the backend.
14281
14282 2011-11-01 Ingo Weinzierl <ingo@intevation.de>
14283
14284 * doc/conf/meta-data.xml: Added a datacage node that represents a
14285 kilometer WMS layer.
14286
14287 * doc/conf/conf.xml: Added a new Artifact WMSKmArtifact.
14288
14289 * doc/conf/themes.xml: Added a style for 'floodmap.kms' facets.
14290
14291 * doc/conf/artifacts/winfo.xml: Defined 'floodmap.kms' as valid floodmap
14292 facet.
14293
14294 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
14295 a 'floodmap.kms' facet.
14296
14297 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method to
14298 determine the srid of a river based on its name.
14299
14300 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: New. This
14301 Artifact should act as base Artifact for WMS layers that represent data
14302 from database datastore.
14303
14304 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: New. This
14305 Artifact is used to generate facets for kilometer WMS layers.
14306
14307 * src/main/resources/messages.properties,
14308 src/main/resources/messages_de_DE.properties,
14309 src/main/resources/messages_en.properties,
14310 src/main/resources/messages_de.properties: Added default descriptions
14311 for 'floodmap.kms' facets.
14312
14313 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14314
14315 Fix incompilability.
14316
14317 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
14318 Adjust to changed CrossSectionFacet.
14319
14320 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14321
14322 Minor preparations to handle multiple cross sections in one
14323 diagram/artifact, faking certain aspects (e.g. ability to display
14324 multiple cross sections, but let these fetch the exactly same data
14325 for now).
14326
14327 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14328 Parameterize but fake access to cross-section (always take first
14329 one).
14330 (getCrossSectionName,getCrossSectionNames): Renamed, access names
14331 of all cross-sections, so that at least facets with different names
14332 are created (they will still deliver the same data).
14333
14334 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
14335 Allow indexing.
14336
14337 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
14338 Index created cross-sections.
14339
14340 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14341
14342 Show multiple water lines and facets in cross-section diagram if
14343 multiple waterlevel values had been entered.
14344
14345 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
14346 (appendBackgroundActivity): Made static.
14347 (getWaterLines): Add 'idx' argument to specify index of queried
14348 waterlevel.
14349
14350 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
14351 Add index.
14352
14353 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
14354 Add one Facet for each of the computed waterlevels.
14355
14356 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14357
14358 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
14359 Added code to calculate intersection points.
14360
14361 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
14362 Added polygons for trivial cases. WIP
14363
14364 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14365
14366 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
14367 Made it compilable again.
14368
14369 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14370
14371 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
14372 Made X() and Y() access macros public.
14373
14374 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
14375 More code. WIP.
14376
14377 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14378
14379 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
14380 Handle start points when building polygons. Work in progress.
14381
14382 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14383
14384 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
14385 New. Vector operations on Point2D.
14386
14387 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
14388 Moved vector operations to VectorUtils.
14389
14390 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14391
14392 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
14393 Do not call size() in for loop again and again.
14394
14395 2011-10-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14396
14397 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
14398 Interim check in. Work in progress.
14399
14400 2011-10-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14401
14402 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: New.
14403 Polygon class to help creating "Raum/Flaeche" renderers with gaps in
14404 their definitions. WORK IN PROGRESS!
14405
14406 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
14407
14408 * doc/conf/themes.xml: Added a default theme for the riveraxis used in the
14409 floodmap.
14410
14411 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
14412 New. This class is used by ThemeUtil to create a style which is
14413 compatible for Mapserver-
14414
14415 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a method to
14416 retrieve a Mapserver compatible style (as string) based on a given
14417 Document (that comes from CollectionItem's attribute).
14418
14419 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java:
14420 Implemented the setStyle() and getStyle() methods.
14421
14422 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a
14423 new parameter 'style' to createDatabaseLayer(). This parameter is set on
14424 LayerInfo.
14425
14426 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create
14427 Mapserver compatible styles and call createDatabaseLayer() with this
14428 style.
14429
14430 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
14431
14432 * doc/conf/artifacts/winfo.xml: Defined "floodmap.riveraxis" and
14433 "floodmap.wmsbackground" as compatible layers for the floodmap output.
14434
14435 * doc/conf/mapserver/db_layer.vm: New. This layer template is used for
14436 Mapserver layers with database datastore.
14437
14438 * doc/conf/mapserver/dbconnection.include: New. The database configuration
14439 used in the db_layer template.
14440
14441 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
14442 getUserWMSUrl() that returns the URL to the user specific WMS server.
14443 This method requires a UUID of an Artifact to identify the owner of the
14444 Artifact.
14445
14446 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Use
14447 FLYSUtils.getUserWMSUrl() to create the URL to the user WMS for
14448 WMSLayerFacets creation.
14449
14450 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
14451 New. Subclasses WMSLayerFacet to save data and filter parameters used
14452 for database storage in Mapfiles.
14453
14454 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java: New.
14455 Subclasses LayerInfo to save database relevant parameters.
14456
14457 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
14458 Creates new WMSDBLayerFacets, so that the riveraxis layer data is
14459 fetched from database.
14460
14461 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a
14462 public method that allows creating layers (type LINE) based on
14463 WMSDBLayerFacets.
14464
14465 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Enabled
14466 support for Facets other than "floodmap.wsplgen" and "floodmap.barriers".
14467 Those other Facets are supposed to be WMSDBLayerFacets.
14468
14469 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14470
14471 Refactored, added StyledSeriesBuilder to unify adding points to
14472 XYSeries.
14473
14474 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
14475 New class to help with adding points to XYSeries.
14476
14477 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
14478 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14479 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14480 Use StyledSeriesBuilder to add points to series.
14481
14482 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14483
14484 Added DC-conf, such that static data can be loaded from w-difference
14485 diagrams datacage.
14486
14487 * doc/conf/meta-data.xml: Minor "refactoring" (definition of two
14488 macros, allow certain static data to be loaded via datacage to
14489 w-difference diagrams, too.
14490
14491 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14492
14493 Load and display annotations in w-differences, minor polishing.
14494
14495 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
14496 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14497 Use FacetType 'instead' of string. Allow Annotations in
14498 WDifferences- diagram.
14499
14500 * doc/conf/meta-data.xml: Recommend annotations in w-differences case.
14501
14502 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14503
14504 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
14505 Survive case where a given output doesnt exist in compatibility
14506 matrix.
14507
14508 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14509
14510 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
14511 Added simpler constructor.
14512
14513 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14514 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14515 Adjusted construction of StaticStates.
14516
14517 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14518
14519 * doc/conf/artifacts/winfo.xml: Allow Annotations in longitudinal and
14520 w-differences diagrams.
14521
14522 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14523
14524 Use artifacts configuration (e.g. winfo.xml) to define which facets
14525 can be used in which output. Hide no-matches.
14526
14527 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
14528 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14529 Added use of "compatibility matrix". Only include facets in in
14530 collections description document that are marked compatible in the
14531 masterartifacts configuration (e.g. winfo.xml).
14532
14533 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14534
14535 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
14536 (mergeAttributes, getMasterArtifact): Extraced, updated caller.
14537 Cosmetics to reduce indentation one step.
14538
14539 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14540
14541 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java
14542 (getStateHistoryIds): New, return list of current and all previous
14543 state ids.
14544
14545 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
14546
14547 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
14548 Trigger the re-creation of FLYS mapfile if endOfLife() of this state is
14549 called.
14550
14551 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
14552
14553 * doc/conf/mapserver/mapfile.vm: The "layers" injected by VelocityEngine is
14554 now used to include layers. A single string in this list represents the
14555 path to a file which contains a LAYER section for Mapserver' Mapfile.
14556
14557 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Removed the
14558 update() call of MapfileGenerator. Mapfiles are generated by MapGenerator
14559 only which requires a FLYSArtifactCollection.doOut()!
14560
14561 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Call update()
14562 of MapfileGenerator to trigger the re-creation of mapfile(s).
14563
14564 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Collect all
14565 LAYER snippets from filesystem and inject the filepath for each snippet
14566 into the Mapfile template.
14567
14568 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14569
14570 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
14571 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java,
14572 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14573 Cosmetics, doc.
14574
14575 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14576
14577 Let OutputParser and AttributeParser collect all facets on the way.
14578
14579 * src/main/java/de/intevation/flys/collections/OutputParser.java,
14580 src/main/java/de/intevation/flys/collections/AttributeParser.java:
14581 Collect all facets while iterating over Outputs and Attributes,
14582 documentation added.
14583
14584 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14585
14586 Extracted getFlysContext from FLYSArtifacts into FLYSUtils.
14587
14588 * src/main/java/de/intevation/flys/utils/FLYSUtils.java
14589 (getFlysContext): Added, extracted from FLYSArtifact.
14590
14591 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14592 (getFlysContext): Moved to FLYSUtils, updated callers.
14593
14594 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
14595 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14596 Update callers to getFlysContext.
14597
14598 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
14599
14600 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Bugfix:
14601 Catch IOException - flys-artifacts compiles again.
14602
14603 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
14604
14605 * doc/conf/artifacts/winfo.xml: Defined "floodmap.barriers" as valid facet
14606 for floodmaps.
14607
14608 * doc/conf/mapserver/shapefile_layer.vm: New. Currently a copy of
14609 layer.vm. This template will evolve to a special mapserver layer
14610 template with a shapefile data source.
14611
14612 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Fixed broken
14613 facet name of barriers.
14614
14615 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added
14616 public methods for creating wsplgen and barriers layer files for
14617 mapserver.
14618
14619 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Use
14620 MapfileGenerator to create new layer files for wsplgen and barriers.
14621
14622 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
14623
14624 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new
14625 method gerRiverBoundary() which returns an Envelope object (which
14626 represents the bounding box of a Geometry) of a riveraxis specified by its
14627 rivername.
14628
14629 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: Use
14630 Geometry.getRiverBoundary() to determine the max extent of a river.
14631
14632 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
14633 src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Use
14634 JTS Envelope to save the bounding boxes of WMS layers.
14635
14636 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
14637 Adapted the code to apply the changes in GeometryUtils (use Envelope to
14638 determine the max extent of the river axis).
14639
14640 * src/main/java/de/intevation/flys/exports/MapGenerator.java: New (work in
14641 progress). This Generator will currently return a map configuration in XML
14642 which consists of parameters required by OpenLayers to create a map.
14643
14644 * doc/conf/conf.xml: Registered the new MapGenerator.
14645
14646 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14647
14648 * doc/conf/meta-data.xml: Do not recommend historical data to load
14649 when having computational discharge curves.
14650
14651 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14652
14653 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14654 Reduce noise, given "error" message was more of "debug" nature.
14655
14656 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14657
14658 Restore mapping of state id to facets (essentially revert, revision
14659 3083 and 3088).
14660
14661 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14662 (getInitialFacetActivity): Be more explicit on which facets to
14663 introduce inactivated.
14664
14665 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14666 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14667 Minor refactoring, declare a string final static.
14668
14669 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
14670 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java,
14671 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14672 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
14673 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
14674 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
14675 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
14676 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
14677 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14678 Restore association from state id to facets.
14679
14680 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14681
14682 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
14683 src/main/java/de/intevation/flys/collections/OutputParser.java:
14684 Cosmetics, documentation.
14685
14686 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14687
14688 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14689 Prepare rendering of "other/static wkms" (functional) and
14690 w-differences (not yet fully functional).
14691
14692 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14693
14694 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
14695 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
14696 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
14697 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14698 Cosmetics.
14699
14700 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14701
14702 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
14703 Do not store facets in a map from stateId to list of facets, but in
14704 a pure list instead.
14705
14706 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14707
14708 * doc/conf/artifacts/winfo.xml: Adjusted to newer semantics,
14709 minor cleanups.
14710
14711 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14712
14713 Resolve association of facets to states in artifacts. This eases
14714 merging of outputs and facets and inhibition of unwanted outputs
14715 substiantially (at the price of slightly more expensive merging).
14716 Also, the semantics of artifacts configuration files (e.g. winfo.xml)
14717 is changed (facet elements within an output elements are used for
14718 merging).
14719
14720 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
14721 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java,
14722 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14723 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
14724 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
14725 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
14726 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
14727 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14728 Do not store facets in a map from stateId to list of facets, but in
14729 a pure list instead.
14730
14731 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14732
14733 * doc/conf/meta-data.xml: Added dc configuration for some data
14734 that can be loaded from longitudinal section diagrams.
14735
14736 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14737
14738 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14739 Cosmetics, docs.
14740
14741 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14742
14743 Let Qs in Longitudinal Diagram be inactive, initally.
14744
14745 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
14746 (getInitialFacetActivity): Do not let Facets ending with a 'q'
14747 enter in active state.
14748
14749 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14750
14751 * doc/conf/meta-data.xml: Fix broken datacage config.
14752
14753 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14754
14755 * doc/conf/meta-data.xml: Configured to include correct id to
14756 clone artifact that produces w-diff.
14757
14758 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14759
14760 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14761 Revert correct behaviour of Annotations (the small axis tick shall
14762 always be drawn). Minor refactoring.
14763
14764 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14765
14766 * doc/conf/meta-data.xml: Added configuration to include differences
14767 in datacage when longitudinal sections are shown (yet not
14768 functional).
14769
14770 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14771
14772 * doc/conf/meta-data.xml: Cosmetics.
14773
14774 2011-10-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14775
14776 * doc/conf/themes.xml: Added theme for w_differences facets.
14777
14778 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java
14779 (createSecondAxisRange): Survive parameter-nullness for now.
14780 Added documentation.
14781
14782 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14783
14784 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
14785 New. Caching wrapper around an XML document theme. It uses ThemeUtil
14786 to access the values and stores them in instance variable.
14787 Background: ThemeUtil use XPath a lot which is expensive.
14788
14789 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java,
14790 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14791 Use ThemeAccess to style the annotations.
14792
14793 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
14794 Removed some XPath strings. They are in ThemeUtil.
14795
14796 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
14797
14798 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
14799 Added methods to parse further attributes.
14800
14801 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
14802 Apply the theme attributes and use ThemeUtils to get the attribute values.
14803
14804 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14805 Removed the spamy debug output.
14806
14807 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14808
14809 To obtain the size of a diagram it is rendered twice. The
14810 second time the generated image is omitted so the concrete
14811 rendered image is not needed. To save CPU cycles in this pass
14812 the image is rendered to to /dev/null Graphics2D object.
14813
14814 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
14815 Added boolean system property "info.rendering.nop.graphics" (default: false).
14816 With this property set the info rendering is done via a new
14817 NOPGraphics2D opbject which does not render the image.
14818
14819 * src/main/java/de/intevation/flys/java2d/NOPGraphics2D.java:
14820 New. Implements java.awt.Graphics2D trivial empty methods.
14821 This prevents rendering.
14822
14823 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14824 Commented out spamy debug output
14825
14826 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
14827
14828 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14829 Draw the text background and use orientation attribute.
14830
14831 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
14832
14833 * doc/conf/themes.xml:
14834 Renamed 'textbackground' to 'backgroundcolor' to have 'color' in the
14835 attribute name.
14836
14837 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
14838 Process text attributes correctly.
14839
14840 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14841
14842 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
14843 New. Service to lookup the Nth nearest neighbors for a set of given
14844 cross section ids and kms.
14845
14846 * doc/conf/conf.xml: Registered service.
14847
14848 * doc/conf/cache.xml: Cache config.
14849
14850 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
14851 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
14852 Removed superfluous imports.
14853
14854 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
14855
14856 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
14857 Added methods to extract further attributes from theme.
14858
14859 2011-10-20 Ingo Weinzierl <ingo@intevation.de>
14860
14861 * doc/conf/themes.xml: Added main value themes for longitudinal section
14862 charts.
14863
14864 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: New. This
14865 class stores the name of a facet, the related theme and a pattern
14866 string.
14867
14868 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
14869 Read the pattern string and store a list of ThemeMapping objects in the
14870 FLYSContext.
14871
14872 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Modified
14873 getTheme() which now takes the FLYSContext, the name of a facet and an
14874 optional pattern string. Now, we can have specialized Themes for each
14875 chart type. E.g. the facet "longitudinal_section.w" maps the default
14876 Theme for W lines in longitudinal section charts. If the optional
14877 pattern string matches the pattern ".*(HQ1000)(\D.*)*", the ThemeFactory
14878 will return the Theme "LongitudinalSectionW_HQ1000".
14879
14880 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14881 Use the description of a facet as pattern string to get the relevant
14882 Theme from ThemeFactory.
14883
14884 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
14885
14886 * doc/conf/themes.xml:
14887 Added new theme attributes.
14888
14889 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14890
14891 Fix WDifference plots where masterartifact has no range set.
14892
14893 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14894 (addSubtitles): Overridden, the master artifact has no
14895 range.
14896
14897 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14898
14899 Fix masterartifact in collections in cases where the original
14900 masterartifacts facets do not come first in certain list. Query
14901 'backend'/db instead.
14902
14903 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14904 Set 'real' master artifact, defined to be oldest belonging to this
14905 collection.
14906
14907 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
14908
14909 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
14910 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java,
14911 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
14912 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
14913 Modified the method signature of createStaticData() which now also
14914 requires a FLYSArtifact.
14915
14916 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
14917 Override createStaticData() to create titles for Qs manually - we want
14918 to display the named main values if existing for the selected Qs.
14919
14920 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de>
14921
14922 * doc/conf/themes.xml:
14923 ComputedDischargeCurveW and ComputedDischargeCurveQ inherit attributes from
14924 theme 'Text'.
14925
14926 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14927
14928 Fix for flys/issue316
14929
14930 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added
14931 constructor to not sort the data.
14932
14933 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
14934 Use the not sorting constructor of StyledXYSeries.
14935
14936 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
14937
14938 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
14939 moved the code to create WSP W and Q facet names to FLYSUtils.
14940
14941 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New functions for
14942 creating WSP W and Q facet names and for querying a named main value
14943 based on a given gauge and value. The names of W and Q facets will now
14944 depend on the selected Q and Q mode: if the mode is "q at gauge" and a
14945 named value is found for the given value, the facet's name contains the
14946 named value instead of the value itself.
14947
14948 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14949
14950 Fix datacage configuration to let client load ZUS and flood
14951 protections.
14952
14953 * doc/conf/meta-data.xml: Use 'ids' instead of 'id' to help client.
14954
14955 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de>
14956
14957 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
14958 Added methods to parse text attributes from theme document.
14959
14960 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
14961 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14962 Apply a theme to axis annotations.
14963
14964 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14965
14966 Create (data) Label from data string (client will be adjusted to send
14967 the name).
14968
14969 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
14970 Create label from input data string, documentation added, junk
14971 removed.
14972
14973 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14974
14975 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java(zoom):
14976 Do not crash if no axis is given.
14977
14978 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
14979
14980 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added
14981 getFormat() which extracts the format string from XML request document.
14982
14983 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: Adapted
14984 method signatures of exportImage(), exportSVG() and exportPDF(). All
14985 methods now take a CallContext object which stores extra chart export
14986 parameters.
14987
14988 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14989 Enabled PDF and SVG chart exports based on the "format" string given in
14990 the XML request document.
14991
14992 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14993
14994 Simplify rendereing W(Q)Kms in WDifferencesCurveGenerator.
14995
14996 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
14997 (doWOut, doWOut): Simplified.
14998
14999 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15000
15001 Render zus and flood-protections in WDifferences-diagrams.
15002
15003 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15004 Added basic respect of "other.wkms"- facets.
15005
15006
15007 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15008
15009 Adjusted Datacage-Configuration to fetch "extra longitudinal...."
15010 (.zus) - waterlevels in certain case (in system-part).
15011
15012 * doc/conf/meta-data.xml: Adjusted to present extra-kms with
15013 staticwkms factory in certain case.
15014
15015 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de>
15016
15017 * doc/conf/themes.xml:
15018 Added new virtual theme for text with the attributes 'font', 'textcolor'
15019 and 'textsize'.
15020
15021 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15022
15023 Give StaticWKmsArtifacts proper names, and pre-deselect them.
15024
15025 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
15026 (getInitialFacetActivity): Overridden to let facets enter plot
15027 inactively.
15028 (setup): Give Facets the name of the Wst.
15029
15030 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
15031 Refactored to expose getWKmsName separately.
15032
15033 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15034
15035 Adjusted Datacage-Configuration to fetch flood-protections when
15036 waterlevels are requested (in system-part).
15037
15038 * doc/conf/meta-data.xml: Adjusted to present flood-protections with
15039 staticwkms factory in certain case.
15040
15041 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15042
15043 Register staticwkms factory.
15044
15045 * doc/conf/conf.xml: Register staticwkms factory to spawn StaticWKms-
15046 Artifacts.
15047
15048 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15049
15050 Fetch name of static WKms.
15051
15052 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
15053 Removed dependence on "kind", but fetch name for created WKms.
15054
15055 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
15056 Remove dependence on Kind.
15057
15058 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15059
15060 Store parameterization in data, not in Artifact.
15061
15062 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
15063 Resolve col_pos and wst_id field, use data instead.
15064
15065 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15066
15067 Add convenience-method to add defaultdata (string).
15068
15069 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15070 (addStringData): Add Default (String) Data .
15071
15072 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15073
15074 Add a new Artifact and Facet (StaticWKmsArtifact, WKmsFacet) to
15075 access WKms obtainable with the WKmsFactory.
15076
15077 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
15078 New, artifact with single state to get WKms from WKmsFactory.
15079
15080 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
15081 New Facet to display W over km.
15082
15083 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
15084 Added new type name.
15085
15086 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15087
15088 Add WKMsFactory to access 'static' wst-data.
15089
15090 * src/main/java/de/intevation/flys/artifacts/model/StaticWKmsCacheKey.java:
15091 Cache Key for the static WKms data.
15092
15093 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
15094 New, creates WKms from wst-id and column. Does not yet fetch the
15095 name.
15096
15097 * doc/conf/cache.xml: Added cache configuration for static wkms data.
15098
15099 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15100
15101 Cosmetics, docs.
15102
15103 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
15104 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
15105 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
15106 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
15107 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
15108 Cosmetics, docs.
15109
15110 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15111
15112 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
15113 Added constructor that takes name, docs.
15114
15115 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15116
15117 Fix issue that Annotations do not come with theme/style.
15118
15119 * doc/conf/themes.xml: Added "Annotations" default style.
15120
15121 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15122 Set style of annotations, minor cosmetics.
15123
15124 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15125
15126 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15127 Made inner class ThemeList static.
15128 s/new Integer(small)/Integer.valueOf(small)/
15129
15130 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
15131
15132 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15133 The inner class ThemeList makes now use of ManagedDomFacet to read the
15134 attributes of Facets saved in the Collection's attribute.
15135
15136 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15137
15138 flys/issue314: Variables in datacage are now case insensitive.
15139 (H2 returns meta data variables uppercase)
15140
15141 * doc/conf/meta-data.xml:
15142 Made a statement more precise. Added some debug output.
15143
15144 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
15145 Use uppercase variable names.
15146
15147 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java,
15148 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
15149 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java,
15150 src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java:
15151 Variables are now treated as uppercase.
15152
15153 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
15154 Input variables are now treated uppercase.
15155
15156 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
15157
15158 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
15159 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
15160 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java:
15161 Prepared Facets to support a "visible" attribute.
15162
15163 * src/main/java/de/intevation/flys/collections/OutputParser.java: Adapted
15164 the constructor call of ManagedFacetAdapter.
15165
15166 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15167 The inner class ThemeList now supports the "visible" attribute of
15168 ManagedFacets.
15169
15170 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de>
15171
15172 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
15173 Added method to apply line type.
15174
15175 * doc/conf/themes.xml:
15176 Changed initial default value for line type.
15177
15178 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
15179
15180 flys/issue226 (W-INFO: Dauerlinienberechung /Abbbildung x-Achse)
15181
15182 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
15183 Set the upper bound of these charts to 364.
15184
15185 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
15186
15187 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
15188 Added a function that returns a Gauge based on its name.
15189
15190 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
15191 Create proper descriptions for facets.
15192
15193 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Added a
15194 setter for labels.
15195
15196 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
15197 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
15198 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
15199 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
15200 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
15201 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15202 Use the string returned by Facet.getDescription() as series names. The
15203 ThemePanel and the Legend will always display the same titles for curves
15204 now.
15205
15206
15207 2011-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15208
15209 Fix flys/issue363 (W-INFO/ Abflusskurve, Extremwert-Rendering).
15210
15211 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
15212 (parseLineWidth): New. Get line width from Document.
15213
15214 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
15215 When adding annotations, parse line width from theme, set it.
15216
15217 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
15218 When painting, set Paint and stroke early enough.
15219
15220 2011-10-14 Ingo Weinzierl <ingo@intevation.de>
15221
15222 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Put the
15223 config directory into the Velocity context. It is available as
15224 '$CONFIGDIR' in templates.
15225
15226 * doc/conf/mapserver/mapfile.vm: Set the debug file to
15227 "$CONFIGDIR/flys-user-wms.log" and added a LEGEND section.
15228
15229 * doc/conf/mapserver/wsplgen_class.vm: Adapted the class names. Those
15230 names are displayed in the image served by GetLegendGraphic.
15231
15232 2011-10-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15233
15234 Add possibility of programmatic configuration of initial "activity"
15235 state (active or inactive) of (Managed)Facets by introducing
15236 FLYSArtifact.getInitialFacetActivity. This method shall be overriden
15237 by subclasses where Facets are wanted to come to live inactive.
15238 Artifacts will be asked only once how the MangedFacet should come to live,
15239 namely when AttributeWriter finds a genuinely new Facet.
15240
15241 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
15242 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java
15243 (getInitialFacetActivity):
15244 New function to let Artifact decide whether a ManagedFacet shall
15245 initially be set to active or inactive.
15246
15247 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
15248 Accept database in constructor. For genuinely new Facets, spawn its
15249 mother artifact and ask whether the (Managed)Facet shall be active
15250 or inactive (initially).
15251
15252 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
15253 (buildOutAttributes): Pass database to AttributeWrite (which needs it
15254 to spawn artifacts), rename items parameter to reflect content.
15255
15256 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15257
15258 Cosmetics, removed obsolete imports.
15259
15260 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
15261 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15262 Removed obsolete imports.
15263
15264 2011-10-12 Ingo Weinzierl <ingo@intevation.de>
15265
15266 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15267 Added a further attribute "mark.selected" to the barriers feature type.
15268 This attribute is used in the client, where we are not able to remove it
15269 properly. Reading the GeoJSON string without this attribute is no longer
15270 possible... strange!
15271
15272 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15273
15274 Added i18n for label of wdiff "pair select" states data.
15275
15276 * src/main/resources/messages.properties,
15277 src/main/resources/messages_de_DE.properties,
15278 src/main/resources/messages_en.properties,
15279 src/main/resources/messages_de.properties: Added i18n for
15280 state.winfo.waterlevel_pair_select .
15281
15282 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15283
15284 Addressed "Wrong labels" [6] part of flys/issue371 (W-INFO / Differenzen:
15285 Anmerkungen zur Umsetzung) .
15286
15287 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
15288 Adjusted variable names to avoid conflict in subclasses, adjusted
15289 default value for i18n string.
15290
15291 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15292
15293 Cosmetics, docs.
15294
15295 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15296 Cosmetics: Space after full stop in commments, slightly improved
15297 documentation, added one debug message.
15298
15299 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15300
15301 Fix remainder of flys/issue304 (Erweiterte Funktionen W-Differenzen) .
15302
15303 * doc/conf/artifacts/winfo.xml: Removed obsolete data of
15304 WDifferencesState.
15305
15306 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
15307 Re-enable facet-filtering, but adjust filters before that happens
15308 (former longitudinal_section output is now w_differences output).
15309
15310 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15311
15312 Added wdiff-chart translations.
15313
15314 * src/main/resources/messages.properties,
15315 src/main/resources/messages_de_DE.properties,
15316 src/main/resources/messages_en.properties,
15317 src/main/resources/messages_de.properties: Added i18n for wdiff.
15318
15319 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15320
15321 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
15322 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15323 Expose translateable Strings as constants.
15324
15325 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15326
15327 Fix most labels in w-differences charts.
15328
15329 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
15330 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15331 Remove most static final i18n-variables in favor of direct String
15332 usage or usage of methods. By this, allow easier adoption of labels
15333 in subclasses.
15334
15335 2011-10-11 Ingo Weinzierl <ingo@intevation.de>
15336
15337 flys/issue383 (Zweite Y-Achse wird beim Zoomen/Verschieben nicht angepasst.)
15338
15339 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
15340 Call adjustAxes() before applying zoom settings with autoZoom(). We need
15341 to add new y-axes first before we adjust their ranges.
15342
15343 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15344
15345 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
15346 s/new Integer(small)/Integer.valueOf(small)/
15347
15348 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15349
15350 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
15351 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15352 Do not fire change events for each and every data point added.
15353
15354 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15355
15356 Fix WDifferences with more than one Pair (crashed due to incorrect index for
15357 facets.)
15358
15359 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15360 Fix wrong index for difference facets (allows for more than one
15361 difference facet per artifact without crashes).
15362
15363 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15364
15365 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15366 Use slightly modified doWOut-implementation from
15367 LongitudinalSectionGenerator (here need to add Ws to different axis).
15368
15369 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15370
15371 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
15372 Fix import/reference.
15373
15374 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15375
15376 Let WaterlevelPairSelectState include diffids-data (if any) to enable
15377 future work on repopulation of Grid in GUI when jumping back
15378 (reparameterization).
15379
15380 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
15381 (createItems): Override to include old data.
15382
15383 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
15384
15385 flys/issue150 (Diagramm: Anzeige von W bergauf)
15386 flys/issue345 (W-INFO / Wasserspiegellagenberechnung, Diagrammausgabe)
15387
15388 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15389 Corrected the determination to invert the x axis, so that waterlines
15390 will start with their highest value at the left and end with their
15391 lowest values at the right.
15392
15393 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15394
15395 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
15396 Cosmetics, added an (@Override) annotation.
15397
15398 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java,
15399 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15400 Cosmetics, added documentation.
15401
15402 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
15403 Cosmetics, whitespace after full stops in comments, added
15404 (@Override) annotation.
15405
15406 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
15407
15408 flys/issue220 (Diagramm: Achsenbeschriftungen an verschiedenen Achsen müssen gleich aussehen)
15409
15410 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
15411 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15412 Adjusted the label font of the 2nd y-axis - now, both axes labels look
15413 equal.
15414
15415 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
15416
15417 flys/issue189 (WINFO/Dauerlinie: Sortierung der Berechnungsausgabe nach Dauerzahlen aufsteigend)
15418
15419 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: Added a
15420 method that determines if the items (days) in this object are increasing
15421 or not.
15422
15423 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
15424 Changed the order of the CSV export - the highest day is at the top of
15425 the export; the lowest day is at the bottom.
15426
15427 2011-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15428
15429 Worked on flys/issue150 (Diagramm: Anzeige von W bergauf).
15430 Still does not work in all cases.
15431
15432 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java (generateChart()):
15433 Reordered calls to ensure that the inversion of the x axis is
15434 not eliminated by other chart generation steps as a side effect.
15435
15436 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15437 Assuming that JFreeChart is inverting axis automatically if the
15438 KMs are reversed ordered only do invert only in some situations.
15439
15440 Do not invert axis for Q (@Ingo: This is wrong! We must do this
15441 if we are only displaying the Qs and the Ws are deactived).
15442
15443 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
15444
15445 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
15446 Take care on empty ranges while preparing ranges for single points.
15447
15448 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
15449
15450 flys/issue114 (W-INFO: Wasserspiegellagenberechnung / Ort (Spezialfall: Generierung eines Diagramms bei punkthafter Berechnung))
15451
15452 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Expand
15453 ranges for x and y axes if there is just a single point in a series -
15454 JFreeChart requires a range where lower <> upper.
15455
15456 2011-10-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15457
15458 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
15459 src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java,
15460 src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
15461 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
15462 Add whitespace after full stop in comments, minor doc improvements.
15463
15464 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
15465
15466 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
15467
15468 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15469 Adapted the process of collecting outs for Artifacts/Facets. We will now
15470 call OutGenerator.doOut() for each Artifact and Facet - never mind if
15471 the facet is activated (visible) or not. The OutGenerator should decide
15472 on its own whtat to do with facets which are "marked" as _not_ visible.
15473
15474 * src/main/java/de/intevation/flys/exports/OutGenerator.java,
15475 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
15476 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
15477 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
15478 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
15479 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
15480 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
15481 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
15482 src/main/java/de/intevation/flys/exports/ATExporter.java,
15483 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
15484 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
15485 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
15486 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
15487 Adapted the signature of OutGenerator.doOut(). There will be a new
15488 boolean parameter "visible" that determines if the facet specified in
15489 this method is visible for this output or not.
15490
15491 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Now,
15492 that we walk over every Artifact/Facet, we are able to collect min/max
15493 data for all axes. We store these information and use them to set the
15494 ranges of x and y axes. The result of this: a chart can have proper axes
15495 set without any data in it.
15496
15497 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Use
15498 min/max ranges stored while calling doOut() for each Artifact/Facet
15499 instead of fetching those information from chart's Datasets (which could
15500 be null).
15501
15502 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
15503
15504 * src/main/java/de/intevation/flys/utils/Formatter.java: Changed the max
15505 number of digits for AT exports from 0 to 2.
15506
15507 2011-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15508
15509 * src/main/java/de/intevation/flys/exports/ATWriter.java: Get rid
15510 of buggy first line code.
15511
15512 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15513
15514 fixed flys/issue201
15515
15516 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
15517 Replace >= with > in km index lookup because last km was not found.
15518
15519 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15520
15521 fixed flys/issue177
15522
15523 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
15524 Revert rev2245. Code works fine now! :-)
15525
15526 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
15527
15528 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Stores a
15529 list of XYTextAnnotations instead of FLYS specific Annotations. This
15530 makes this class suitable for other annotation types as well.
15531
15532 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
15533 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
15534 Both facets' getData() will now return an instance of FLYSAnnotation.
15535
15536 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
15537 Create XYTextAnnotations used to instantiate an object of
15538 FLYSAnnotation.
15539
15540 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
15541 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15542 Removed the code to add annotations to the plot. This task is general
15543 enough to move this code to parent class.
15544
15545 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
15546 Instances of this class are now able to store - besides first and second
15547 axes datasets - a list of annotations. This annotations are added to the
15548 plot after the datasets have been added. To support LegendItems for
15549 those annotions, it was necessary to create a the LegendItemCollection
15550 by ourself. This work is done while applying the themes for each series
15551 in the chart.
15552
15553 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15554
15555 Removed code duplication of guessWaterIncreasing()
15556
15557 * src/main/java/de/intevation/flys/artifacts/model/WKms.java(allKms, allWs):
15558 Added methods to fetch all kms and all ws.
15559
15560 * src/main/java/de/intevation/flys/utils/DataUtil.java: Generalized to
15561 get WKms as arguments.
15562
15563 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
15564 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
15565 src/main/java/de/intevation/flys/artifacts/model/WQ.java: Implements
15566 the extended WKms interface.
15567
15568 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15569 Uses the generalized DataUtil.guessWaterIncreasing().
15570
15571 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
15572
15573 flys/issue347 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm)
15574 flys/issue303 (Keine Streckenfavoriten, wenn nur Q im Längsschnittdiagram ausgewählt)
15575 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
15576
15577 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: New. A
15578 wrapper for Annotations which allows us to provide a description for a
15579 set of annotations.
15580
15581 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
15582 The getData() will now return an instance of FLYSAnnotation that wraps
15583 the Annotations returned by the AnnotationArtifact. The lebel of
15584 FLYSAnnotation is the description of this Facet.
15585
15586 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15587 Modified the way to add Annotations. We will no longer create an empty
15588 series to support a LegendItem for a set of Annotations, but we will add
15589 a LegendItem manually to the LegendItemCollection of the plot. In
15590 addition, we are now able to display annotations if one of the two
15591 y-axes are missing. If there are no y-axes existing, we are not able to
15592 display annotations yet.
15593
15594 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15595
15596 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
15597 Lifted the wrong point. Now all backjump corrections look fine. :-)
15598
15599 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
15600
15601 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
15602 Fixed bugs and make use of a cache for annotations now.
15603
15604 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15605
15606 Worked on flys/issue31
15607
15608 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
15609 Simplified the code a lot. Needs testing. Maybe flys/issue31 is gone
15610
15611 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
15612
15613 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15614 Fetch the WstUnit value from river - the Wst itself no longer supports a
15615 Unit iself.
15616
15617 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15618
15619 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java,
15620 src/main/java/de/intevation/flys/utils/DoubleUtil.java: Moved some generic
15621 double array code to DoubleUtil.
15622
15623 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15624
15625 * src/main/java/de/intevation/flys/utils/DoubleUtil.java (interpolateSorted):
15626 Added code to linear interpolate double values in a sorted array.
15627 Keys and values are given as double arrays. Keys need to be sorted.
15628
15629 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15630
15631 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
15632 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
15633 Removed superfluous imports.
15634
15635 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
15636
15637 flys/issue330 (Dauerlinie kann nicht berechnet werden)
15638
15639 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
15640 Add a problem if no data was found for duration curves.
15641
15642 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
15643
15644 * src/main/java/de/intevation/flys/themes/Theme.java,
15645 src/main/java/de/intevation/flys/themes/DefaultTheme.java: Added
15646 getter/setter methods to provide a facet (string) and index (int). Both
15647 values are written as attribute to the Theme's XML representation.
15648
15649 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15650 Set the "facet" and "index" values of themes.
15651
15652 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
15653
15654 flys/issue346 (W-INFO / Anzeige der Höheninformation)
15655
15656 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15657 Modified x and y axis title. The x axis title is now "RIVERNAME-km"; the
15658 y axis title is now "W[WST_UNIT]" where WST_UNIT depends on the unit of
15659 the WST.
15660
15661 * src/main/resources/messages.properties,
15662 src/main/resources/messages_de_DE.properties,
15663 src/main/resources/messages_en.properties,
15664 src/main/resources/messages_de.properties: Modified i18n expressions for
15665 x and y axis of longitudinal section charts.
15666
15667 2011-09-30 Ingo Weinzierl <ingo@intevation.de>
15668
15669 flys/issue351 (W-INFO / Wasserspiegellagenberechnungen)
15670
15671 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: Modified the
15672 explode() function that returns a list of values specified by min, max
15673 and an interval. If the last value, determined by the interval, is
15674 bigger than the max value, it is not included in the result list.
15675
15676 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15677
15678 flys/issue334 (Querprofil-Diagramm: Ausgabe dieses Diagrammtyps
15679 möglich, obwohl WSP Berechnung keine Ergebnisse liefert)
15680
15681 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
15682 (compute): Add Facets regarding CrossSections only if data available.
15683
15684 2011-09-29 Ingo Weinzierl <ingo@intevation.de>
15685
15686 flys/issue176 (Diagramm: Benennung eines Abflusses bei gewählter Höhe am Pegel)
15687 flys/issue349 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm)
15688
15689 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
15690 Create titles for W and Q waterlevel facets with proper fractions.
15691
15692 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15693
15694 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
15695 (createStaticData, getLabels): Create proper labels for differences.
15696
15697 2011-09-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15698
15699 flys/issue244 (WINFO: Export von AT-Dateien im ersten Teil unterschiedlich)
15700 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5)
15701
15702 * src/main/java/de/intevation/flys/exports/ATWriter.java: Due to a rounding
15703 issue the w's of the first line underun the minimal w of the curve at times.
15704 An extra test was introduced to suppress the output of the q's of the wrong w's.
15705
15706 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15707
15708 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15709 Use StringUtil.wWrap , fix wrong loop, minor refac and cosmetics.
15710
15711 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15712
15713 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
15714 Extracted/use StringUtil.wWrap .
15715
15716 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
15717
15718 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
15719 Log the gauge which has been determined.
15720
15721 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
15722
15723 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5)
15724
15725 * src/main/java/de/intevation/flys/exports/ATExporter.java: Store the
15726 master Artifact which is set via setMasterArtifact(). This is required
15727 for meta information used while preparing the header row of AT exports.
15728
15729 * src/main/java/de/intevation/flys/exports/ATWriter.java: Print a header
15730 row into the AT export for being compatible with desktop FLYS.
15731
15732 * src/main/resources/messages.properties,
15733 src/main/resources/messages_de_DE.properties,
15734 src/main/resources/messages_en.properties,
15735 src/main/resources/messages_de.properties: Added header row for AT
15736 export files.
15737
15738 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
15739
15740 flys/issue328 (W-INFO / ÜSK: Auswahl der Wasserspiegellage / Auswahlunterstützung)
15741
15742 * doc/conf/meta-data.xml: Added an out 'waterlevels' that might be used to
15743 fetch user specific waterlevels (same as longitudinal sections, but
15744 without Q facet).
15745 In addition, the system specific datacage stuff is now fetched, when:
15746 a) no user-id is given
15747 b) a user-id is given and there is a parameter 'load-system'
15748
15749 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
15750 If the label of the WQKms object specified by the waterlevel selection
15751 begins with a "Q", the label is wrapped into a "W()", e.g. "W(Q=1200)".
15752
15753 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
15754
15755 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Made
15756 feed() able to remove existing data items from Artifact's data pool.
15757 Therefore, the value for the item which should be removed needs to an
15758 empty string.
15759
15760 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15761
15762 Extracted StringUtil.unbracket from WaterlevelSelectState.strip.
15763
15764 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
15765 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
15766 Extract and use StringUtil.unbracket, minor doc.
15767
15768 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15769
15770 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
15771 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
15772 Changed access of getCurrentState() from protected to public.
15773
15774 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: We
15775 use the configured Outputs instead of the actuel Outputs of an Artifact
15776 to make recommendations, now. This has the bad side effect of giving
15777 recommendations for Outputs that we might _NOT_ be able to produce. But
15778 otherwise, we would not be able to give recommendations for states with
15779 long calculation times that start background threads for calculation (as
15780 WSPLGEN caluclations does).
15781
15782 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15783
15784 Enable "auto-scaling" axis for waterlevels in WDifference-plots.
15785
15786 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15787 (createSecondaryAxis, zoomY): Refactored to allow modification in
15788 siblings.
15789
15790 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15791 (createSecondaryAxisRange): Override to achieve expected behavior.
15792 Also adjusted label.
15793
15794 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15795
15796 In W-Difference Calculation, respect indices of selected facets.
15797
15798 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15799 (computeAdvance): Respect index of selected facets.
15800
15801 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15802
15803 flys/issue317: (Querprofil-Diagramm: Referenzen auf CrossSectionApp entfernen)
15804
15805 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15806 Removed dependency to demo app.
15807
15808 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
15809 Refactored to use logic from the models.
15810
15811 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
15812 Moved some logic from the demo app to this model.
15813
15814 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15815
15816 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: New. Code
15817 from FloodMapState moved to its own class with the intent, to use it in
15818 classes different from FloodMapState.
15819
15820 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15821 Removed the inner class FacetCreator.
15822
15823 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
15824 an instance of FacetCreator.
15825 NOTE: Maybe we should move the WSPLGEN parameters into an own class
15826 which might be serializable.
15827
15828 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use the
15829 FacetCreator instance stored in the WSPLGENJob to create a new WSPLGEN
15830 facet if the calculation was successfully (without errors). Finally, the
15831 facets of FacetCreator are added to the Facet list of the FLYSArtifacts.
15832
15833 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15834
15835 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15836 Put Artifact in background mode first before starting WSPLGEN, otherwise
15837 a very fast errors (call CallContext.afterBackground() before Artifact is
15838 in Background mode) might lead to an inconsistent state.
15839
15840 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Repaired
15841 broken error num parsing.
15842
15843 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15844
15845 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Track
15846 critical errors as well (improved regular expression for errors).
15847
15848 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15849
15850 * ChangeLog: Fixed whitespace usage.
15851
15852 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15853
15854 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java,
15855 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java
15856 src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
15857 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15858 Removed superfluous imports.
15859
15860 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15861
15862 flys/issue68 (Diagramm: Werte an der Y-Achse benötigen i18n)
15863
15864 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
15865 method to retrieve the current/preferred locale specified by CallMeta.
15866
15867 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
15868 Introduced two methods localizeDomainAxis() and localizeRangeAxis().
15869 Both methods of this class override the NumberFormat used to format axes
15870 numbers. Those methods are called by localizeAxes() - which has private
15871 access - for each domain and range axis of the current XYPlot.
15872
15873 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15874
15875 * doc/conf/cache.xml: Number of cached annotations was much
15876 to low.
15877
15878 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15879
15880 Improved w-differences diagram generation where multiple differences
15881 can be shown.
15882
15883 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
15884 New facet type.
15885
15886 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
15887 Employ new DifferenceCurveFacet, return CalculationResult that can
15888 store more than one WKms.
15889
15890 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
15891
15892 flys/issue320 (ÃœSK:Mapserver hat Probleme beim Shapefilepath mit "../" im Pfad)
15893
15894 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Use
15895 File.getCanonicalPath() to substitute "../" in shapefile directories.
15896
15897 2011-09-26 Ingo Weinzierl <ingo@intevation.de>
15898
15899 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15900 The extent of the WSPLGEN result layer is now specified by the extent of
15901 the CrossSectionTracks that matches the start and end kilometer of the
15902 WSPLGEN calculation.
15903
15904 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New function
15905 that creates the OpenLayers bounding box based on two Geometries.
15906
15907 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15908
15909 Improved w-differences diagram generation with included "absolute"
15910 values.
15911
15912 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
15913 Fixed one (of two) incorrect labels.
15914 (doWaterlevelOut): Survive non-found gauge, fetch kilometer and w
15915 instead of values for w and q.
15916
15917 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15918
15919 Add positional-conflict-awareness when merging Facets for a
15920 FLYSArtifactCollection. First come first serve.
15921
15922 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
15923 (writeFacets): First, sort incoming facets into 2 groups:
15924 "genuinely new" and "already there", then for each new check
15925 whether the position is already taken. If so, push "up" (position++)
15926 until no conflict exists anymore.
15927
15928 2011-09-26 Ingo Weinzierl <ingo@intevation.de>
15929
15930 flys/issue296 (Karte: Bezeichnungen verbessern)
15931
15932 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15933 I18N of the WSPLGEN and barriers facets (WMS layers).
15934
15935 * src/main/resources/messages.properties,
15936 src/main/resources/messages_de_DE.properties,
15937 src/main/resources/messages_en.properties,
15938 src/main/resources/messages_de.properties: Added strings for the wsplgen
15939 and barriers WMS layers.
15940
15941 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15942
15943 Fix (revert) access to position in ManagedDomFacet.
15944
15945 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
15946 (getPosition): Do not add prefix when querying position ("pos")
15947 attribute, add a logger for faster future debugging.
15948
15949 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15950
15951 Squash positional conflict-bug.
15952
15953 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
15954 (mergeFacets): Removed, replaced in parts by pickFacet.
15955 (pickFacet): New, return facet to be added to document.
15956 Documentation added.
15957
15958 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15959
15960 Squash a bug about wrongly named "art:pos" attribute in ManagedDomFacet (was
15961 "pos"). Added documentation from commit message.
15962
15963 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
15964 Added documentation (commit message with minor adjustments).
15965 (getPosition, setPosition): Include PREFIX in attribute name.
15966
15967 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15968
15969 Refactoring, doc.
15970
15971 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
15972 (mergeFacets): Removed, replaced in parts by pickFacet.
15973 (pickFacet): New, return facet to be added to document.
15974 Documentation added.
15975
15976 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
15977
15978 Cosmetics, docs.
15979
15980 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
15981 Documentation added.
15982
15983 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
15984
15985 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15986 Subclasses the FLYSService now - this should improve the database
15987 connection handling.
15988
15989 2011-09-22 Bjoern Schilberg <bjoern.schilberg@intevation.de>
15990
15991 * doc/mapserver/mosel-mapfile.map:
15992 Full blown mosel wms mapfile.
15993
15994 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
15995
15996 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
15997 New. A subclass of DefaultService which is used in FLYS to init and
15998 shutdown database connections.
15999
16000 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
16001 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
16002 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
16003 Centralized the initialization and shutdown of database connections.
16004 These services now subclass FLYSService which handles the database stuff.
16005
16006 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: The
16007 current database connection is not closed here - this is done in a
16008 Service or in the CallContext.
16009
16010 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: It's
16011 not necessary to create new database connections here. We already have
16012 an existing connection which is initialized by CallContext.
16013
16014 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
16015
16016 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
16017 Override validate() of parent classes to suppress "step" validation
16018 which is not present in this state.
16019
16020 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: Added
16021 new method validateBounds() which really just validates a boundary
16022 without "step" parameter.
16023
16024 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16025
16026 Added WaterlevelArtifact to accompany WINFOArtifacts in WDifferencesPlots.
16027
16028 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
16029 New WaterlevelArtifact.
16030
16031 * doc/conf/conf.xml:
16032 Added configuration for WaterlevelArtifact configuration (path to state-xml)
16033 waterlevel-factory.
16034
16035 * doc/conf/artifacts/waterlevel.xml:
16036 New, trivial state description for Waterlevelartifact.
16037
16038 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
16039 New, only state for WaterlevelArtifact.
16040
16041 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16042
16043 Cosmetics, docs.
16044
16045 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
16046 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
16047 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16048 Cosmetics, documentation.
16049
16050 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16051
16052 Added WaterlevelOut-processing ability to WDifferencesCurveGenerator.
16053
16054 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
16055 Process LONGITUDINAL_W facets.
16056
16057 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16058
16059 Improved WDifferenceState in preparation to be able to deal with multiple
16060 pairs for differences.
16061
16062 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
16063 Prepare multiple-pairs-case.
16064
16065 2011-09-21 Ingo Weinzierl <ingo@intevation.de>
16066
16067 flys/issue315 (Überschwemmungsfläche: String bei Streckenauswahl)
16068
16069 * doc/conf/artifacts/winfo.xml: Added a new state for floodmap's range
16070 input. This state will accept a km range only, there is no step width.
16071
16072 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
16073 New. The state which is used to enter a km range with step width.
16074
16075 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16076
16077 Cosmetics, improved debug output, doc.
16078
16079 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
16080 Improved debug output.
16081
16082 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
16083 Added documentation.
16084
16085 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java,
16086 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
16087 Removed commented code.
16088
16089 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
16090 Whitespace cosmetics.
16091
16092 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16093
16094 Avoid NullPointerException when drawing XYChart without data.
16095
16096 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
16097 Guard calls to dataset to avoid NullPointerException.
16098
16099 2011-09-21 Ingo Weinzierl <ingo@intevation.de>
16100
16101 flys/issue325 (FLYS Client: Auswahl des DGM zeigt numerischen Wert an)
16102
16103 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Write
16104 a better label for the selected DEM into the static DESCRIBE. Use the
16105 name of the DEM file as label instead of the database id.
16106
16107 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de>
16108
16109 * doc/mapserver/fontset.txt:
16110 Added initial font set for km_annotation layer.
16111 * doc/mapserver/symbols/symbols.sym:
16112 Added square symbol for km and fixpoint layer.
16113 * doc/mapserver/saar-mapfile.map:
16114 Adjust styling in the flys karte-archiv way.
16115
16116 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
16117
16118 Tagged RELEASE 2.5
16119
16120 * Changes: Prepared changes for release.
16121
16122 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
16123
16124 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
16125 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java,
16126 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java,
16127 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
16128 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
16129 needless imports.
16130
16131 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
16132
16133 * doc/conf/meta-data.xml: Improved datacage configuration for DEMs.
16134
16135 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16136 Query DGMs by the given ID in the FLYS data pool - not by given range
16137 values.
16138
16139 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
16140
16141 * doc/conf/meta-data.xml: Added a section for DEMs to the floodmap
16142 section.
16143
16144 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16145
16146 Fix build.
16147
16148 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java:
16149 Fix build.
16150
16151 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16152
16153 Take a given WaterlevelPair-String, load artifact and plot the diff.
16154
16155 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java:
16156 Load correct artifacts.
16157
16158 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de>
16159
16160 * doc/mapserver/*: Added inital mapserver configuration files.
16161
16162 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
16163
16164 * doc/conf/meta-data.xml: Moved the system specific configuration into a
16165 macro to the top of the configuration document. Call this macro at the
16166 end of the user specific part and in the part that should contain the
16167 system specific stuff only!
16168
16169 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
16170
16171 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
16172 Defined createItem() here and adapted some method signatures, because I
16173 need the CallContext deeper in code than expected.
16174
16175 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
16176 Write the name of the selected waterlevel into the static DESCRIBE.
16177
16178 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
16179 Adapted method signatures that have been changed in DefaultState.
16180
16181 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
16182 Removed method createItem() which is now defined in the upper class
16183 DefaultState.
16184
16185 * src/main/resources/messages.properties,
16186 src/main/resources/messages_de_DE.properties,
16187 src/main/resources/messages_en.properties,
16188 src/main/resources/messages_de.properties: Added string for selected
16189 waterlevel that is displayed in static UI.
16190
16191 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
16192
16193 * src/main/resources/messages.properties,
16194 src/main/resources/messages_de_DE.properties,
16195 src/main/resources/messages_en.properties,
16196 src/main/resources/messages_de.properties: Added state label for
16197 waterlevel selection.
16198
16199 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
16200
16201 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
16202 Validate incoming data string and strip brackets.
16203
16204 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16205 Fetch waterlevel data from external Artifact if existing. If no external
16206 Artifact is specified that provides waterlevel data, we gonna try to
16207 fetch it from the current Artifact.
16208
16209 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
16210
16211 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
16212 Removed needless import which caused compile errors.
16213
16214 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
16215
16216 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
16217 Added a transform() method. This method should be used to transform
16218 input data in form of a string into a better data structure. This state
16219 provides a simple implementation which just returns a StateData object
16220 that contains exactly the input string.
16221
16222 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Transform
16223 input strings using DefaultState.transform() before they are added to
16224 its data pool.
16225
16226 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
16227
16228 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16229 Made collection solid for the case if it has no Artifacts.
16230
16231 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
16232
16233 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Fetch Artifact
16234 from ArtifactDatabase properly. Write better error logs if that process
16235 fails.
16236
16237 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16238
16239 Extend WDifferences branch to have calculations in dedicated, new state.
16240
16241 * doc/conf/artifacts/winfo.xml: Added new State and Transition in
16242 WDifferences-branch.
16243
16244 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
16245 New state.
16246
16247 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
16248 Specify to not take input, prepare getting other facets.
16249
16250 2011-09-14 Ingo Weinzierl <ingo@intevation.de>
16251
16252 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: This
16253 state now desires the UIProvider 'dem_datacage_panel'.
16254
16255 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
16256 New. This state is used to define the desired UIProvider
16257 'wsp_datacage_panel'.
16258
16259 * doc/conf/artifacts/winfo.xml: Added a new way to start a WSPLGEN
16260 calculation when choosing the calculation type 'floodmap'.
16261
16262 2011-09-14 Ingo Weinzierl <ingo@intevation.de>
16263
16264 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Merge
16265 facets only if their name AND their owner artifact are equal.
16266
16267 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16268
16269 Partial Fix flys/issue304 (3) (Baseline).
16270
16271 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
16272 Show Baseline in WDifferencesPlot.
16273
16274 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16275
16276 Fix flys/issue310 (cross-section theme).
16277
16278 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue.
16279
16280 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16281
16282 Fix flys/issue310 (cross-section theme).
16283
16284 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue.
16285
16286 2011-09-13 Ingo Weinzierl <ingo@intevation.de>
16287
16288 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16289 Add an quick and simple error to the report if an error occured while
16290 WSPLGENJob creation.
16291
16292 * src/main/resources/messages.properties,
16293 src/main/resources/messages_de_DE.properties,
16294 src/main/resources/messages_en.properties,
16295 src/main/resources/messages_de.properties: Added error messages for
16296 WSPLGEN job creation errors.
16297
16298 2011-09-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16299
16300 Fix crash when drawing StickyAxisAnnotation when no range was given.
16301 User-directed issues remain ( flys/issue303 ).
16302
16303 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java
16304 (draw):
16305 Guard access to domainAxis, rangeAxis and the corresponding ranges.
16306 Warn and exit if any was null.
16307
16308 2011-09-13 Ingo Weinzierl <ingo@intevation.de>
16309
16310 flys/issue290 (Karte: Eingabe von Differenzen zw. WSP und Gelände findet
16311 keine Ausprägung in der Karte)
16312
16313 * doc/conf/mapserver/wsplgen_class.vm: Added styles for DIFF attribute.
16314
16315 * doc/conf/mapserver/mapfile.vm: Set debug default to '5'.
16316
16317 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
16318
16319 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16320 Add a first WSPLGEN status message (notifies the user about a
16321 queued job) after the job has been added to the Scheduler.
16322
16323 * src/main/resources/messages.properties,
16324 src/main/resources/messages_de_DE.properties,
16325 src/main/resources/messages_en.properties,
16326 src/main/resources/messages_de.properties: Added english and german
16327 status message text.
16328
16329 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
16330
16331 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Write
16332 shapefiles only if there are features for it existing.
16333
16334 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16335 A WSPLGEN facet is only created, if the calculation was successfully
16336 added to the Scheduler. A barrier facet is only created if the WSPLGEN
16337 calculation has been added to the scheduler AND if there are digitized
16338 geometries existing.
16339
16340 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16341
16342 Copied and slightly modified implementation of guessWaterIncreasing from
16343 WQKms to (new) DataUtils. Accidentally commited usage in last commit, to
16344 correct orientation of diagram (invert x axis).
16345
16346 * src/main/java/de/intevation/flys/utils/DataUtils.java:
16347 New file with guessWaterIncreasing implementation from WQKms,
16348 slightly adjusted.
16349
16350 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16351
16352 Cosmetics.
16353
16354 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
16355 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
16356 Cosmetics.
16357
16358 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16359
16360 Added CSV Export for W-Differences.
16361
16362 * doc/conf/conf.xml: Added Exporter.
16363
16364 * doc/conf/artifacts/winfo.xml: Removed transition over distances
16365 state, added export outputmode and facet.
16366
16367 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
16368 New, CSV-Exporter for WDifferences.
16369
16370 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
16371 Add export facet.
16372
16373 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16374
16375 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
16376 Cosmetics, docs.
16377
16378 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
16379 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
16380 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
16381 Cosmetics.
16382
16383 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
16384
16385 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
16386 Sourced the code to append a concrete data item to the static DESCRIBE
16387 part out to an own method (appendStaticData()).
16388
16389 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
16390 Override appendStaticData() to suppress the GeoJSON string to be
16391 included in the static DESCRIBE.
16392
16393 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
16394
16395 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
16396 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
16397 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
16398 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
16399 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
16400 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
16401 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16402 Removed needless imports.
16403
16404 2011-09-09 Ingo Weinzierl <ingo@intevation.de>
16405
16406 * src/main/java/de/intevation/flys/artifacts/model/CalculationMessage.java:
16407 New. A subclass of Message (in the Artifacts system). It stores a
16408 string message and a progress (in form of step x/y).
16409
16410 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: The observer
16411 now writes background messages into the artifact system using the
16412 CallContext.addBackgroundMessage(). We use instances of
16413 CalculationMessage here, that makes the WINFOArtifact able to put
16414 progress information into the Artifact's DESCRIBE as well.
16415
16416 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Write
16417 status message and progress information into the DESCRIBE if the
16418 Artifact has started a background process.
16419
16420 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16421
16422 Fix flys/issue280 .
16423
16424 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
16425 Do not draw boxes around annotations.
16426
16427 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16428
16429 Fix flys/issue279 .
16430
16431 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16432 Fix behaviour in various thinkable malconditions.
16433
16434 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16435
16436 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16437 Made one case of cross section fetching more robust.
16438
16439 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16440
16441 Fix Facet name and Legend of W-Differences, also insert state to specify
16442 distance.
16443
16444 * doc/conf/artifacts/winfo.xml: Add additional transitions to walk over
16445 distances state.
16446
16447 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
16448 Set facets description.
16449
16450 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
16451 Take facets description as legend.
16452
16453 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16454
16455 Added configuration to kick-in w-differences branch of winfo.
16456
16457 * doc/conf/conf.xml: Register new (w-differences) OutputGenerators.
16458
16459 * doc/conf/artifacts/winfo.xml: Register new state and transitions.
16460
16461 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
16462 Added new (w-differences) calculation mode.
16463
16464 * src/main/java/de/intevation/flys/exports/WDifferencesCurveInfoGenerator.java:
16465 New file, implementing naive approach to display w-differences
16466 (accidentially omitted in last commit).
16467
16468 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16469
16470 Added very stubby WDifferences State/OutGenerator for WINFOArtifact.
16471
16472 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
16473 Added w_differences facet type.
16474
16475 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
16476 New file, implements naive approach to calculate w-differences (of
16477 calculations identified by hardcoded uuids!) and register respective facet.
16478
16479 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
16480 New file, implementing naive approach to display w-differences.
16481
16482 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16483
16484 Implement getArtifact(uuid,context) in FLYSUtils.
16485
16486 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getArtifact):
16487 Added implementation, partially resolving a TODO. Added logger instance.
16488
16489 2011-09-08 Ingo Weinzierl <ingo@intevation.de>
16490
16491 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java:
16492 New. This sublcass of Calculation saves warnings and errors that occur
16493 while WSPLGEN is running.
16494 Note, that the interface of this class doesn't exactly apply the interface
16495 of Calculation. Maybe, we should generalize this interface!
16496
16497 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
16498 an instance of WSPLGENCalculation now. We use this instance to save
16499 warnings and errors.
16500
16501 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Use the
16502 WSPLGENCalculation to save errors and warnings.
16503
16504 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java:
16505 New. This facet is used for WSPLGEN reports. It stores an instance of
16506 WSPLGENCalculation which saves ERRORS and WARNINGS that occur while
16507 WSPLGEN execution.
16508
16509 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16510 Create a WSPLGENReportFacet for WSPLGEN reports.
16511
16512 * doc/conf/conf.xml: Added an OutputGenerator 'report' for WSPLGEN
16513 reports.
16514
16515 * doc/conf/artifacts/winfo.xml: Added an output 'report' for WSPLGEN
16516 reports.
16517
16518 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16519
16520 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
16521 src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java,
16522 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
16523 Cosmetics, docs.
16524
16525 2011-09-08 Ingo Weinzierl <ingo@intevation.de>
16526
16527 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: Small
16528 adjustments that makes it easier to subclass this observer.
16529
16530 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: New. A
16531 sublcass of JobObserver which analyses the WSPLGEN output for errors and
16532 warnings.
16533
16534 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use
16535 JobObserver and ProblemObserver to track the whole WSPLGEN output and
16536 print number of errors/warnings to log output.
16537
16538 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16539
16540 Added translation of w_differences.
16541
16542 * src/main/resources/messages_de_DE.properties,
16543 src/main/resources/messages_de.properties,
16544 src/main/resources/messages_en.properties,
16545 src/main/resources/messages.properties:
16546 Added "w_differnces" translation.
16547
16548 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
16549
16550 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
16551 a new attribute 'background-processing' to the DESCRIBE of this
16552 Artifact. Its value is 'true' if this Artifact has started a background
16553 thread which has not finished yet - otherwise it is 'false.
16554
16555 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
16556
16557 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
16558 src/main/java/de/intevation/flys/utils/GeometryUtils.java: Moved the
16559 code to determine the extent of a river based on its axis to
16560 GeometryUtils.
16561
16562 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16563 Determine the extent of the selected river and set the WMSLayerFacet's
16564 extent attribute.
16565
16566 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16567
16568 Added Themeing support for CrossSection Diagrams.
16569
16570 * doc/conf/themes.xml:
16571 Added new themes and mappings, slightly modified longitudinalsection
16572 theme.
16573
16574 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16575
16576 In CrossSection Diagram fix subtitle to display the km of which the data is
16577 actually displayed (maybe contrasting users wish).
16578
16579 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16580 (getCrossSectionSnapKm): New method to fetch the actual km of crosssection.
16581
16582 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16583 Add correct km to charts subtitle.
16584
16585 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16586
16587 Fix various display-issues like i18n in cross-section diagram.
16588
16589 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16590 Set description of facets to expected values.
16591
16592 * src/main/java/de/intevation/flys/artifacts/exports/CrossSectionGenerator.java:
16593 Fix i18n of chart title. Set subtitle to expected value, pass facets
16594 description to StyledSeries to see expected legend.
16595
16596 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16597
16598 Cosmetics, resolved refactoring todo.
16599
16600 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java
16601 (compute, computeAdvance, computeFeed): Refactored, extracted method,
16602 resolving duplicate code and TODO.
16603
16604 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16605
16606 Fix waterline "calculation" at given km. Chosen approach is
16607 "head-through-wall".
16608
16609 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16610 Some refactoring to do the same calculation twice easier and be able
16611 to "cross" waterline against correct profile data.
16612
16613
16614 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16615
16616 Fix setting of kilometer for profile (not yet waterlevel) of cross section
16617 diagram.
16618
16619 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16620 (getCrossSectionData): Respect corss_section.km data; do naive linear
16621 search for profile data for this km.
16622
16623 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
16624 Declare a ComputeType.
16625
16626 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16627 Implement computeFeed.
16628
16629 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16630
16631 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
16632 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16633 Minor cosmetics.
16634
16635 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16636
16637 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
16638 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
16639 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
16640 src/main/java/de/intevation/flys/artifacts/state/DefaultState.java:
16641 Cosmetics, docs.
16642
16643 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
16644
16645 * doc/conf/mapserver/barrier_polygons_class.vm,
16646 doc/conf/mapserver/barrier_lines_class.vm,
16647 doc/conf/mapserver/wsplgen_class.vm: Default Mapserver styles for
16648 barriers and WSPLGEN results. Those styles are only used as long as we
16649 don't have map specific themes (as already used in charts).
16650
16651 * doc/conf/mapserver/layer.vm: Implements a fallback mechanism for styling
16652 barrier lines/polygons and WSPLGEN results.
16653
16654 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added a
16655 getStyle() method that currently returns "null". This method needs to be
16656 implemented when map themes are introduced.
16657
16658 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
16659
16660 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Renamed
16661 some attributes to make their job in the mapfile more obvious.
16662
16663 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
16664 new facet type for barriers.
16665
16666 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: Add
16667 a facet for the barriers layer.
16668
16669 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Parse
16670 barriers (lines and polygons) and create two new layers for each type -
16671 those layers are grouped.
16672
16673 * doc/conf/mapserver/layer.vm: Renamed attribute based on changes in
16674 LayerInfo and added support for Group-Layers.
16675
16676 2011-09-06 Raimund Renkert <raimund.renkert@intevation.de>
16677
16678 * doc/conf/conf.xml:
16679 Added driver to database configuration for use with postgresql.
16680
16681 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
16682
16683 * doc/conf/mapserver/mapfile.vm: Removed FONTSET attribute and set quotes
16684 for SHAPEPATH.
16685
16686 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
16687
16688 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
16689 Removed. We gonna use the WMSLayerFacet until now.
16690
16691 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16692 Add a WMSLayerFacet after we triggered the Scheduler to start a WSPLGEN
16693 calculation.
16694
16695 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
16696
16697 * doc/conf/mapserver/layer.vm,
16698 doc/conf/mapserver/mapfile.vm: Small bugfixes and style improvements.
16699
16700 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Trigger the
16701 MapfileGenerator after a WSPLGEN job has finished regardless if it has
16702 been finished successfully or not.
16703
16704 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
16705
16706 * pom.xml: Added Apache Velocity 1.7 for templating support.
16707
16708 * doc/conf/conf.xml: Added config options for mapserver/template relevant
16709 stuff.
16710
16711 * doc/conf/mapserver/mapfile.vm,
16712 doc/conf/mapserver/layer.vm: New. A default mapfile template and a
16713 template used for layers.
16714
16715 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: New.
16716 This class is used while reading WMS layer relevant information from
16717 filesystem.
16718
16719 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: New. This
16720 thread is used for creating mapfiles for Mapserver. The MapfileGenerator
16721 runs in daemon mode (own thread) and creates mapfiles based on WMS
16722 layer relevant information read from filesystem.
16723
16724 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
16725 src/main/java/de/intevation/flys/utils/FLYSUtils.java: Moved shapefile
16726 specific XPath expressions from FloodMapState to FLYSUtils which is a
16727 better place to use it in other classes (as MapfileGenerator).
16728
16729 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
16730
16731 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java:
16732 Bugfixed broken attribute assignment.
16733
16734 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Call
16735 CallContext.afterBackground() after a WSPLGEN job has finished to remove
16736 the background lock from Artifact.
16737
16738 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16739 Call CallContext.afterCall(BACKGROUND) to lock the Artifact for
16740 background processing.
16741
16742 2011-09-02 Ingo Weinzierl <ingo@intevation.de>
16743
16744 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: New. This
16745 class is used to start WSPLGEN for a specific WSPLGENJob. The System
16746 property "wsplgen.bin.path" tells the JobExecutor where the WSPLGEN
16747 binary is placed (which means in general, the property points to the
16748 'wsplgen.exe').
16749
16750 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: New. This
16751 scheduler currently allows to start just a single WSPLGEN Thread. All
16752 WSPLGEN calculations should be started using Scheduler.addJob().
16753
16754 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: New. This
16755 thread reads log messages from WSPLGEN and listens for specific
16756 messages. It should be used to update status messages of the WSPLGEN
16757 calculation that is currently running.
16758 There is a System property that tells the JobObserver to log all WSPLGEN
16759 output to log4j: enable WSPLGEN output with "-Dwsplgen.log.output=true".
16760
16761 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Added
16762 the FLYSArtifact, the current working directory and the CallContext.
16763
16764 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16765 Use the Scheduler to start new WSPLGEN calculations.
16766
16767 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16768
16769 Add CrossSectionInfoGenerator.
16770
16771 * src/main/java/de/intevation/flys/exports/CrossSectionInfoGenerator.java:
16772 New, trivial implementation of CrossSectionInfoGenerator.
16773
16774 * doc/conf/conf.xml:
16775 Register CrossSectionInfoGenerator.
16776
16777 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16778
16779 Cleanups of CrossSection*.
16780
16781 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16782 New methods to retrieve name of utilized CrossSection.
16783
16784 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16785 Cleanup, get rid of copied unused method, documentation and more sensible
16786 translations.
16787
16788 * src/main/resources/messages_de_DE.properties,
16789 src/main/resources/messages_de.properties,
16790 src/main/resources/messages_en.properties,
16791 src/main/resources/messages.properties:
16792 Added cross_section* translations, also cleanups.
16793
16794 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
16795
16796 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16797 Set the "typ" attribute of lines and polygons in barrier shapefiles.
16798
16799 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
16800
16801 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16802 Set the Z values of line and polygon barrier geometries. Both barrier
16803 shapefiles will contain 3D geometries now.
16804
16805 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16806
16807 Get real data to display in CrossSection (although ignorant of
16808 parameterization), making use of the showcase code of the CrossSectionApp-
16809 Standalone application.
16810
16811 * doc/conf/artifacts/winfo.xml: Add new facet (~waterline) to state/out.
16812
16813 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16814 New methods to get relevant data. So far just takes the first value of
16815 everything and assuming a waterlevel at 130m.
16816
16817 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
16818 New Facet responsible of water level in cross section.
16819
16820 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
16821 Made some functionality publicly and statically available.
16822
16823 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
16824 Update call.
16825
16826 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added new
16827 Facet type.
16828
16829 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16830 Added new Facet to out.
16831
16832 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16833 Respect new facet and facets data.
16834
16835 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
16836
16837 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Close an open
16838 shapefile transaction and catch exceptions which are thrown while
16839 shapefile creation here. If there occured an error, this functions
16840 returns FALSE, otherwise TRUE.
16841
16842 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16843 Removed exception handling while shapefile creation - this is done in
16844 GeometryUtils now.
16845
16846 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
16847
16848 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16849 Renamed the file for WSPLGEN required waterlevels to "waterlevels.wst".
16850 WSPLGEN did not work with the former "waterlevels.txt" file.
16851
16852 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
16853
16854 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New static
16855 function that builds new SimpleFeatureTypes with additional attributes.
16856
16857 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16858 Write attributes "ELEVATION" and "KILOMETER" into the crosssection
16859 tracks shapefiles.
16860
16861 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
16862
16863 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
16864 stub that should return a FLYSArtifact based on a given UUID.
16865
16866 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16867 Write the selected WST file for WSPLGEN. Note, that this is the WST file
16868 of the current WINFO artifact. Furthermore, there is currently no way
16869 for the user to select a column from WST file, so we currently use the
16870 column that is written to WST file at first.
16871
16872 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
16873
16874 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
16875 the parameter order of a compute(...) method. This makes me able to call
16876 this without a hash value.
16877
16878 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
16879 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
16880 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
16881 Adapted the parameter order of the compute() call (see above).
16882
16883 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16884
16885 More bones to CrossSection sceleton.
16886
16887 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
16888 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
16889 New, yet trivial implementations of Factory and Facet for CrossSections.
16890
16891 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16892 Add new CrossSection- (instead of Default-)Facet.
16893
16894 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
16895 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16896 Adjusted to use (touch) new Factory and Facet.
16897
16898 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16899
16900 Cosmetics.
16901
16902 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16903 Cosmetics.
16904
16905 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16906
16907 Cosmetics.
16908
16909 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
16910 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
16911 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
16912 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16913 Removed obselete imports.
16914
16915 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16916 Removed obselete imports, whitespaces.
16917
16918 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16919 Whitespaces, docs.
16920
16921 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16922
16923 Fix translations of Main Values Facets.
16924
16925 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
16926 Do acrobatics to keep state transient but get translated title.
16927
16928 * src/main/java/de/intevation/flys/artifacts/MainValuesQFacet.java,
16929 src/main/java/de/intevation/flys/artifacts/MainValuesWFacet.java:
16930 Changed constructor to get description (which is then already be translated)
16931 dynamically, adjust deepCopy.
16932
16933 * src/main/java/de/intevation/flys/states/StaticState.java:
16934 Adjust constructor accordingly.
16935
16936 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16937
16938 Add sceleton for CrossSection outs.
16939
16940 * doc/conf/artifacts/winfo.xml:
16941 Added new output mode to respective state of winfo artifact configuration.
16942
16943 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
16944 Add new Dummy-Facet in state.
16945
16946 * doc/conf/conf.xml:
16947 Registered new OutputGenerator.
16948
16949 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
16950 Added new CROSS_SECTION type.
16951
16952 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
16953 New, stubby skeleton for an CrossSectionGenerator.
16954
16955 * src/main/resources/messages_de_DE.properties,
16956 src/main/resources/messages_de.properties,
16957 src/main/resources/messages_en.properties,
16958 src/main/resources/messages.properties:
16959 Added cross_section translation, also cleanups (e.g. main values).
16960
16961 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
16962
16963 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Marked
16964 required parameters with a comment.
16965
16966 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16967 Export floodplains (german 'Talaue') to shapefile and write its file
16968 path into the WSPLGEN job.
16969
16970 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
16971
16972 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16973 Search for a DGM that fits to the current river and km range and write
16974 its file path into the WSPLGEN job.
16975
16976 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
16977
16978 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Improved
16979 exception handling: exceptions are catched in GeometryUtils now.
16980
16981 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16982 Write river axis and crosssections to shapefiles and save shapefile
16983 pathes in WSPLGENJob.
16984
16985 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
16986
16987 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
16988 Use the coorect SRID for reading GeoJSON and writing line/polygon
16989 shapefiles.
16990
16991 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Use a
16992 concrete coordinate system while feature type creation.
16993
16994 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
16995
16996 * pom.xml: Added GeoTools 2.7.2 dependencies for Shapefile, GeoJSON and
16997 EPSG support.
16998
16999 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Store
17000 'LIN' parameter in a list now. A WSPLGEN parameter might contain many
17001 LINs.
17002
17003 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New functions
17004 to create FeatureTypes and to write shapefiles.
17005
17006 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
17007 Write user specified barriers into a shapefile placed in the artifact
17008 directory.
17009
17010 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
17011
17012 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
17013 that extracts the SRID defined in the global configuration file for a
17014 given river.
17015
17016 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
17017 Removed the code that extracts the river SRID - use FLYSUtils instead.
17018
17019 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17020
17021 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
17022
17023 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
17024 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
17025
17026 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17027
17028 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
17029
17030 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
17031 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
17032 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
17033 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
17034 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
17035 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
17036
17037 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17038
17039 Commit accidentally omitted result of refactoring (WINFO/FLYSUtils/getRiver).
17040
17041 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17042 Removed implementations of getRiver, update calls to use FLYSUtils.
17043
17044 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17045
17046 Interpolate Q main values, generate interpolated W main values on the fly from
17047 Q main values.
17048
17049 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17050 (getGaugeDatum): removed, obsolete
17051 (getLocation): new, gets location
17052 Use WstValueTable to look up interpolated Qs of MainValues. In absence of
17053 the same functionality for Ws, generate W Main Values from Q Main Values.
17054
17055 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17056
17057 Use new helper class FLYSUtils, minor refactorization.
17058
17059 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17060 Use new functionality of helper class, convenience of FLYSArtifact.
17061
17062 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17063
17064 Refactored to use new Helper class FLYSUtils, moved getRiver-functionality
17065 in there.
17066
17067 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getRiver):
17068 New function to retrieve river of an artifact, slightly modified from
17069 WINFOArtifact.
17070
17071 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
17072 Removed implementations of getRiver, update calls to use FLYSUtils.
17073
17074 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17075
17076 Minor cosmetics.
17077
17078 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17079 Resolved a TODO.
17080
17081 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17082 Added some documentation.
17083
17084 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
17085 Minor cosmetic.
17086
17087 2011-08-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17088
17089 * doc/conf/meta-data.xml: Made it Oracle compatible.
17090
17091 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
17092 If running in debug mode log executed statements.
17093 Helps debugging Oracle connections.
17094
17095 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
17096
17097 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
17098 Set some WSPLGENJob parameters which are stored at FLYSArtifact.
17099
17100 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
17101
17102 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New. This helper
17103 class should provide some basic FLYS stuff. Currently, there are functions
17104 that return the km range/location.
17105
17106 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
17107 the methods that return the km range/locations. This is implemented in
17108 FLYSUtils now.
17109
17110 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
17111 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
17112 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Adapted
17113 the WINFO method calls to retrieve the km range/locations - call
17114 FLYSUtils now.
17115
17116 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
17117
17118 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New method
17119 to destroy a single state.
17120
17121 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17122
17123 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17124 Cosmetic, remove debug output and comments, minor style adjustments.
17125
17126 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17127
17128 Added limited themeing-support for MainValues.
17129
17130 * doc/conf/themes.xml:
17131 Added Q/W-MainValues themes.
17132
17133 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17134 Added limited theming support, add legend entry for main values.
17135
17136 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
17137
17138 * doc/conf/conf.xml: Added a configuration node that points to the directory
17139 where shapefiles should be stored in.
17140
17141 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: New.
17142 This class is used to save/write the parameter for a WSPLGEN calculation.
17143 WSPLGEN's *.par files are written using the toFile() method.
17144
17145 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
17146 A directory for all WSPLGEN stuff is created in computeAdvance() - those
17147 directory and all its contained files are removed in endOfLife().
17148
17149 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17150
17151 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
17152 New Util to work with theme-related stuff.
17153
17154 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17155
17156 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17157 Use NamedDoubles instead of MainValues, try to adjust scale of Ws.
17158
17159 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17160 Use NamedDoubles instead of MainValues, generalize annotation handling, to
17161 allow easier reusability and themeing.
17162
17163 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
17164 Added convenience constructor, exemplary switch on bordered text.
17165
17166 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17167
17168 * doc/conf/meta-data.xml:
17169 Recommend MainValues for Computed discharge curves.
17170
17171 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17172
17173 New NamedDouble class which implements a <String,double>-pair.
17174
17175 * src/main/java/de/intevation/flys/artifacts/model/NamedDouble.java:
17176 New, implementation of a double with a string or vice versa.
17177
17178 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
17179
17180 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
17181 State.endOfLife() for all States when endOfLife() of the Artifact is
17182 called.
17183
17184 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17185
17186 Also plot "W"-MainValues (on vertical axis), take correct parameters, but
17187 do not convert to correct scale (cm vs NN+m).
17188
17189 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
17190 Naive attempt at allowing the vertical axis to be sticked at.
17191
17192 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17193 Store Q and W MainValues separately, add them to plot as annotations.
17194
17195 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17196 Serve the MainValues, parameterized on river and location, Q and W.
17197 Removed Facet-implementation.
17198
17199 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
17200 Updated Facet Types.
17201
17202 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
17203 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
17204 New, trivial facets, extracted from MainValuesArtifact.
17205
17206 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
17207
17208 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
17209 State.endOfLife() of each State that is no longer in the queue of the
17210 artifact when this artifact steps back to a previous state.
17211
17212 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17213
17214 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17215 Plot MainValues delivered by MainValuesFacet in much the same ways than
17216 Annotations in LongitudinalSection plots.
17217
17218 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17219
17220 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
17221 Prepare further differentiation between Annotations that stick to X or Y-
17222 Axis, copied some positioning logic into StickyAxisAnnotation
17223 implementation.
17224
17225 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17226
17227 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17228 Minor cosmetics.
17229
17230 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17231
17232 Added MainValue-Fetching-Capabilities to MainValuesArtifact.
17233
17234 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
17235 (initialize, getMinValues):
17236 Let MainValuesArtifact return "real" MainValues, although ignorant of all
17237 parameterization.
17238
17239 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17240
17241 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
17242 (MainValueFacet):
17243 Improved and straightened implementation, added code-Annotations and Todos.
17244
17245 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17246
17247 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
17248 (MainValueFacet):
17249 Improved and straightened implementation, added code-Annotations and Todos.
17250
17251 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17252
17253 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
17254 (getState):
17255 Resolved multiple creation of state (yet not very clean).
17256
17257 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17258
17259 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
17260 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17261 Cosmetics, docs.
17262
17263 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
17264 Cosmetics.
17265
17266 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17267
17268 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
17269 Added new (MainValues) Facet-Type.
17270
17271 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
17272
17273 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
17274 Added a method that returns a River object based on its database id.
17275
17276 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: The
17277 data that is required for this artifact is fetched from database instead
17278 from a Master-Artifact. The creation of static artifacts should use
17279 database ids instead of cloning a Master-Artifact.
17280
17281 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
17282
17283 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17284 Removed needless imports.
17285
17286 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17287
17288 Added configuration for factory and rule for MainValueArtifacts.
17289
17290 * doc/conf.xml:
17291 Add a mainvalue factory to serve MainValueArtifacts.
17292
17293 * doc/conf/meta-data.xml:
17294 Recomment mainvalue artifact when computed_discharge_curve can be put out.
17295
17296 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17297
17298 Let MainValuesArtifact have a state, outputmode and facet.
17299
17300 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
17301 New, a non-abstract DefaultState.
17302
17303 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17304 Progressed with implementation, use StaticState to hook output modes and
17305 facet in; use (Static)FLYSArtifact implementation.
17306
17307 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17308
17309 Smaller cosmetics.
17310
17311 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
17312 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
17313 Cosmetics in comments.
17314
17315 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
17316 Added @Override annotations.
17317
17318 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
17319 Use brackets to improve readability of ternary operator.
17320
17321 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17322
17323 * doc/conf/meta-data.xml: Use "ids" in user specific part, too.
17324
17325 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17326
17327 * doc/conf/meta-data.xml: s/db-ids/ids/g to unify system and user specific
17328 loading.
17329
17330 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17331
17332 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17333 Extracted access to state and states in order to have fewer places to
17334 modify when going for single/trivial state- artifacts.
17335
17336 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
17337
17338 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
17339 Append the river's srid to the WMSLayerFacet.
17340
17341 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17342
17343 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17344 Minor fixes, ressurect Facet implementation as inner class.
17345
17346 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
17347
17348 * doc/conf/artifacts/winfo.xml: Moved the input of barriers one state
17349 earlier where the scenario is selected as well.
17350
17351 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
17352 This state now desires the "map_digitize" UI provider and returns both
17353 items "scenario" and "uesk.barriers" in the dynamic describe part.
17354
17355 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
17356 Removed the UI provider and the computeFeed() which is no longer needed,
17357 because there is no more user input in this state.
17358
17359 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
17360
17361 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
17362 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
17363 Repaired broken xpath expressions (the config changed in one of the last
17364 commits) and make use of the variable support in xpath expressions to
17365 replace the rivername.
17366
17367 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java:
17368 Save the rivername while initializing this artifact. This is now
17369 necessary, because each river can have its own background wms
17370 configured.
17371
17372 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
17373
17374 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
17375 Repaired broken river-wms initialization.
17376
17377 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17378
17379 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java,
17380 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
17381 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
17382 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java,
17383 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
17384 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
17385 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java,
17386 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
17387 src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
17388 Made facets cloneable with the right type.
17389
17390 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
17391 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17392 Removed superfluous imports.
17393
17394 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
17395
17396 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17397 Declare the first artifact of an output as master artifact (artifacts
17398 are ordered by their creation time).
17399
17400 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17401
17402 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17403 Removed facet interface.
17404
17405 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17406 Make artifacts cloneable. TODO: Override deepCopy() in subclassed
17407 states and facets.
17408
17409 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
17410
17411 * doc/conf/conf.xml: Added the MapInfoService and adapted the floodmap
17412 configuration. Now, each river can have its own background wms layer
17413 defined.
17414
17415 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
17416 New. This service returns some basic information used to create maps for
17417 a specific river. The name of the desired river needs to be defined at
17418 "/mapinfo/river/text()".
17419
17420 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
17421 Adapted an xpath expression that points to the srid of a river in the
17422 floodmap configuration (which changed).
17423
17424 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17425
17426 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17427 Build out/facet filter from XML document passed at creation time.
17428
17429 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17430
17431 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17432 Added some code to filter outs/facets by an optional positive list.
17433 This is needed to only expose parts of the facets. This
17434 is needed for artifacts which are loaded into a collection.
17435 TODO: create the filter from the XML document passed at creation
17436 time.
17437
17438 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17439
17440 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved all
17441 WINFO specific code to WINFOArtifact. FLYSArtifact is now only revolving
17442 about state affairs.
17443
17444 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-inserted
17445 the specific stuff here.
17446
17447 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
17448 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
17449 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
17450 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
17451 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
17452 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
17453 Adjusted the casts.
17454
17455 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17456
17457 * doc/conf/meta-data.xml: Filter by outs in user template part.
17458
17459 2011-08-22 Ingo Weinzierl <ingo@intevation.de>
17460
17461 * doc/conf/artifacts/winfo.xml: Defined an input value for the GeoJSON
17462 string to save user defined barriers in the map.
17463
17464 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
17465 Added a computeFeed() method. In addition, this state now prefers the
17466 "noinput" UI provider.
17467
17468 2011-08-19 Ingo Weinzierl <ingo@intevation.de>
17469
17470 * doc/conf/conf.xml: Each river requires a SRID definition. This
17471 definition is used to transform the river's geometries into the desired
17472 projection.
17473
17474 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
17475 This facets are able to save a SRID.
17476
17477 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
17478 The extent that is written into the WMSLayerFacet is determined by the
17479 boundary of the geometry.
17480
17481 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New. A
17482 utility class that provides helper functions for geometries. Currently,
17483 one function is defined, that creates a boundary string for OpenLayers.
17484
17485 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17486
17487 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
17488 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
17489 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
17490 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
17491 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
17492 src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
17493 Removed superfluous imports.
17494
17495 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17496
17497 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
17498 Removed CallContext from state validation. It is not needed and hindered
17499 the extraction of all out of an artifact if you don't have a
17500 call context (like initial scan of datacage database).
17501
17502 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17503 Extract all outs now.
17504
17505 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
17506 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
17507 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
17508 src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java,
17509 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
17510 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
17511 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
17512 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
17513 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
17514 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
17515 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
17516 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
17517 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
17518 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
17519 src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
17520 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
17521 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
17522 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17523 Adjusted calls.
17524
17525 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17526
17527 * src/main/resources/messages.properties,
17528 src/main/resources/messages_de_DE.properties,
17529 src/main/resources/messages_en.properties,
17530 src/main/resources/messages_de.properties:
17531 Added lacalization of "Streckenfavoriten".
17532
17533 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17534
17535 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
17536 Picky white-space cosmetics.
17537
17538 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17539
17540 Added stub implementation of new MainValuesArtifact.
17541
17542 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
17543 New. Stub implementation for new MainValuesArtifact.
17544
17545 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17546
17547 Fixed flys/issue262
17548
17549 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
17550 Unified user and system tempate.
17551 Looks for "/artifact-database/metadata/template/text()"
17552 in conf.xml. Defaults to "${artifacts.config.dir}/meta-data.xml". If user id is
17553 given its the default connection for contexts.
17554
17555 * doc/conf/conf.xml: Adjusted
17556 * doc/conf/meta-data-system.xml, doc/conf/meta-data-user.xml: Deleted.
17557 * doc/conf/meta-data.xml: Unified version of user and system template.
17558
17559 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java:
17560 Adjusted the test program.
17561
17562 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17563
17564 Fixed flys/issue260
17565
17566 * doc/conf/meta-data-user.xml: Uses master_artifacts view now.
17567
17568 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17569
17570 * doc/conf/datacage.sql: Added view master_artifacts to select
17571 the master artifacts of the collections more easily.
17572 To upgrade existing database:
17573
17574 CREATE VIEW master_artifacts AS
17575 SELECT a2.id AS id,
17576 a2.gid AS gid,
17577 a2.state AS state,
17578 a2.creation AS creation,
17579 ci2.collection_id AS collection_id
17580 FROM collection_items ci2
17581 JOIN artifacts a2
17582 ON ci2.artifact_id = a2.id
17583 JOIN (SELECT ci.collection_id AS c_id,
17584 MIN(a.creation) AS oldest_a
17585 FROM collection_items ci
17586 JOIN artifacts a
17587 ON ci.artifact_id = a.id
17588 GROUP BY ci.collection_id) o
17589 ON o.c_id = ci2.collection_id
17590 WHERE a2.creation = o.oldest_a;
17591
17592 TODO: Use the view in the templates.
17593
17594 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17595
17596 * doc/conf/meta-data-user.xml: Removed state filter because it was broken.
17597 Simplified by joining two contexts.
17598
17599 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17600
17601 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
17602 Fix issues with lines of annotation when zoomed (wrong scale used).
17603
17604 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17605
17606 Added legend for annotations to LongitudinalSectionDiagram.
17607
17608 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17609 Added a pseudo-dataseries/collection to employ existing infrastructure for
17610 displaying localized label for Annotations (yet unthemed).
17611
17612 * src/main/resources/messages.properties,
17613 src/main/resources/messages_de_DE.properties,
17614 src/main/resources/messages_en.properties,
17615 src/main/resources/messages_de.properties:
17616 Made label-string available for localization.
17617
17618 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17619
17620 Moved StickyAxisAnnotation into new package de.intevation.flys.jfree .
17621
17622 * src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java:
17623 Deleted/moved to src/main/java/de/intevation/flys/jfree/ .
17624
17625 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
17626 New/moved from src/main/java/de/intevation/flys/export/ , adjusted
17627 package statement, made class public.
17628
17629 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17630 Added import statement for de.intevation.flys.jfree.StickyAxisAnnotation .
17631
17632 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17633
17634 Extracted and renamed CustomAnnotation to StickyAxisAnnotation. Also removed
17635 needless imports.
17636
17637 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
17638 src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java:
17639 Extracted class implementation CustomAnnotation and renamed to
17640 StickyAxisAnnotation.
17641
17642 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17643
17644 Improved CustomAnnotations and rendering thereof, now including an
17645 "axis mark" (little line at axis), also prepared possibility to put
17646 annotations on Y-axis.
17647
17648 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17649 Improved CustomAnnotation to include marks on the axis and better spacing
17650 from it.
17651
17652 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17653
17654 Implemented proof-of-concept collision-detection when drawing
17655 CustomAnnotations (text only).
17656
17657 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
17658 Pass a fresh ChartRenderingInfo-Object to createBufferedImage, such that
17659 information can be collected while rendering.
17660
17661 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17662 Exploit the fact that XYTextAnnotation already registers drawn shape in the
17663 ChartRenderingInfo if it exists and either an URL or tooltip is set.
17664 Before drawing, calculate own shape and compare against already registered
17665 shapes.
17666
17667 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17668
17669 Implemented (yet dummy) custom Annotation class.
17670
17671 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17672 Added implementation of yet dummy CustomAnnotation class.
17673
17674 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17675
17676 Slightly improved rendering of annotations.
17677
17678 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17679 Slightly improved rendering of annotations. Still no valid collision
17680 detection. Annotations are drawn every 2 km; first come first serve.
17681
17682 2011-08-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17683
17684 Fix for flys/issue191
17685
17686 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(longestIncreasingWRangeIndices):
17687 Added a method to find the longest index range with increasing w values.
17688
17689 * src/main/java/de/intevation/flys/exports/ATWriter.java: Export the longest
17690 range of monotone increasing w values instead of the first one.
17691 TODO: The first line of the export is still broken.
17692
17693 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
17694 Removed superfluous import.
17695
17696 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17697
17698 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
17699 Resolved two TODOs: get Annotations of selected River, get "point"
17700 Annotations only.
17701
17702 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17703
17704 Added functionality to query range and point-annotations only to
17705 AnnotationFactory.
17706
17707 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java
17708 (getPointAnnotations, getAnnotationsBreadth):
17709 New functions to query breadth and point-only annotations.
17710
17711 2011-08-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17712
17713 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
17714 Added a development mode for recommendations. Enabled with
17715 stetting system property 'flys.datacage.recommendations.development' to true.
17716 When set the XML template are re-read if the timestamps of the
17717 files have changed so you do not have to restart the server again and again.
17718
17719 * doc/conf/meta-data-user.xml: Sort collections by creation time in descending order.
17720
17721 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17722
17723 Rather picky cosmetics only.
17724
17725 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
17726 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java,
17727 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
17728 src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java,
17729 src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
17730 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
17731 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
17732 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17733 End comments on a full stop, separate from closing '*/' by whitespace,
17734 adjusted javadoc comments.
17735
17736 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17737
17738 Made Annotations visible in LongitudinalSection diagrams.
17739
17740 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
17741 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17742 Register new Facet Type, let LongitudinalSectionGenerator include
17743 Annotations in diagram (yet unfiltered and independent of river).
17744
17745 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17746
17747 * doc/conf/conf.xml,
17748 doc/conf/artifacts/annotation.xml,
17749 doc/conf/meta-data-system.xml:
17750 Added configuration for AnnotationArtifacts.
17751
17752 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17753
17754 Added demo- implementation of a AnnotationArtifact and its Facet.
17755
17756 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
17757 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
17758 src/main/java/de/intevation/flys/artifacts/states/AnnotationRiverState.java:
17759 New. Initial version of an AnnotationArtifact and its State and Facet.
17760
17761 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17762
17763 * doc/conf/datacage.sql: Extended schema for artifacts and collections
17764 to have creation times, too.
17765
17766 To update existing databases:
17767
17768 ALTER TABLE artifacts ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp;
17769 ALTER TABLE collections ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp;
17770
17771 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17772 Store creation times for artifacts and collections, too.
17773
17774 * src/main/resources/datacage-sql/org-h2-driver.properties,
17775 src/main/resources/datacage-sql/org-postgresql-driver.properties:
17776 Adjusted SQL statements.
17777
17778 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17779
17780 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17781 Make it compilable again (BackendListener interface changed).
17782
17783 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17784
17785 * doc/conf/meta-data-user.xml: Added grouping element around w/q of each
17786 longitudinal section artifact.
17787
17788 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java,
17789 src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java:
17790 Added some debugging capabilities.
17791
17792 * src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java:
17793 Added isEmpty() method.
17794
17795 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
17796 Now it is possible to nest <dc:elements> into other elements in the <dc:context>
17797 body. This is useful and needed for grouping and repeating results.
17798
17799 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17800
17801 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
17802 User connection was cached, system was not. Lead to incorrect results.
17803
17804 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17805
17806 * doc/conf/meta-data-user.xml: Added <old_calculations> element
17807 around old calculations.
17808
17809 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17810
17811 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
17812 Cosmetic: Replaced usage of legacy java.util.Stack with java.util.Deque.
17813
17814 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17815
17816 * doc/conf/meta-data-user.xml: Use 'CAST(x AS uuid)' instead of 'x::uuid'
17817 to be more compatible.
17818
17819 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17820
17821 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
17822 If given an artifact place its identifier into parameters passed to template.
17823 Fixed swapped user/system connections if using the user template.
17824
17825 * doc/conf/meta-data-user.xml: Recommend w/q facet from old calculations
17826 if an artifact was given that represents a longitudinal section
17827 "Laengsschnitt".
17828
17829 TODO I: The template uses PostgreSQL specific UUID casts.
17830 TODO II: We need to find a way only to recommend the master artifacts.
17831
17832 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17833
17834 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
17835 Added a <dc:comment> tag to place comments in the meta data templates.
17836 <!-- ... --> comments are copied through.
17837
17838 * doc/conf/meta-data-user.xml: Added a simple test.
17839
17840 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17841
17842 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17843 Be a bit more tolerant about empty strings for UUIDs of artifact and user.
17844
17845 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17846
17847 Bring user specific meta data service to life.
17848
17849 * doc/conf/conf.xml: There are now two templates to configure:
17850 The system template (only the data from the backend) and the
17851 user template (the datcage db and the backend db),
17852
17853 * doc/conf/meta-data-template.xml: Deleted.
17854 * doc/conf/meta-data-user.xml: New. The user specific template. TODO: Write it!
17855 * doc/conf/meta-data-system.xml: New. The system template.
17856
17857 * src/main/java/de/intevation/flys/artifacts/datacage/templating/NoneUserSpecific.java:
17858 Deleted.
17859 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
17860 New. The logic to fill the templates.
17861
17862 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
17863 Adjusted to follow the new call signatures.
17864
17865 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17866 Refactored. Removed the old code and only leave the new service. Following
17867 XPaths are evaluated on the incomming document:
17868
17869 "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional.
17870 Used to fill the template enviroment.
17871 "/art:meta/art:user-id/@value" The UUID of the user. Optional.
17872 If given the user specific template is filled.
17873 "/art:meta/art:outs/@value" The list of outs used to recommend for the
17874 various outputs.
17875 "/art:meta/art:parameters/@value" A list of key/value pairs to inject more
17876 filters to the templating.
17877
17878 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java:
17879 Change to follow the new recommendations semantics.
17880
17881 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
17882 Added symbolic constants to distinguish "user" and "system" db connections.
17883
17884 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17885
17886 * doc/conf/conf.xml:
17887 Cosmetics, let comments start with a capital and end on a full stop,
17888 removed incorrect comment.
17889
17890 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
17891
17892 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17893 Cosmetics, let comments start with a capital and end on a full stop.
17894
17895 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17896
17897 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java(extractOutputNames):
17898 Fixed potential NPE.
17899
17900 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17901
17902 Added support for more than one db connection in datacage templating.
17903
17904 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
17905 Now you can pass a list of named db connections to the build process.
17906 The purpose is to mix more then one database (e.g. the backend db and
17907 the user specific one).
17908
17909 To use this feature you can add an "connection" attribute
17910 to <dc:context> with the name of the connection to use.
17911 If no connection name is given the last used is used again.
17912 Initially the first connection in the given list is used.
17913 If the context is left the connection that was active before
17914 will be active again in a stacking manner.
17915
17916 When creating NamedConnection objects you can set a boolean flag
17917 if the results coming from the connection should be cached. This
17918 is useful e.g. for the user specific database which runs in-memory
17919 so caching would introduce some superfluous overhead.
17920
17921 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
17922 When executing the queries explicitly pass if caching should be used.
17923
17924 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17925
17926 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17927 Forgot to fetch dialect dependent SQL statement for deleting
17928 artifacts by uuid.
17929
17930 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17931
17932 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17933 Set the name of the collections at initial scan, too.
17934
17935 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17936
17937 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17938 Fixed wrong SQL references.
17939
17940 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17941
17942 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17943 Fixed two NPEs.
17944
17945 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17946
17947 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java,
17948 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17949 Forwarded kill collections and artifacts events to datacage.
17950
17951 * src/main/resources/datacage-sql/org-h2-driver.properties,
17952 src/main/resources/datacage-sql/org-postgresql-driver.properties:
17953 Added statement to delete artifact by uuid.
17954
17955 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17956
17957 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
17958 Made it compilable again. The signature of BackendListener has changed.
17959
17960 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17961
17962 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17963 Completed the backend listener stuff.
17964
17965 TODO I: Added some cleanup for orphaned artifacts.
17966 TODO II: Figure out a way to delete collections/artifacts
17967 which are delete from backend without the
17968 backend API.
17969
17970 * src/main/resources/datacage-sql/org-h2-driver.properties,
17971 src/main/resources/datacage-sql/org-postgresql-driver.properties:
17972 Added needed statements.
17973
17974 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17975
17976 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
17977 Update collection names on change. Remove artifacts from collections.
17978
17979 * src/main/resources/datacage-sql/org-h2-driver.properties,
17980 src/main/resources/datacage-sql/org-postgresql-driver.properties:
17981 Added needed statements.
17982
17983 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17984
17985 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
17986 Call datacage with the global context. This is needed to access the state engine.
17987
17988 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: Changed
17989 signatures to take the global context, too. Create artifacts via backend listener
17990 interface.
17991
17992 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17993
17994 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
17995 Fixed recursion bug.
17996
17997 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17998
17999 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
18000 Added debug output.
18001
18002 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18003
18004 * doc/conf/conf.xml: Added backend listener for datacage.
18005
18006 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
18007 New. Proxies backend listener calls to datacage.
18008
18009 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
18010 Implements backend listener. TODO: Update the datacage database
18011 according the change calls.
18012
18013 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18014
18015 * src/main/java/de/intevation/flys/artifacts/services/meta,
18016 src/main/java/de/intevation/flys/artifacts/datacage/templating:
18017 Moved/renamed package to better fit the common semantics.
18018 DataCage.java is now call NoneUserSpecific.java to reflect the
18019 fact that it is the template for the user independent db
18020 analysis.
18021
18022 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
18023 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
18024 Ajusted imports and calls.
18025
18026 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18027
18028 * doc/conf/conf.xml: For documentation purposes added a out-commented
18029 section with the default configuration of the datacage.
18030
18031 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18032
18033 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
18034 Delete the artifacts at before initial scan, too. They are independent
18035 from users. Fixed problem when writing state data content.
18036
18037 * src/main/resources/datacage-sql/org-h2-driver.properties: Added
18038 statement to delete the artifacts at initial scan, too.
18039
18040 * src/main/resources/datacage-sql/org-postgresql-driver.properties:
18041 New. PostgreSQL version of the statements. The database scheme
18042 is the same as H2. Very useful for debugging.
18043
18044 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18045
18046 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
18047 Added kludge for the types of artifact data. They seem to be null
18048 in some circumstances. Needs to be debugged!
18049
18050 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18051
18052 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java:
18053 Fixed default connection URL to use a namend in-mermory database.
18054
18055 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18056
18057 * doc/conf/datacage.sql: Fixed constraint.
18058
18059 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
18060 Added some debug output.
18061
18062 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18063
18064 * doc/conf/datacage.sql: Removed artifact_id from facet because there
18065 is a link via out_id -> outs.id: artifact_id -> artifacts to
18066 find the corresponding artifact.
18067
18068 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
18069 src/main/resources/datacage-sql/org-h2-driver.properties: Store
18070 facets of outs into datacage db at initial scan.
18071
18072 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18073
18074 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
18075 src/main/resources/datacage-sql/org-h2-driver.properties:
18076 Store outs of artifacts into datacage db at initial scan.
18077 TODO: store facets.
18078
18079 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18080
18081 * doc/conf/datacage.sql: Added 'type' column in artifacts data.
18082 Maybe useful for filtering.
18083
18084 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
18085 src/main/resources/datacage-sql/org-h2-driver.properties:
18086 Store artifact data into db at initial scan.
18087 TODO: store outs and facets.
18088
18089 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18090
18091 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
18092 src/main/resources/datacage-sql/org-h2-driver.properties:
18093 Add artifacts into datacage db at initial scan.
18094 TODO: Store data, outs and facets.
18095
18096 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18097
18098 * doc/conf/datacage.sql: Fixed spelling in sequence name.
18099
18100 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
18101 src/main/resources/datacage-sql/org-h2-driver.properties: Simply add
18102 collection item at initial scan if artifact was stored before.
18103 TODO: Store new artifacts.
18104
18105 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18106
18107 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
18108 src/main/resources/datacage-sql/org-h2-driver.properties: Add
18109 collections at initial scan.
18110
18111 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18112
18113 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
18114 src/main/resources/datacage-sql/org-h2-driver.properties: Add users
18115 at initial scan.
18116
18117 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18118
18119 * doc/conf/datacage.sql: Using sequences for id generation now
18120 to make schema more compatible.
18121
18122 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18123
18124 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
18125 src/main/resources/datacage-sql/org-h2-driver.properties: Clear database
18126 before initial scan.
18127
18128 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18129
18130 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java:
18131 Deleted. This stuff comes from the artifact database now.
18132
18133 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java:
18134 New. The db config of the datacage database.
18135
18136 * src/main/resources/datacage-sql/org-h2-driver.properties: New.
18137 The SQL statements needed for the datacage.
18138
18139 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
18140 Make use of the db config.
18141
18142 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18143
18144 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
18145 New. A artifact database lifetime listener to build the initial
18146 index of the artifacts in database.
18147
18148 * doc/conf/conf.xml: Added the datacage to the list of lifetime
18149 listeners.
18150
18151 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18152
18153 * doc/conf/datacage.sql: Added an explicit table for the outs
18154 of an artifact.
18155
18156 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18157 Make the current outs of an artifact accessible only with
18158 the global context.
18159
18160 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18161
18162 * doc/conf/datacage.sql: Added ON DELETE CASCADE constraints.
18163 Added state in facet.
18164
18165 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18166
18167 * doc/conf/datacage.sql: New. H2 Schema for the datacage database.
18168 Uses special features like IDENTITY (autoincrement) typed columns.
18169
18170 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java:
18171 Pooled connection.
18172
18173 * pom.xml: Added dependencies to H2 and Apache DBCP.
18174
18175 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18176
18177 * src/test/java/de/intevation/flys/artifacts/AppTest.java,
18178 src/main/java/de/intevation/flys/artifacts/App.java: Removed.
18179 This the stupid "Hello, World!" app initially created by the
18180 maven archetype. It was never used.
18181
18182 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18183
18184 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
18185 Argh! Usage the DOM was not thread safe (discovered with ab).
18186
18187 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18188
18189 * doc/conf/meta-data-template.xml: '$recommended' lead to XPath
18190 errors. Using "dc:contains($parameters, 'recommended')" helps.
18191
18192 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java,
18193 src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
18194 Added some debugging.
18195
18196 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
18197 Added parameters as 'parameters' to parameters. Usefull to check
18198 for containment of variables.
18199
18200 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18201
18202 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
18203 Added 'if log.isDebugEnabled() {}'.
18204
18205 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18206
18207 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
18208 Made Artifact UUID optional and accept extra parameters, too. This enables
18209 the service to be used without an arttifact and test all filters.
18210
18211 <art:meta xmlns:art="http://www.intevation.de/2009/artifacts">
18212 <art:outs value="computed_discharge_curve,floodmap"/>
18213 <art:parameters value="river:Elbe"/>
18214 <art:filters value="recommended"/>
18215 </art:meta>
18216
18217 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
18218 'contain' accept Maps and collection, too.
18219
18220 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
18221 Made artifact option (= null) in recommendations.
18222
18223 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18224
18225 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
18226 Moved connection specific into inner class. The enables the reuse of the
18227 compiled statement.
18228
18229 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: The
18230 SQL statements are now only compiled once at creation time of the builder.
18231 Each connection now reuses them.
18232
18233 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18234
18235 * doc/conf/cache.xml: Added configuration for static datacage db access.
18236
18237 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: Using
18238 caches seems to need an explicit System.exit().
18239
18240 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
18241 Added support for caching the SQL statements and there results.
18242
18243 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: Some
18244 clean up. Reordered code for performance. Strip SQL statements more
18245 aggressively.
18246
18247 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
18248 Made it Serializable.
18249
18250 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
18251 Introduced system property 'flys.artifacts.cache.config.file' to make
18252 the caching configurable without pulling up the whole stack.
18253
18254 2011-07-22 Ingo Weinzierl <ingo@intevation.de>
18255
18256 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18257 Prepared the FLYSArtifactCollection to support the storage of already
18258 loaded recommendations in its attribute document.
18259
18260 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18261
18262 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
18263 Adjusted to use the DataCage recommendations. The incomming document
18264 can pass the artifacts UUID by '/art:outs/@value' the outs as a
18265 comma separated list in '/art:outs/@value' and optional a set of
18266 filters comma separated in '/art:filters/@value'.
18267
18268 If UUID and OUTS are not given the old service is used. This
18269 should be removed as soon as the client uses the new service.
18270
18271 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18272
18273 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
18274 Allow '-' in variable names.
18275
18276 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
18277
18278 * doc/conf/meta-data-template.xml: Now, the river-id is really added to
18279 the factory node of the wmsbackground layer.
18280
18281 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
18282
18283 * doc/conf/meta-data-template.xml: Added the river-id to the factory node
18284 of the riveraxis and wmsbackground layer.
18285
18286 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18287
18288 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java,
18289 src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
18290 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
18291 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
18292 Adjusted to implement changed Service interface.
18293
18294 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
18295
18296 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Refactored
18297 the method that retrieves the Outputs for the Artifact. Now, we are able
18298 to query the Outputs for the current state, and all outputs separately.
18299
18300 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: The
18301 recommendations provided by this monitor will take the Outputs of the
18302 current state only into account.
18303
18304 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
18305
18306 * doc/conf/meta-data-template.xml: Added conditions for each output type.
18307 Splitted the "floodmap" output into two parts: a recommended one and a
18308 complete one. The recommended part will only build the document tree for
18309 the recommended artifacts; the complete part will build the whole document
18310 tree that is available for a floodmap.
18311
18312 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
18313 This Hook now uses the DataCage to generate the recommended artifacts.
18314 The output-defaults configurtion is needless now.
18315
18316 * doc/conf/output-defaults.xml: Removed. The configuration of recommended
18317 artifacts takes place in meta-data-template.xml.
18318
18319 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
18320 Bugfix: the DataCage didn't start working if its builder was NOT null,
18321 but it shouldn't start if the builder IS null.
18322
18323 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18324
18325 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
18326 Now it is possible to directly pass a Node as a root to the builder.
18327 The owning document if fetch by Node.getOwnerDocument(). This is
18328 useful if you want to generate the recommendation directly into
18329 an already existing document under a given node.
18330
18331 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
18332 Changed the signature of recommend() to accept a node where to
18333 append the recommendations.
18334
18335 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18336
18337 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
18338 Added a macro mechanism:
18339
18340 <dc:macro name="keine-fuenf">
18341 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text>
18342 </dc:macro>
18343 <dc:call-macro name="keine-fuenf"/>
18344 <dc:call-macro name="keine-fuenf"/>
18345 <dc:call-macro name="keine-fuenf"/>
18346
18347 Macros can be defined everywhere in the template
18348 with 'macro'. There bodies can contain all valid elements
18349 including other 'macro's and 'call-macro's. They are
18350 called with their 'name' with 'call-macro'. The control flow
18351 is continued inside the body of the called macro and
18352 will continue right after the calling 'call-macro' when
18353 the macro body is finished.
18354
18355 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18356
18357 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
18358 Added a new 'if' construct similiar to XSLT:
18359
18360 <dc:if test="not(dc:contains($outs, '5'))">
18361 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text>
18362 </dc:if>
18363
18364 The control flow is continued inside the 'if' if the 'test' attribute
18365 as an XPath expression on an empty document evalutes to true.
18366 Else the inside is skipped. There is no 'else'. Use 'choose'/'otherwise'
18367 if you need this.
18368
18369 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18370
18371 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
18372 Added a recommend() method to generate recommendations for
18373 a given artifact, outs and extra parameters.
18374
18375 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added
18376 method to extract all data at once.
18377
18378 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18379
18380 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
18381 New. Custom XPath function provider. Provides
18382 'dc:contains(Object [] haystack, Object needle)' by now. Should be
18383 useful to check containments in 'out' lists later.
18384
18385 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
18386 Register the FunctionResolver to the evaluated XPaths.
18387
18388 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java:
18389 Added code to parse
18390 "param:a,b,c" to "param" -> new String [] { "a", "b", "c" } to
18391 help testing the 'dc:contains' XPath function.
18392
18393 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
18394
18395 * doc/conf/conf.xml: Added wms configurations for Saar, Mosel and Elbe.
18396 Each river supported by FLYS requires such a WMS configuration. A WMS
18397 should contain layers for the river axis, buildings, kilometer labels
18398 and maybe a background layer as well.
18399
18400 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
18401 Added key that is used to store a map of WMS URLs - for each river a
18402 WMS URL.
18403
18404 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18405 Parse the river WMS from global configuration.
18406
18407 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
18408 Create WMSLayerFacets with URLs based on the river and the river wms
18409 configuration stored in the FLYSContext.
18410
18411 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
18412 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
18413 Adapted the initialize() signature and the method call of computeInit()
18414 which requires a FLYSContext to retrieve the river WMS configurations.
18415
18416 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
18417 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18418 Added the context object parameter to the computeInit() method.
18419
18420 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
18421 initialize() with the context object - which is a FLYSContext or a
18422 CallContext.
18423
18424 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18425
18426 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java:
18427 Check if builder was created properly before using it.
18428
18429 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
18430 Implements now variable provider for XPath expressions.
18431
18432 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
18433 Added new choose/when/otherwise construct similiar to XSLT
18434
18435 <dc:choose>
18436 <dc:when test="$river = 'Mosel'">
18437 <dc:text>Es ist die Mosel.</dc:text>
18438 </dc:when>
18439 <dc:when test="$river = 'Saar'">
18440 <dc:text>Es ist die Saar.</dc:text>
18441 </dc:when>
18442 <dc:otherwise>
18443 <dc:text>Es ist weder Mosel noch Saar.</dc:text>
18444 </dc:otherwise>
18445 </dc:choose>
18446
18447 A 'choose' block can contain a list of 'when's and an optional
18448 'otherwise'. For each 'when' the test attribute is evaluated
18449 as an XPath expression on an empty document. The result of
18450 the evaluation is taken as a boolean value. If its value is
18451 true the control flow is continued inside the corresponding
18452 'when' and the other choose elements are not tested.
18453 If the value is values the testing continues with the next
18454 'when'. If no 'test' expression is evaluated to true, the
18455 control flow continues inside the 'otherwise'. If no 'otherwise'
18456 is given nothing happens at all.
18457
18458 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
18459
18460 * doc/conf/conf.xml: Added a config section for floodmaps. Currently, the
18461 background layer's url and layername is defined here.
18462
18463 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
18464 Read the background layer configuration from conf.xml. Those values are
18465 used to create the WMSLayerFacet.
18466
18467 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
18468
18469 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
18470 The background layer facet will no longer have an extent set.
18471
18472 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
18473
18474 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
18475 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
18476 Set the extent of the created WMSLayerFacets and i18n its descriptions.
18477
18478 * src/main/resources/messages.properties,
18479 src/main/resources/messages_de_DE.properties,
18480 src/main/resources/messages_en.properties,
18481 src/main/resources/messages_de.properties: Added I18N strings for the
18482 background an river axis layer.
18483
18484 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
18485
18486 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
18487 This facet type has a method to set the extent of a WMS layer. The
18488 extent is written to the facets XML node in toXML() as well.
18489
18490 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
18491
18492 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
18493 the signature of setup() which requires a CallMeta parameter now.
18494
18495 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
18496 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: Use
18497 the CallMeta object retrieved in setup() to call initialize(). It is now
18498 able to i18n things.
18499
18500 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18501
18502 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: New.
18503 Standalone app to debug the datacage template. To use in a maven environment:
18504
18505 -Dmeta.data.template=PATH_TO_META_DATA-TEMPLATE.XML \
18506 -Dmeta.data.parameters=river:Mosel \
18507 -Dmeta.data.output=OUTPUT.XML \
18508 -Dflys.backend.user=DB_USER \
18509 -Dflys.backend.password=DB_PASSWORD \
18510 -Dflys.backend.url=DB_CONNECTION_URL \
18511 -Dexec.mainClass=de.intevation.flys.artifacts.services.meta.App
18512
18513 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18514
18515 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
18516 New. First step to factor out the "Datenkorb" logic into a service independent
18517 singleton.
18518
18519 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
18520 Uses the "Datenkorb" singleton now.
18521
18522 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
18523
18524 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
18525 Removed "index" property, because it is already existing in parent
18526 class.
18527
18528 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18529
18530 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
18531 Improved error handling.
18532
18533 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18534
18535 * src/main/resources/metadata/template.xml: Deleted.
18536
18537 * doc/conf/meta-data-template.xml: New. Was template.xml
18538
18539 * doc/conf/conf.xml: Made meta data template configurable.
18540
18541 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
18542 Load template from configuration not from resources.
18543
18544 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18545
18546 * src/main/resources/metadata/template.xml: s/[a-z]+-id/db-id/
18547 Make database ids identifiable with unique name "db-id".
18548
18549 2011-07-19 Ingo Weinzierl <ingo@intevation.de>
18550
18551 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
18552 Override the toXML() method. Subclasses can now write their own XML
18553 representation.
18554
18555 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
18556 New. This ManagedFacet uses an Element (DOM) to store the information
18557 about a facet. The intent of this facet type is to represent a facet
18558 stored in an Collection attribute. Different facets can have different
18559 attributes that we need to parse, but the only thing ManagedFacets need
18560 to do, is to adjust the attributes "active" and "position". So, those
18561 values are set directly on the Element, the other attributes aren't
18562 touched.
18563
18564 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java:
18565 New. This facet is a wrapper for another facet. This subclass of a
18566 ManagedFacet overrides the toXML() method. The XML representation is
18567 defined by the inner facet that is stored as member variable. The
18568 ManagedFacet specific attributes "artifact", "facet", "pos" and "active"
18569 are added manually.
18570
18571 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Uses
18572 the toXML() method to write a facet node into the attribute document.
18573
18574 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Uses
18575 the ManagedDomFacet to save the information of a facet which is
18576 contained in the attribute part of a Collection's DESCRIBE document.
18577
18578 * src/main/java/de/intevation/flys/collections/OutputParser.java: Uses the
18579 ManagedFacetAdapter to save a facet, because we want to keep the
18580 specific facet to be able to write its specific XML representation into
18581 the Collection's DESCRIBE document.
18582
18583 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18584 Adapted the XPath of facets stored in the attribute part of the
18585 DESCRIBE.
18586
18587 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
18588
18589 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
18590 method that returns the Outputs for the Artifact.
18591
18592 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18593 Adapeted the call of OutputParser.
18594
18595 * src/main/java/de/intevation/flys/collections/OutputParser.java:
18596 Simplified the code to read the Outputs of Artifacts. This parser will
18597 now longer parse the DESCRIBE documents of the Artifacts, but query the
18598 Outputs via FLYSArtifact.getOutputs() directly.
18599
18600 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
18601
18602 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
18603 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
18604 Adapted the function call of ProtocolUtils.appendOutputModes().
18605
18606 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
18607 Override toXML() to add the URL and layernames to the XML representation
18608 of this facet.
18609
18610 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
18611
18612 * doc/conf/artifacts/wmsbackground.xml,
18613 doc/conf/artifacts/riveraxis.xml: New configurations for an Artifact
18614 that is used as background layer in floodmaps, and an artifact that is
18615 used as layer showing the river axis in a floodmap.
18616
18617 * doc/conf/output-defaults.xml: New file to configure default artifacts
18618 for specific output states. E.g. the floodmap state recommends a
18619 background layer and a layer displaying the river axis. In suche case,
18620 the floodmap state recommends two artifacts for the two layers.
18621
18622 * doc/conf/conf.xml: Added new artifacts/artifact-factories and a Hook to
18623 monitor artifacts (-> CollectionMonitor.java).
18624
18625 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
18626 New. This facet is used to represent a layer in a map. So, this facet
18627 stores information about a WMS URL and the layer names provided by this
18628 WMS.
18629
18630 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
18631 facet types for the wmsbackground and riveraxis.
18632
18633 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
18634 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java:
18635 New. An artifact and its default state. The intent of these classes is
18636 to generate WMSLayerFacets which represent background layers in maps.
18637
18638 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
18639 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: New.
18640 An artifact and its default state. The intent of these classes is to
18641 generate WMSLayerFacets which represent layers that display a river
18642 axis.
18643
18644 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18645 Added the INIT ComputeType.
18646
18647 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
18648 case for the INIT ComputeType while computing data.
18649
18650 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
18651
18652 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18653 Added a method computeInit() which is called to initialize data/facets
18654 after an artifact has been created.
18655
18656 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Repaired
18657 broken XPath.
18658
18659 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
18660
18661 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
18662 Removed the code to generate new artifacts. Instead of creating new
18663 artifacts automatically, we decided to suggest creating new artifacts
18664 from specific types. Therefore, the DESCRIBE document of the artifacts
18665 is extended with a node that contains recommended artifact types.
18666
18667 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18668 FLYSArtifacts might be setup with the identifier of an other
18669 FLYSArtifact. Subclasses are able to override a method called
18670 initialize(Artifact, GlobalContext). This might be helpful to extract
18671 required values or clone artifacts.
18672
18673 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
18674
18675 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18676 Adapted the signature of createArtifactContext() - it returns an
18677 instance of GlobalContext now.
18678
18679 2011-07-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18680
18681 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
18682 Debugged the water fill algorithm. Added a lot of logging.
18683
18684 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
18685 Added a text field to give a water level to fill in.
18686
18687 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
18688
18689 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
18690 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved code
18691 to create the output modes based on the given facets to FLYSArtifact. In
18692 addition, FLYSArtifact got a new method that returns a specific input
18693 value as string.
18694
18695 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: New.
18696 This hook monitors the "post-feed" and "post-advance". If the monitored
18697 Artifact's state has configured recommended artifacts, this hook will
18698 create new Artifacts.
18699
18700 TODO: We have to add the UUIDs of the new Artifacts to the DESCRIBE
18701 document of the artifact to let the client know, that there are new
18702 recommended Artifacts.
18703
18704 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: New.
18705 This Artifact is the base class for Artifacts, that represent static
18706 data. E.g. this could be a decoration theme in a chart or a background
18707 layer in the map.
18708
18709 * src/main/java/de/intevation/flys/artifacts/states/OutputState.java: New.
18710 This state might be used as base class for states, that doesn't require
18711 any user input, but only provide static Facets added by a computeFeed()
18712 operation. So, subclasses need to implement computeFeed() only.
18713
18714 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18715
18716 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
18717 New. Standalone Swing-App to test cross sections from database without the
18718 hassles of our complete software stack. Runnable from a maven environment:
18719
18720 $ mvn -e \
18721 -Dflys.backend.user=DB_USER \
18722 -Dflys.backend.password=DB_PASSWD \
18723 -Dflys.backend.url=DB_CONNECTION_URL \
18724 -Dexec.mainClass=de.intevation.flys.artifacts.charts.CrossSectionApp \
18725 exec:java
18726
18727 You can set the river to be used with the system property 'river'.
18728 Defaults to 'Mosel'.
18729
18730 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
18731 Removed superfluous imports.
18732
18733 2011-07-13 Ingo Weinzierl <ingo@intevation.de>
18734
18735 * doc/conf/artifacts/winfo.xml: The FloodMapState has a new Outputmode
18736 called "floodmap" now.
18737
18738 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: New.
18739 This facet is used to generate WSPLGEN results.
18740
18741 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
18742 the WSPLGENFacet.
18743
18744 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
18745 This state will now generate WSPLGENFacets.
18746
18747 2011-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18748
18749 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
18750 Fixed corner case.
18751
18752 2011-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18753
18754 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: New.
18755 fillWater() generates a list of wet lines for a given profile and a
18756 given water level.
18757
18758 2011-07-08 Ingo Weinzierl <ingo@intevation.de>
18759
18760 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
18761 Outputs created while generating the DESCRIBE document will now have the
18762 'type' member set.
18763
18764 * src/main/java/de/intevation/flys/collections/OutputParser.java: Read the
18765 'type' member from DESCRIBE document.
18766
18767 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
18768
18769 * doc/conf/artifacts/winfo.xml: Removed a typo.
18770
18771 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
18772
18773 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
18774 DataFacet are now able to store the ID of the state which has created
18775 this Facet.
18776
18777 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
18778 Initialize DataFacets with the ID of this state. This is necessary to
18779 renew the waterlevel data if it is no longer existing in the cache.
18780
18781 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
18782
18783 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: A
18784 report facet can now store the state's id and the artifact's hash value
18785 when it has been created.
18786
18787 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
18788 Initialize the ReportFacet and WaterlevelFacet with state id and hash
18789 information. This has been necessary to retrieve reports and waterlevels
18790 in states after this one - in states that we need to enter for floodmap
18791 parameterization.
18792
18793 2011-07-05 Ingo Weinzierl <ingo@intevation.de>
18794
18795 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java:
18796 Changed the desired UI provider.
18797
18798 2011-07-05 Ingo Weinzierl <ingo@intevation.de>
18799
18800 * doc/conf/artifacts/winfo.xml: Added the option to continue the
18801 waterlevel parameterization with the intent to create flood maps.
18802
18803 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
18804 This state is no longer a final state. The user has the option to
18805 continue with the parameterization for flood maps based on the current
18806 waterlevel. Therefore, this states desires the "continue" UI provider.
18807 Clients should recognice this to just step to the next state or display
18808 a button that lets the user step to the next state manually.
18809
18810 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java,
18811 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
18812 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
18813 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
18814 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
18815 src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java:
18816 New. These states are used to parameterize a further calculation type:
18817 flood map.
18818
18819 * src/main/resources/messages.properties,
18820 src/main/resources/messages_de_DE.properties,
18821 src/main/resources/messages_en.properties,
18822 src/main/resources/messages_de.properties: Required strings for the
18823 flood maps states.
18824
18825 2011-07-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18826
18827 Fix(?) for flys/issue114
18828
18829 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
18830 Make guessing a bit more robust.
18831
18832 2011-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18833
18834 Added the math needed to calculate "W-Differenzen" in "Laengsschnitten".
18835 Needs testing!
18836
18837 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
18838 Made it an interface to be usable in more than one inheritance chain.
18839
18840 * src/main/java/de/intevation/flys/artifacts/model/NamedObjectImpl.java:
18841 Implements the NamedObject interface and is the new base class of
18842 WQ and WKmsImpl.
18843
18844 * src/main/java/de/intevation/flys/artifacts/model/WKms.java:
18845 New. Interface to associate kms with ws.
18846
18847 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
18848 Changed the base class to NamedObjectImpl. Renamed getKms(int)
18849 to getKm(int) to make clear it return a single scalar value
18850 and fullfil the WKms interface.
18851
18852 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
18853 New. Implements the WKms interface. Intended to be a lightweight
18854 datastore for "zusaetzliche Laengsschnitte" and as results
18855 of the WKmsOperations.
18856
18857 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
18858 Changed base class to NamedObjectImpl.
18859
18860 * src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java:
18861 New. Operations on WKms data.
18862 Currently only the SUBTRACTION operation is implemented. This
18863 one is needed to calculate the "W-Differenzen". The operation
18864 is insensitive about the km directions of the datasets. Missing
18865 values are interpolated linear.
18866
18867 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
18868 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18869 Adjusted to satisfy the signature change of WQKMs.
18870
18871 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
18872
18873 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: New. This
18874 XYSeries stores the style information that should be used to render this
18875 series. These information are stored as raw XML documents. A public
18876 method can be used to apply those style information to a
18877 XYLineAndShapeRenderer.
18878
18879 Note: The only two attributes currently supported by StyledXYSeries
18880 items are "linesize" and "linecolor".
18881
18882 * doc/conf/themes.xml: Added some more basic themes for the four
18883 calculation methods.
18884
18885 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: This
18886 generator now tries to apply themes for all series contained in the
18887 chart. If a series is no instance of StyledXYSeries, the default
18888 renderer is used.
18889
18890 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
18891 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
18892 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
18893 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
18894 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18895 Removed the code that had been introduced to adapt renderers statically.
18896 Now, each of these concrete ChartGenerators instantiates StyledXYSeries
18897 items to put the curves into the chart. Those items contain style
18898 information now!
18899
18900 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
18901
18902 flys/issue135 (Diagramm: Trotz abgeschalteter Themen bleiben Beschriftungen bestehen)
18903
18904 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The way
18905 to store datasets has changed. Until this revision, the concrete
18906 generators managed their own datasets. E.g. the
18907 DischargeLongitudinalSectionGenerator had three datasets: w, q and
18908 corrected w. Now, there are just two datasets, managed by this base
18909 generator - one dataset for the first Y axis and one dataset for the
18910 second Y axis. This makes it easier to remove axes, that have no data to
18911 be displayed. All concrete chart generators have to add their XYSeries
18912 using two methods: addFirstAxisSeries() and addSecondAxisSeries().
18913
18914 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
18915 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
18916 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
18917 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
18918 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
18919 Those concrete chart generators no longer manage datasets themself but
18920 they use the two methods described above, to plot the data to the first
18921 or second Y axis.
18922
18923 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
18924
18925 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
18926 Added the option to use a filter to reduce the number of items returned
18927 by this service.
18928
18929 2011-06-30 Ingo Weinzierl <ingo@intevation.de>
18930
18931 flys/issue159 (WINFO: Radiobutton - Ortsauswahl bei "W für ungleichwertigen Abflusslängsschnitt" entfernen)
18932
18933 * doc/conf/artifacts/winfo.xml: Changed the kilometer range input for
18934 calculation 4. This calculation type requires a kilometer range. So,
18935 after choosing the calculation 4, the transition model leads to a state
18936 that just allows the input of a kilometer range with no option to
18937 enter locations.
18938
18939 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
18940 New. A base state for the kilometer selection for calculations. The
18941 target of this state is to provide facets for the duration curves.
18942
18943 * src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java:
18944 New. This state is used to enter a kilometer range. The difference to
18945 the LocationDistanceSelect state is, that there is no option to enter
18946 locations.
18947
18948 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
18949 Improved this state to be the base state for calculation ranges.
18950
18951 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java
18952 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java
18953
18954 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
18955 state no longer inherits from RangeState which now is used as base
18956 state for kilometer ranges.
18957
18958 * src/main/resources/messages.properties,
18959 src/main/resources/messages_de_DE.properties,
18960 src/main/resources/messages_en.properties,
18961 src/main/resources/messages_de.properties: Added new i18n strings for
18962 the DistanceSelect state.
18963
18964 2011-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18965
18966 * pom.xml: Downgraded Trove to 1.1-beta-5, because the new
18967 later ones are removed from the maven repos.
18968
18969 The functionality we need is in 1.1 so this downgrade should
18970 cause no problems.
18971
18972 Would be nice if we would support the maintainers of trove to
18973 bring there new versions back into the main maven repos.
18974
18975 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
18976
18977 * pom.xml: Repaired the JBoss repository which place has changed.
18978
18979 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
18980
18981 Tagged RELEASE 2.4
18982
18983 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
18984
18985 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
18986 src/main/java/de/intevation/flys/exports/WstWriter.java:
18987 Append the corrected W column (if existing) to the WST export.
18988
18989 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18990
18991 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
18992 Guessing increaing w is not based on direct neighbors any more.
18993 The second to be compared with is choosen by random of
18994 the values before the first one. This makes the guessing
18995 more robust against 'plateaus' of equal w values.
18996
18997 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18998
18999 * src/main/java/de/intevation/flys/exports/ATWriter.java: Array
19000 for constructing the spline was too large leading to non-increasing
19001 values.
19002
19003 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19004
19005 Fix for flys/issue150
19006
19007 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
19008 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
19009 Invert the x axis if its guessed that water is increasing.
19010
19011 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19012
19013 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(guessWaterIncreasing):
19014 Added a method to guess based on a given factor of the size (default 0.05)
19015 if the water levels are increasing. Needed to determine in which direction
19016 the water level curve should be orientated. Based on random to avoid
19017 running over large dataset each time a diagram is generated.
19018
19019 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
19020
19021 flys/issue177 (WINFO: Abflusskurven am Pegel verursachen ein Hängen des Servers)
19022
19023 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
19024 Commented out code to generate time ranges for series names. There
19025 seems to be a problem while loading the discharge tables of a gauge or
19026 while determining the start and/or end time of such discharge tables.
19027
19028 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19029
19030 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace.
19031
19032 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19033
19034 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19035 Removed dead code.
19036
19037 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19038
19039 Fix for flys/issue173
19040
19041 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
19042 Fixed the way the gauge was found for a given interval.
19043 The old way does not work because it was just tested if
19044 the station point was inside the segments which is not
19045 necessarily true. The obvious solution to simply check
19046 the overlapping intervals does not work either because
19047 the gauge ranges touch each other and so more than
19048 one gauge are returned in these cases. The River.maxOverlap()
19049 is now used to find the gauge with the max overlapping
19050 range.
19051
19052 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19053
19054 Fix for flys/issue147
19055
19056 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
19057 Removed the 'kmUp' flag. It was an left over from former
19058 WSP calculations (w/o ref km) leading to wrong results now.
19059
19060 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19061 Don't pass the kmUp flag to the calculation.
19062
19063 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19064 Added debug output to see the value of 'wq_free'.
19065
19066 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19067
19068 Fix for flys/issue86
19069
19070 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19071 The reference gauge for calculations "am Pegel" was determined
19072 wrong.
19073
19074 2011-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19075
19076 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
19077 Conversion w->q was broken. This should fix a number of issues
19078 around "W am Pegel" calculations.
19079
19080 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19081 Issue an error report if a w->q conversion fails.
19082
19083 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19084 The gauge to convert w->q with its discharge table was determined wrong.
19085
19086 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
19087
19088 flys/issue174 (Diagramm: Q-Linie wird bei initialem Laden des Diagramms
19089 anders dargestellt als bei Ansicht auf gesamten Wertebereich)
19090
19091 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
19092 The chart will now have upper margins again.
19093
19094 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
19095
19096 flys/issue172 (Diagramm: Ursprung der Diagramme bei Dauerzahlen)
19097
19098 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
19099 Charts of this type will have the lower X value set to "0".
19100
19101 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19102
19103 * src/main/java/de/intevation/flys/exports/ATWriter.java:
19104 Results are now in cm. Made it more robust against corner cases.
19105
19106 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
19107 Removed superfluous import.
19108
19109 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19110
19111 * doc/conf/artifacts/winfo.xml, doc/conf/conf.xml:
19112 Added facet config for AT exports.
19113
19114 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
19115 Added 'at' facet type.
19116
19117 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
19118 Generate AT facets.
19119
19120 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19121
19122 * src/main/java/de/intevation/flys/exports/ATExporter.java: New.
19123 Exporter for AT facets. Needs testing.
19124
19125 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19126
19127 * src/main/java/de/intevation/flys/exports/ATWriter.java: New.
19128 Writer for AT files. New code because our data model differs
19129 from Desktop-FLYS. Needs testing.
19130
19131 2011-06-23 Ingo Weinzierl <ingo@intevation.de>
19132
19133 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
19134
19135 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
19136 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
19137 Moved the method that adjusts the X-axis to include the "0" value from
19138 ComputedDischargeCurveGenerator to DischargeCurveGenerator. Now, both
19139 charts will include the "0" on the X-axis.
19140
19141 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19142
19143 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
19144 Based on WQ now to make it exportable as AT.
19145
19146 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19147
19148 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
19149 New. Base class for WQKms.
19150
19151 TODO 1: make it a base class for WQDay, too,
19152 TODO 2: Generate instances of WQ instead of WQKms in "Abflusskurven"
19153 calculations. This will save memory.
19154
19155 AT exporter will get instances of this class as data model
19156
19157 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
19158 Add default constructor to ease inheritance.
19159
19160 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
19161 Based on WQ now. Removed code allready defined in base class.
19162
19163 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19164
19165 * doc/conf/artifacts/winfo.xml: Add TODOs for error reports
19166 of "Abflusskurven am Pegel". Maybe we don't need them?
19167
19168 * doc/conf/conf.xml: Configure report for each calculated output type.
19169
19170 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
19171
19172 flys/issue164 (Berechnung 4: Umgekehrtes Berechnungsintervall führt zur)
19173
19174 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
19175 Create the items with range information for W and Q which allows the
19176 client to validate the user inserted values.
19177
19178 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19179
19180 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19181 Arguments in filling datastructure were flip. Now
19182 the "Abflusskurve am Pegel" looks correct again.
19183
19184 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
19185 Removed superfluous imports.
19186
19187 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19188
19189 Improved situtation on rendering "Abflusskurve am Pegel". Not
19190 fully working, yet.
19191
19192 * doc/conf/artifacts/winfo.xml: Generate facets for the location path, too.
19193
19194 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Misspelled
19195 the facet which prevented the facets from being to the outputs.
19196
19197 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
19198 Extended to store the hash and the state id of the producing artifact/state
19199 else it results in NPEs because the data is calculated on later (wrong) states.
19200
19201 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
19202 Store the state id and the hash in the facet, too.
19203
19204 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Add two
19205 method to do calculations for a state the artifact is currently not in
19206 and fetching the current state id.
19207
19208 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19209
19210 * doc/conf/artifacts/winfo.xml: Generate facets for "Abflusskurven am Pegel"
19211 Not working by now. :-/
19212
19213 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New facet type
19214 for "Abflusskurven am Pegel"
19215
19216 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Do calculation
19217 in the artifact not in the output generator.
19218
19219 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
19220 Generate the new facets.
19221
19222 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
19223 Fetch data from facet.
19224
19225 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
19226
19227 flys/issue161 (Diagramm: Q-Achse in W-Längsschnitten immer bei Q=0)
19228
19229 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
19230 The Q axis (which is the second y axis) initially contains the 0 value.
19231 After a zoom action has taken place, this behaviour is no longer
19232 supported.
19233
19234 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19235
19236 Draw correction curve again.
19237
19238 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
19239 Use correction curve to map plot to axes. Not doing so prevented
19240 the correction curve from being drawn!
19241 Smaller code cleanups and simplifications.
19242
19243 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
19244 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
19245 Added methods to directly access the components w, q and c
19246 at a given index.
19247
19248 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
19249 Attribute access via DOM instead of XPath.
19250
19251 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
19252 Code simplification.
19253
19254 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
19255
19256 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
19257
19258 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Splitted
19259 up zooming for x and y axes to be able to override specific axis
19260 zoom behaviour.
19261
19262 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
19263 The lower bound of the x axis (which is the Q axis in such chart) is
19264 always 0.
19265
19266 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
19267
19268 flys/issue90 (Diagramm: Trennung derDiagrammfläche und Achsenaufheben)
19269
19270 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
19271 Added a margin between chart data and chart axes.
19272
19273 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19274
19275 Fix for flys/issue158
19276
19277 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
19278 Checks for right class now.
19279
19280 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19281
19282 Fix for flys/issue154
19283
19284 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
19285 Checks for right class now.
19286
19287 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19288
19289 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19290 Only generate 'outs' if they have facets.
19291
19292 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
19293 'boolean ? true : false' <=> 'boolean'
19294
19295 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
19296
19297 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19298 Added the time-to-live to the DESCRIBE document.
19299
19300 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19301
19302 * doc/conf/artifacts/winfo.xml: Configured states to generate report facets.
19303
19304 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19305
19306 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
19307 Return the report.
19308
19309 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
19310 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
19311 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
19312 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
19313 Generate report facets if there are problems with the calculations.
19314 TODO: Adjust winfo.xml to configure the facets.
19315
19316 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19317
19318 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
19319 New. Generator for calculation reports.
19320
19321 * doc/conf/conf.xml: Added ReportGenerator.
19322
19323 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
19324 Added type 'report'.
19325
19326 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
19327 Specialized facet for serving reports. TODO: Added them to the
19328 calculation states.
19329
19330 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
19331 Looped through CallMeta for i18n purposes. TODO: do i18n
19332
19333 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19334 Removed superfluous import.
19335
19336 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
19337 Added some override annotations.
19338
19339 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19340
19341 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java:
19342 New. Used to transport the data and the error report.
19343
19344 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
19345 src/main/java/de/intevation/flys/artifacts/model/Calculation1.java,
19346 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
19347 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
19348 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java,
19349 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
19350 src/main/java/de/intevation/flys/artifacts/model/Calculation.java,
19351 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
19352 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
19353 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
19354 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
19355 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
19356 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
19357 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
19358 Use the CalculationResult now.
19359
19360 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19361
19362 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
19363 Allow an explicit reference km to enable calculation "am Pegel".
19364
19365 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19366 If a calculation "am Pegel" is done, take start km of the
19367 calculation range and find the gauge in which range it is located.
19368 Take the station of the gauge as the reference km. If no gauge
19369 is found the calcualtion falls back to calculation "auf freier Strecke".
19370
19371 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19372 Replaced another inefficient attribute extraction via XPath
19373 with direct DOM access.
19374
19375 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19376
19377 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
19378 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
19379 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
19380 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
19381 Removed dead code.
19382
19383 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19384
19385 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java
19386 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
19387 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
19388 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
19389 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
19390 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
19391 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
19392 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
19393 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19394 Only generate facets when needed.
19395
19396 * src/main/java/de/intevation/flys/collections/OutputParser.java:
19397 Removed more XPath for simply accessing attributes of an element.
19398
19399 * doc/conf/cache.xml: 200 elements in memory for "computed.values" are enough,
19400 LRU as eviction strategy is sufficent.
19401
19402 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
19403 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Use
19404 more 'standard' Java naming conventions.
19405
19406 2011-06-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19407
19408 Merged in the facet-slt branch to bring in the 'facet' feature.
19409
19410 * doc/conf/artifacts/winfo.xml: Fixed some facets.
19411
19412 * doc/conf/cache.xml: Added a "computed.values" cache to store the
19413 results of the WINFO calculations.
19414
19415 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
19416 Add support for index per facet to make them unique and identifiable.
19417
19418 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
19419 New. Inteface to be used to access the facet names of the configuration.
19420
19421 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: New.
19422 A facet to be used to have raw access to the computed data of an artifact.
19423 Useful to export things like CSV and WST.
19424
19425 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: New.
19426 Specialized facet to access the water level data stored in WQKms arrays.
19427
19428 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java: New.
19429 Specialized facet to access the duration data stored in WQDay data structures.
19430
19431 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Facets are
19432 now generated dynamically from the current available ones stored with
19433 the artifact.
19434
19435 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Added
19436 methods computeAdvance() and computeFeed() called if artifact is fed or
19437 adance. This overwritten in subclasses to do the state depending calculations.
19438
19439 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
19440 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
19441 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
19442 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
19443 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: These
19444 states overwrites the computeAdvance() and computeFeed() methods to do
19445 the corresponding WINFO calculations.
19446
19447 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Calls
19448 computeAdvance() and computeFeed() if artifact is fed or advanced. Centralized
19449 the caching mechanism.
19450
19451 * src/main/java/de/intevation/flys/exports/AbstractExporter.java,
19452 src/main/java/de/intevation/flys/collections/AttributeParser.java,
19453 src/main/java/de/intevation/flys/collections/OutputParser.java,
19454 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
19455 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19456 Adjusted the code to cope with the indices of the facets. Used
19457 DOM to access the attributes instead of XPath. Removed smaller bugs
19458 concerning position generation.
19459
19460 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
19461 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
19462 src/main/java/de/intevation/flys/exports/OutGenerator.java:
19463 Forwarded facet references.
19464
19465 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
19466 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
19467 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
19468 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
19469 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
19470 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
19471 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
19472 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
19473 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
19474 Uses facets to fetch data and generate output now.
19475
19476 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
19477
19478 * doc/conf/artifacts/winfo.xml: Added a new parameter "wq_free" that
19479 determines the mode of calculation 1. If it is "false" (default),
19480 the calculation should be bound to a gauge.
19481
19482 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
19483 method to retrieve the information about the "wq_free" parameter.
19484
19485 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
19486
19487 * doc/conf/artifacts/winfo.xml: Added a facet for corrected W in
19488 computation 4.
19489
19490 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19491
19492 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
19493 Got rid of namespace in result document.
19494
19495 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
19496
19497 flys/issue77 (Diagramm: Beschriftung der Kurven bei Dauerlinien)
19498
19499 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
19500 Give the curves in the chart names.
19501
19502 * src/main/resources/messages.properties,
19503 src/main/resources/messages_de_DE.properties,
19504 src/main/resources/messages_en.properties,
19505 src/main/resources/messages_de.properties: Added titles for duration
19506 chart curves.
19507
19508 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19509
19510 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
19511 Write top 'Oberkante' and bottom 'Unterkante' to out going XML
19512 if they exist.
19513
19514 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
19515
19516 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
19517 Write the min/max W/Q ranges as art:range elements into the DESCRIBE.
19518
19519 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
19520
19521 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
19522 This state that is used to retrieve locations will now write the
19523 kilometer range of the selected river into the DESCRIBE document.
19524
19525 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19526
19527 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
19528 New. Factored out version of "Wasserspiegellage" calculation.
19529 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
19530
19531 Removed some dead code.
19532
19533 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
19534 Added Override annotation and used quick access method.
19535
19536 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19537 Looped through error reporting use by interpolate.
19538
19539 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19540 Used factored out version of calculation 1. Removed dead code.
19541
19542 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19543
19544 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java:
19545 New. Factored out version of "Abflusskurve".
19546
19547 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19548 Loop errors through w/q at km interpolation.
19549
19550 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19551 Use factored out version of calculation 2.
19552
19553 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19554
19555 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
19556 New. Factored out version of "Dauerzahlen".
19557
19558 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19559 Loop errors through for q->w interpolations.
19560
19561 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
19562 Added constructor to directly create with calculated results.
19563
19564 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
19565 Added method to return the number of problems.
19566
19567 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19568 Use factored out version of calculation 3.
19569
19570 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19571
19572 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
19573 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java,
19574 src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
19575 Added methods to remove NaN values.
19576
19577 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19578
19579 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
19580 New. Base class for calculations. Used to collect problems occuring
19581 during calculation.
19582
19583 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
19584 Extends Calculation now. Looped through the problem reports to
19585 base class.
19586
19587 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
19588 Looped through the problem reports.
19589
19590 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
19591
19592 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
19593 Append the min/max range and a transformation matrix for each axis.
19594
19595 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
19596 Instantiate the InfoGeneratorHelper with a XYChartGenerator instance.
19597
19598 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
19599 Changed the zoom operation. The zoom values defined in the chart request
19600 document are no longer absolute values for a specific axis. Those values
19601 represent percental values for the start and end point of x and y axes.
19602 E.g. a chart has three axes with the following ranges:
19603 - x axis : 0 - 10
19604 - y axis 1: 20 - 40
19605 - y axis 2: 40 - 90
19606 - zoom values for x: 0.1 - 0.9 (10% - 90%)
19607 - zoom values for y: 0.2 - 0.8 (20% - 80%)
19608 The produced chart will have the following ranges:
19609 - x axis : 1 - 9
19610 - y axis 1: 24 - 36
19611 y axis 2: 50 - 80
19612
19613 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
19614
19615 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
19616 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
19617 Map datasets to axes correctly.
19618
19619 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19620
19621 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
19622 Determine the gauges by their station positions. This hopfully
19623 fixes the problem with wrong assigned gauges and invalid segments.
19624
19625 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19626
19627 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
19628 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
19629 Added more debug output.
19630
19631 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
19632
19633 flys/issue103 PART 1 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz)
19634
19635 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19636 Selected values are formatted with the current locale. The static part
19637 of the DESCRIBE document will now contain i18n formatted numbers.
19638
19639 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
19640
19641 flys/issue93 (WINFO: Benennung der Berechnungsart korrigieren)
19642
19643 * src/main/resources/messages_de_DE.properties,
19644 src/main/resources/messages_de.properties: Changed the name of
19645 calculation 4.
19646
19647 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
19648
19649 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
19650 Made the range determination more robust against NaN values.
19651
19652 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
19653
19654 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
19655 The second y axis is set to position "1". It was set to "2" before, but
19656 in that case, there was no position "1".
19657
19658 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19659
19660 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
19661 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
19662 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
19663 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
19664 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
19665 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
19666 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
19667 s@m³/s@m\\u00b3/s@
19668
19669 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19670
19671 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
19672 Only generate an axis element if a axis really exists.
19673
19674 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19675
19676 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
19677 Simpified array swapping.
19678
19679 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19680
19681 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
19682 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19683 Use java.util.List instead of java.util.Vector
19684
19685 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
19686 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
19687 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
19688 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19689 Removed superfluous imports.
19690
19691 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19692
19693 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19694 createItem() is not abstract any longer to avoid code repetitionin sub classes.
19695
19696 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
19697 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
19698 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
19699 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
19700 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
19701 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
19702 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
19703 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
19704 Removed duplicated code, inserted default constructors and Override annotations.
19705
19706 2011-06-07 Ingo Weinzierl <ingo@intevation.de>
19707
19708 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
19709 Append axes range information to the info document.
19710
19711 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19712
19713 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19714 If feed() fails do not store invalid values in database.
19715
19716 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19717
19718 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
19719 Removed asymmetrical "- 1" from width calculation.
19720
19721 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19722
19723 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
19724 Fixed problem when more than one value per segment are given.
19725
19726 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19727
19728 Refactored version of "Berechnung 4"
19729
19730 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
19731 Added instance fields for a reference point (= location of gauge)
19732 and backup of values (needed for naming).
19733
19734 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
19735 Added a constructor to be created from a WQKms. This is helpful
19736 if a WQKms is replaced by a back jump correction.
19737
19738 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
19739 New. Outfactored version of "W bei ungleichmaessigen Abflusslaengsschnitt".
19740 Much cleaner now and it should have a better handling of the corner
19741 cases.
19742
19743 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19744 Removed the linear interpolation stuff. It is now in Linear. Removed
19745 the LinearRemap interpolation method because it is not needed any
19746 longer. Added a method to interpolate a given km with a given
19747 function.
19748
19749 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19750 Removed the old calc 4 and used the new one.
19751
19752 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
19753 Deleted. Not needed any longer.
19754
19755 * src/main/java/de/intevation/flys/artifacts/math/Function.java:
19756 New. Interface for a uni-variate real function.
19757
19758 * src/main/java/de/intevation/flys/artifacts/math/Identity.java:
19759 New. Implements Function with f(x) = x
19760
19761 * src/main/java/de/intevation/flys/artifacts/math/Linear.java:
19762 New. Implements Function with f(x) = m*x + b
19763
19764 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19765 Factored some stuff out to DoubleUtil. Removed some dead code.
19766 Does some rounding correct.
19767
19768 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: New.
19769 Centralized utils surrounding common double operations.
19770
19771 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
19772 Removed superfluous imports.
19773
19774 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
19775
19776 flys/issue90(Diagramm: Trennung der Diagrammfläche und Achsen aufheben)
19777
19778 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
19779 Determine the ranges of x and y axes. If no zoom ranges are given, we
19780 will determine the min and max xy values in the dataset manually,
19781 because JFreeCharts adds a margin to the left and right of the data
19782 area automatically..
19783
19784 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
19785
19786 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
19787 the chart creation into an own public method. This lets the
19788 ChartInfoGenerator create charts without duplicating code.
19789
19790 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
19791 Limited the possible class for generators to XYChartGenerator. This
19792 enables the ChartInfoGenerator class to do the whole chart creation
19793 stuff itself without outsourcing the code to concrete subclasses.
19794
19795 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
19796 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
19797 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
19798 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
19799 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
19800 Removed the code to generate charts - this is done in ChartInfoGenerator
19801 now.
19802
19803 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
19804
19805 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
19806 methods to extract the x and y ranges from request document.
19807
19808 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
19809 method that zooms the chart to the specified x and y ranges.
19810
19811 2011-06-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19812
19813 * doc/conf/conf.xml: Set collection ttl to 6 hours.
19814
19815 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19816
19817 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
19818 New. Parse segments only once.
19819
19820 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19821 Expose new parser to artifacts. TODO: Use it.
19822
19823 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19824
19825 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19826 Changed interpolation methods to interpolate to an arbitrary position
19827 in a given double result array as a preparation for segment independent
19828 calculation.
19829
19830 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19831 Removed superfluous import.
19832
19833 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
19834 Fixed cause for crashing: Run back too far in some siutations.
19835
19836 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19837 Refactored range code a bit. Needs more work.
19838
19839 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
19840
19841 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
19842 Interchange the lower and upper x value of the chart if the x-axis is
19843 inverted before the matrix values are computed. Now, the matrix is able
19844 to work with charts that have an inverted x-axis.
19845
19846 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
19847
19848 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: New. A
19849 chart info generator generates a document that contains meta information
19850 for a specific chart. Concrete instances of this abstract class need to
19851 instantiate concrete ChartGenerators and dispatch nearly all methods of
19852 an OutGenerator (init(), doOut(), setMaster()) to this instance. The
19853 generate() method is implemented in the ChartInfoGenerator itself. It
19854 creates a chart with help of the ChartGenerator instance and builds a
19855 document that contains meta information of this chart.
19856
19857 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: New.
19858 This helper is used to create the chart info document. At the moment,
19859 the only information that is included in this document is a
19860 transformation matrix to transform image coordinates into chart
19861 coordinates.
19862
19863 NOTE: The transformation matrix creation needs some work to support
19864 charts with inverted X axis.
19865
19866 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
19867 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
19868 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
19869 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
19870 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
19871 Concrete instances of ChartInfoGenerator that create the chart info for
19872 the currently supported chart types.
19873
19874 * doc/conf/conf.xml: Registered new OutGenerators.
19875
19876 2011-05-31 Ingo Weinzierl <ingo@intevation.de>
19877
19878 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19879 Added support for the 'type' paramter of the collection's out()
19880 operation.
19881
19882 2011-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19883
19884 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
19885 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
19886 Use an explicit reference km for interpolation now.
19887
19888 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19889
19890 * doc/conf/cache.xml: Introduced cache to store the distance info per river.
19891 This boosts performance in following ab setup from 3.61 to 39.91 requests/secs.
19892
19893 $ ab -c 20 -n 1000 -p distances.xml http://127.0.0.1:8181/service/distanceinfo
19894
19895 $ cat distances.xml
19896 <?xml version="1.0" encoding="UTF-8"?>
19897 <art:river xmlns:art="http://www.intevation.de/2009/artifacts">Elbe</art:river>
19898
19899 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: Added
19900 an iterator result to avoid construction expensive interim lists.
19901
19902 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: Use
19903 the cache if configured.
19904
19905 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19906
19907 flys/issue82
19908
19909 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19910 Only successful interpolations are named.
19911
19912 2011-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19913
19914 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
19915 Make it work independent of river flow direction.
19916
19917 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
19918 Fixed bug in ordering segments
19919
19920 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-enabled
19921 calculation of the back jump correction. Fixed more flow direction issues.
19922
19923 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
19924
19925 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19926 Removed call of XMLDebug class which is not in the version control.
19927
19928 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
19929
19930 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19931 Moved the code part that skips themes right after the part that sets the
19932 master artifact for the OutGenerator. We need this master artifact to
19933 display empty charts - master artifact is used to create titles and
19934 axes.
19935
19936 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
19937
19938 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19939 Deactivated themes are not put into the chart.
19940
19941 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
19942
19943 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
19944 Repaired broken XPath expressions to find the output modes in an
19945 attribute document of a collection.
19946
19947 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: This
19948 writer will now create a document that has a root node art:attribute.
19949 Before these changes, the document's root node was art:outputs which is
19950 part of the attribute document but not the right root node.
19951
19952 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
19953 Adapted some XPath expressions and corrected the the process to create
19954 attribute documents.
19955
19956 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19957
19958 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
19959 Made it work independent of from/to order.
19960
19961 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19962 Added method to extract the ranges correctly from data.
19963
19964 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19965 Use the correct ranges. Comment out backjump detection temporarily.
19966
19967 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19968
19969 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
19970 Generate fields for w/q input depend on flow direction.
19971
19972 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19973 Moved km up question out of loop.
19974 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19975
19976 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
19977 Take the flow direction into account.
19978
19979 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
19980 Prevent NPE.
19981
19982 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
19983 Allow to be 'from' greater than 'to' in ranges.
19984
19985 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Negate
19986 step if 'from' is greater than 'to'.
19987
19988 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19989
19990 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
19991 Round exploded values to a precision of 1e-6.
19992
19993 2011-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19994
19995 Qs are now stored in ranges for each column.
19996
19997 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
19998 Deleted.
19999
20000 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
20001 Was WstValueTableFactory2.
20002
20003 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
20004 node linking bug. Removed dead code.
20005
20006 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20007 Q values are now stored in range trees by each column. The qs of the rows
20008 are removed and the calculations are adjusted. Removed dead code.
20009
20010 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20011
20012 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
20013 Moved cache name to WstValueTableCacheKey. Do not cache null references.
20014
20015 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
20016 Moved cache name into this class.
20017
20018 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20019 Store QRangeTree for each column of value table. TODO: Use them!
20020
20021 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
20022 Intended as a replacement for WstValueTableFactory, but is work in progress.
20023
20024 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
20025 index errors and added methods to dump as graphviz graph.
20026
20027 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
20028
20029 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
20030 Improved the validation of WQ values.
20031
20032 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Use the
20033 correct input data object to determine the selected WQ mode (range or
20034 single input).
20035
20036 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
20037
20038 ISSUE-40 (part I/II)
20039
20040 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
20041 Write default values (values already selected by the user before) of the
20042 input data items into DESCRIBE.
20043
20044 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
20045
20046 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
20047 Removed needless imports.
20048
20049 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
20050
20051 ISSUE-85 (part III/III)
20052
20053 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
20054 Added a static function that returns the kilometer values (double[])
20055 from locations input (whitespace separated double values).
20056
20057 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
20058 the getKms() method. It will now return a computed array of kilometers
20059 if we had inserted a range, or it will return the inserted kilometers if
20060 we had inserted locations.
20061
20062 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20063
20064 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
20065 Moved cache key to separate class.
20066
20067 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
20068 New. The new cache key class.
20069
20070 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20071
20072 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
20073 Model to store the q values of a WST column efficiently. First
20074 building block not to store the q values directly aside the
20075 w values.
20076
20077 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
20078
20079 ISSUE-85 (part I/III)
20080
20081 * doc/conf/artifacts/winfo.xml: Added two further field 'ld_mode' and
20082 'ld_locations' to the range/locations state to track the selected mode
20083 and locations.
20084
20085 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
20086 Added methods to validate the user inserted locations.
20087
20088 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
20089 method to determine of a range or locations have been inserted.
20090
20091 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
20092
20093 ISSUE-62 (part II/II)
20094
20095 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Dump the
20096 artifacts state/data in DEBUG mode in describe().
20097
20098 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
20099 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
20100 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
20101 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
20102 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
20103 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
20104 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
20105 States will no longer store data. The only reason for states storing
20106 StateData is to know about the necessary data for this state. If a State
20107 needs to access the user input for a specific StateData object, it needs
20108 to query the FLYSArtifact which stores the data.
20109
20110 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
20111
20112 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
20113 method to dump the artifacts state(s)/data.
20114
20115 2011-05-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20116
20117 flys/issue84
20118
20119 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
20120 Forget to select wst kind.
20121
20122 2011-05-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20123
20124 flys/issue81
20125
20126 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20127 weights for kms were swapped.
20128
20129 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
20130
20131 Tagged RELEASE 2.3.1
20132
20133 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
20134
20135 * Changes: Prepared changes for the upcoming release.
20136
20137 2011-05-20 Hans Plum <hans@intevation.de>
20138
20139 * NEWS:
20140 Hint to Release 2.3.1. For further information look into module
20141 flys-client/NEWS
20142
20143 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20144
20145 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java (getExplodedValues):
20146 Increment kms array size by one to take the end of range, too.
20147
20148 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20149
20150 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
20151 Sort by rows (should not be necessary).
20152
20153 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20154 Use unsharp km lookup (epsilon = 0.0001). This fixes the problem
20155 that some kms were not found.
20156
20157 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
20158
20159 flys/issue66
20160
20161 * src/main/resources/messages_en.properties: Fixed broken template.
20162
20163 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
20164
20165 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
20166 Set the name of the computed discharge curve objects.
20167
20168 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
20169 The curves of this chart will now have names that consist of the word
20170 'Discharge Curve', the river name and the kilometer that has been used
20171 for the computation.
20172
20173 * src/main/resources/messages.properties,
20174 src/main/resources/messages_de_DE.properties,
20175 src/main/resources/messages_en.properties,
20176 src/main/resources/messages_de.properties: Added i18n strings for the
20177 computed discharge curves.
20178
20179 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20180
20181 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
20182 Added convenience method isQ() to determine if we are
20183 doing Q calculations.
20184
20185 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
20186 Reintroduced titles for the "W for unausgeglichene Abfluesse".
20187
20188 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
20189
20190 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20191 The curves will now have names that consist of the gauge name and its
20192 valid time range.
20193
20194 * src/main/resources/messages.properties,
20195 src/main/resources/messages_de_DE.properties,
20196 src/main/resources/messages_en.properties,
20197 src/main/resources/messages_de.properties: Added i18n strings for the
20198 discharge curves.
20199
20200 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20201
20202 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
20203 Removed dead code.
20204
20205 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20206
20207 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
20208 Use the correct method to generate kms.
20209
20210 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
20211 Added some logging to test the map in debug mode.
20212
20213 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20214
20215 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
20216 Made getExplodedValues static.
20217
20218 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
20219 Use new logic to calculate "W fuer ungleichwertige Abfluesse".
20220 Not working, yet.
20221
20222 * ChangeLog: Fixed former entry.
20223
20224 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
20225
20226 * doc/conf/artifacts/winfo.xml: Registered the WST export for discharge
20227 longitudinal sections.
20228
20229 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Set the
20230 names of the discharge longitudinal section computation results.
20231
20232 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
20233 The W/Q curves in the chart will now have names.
20234
20235 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
20236 The WstWriter is filled with column names in an own method. So, we are
20237 able to override this process in subclasses.
20238
20239 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
20240 Adapted the column names for the WST export.
20241
20242 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20243
20244 Work on flys/issue69
20245
20246 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
20247 Use new logic to calculate "Wasserstand/Wasserspiegellage".
20248 Compared to desktop FLYS are the results are structurally right
20249 but a bit off in the positions after the decimal points.
20250 Maybe a result of the interpolation? Need to debug this.
20251
20252 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
20253
20254 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
20255 W and Q curves will now have names based on the defined W or Q values
20256 for the waterlevel computation.
20257
20258 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
20259
20260 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
20261 New. This object is used to give objects a name.
20262
20263 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Inherit
20264 from NamedObject now. Because we need to display names for those objects
20265 in different places.
20266
20267 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The WQKms
20268 objects returned by a waterlevel computation will now have names.
20269
20270 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
20271 Insert the column names for the WSTs into the WstWriter.
20272
20273 * src/main/java/de/intevation/flys/exports/WstWriter.java: The column
20274 names are written into the head of the WSTs now.
20275
20276 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
20277
20278 * src/main/java/de/intevation/flys/artifacts/model/WstLine.java: New. This
20279 class is used to store the W/Q values of a specific kilometer of a WST.
20280
20281 * src/main/java/de/intevation/flys/exports/WstWriter.java: New. A writer
20282 that creates WSTs.
20283
20284 TODO: The header of the WSTs is not finished. The Q descriptions are
20285 missing.
20286
20287 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
20288 Enabled WST exports.
20289
20290 * doc/conf/artifacts/winfo.xml: Registered the WST export for waterlevels.
20291
20292 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
20293
20294 * src/main/java/de/intevation/flys/utils/Formatter.java: New. This class
20295 supports functions to retrieve formatters for specific types of data
20296 used in FLYS.
20297
20298 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
20299 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
20300 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
20301 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
20302 Removed the formatter declaration - the whole formatter stuff is done in
20303 Formatter now.
20304
20305 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
20306
20307 ISSUE-72
20308
20309 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
20310 Repaired broken XPath expressions to extract start and end kilometer.
20311
20312 2011-05-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20313
20314 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20315 Removed the Hibernate loading stuff.
20316
20317 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
20318 New. The Hibernate loading.
20319
20320 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
20321 Use the WstValueTableFactory for loading now.
20322
20323 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
20324
20325 Tagged RELEASE 0.1 aka Version 2.3.0
20326
20327 2011-05-16 Hans Plum <hans@intevation.de>
20328
20329 * NEWS:
20330 New. Giving some user specific perspective to new functionality and
20331 changes. This file references releases dates only; details can be find
20332 in the client module at flys-client.
20333
20334 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20335
20336 First step to calculate "W fuer ungleichwertige Abfluesse" correctly.
20337 flys/issue55
20338
20339 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
20340 New. Remaps "gleichwertige" Q values to the corresponding
20341 "ungleichwertige" Q values depending on km.
20342
20343 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20344 Remap the Q values "ungleichwertig" depending on the
20345 "gleichwertige" ones.
20346
20347 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20348
20349 First step to fix flys/issue69
20350
20351 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20352 New code path to implement the calculation of "Wasserstand/Wasspiegellage"
20353 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code.
20354
20355 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
20356
20357 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes
20358 file to get to know about the changes of the version numbers.
20359
20360 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
20361
20362 ISSUE-37
20363
20364 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This
20365 state would be happy if there is a UI provider called "river_panel".
20366
20367 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
20368
20369 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
20370 methods that return the requested chart size as integer array [width,
20371 height]. The requested size is read from the incomding request document.
20372
20373 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size
20374 of a chart is no longer static. The requested size is fetched using
20375 ChartGenerator.getSize().
20376
20377 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
20378
20379 ISSUE-52
20380
20381 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
20382 The X-Axis of such a chart is inverted, if the head of the river is not
20383 at kilometer 0. This type of charts always have the head of the river at
20384 the left side.
20385
20386 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20387
20388 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
20389 Make incoming XML symmetric to DistanceInfoService.
20390
20391 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
20392
20393 ISSUE-47
20394
20395 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
20396 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
20397 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
20398 Adjusted temporarily the color of the W, Q and corrected W curves to
20399 distinguish each other.
20400
20401 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
20402
20403 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
20404 Adjusted the plot of xy charts - the gridlines are displayed now.
20405
20406 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
20407
20408 ISSUE-53
20409
20410 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
20411 Added a method that returns the preferred locale based on the available
20412 locales of the server and the desired locales of the request (CallMeta).
20413
20414 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
20415 method that creates a number formatter with minimum and maximum digits.
20416
20417 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
20418 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
20419 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
20420 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
20421 Formatted the number values of the CSV exports.
20422
20423 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
20424
20425 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java:
20426 New. A data structure that enables us to save a data triple: a range
20427 that consist of lower and upper double value and a set of values that
20428 belong to this range.
20429
20430 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
20431 Implemented the validation of W/Q values.
20432
20433 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
20434
20435 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New
20436 method to retrieve i18n messages based on keys.
20437
20438 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
20439 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
20440 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
20441 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
20442 Added headers for CSV exports.
20443
20444 * src/main/resources/messages.properties,
20445 src/main/resources/messages_de_DE.properties,
20446 src/main/resources/messages_en.properties,
20447 src/main/resources/messages_de.properties: Added new i18n strings for
20448 CSV headers.
20449
20450 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20451
20452 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
20453 Fetches river name from incoming XML document. If no river is given all
20454 infos about all rivers are listed.
20455
20456 * src/main/resources/metadata/template.xml: Templates honors the 'river'
20457 parameter.
20458
20459 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
20460 Extended to pass parameters to the templating. Added support for
20461 type conversion.
20462
20463 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
20464 Take parameters as an initial stack frame.
20465
20466 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java:
20467 New. Converts types off stacked variables.
20468
20469 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
20470
20471 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
20472 method to add subtitles to charts. The implementation in this class does
20473 not add any subtitle. Concrete subclasses may override this method to
20474 add some.
20475
20476 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
20477 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
20478 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
20479 Add subtitles to charts.
20480
20481 * src/main/resources/messages.properties,
20482 src/main/resources/messages_de_DE.properties,
20483 src/main/resources/messages_en.properties,
20484 src/main/resources/messages_de.properties: Added i18n templates for
20485 compound messages (chart subtitles).
20486
20487 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
20488
20489 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
20490 Added new methods to retrieve translated compound messages.
20491
20492 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
20493
20494 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
20495 method to set the master artifact that should be used for some special
20496 operations.
20497
20498 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
20499 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
20500 Implement the setMasterArtifact() method of the interface.
20501
20502 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20503 Call OutGenerator.setMasterArtifact().
20504
20505 NOTE: The determination of the master artifact needs to be implemented!
20506
20507 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
20508
20509 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
20510 hard coded dev code that defined a WQ mode.
20511
20512 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20513
20514 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
20515 Stripped ugly extra whitespace from output introduced by
20516 templating.
20517
20518 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20519
20520 * src/main/resources/metadata/template.xml: Added forgotten
20521 columns of fixation WSTs.
20522
20523 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
20524
20525 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
20526 method to retrieve i18n strings.
20527
20528 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
20529 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
20530 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
20531 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
20532 Enabled i18n support for chart title and axes labels.
20533
20534 * src/main/resources/messages.properties,
20535 src/main/resources/messages_de_DE.properties,
20536 src/main/resources/messages_en.properties,
20537 src/main/resources/messages_de.properties: Added i18n strings for the
20538 chart types above.
20539
20540 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
20541
20542 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
20543 New. This OutGenerator exports the data of a discharge longitudinal
20544 section computation.
20545
20546 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter.
20547
20548 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the
20549 discharge_longitudinal_section state.
20550
20551 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20552
20553 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
20554 Added code to make back jump correction work with both
20555 potential flow directions.
20556
20557 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20558
20559 * src/main/resources/metadata/template.xml:
20560 Added data cage configuration for 'Längsschnitt'.
20561
20562 2011-05-06 Ingo Weinzierl <ingo@intevation.de>
20563
20564 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge
20565 longitudinal sections.
20566
20567 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A
20568 derived dataset to store W/Q values with corrected Ws for a kilometer
20569 range.
20570
20571 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new
20572 methods and a new constructor to initialize this data object with a
20573 predefined set of values.
20574
20575 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
20576 methods to retrieve the W/Q values for the 'discharge longitudinal
20577 section' computation.
20578
20579 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New
20580 methods to retrieve and compute data used for the 'discharge
20581 longitudinal section' computation.
20582
20583 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
20584
20585 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
20586 Bugfix: just write the ranges of gauges into the DESCRIBE if the
20587 'wq_values' data item is required.
20588
20589 * src/main/resources/messages.properties,
20590 src/main/resources/messages_de_DE.properties,
20591 src/main/resources/messages_en.properties,
20592 src/main/resources/messages_de.properties: Added i18n messages used in
20593 the DESCRIBE of the WQAdapted state.
20594
20595 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
20596
20597 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
20598 Changed the title of the y-axis (now 'W [NN+m]').
20599
20600 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
20601
20602 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the
20603 output state for creating 'discharge longitudinal section' charts.
20604
20605 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
20606 method that returns all gauges of the selected river based on a the
20607 given kilometer range.
20608
20609 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New.
20610 This state creates a set of elements for the DESCRIBE that consist of a
20611 tuple of kilometer values. The number of elements depend on the number
20612 of gauges intersected by the given kilometer range.
20613
20614 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
20615 New. This state is the output state that is reached after the 'discharge
20616 longitudinal section' computation has been chosen.
20617
20618 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
20619
20620 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default
20621 step width between two kilometers added - if no step width is given,
20622 this default width is used.
20623
20624 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
20625
20626 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
20627 Fixed a potential NullPointerException if there is just a single
20628 kilometer given to create a longitudinal section.
20629
20630 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20631
20632 * pom.xml: Added http://repository.jboss.org/maven2 repo
20633 to fix flys/issue30
20634
20635 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20636
20637 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20638 To make diagram generation possible ws are now generated from qs
20639 because they are many ws having different qs.
20640
20641 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
20642
20643 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
20644 Fetch the WQ data from WINFO artifact and write those values into the
20645 CSV export.
20646
20647 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
20648
20649 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
20650 methods to compute and retrieve the data for discharge curves (computed).
20651
20652 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
20653 Fetch the computed discharge curve data from WINFOArtifact and add the
20654 values into the JFreeChart dataset.
20655
20656 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
20657
20658 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable
20659 the WINFO artifact for computing discharge curves.
20660
20661 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge
20662 curves and exports for its data.
20663
20664 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
20665 New. This state is reached if the user chose the computed discharge
20666 curve.
20667
20668 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
20669 New. This is only a stub implementation at the moment. This
20670 OutGenerator should create computed discharge curves later. It extends
20671 the DischargeCurveGenerator which should do the same stuff for discharge
20672 curves for gauges.
20673
20674 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
20675 New. This is only a stub implementation at the moment. This OutGenerator
20676 should create the exports of the discharge curve computation.
20677
20678 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20679
20680 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration
20681 curve state (CSV export).
20682
20683 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve
20684 computations.
20685
20686 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New.
20687 This abstract OutGenerator represents the base class for exporting
20688 computed data. Currently, the CSV export is supported.
20689
20690 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved
20691 the most code to export to CSV into the AbstractExporter.
20692
20693 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
20694 New. This exporter exports the computed data of a duration computation.
20695
20696 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20697
20698 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20699 Modified a wrong debug statement which would confuse the user.
20700
20701 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20702
20703 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel
20704 state (CSV export).
20705
20706 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels.
20707
20708 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New.
20709 This OutGenerator exports the data of a waterlevel computation. Note:
20710 It is necessary to specify the desired facet (e.g.
20711 'waterlevel_export.csv').
20712
20713 * pom.xml: Added a dependency to OpenCSV.
20714
20715 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20716
20717 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20718 Introduced an "export" output target. If the target is "export", a
20719 facet (read from the incoming xml document) is a necessary parameter
20720 that determines which facets are written to the output.
20721
20722 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20723
20724 * src/main/resources/messages_en.properties: Bugfix: replaced german
20725 string (copy & paste mistake).
20726
20727 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20728
20729 * src/main/resources/messages.properties,
20730 src/main/resources/messages_de_DE.properties,
20731 src/main/resources/messages_en.properties,
20732 src/main/resources/messages_de.properties: Added new i18n strings for
20733 for the location selection.
20734
20735 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
20736
20737 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
20738 New. An OutGenerator for creating duration curves.
20739
20740 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A
20741 model class to store necessary data for creating W and Q facets of a
20742 duration curve. This model stores W, Q and Days.
20743
20744 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
20745 Added a function to retrieve tuples of (day, q) based on a given gauge -
20746 these tuples are necessary for creating duration curves.
20747
20748 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
20749 methods to compute and retrieve the data necessary for creating duration
20750 curves.
20751
20752 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
20753 Bugfix: improved the access to the location array (avoid
20754 NullPointerException).
20755
20756 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves.
20757
20758 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20759
20760 * contrib/visualize-transitions.xsl: State quoting was done wrong.
20761
20762 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20763
20764 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the
20765 final state for creating duration curves.
20766
20767 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
20768 New. This state should be reached to just insert an array of locations.
20769
20770 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
20771 New. This state is reached if the duration curve calculation is
20772 selected.
20773
20774 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted
20775 getDistance() so that it takes care on inserted locations - not just
20776 inserted ranges.
20777
20778 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20779
20780 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
20781 Flush/persist caches at program exists.
20782
20783 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
20784 Commented out too eloquent debug output.
20785
20786 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20787
20788 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20789 Uses the methods of FLYSArtifact to retrieve the necessary information
20790 rivername and selected distance.
20791
20792 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20793
20794 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20795 Added interpolateW method to take reference to result ws array
20796 as an argument to avoid expensive array allocations in km iterating
20797 loops.
20798
20799 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
20800 Added a constructor to create backing trove datastructure
20801 with the right capacity.
20802
20803 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
20804 Move allocation of result ws out of km loop.
20805
20806 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20807
20808 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ
20809 selection state. Those items are necessary to store the information
20810 about the selected mode (range/single selection) and the values of the
20811 single selection.
20812
20813 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If
20814 there is no value for a data item, this item is not written into the
20815 static DESCRIBE part.
20816
20817 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
20818 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
20819 Renamed the method to validate upper and lower values.
20820
20821 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
20822 state can now handle values inserted in the single selection. Therefore,
20823 new validate methods has been added.
20824
20825 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
20826 methods getWs() and getWs() take care on the values inserted in the
20827 single insert mode of the client which enables the user to insert single
20828 W and Q.
20829
20830 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20831
20832 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
20833 Repaired getQForW() by calculating indices on right dimension.
20834
20835 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20836
20837 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
20838 methods for retrieving selected W values (getWs()).
20839
20840 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
20841 method for retrieving waterlevel data takes care on selected Ws, now.
20842 The selected Ws are transformed using the DischargeTables.getQForW()
20843 into Q values.
20844
20845 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20846
20847 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
20848 Removed an unused parameter 'result' of getQForW().
20849
20850 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
20851
20852 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed
20853 the getDataset() method and replaced it with a addDataset() method.
20854 On this way, concrete subclasses of this OutGenerator can have multiple
20855 datasets (e.g. different datasets for W and Q). This abstract method is
20856 called after the chart generation is finished.
20857
20858 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
20859 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20860 Both classes implement the addDataset() method. The
20861 LongitudinalSectionGenerator has already multiple datasets for W and Q.
20862 Both are added to the chart - both have an own range axis.
20863
20864 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20865
20866 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
20867 Use the cache for the wst value table if configured.
20868
20869 * doc/conf/cache.xml: Choose a more precise name for the
20870 wst value table cache.
20871
20872 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20873
20874 * pom.xml: Added dependency to Ehcache. Apache 2.0 license.
20875
20876 * doc/conf/conf.xml: Added configuration of ehcache.
20877
20878 * doc/conf/cache.xml: New. Cache configurations.
20879
20880 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
20881 New. Factory to access caches.
20882
20883 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20884
20885 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
20886 Forgot to add.
20887
20888 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
20889 New. Given a database connection and a XML template it generates
20890 an output with meta data about the database.
20891
20892 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
20893 New. Holds prepared statements optimized to be run in the stack of
20894 contextes.
20895
20896 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
20897 New. Model to hold a hierarchical scope of variables.
20898
20899 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
20900 New. Stores data set fetched from a sql select to be iterated in
20901 a context.
20902
20903 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
20904 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20905 Removed superfluous imports.
20906
20907 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20908
20909 * doc/conf/conf.xml: Added meta data service.
20910
20911 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
20912 Stub for the meta data service.
20913
20914 * src/main/resources/metadata/template.xml: Initial template for
20915 the meta data service.
20916
20917 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20918
20919 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20920 Bugfix: Now, curves for Q values are drawn into a longitudinal section
20921 chart as well. Therefore, it was necessary to change the datastructure
20922 of the inner class ThemeList that stores all themes included in a chart
20923 in an ordered list (stored in a java.util.Vector now).
20924
20925 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20926
20927 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An
20928 abstract base class for ChartGenerators that create XY charts.
20929
20930 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20931 Sourced the generate() method out to the XYChartGenerator.
20932
20933 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
20934 Implemented the methods to add W and Q facets to the chart.
20935
20936 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20937
20938 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved
20939 the calculation of the step with for ranges.
20940
20941 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20942
20943 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a
20944 method that returns the number of elements stored in the data pool.
20945
20946 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20947
20948 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
20949 Added a get() method which takes destination array as an
20950 argument.
20951
20952 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20953
20954 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the
20955 data structure to store w, q and kms values from List<Double> to
20956 TDoubleArrayList which stores native double values instead of big
20957 Double values.
20958
20959 * pom.xml: Added the GNU Trove dependency.
20960
20961 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20962
20963 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the
20964 name a the requested facet to doOut(). Concrete generators should just
20965 create output for this facet now.
20966
20967 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
20968 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
20969 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
20970 Adapted the method signature of doOut().
20971
20972 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
20973 Adapted the method call of OutGenerator.doOut().
20974
20975 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20976
20977 * doc/conf/themes.xml: Added mappings for the facets
20978 longitudinal.section.w and longitudinal.section.q.
20979
20980 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20981
20982 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some
20983 methods to retrieve necessary information for computing the data of a
20984 waterlevel.
20985
20986 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
20987 methods to compute and retrieve the data of a waterlevel computation.
20988
20989 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20990
20991 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This
20992 model class represents a pool of data triples that consist of W, Q and
20993 Kms information. This class might be used to compute data for creating
20994 longitudinal section curves (which are based on those W, Q and Kms
20995 values).
20996
20997 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
20998
20999 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
21000 Bugfix: Removed endless loop and a bug while iterating over Hibernate
21001 results.
21002
21003 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
21004
21005 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
21006 New. An OutGenerator that creates longitudinal section curves.
21007
21008 NOTE: This is just the stub - the out creation needs to be implemented!
21009
21010 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator.
21011
21012 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
21013
21014 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section.
21015
21016 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
21017
21018 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New.
21019 This state should be reached if the 'calc.surface.curve' calculation
21020 method has been chosen.
21021
21022 * doc/conf/artifacts/winfo.xml: Modified a transition and added the
21023 WaterlevelState. This state is reached if the 'calc.surface.curve'
21024 calculation method has been chosen. It currently has 1 output - a
21025 longitudinal section that is not implemented yet!
21026
21027 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
21028
21029 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java:
21030 New. This transition is valid if the a data object of the current
21031 artifact equals/notequals a configured value in the transition model.
21032
21033 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
21034
21035 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
21036 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes:
21037 - Adapted the parameters of the isStateReachable() call - added the
21038 artifact and the current state.
21039 - Append the outputs of a current state if the state is filled with
21040 valid data.
21041
21042 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
21043
21044 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
21045 Added the missing init() method that has been introduced in the
21046 interface some commits ealier.
21047
21048 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
21049 Call init() after a Transition has been created.
21050
21051 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
21052
21053 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
21054 Bugfix: Introduced a <art:outputs> node in the attribute document of a
21055 Collection that contains further <art:output> nodes - instead of having
21056 multiple <art:output> nodes at toplevel of the document.
21057
21058 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21059 Adapted the XPath to retrieve the outputs in the attribute document of a
21060 Collection.
21061
21062 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21063
21064 * contrib/visualize-transitions.xsl: Added to create a
21065 Graphviz digraph out of the config.xml. Usage:
21066
21067 $ xsltproc --stringparam base-dir ../doc/conf/ \
21068 contrib/visualize-transitions.xsl \
21069 doc/conf/conf.xml > transitions.dot
21070
21071 $ dot -Tsvg -o transitions.svg transitions.dot
21072
21073 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
21074
21075 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
21076 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
21077 If no data has been inserted so far, an IllegalArgumentException is
21078 thrown.
21079
21080 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
21081
21082 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java::
21083 A lot of new methods to retrieve the theme of a facet - used while
21084 creating the output of a facet/artifact. If a facet has no theme yet, it
21085 is initialized.
21086
21087 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
21088
21089 * src/main/java/de/intevation/flys/collections/AttributeParser.java,
21090 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed
21091 useless imports.
21092
21093 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
21094
21095 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An
21096 abstract OutGenerator that might be used to create chart output. Some
21097 basic things that are equal in all charts should be done here!
21098
21099 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
21100 This OutGenerator no longer implements the OutGenerator directly, but it
21101 extends the ChartGenerator now.
21102
21103 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
21104
21105 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21106 Restructured the out() operation of a collection: Now, we collect a list
21107 of artifacts/facets and use this for the OutGenerator. Its doOut()
21108 method gets the attribute of an artifact - the position and the active
21109 state is managed by the Collection itself.
21110
21111 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
21112
21113 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New.
21114 a specialized facet that stores information about its position and its
21115 state (active/inactive) in an output of a collection.
21116
21117 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New.
21118 This parser takes the attributes (XML) of a collection and extracts the
21119 contained outputs with its facets. The result is a Map<String, Output>.
21120
21121 * src/main/java/de/intevation/flys/collections/OutputParser.java: New.
21122 This parser is used to query the artifact's DESCRIBE and to extract the
21123 supported outputs. The result is a Map<String, Output>.
21124
21125 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New.
21126 This writer merges the outputs contained in an attribute of a collection
21127 with the outputs of a collection's artifacts.
21128
21129 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21130 The attributes of a collection are written into its DESCRIBE document
21131 now. The OutputParser and AttributeParser are used to read the supported
21132 attributes by the collection and its artifacts - the AttributeWriter is
21133 used to merge both attributes and create a final attribute document.
21134
21135 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
21136
21137 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java,
21138 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
21139 The facet-2-theme mappings are initialized at startup and stored in the
21140 FLYSContext.
21141
21142 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a
21143 function that retrieves a theme from FLYSContext based on its name.
21144
21145 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21146
21147 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
21148 Corrected a silly c&p mistake.
21149
21150 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21151
21152 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
21153
21154 Implementation of the "Ruecksprungkorrektur" to be done in
21155 "W fuer angepassten Abflusslaengschnitt".
21156
21157 All tests show the expected results. In some corner cases the
21158 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur"
21159 has some definition shortcomings:
21160
21161 a - What should happend when you cannot find point 2 because
21162 you cannot step back one quarter from point 3 because there
21163 is no data there any more (river too short in this direction)?
21164 The implemented algorithm raises point 3' only to an
21165 according factor. E.g. If you can step back the whole quarter
21166 distance the elevation is the full quarter. If you can
21167 step back only the half of the quarter the elevation is
21168 only an eighth.
21169
21170 b - If the water heights between point 2 and 3 are constant then
21171 the algorithm will produce a spline interpolation that
21172 lowers those values. Is this intended?
21173
21174 For real data the back jumps are expected to be more in the middle
21175 of the distance ranges so the corner cases are maybe not so
21176 important.
21177
21178 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
21179 Removed superfluous import.
21180
21181 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
21182
21183 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug
21184 code that has been commited by accident.
21185
21186 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
21187
21188 * doc/conf/themes.xml: New. A first small theme configuration.
21189
21190 * doc/conf/conf.xml: Added a link to the theme configuration.
21191
21192 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
21193 Defined a key that is used to store a themes map in the FLYSContext.
21194
21195 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
21196 The theme configuration is read at startup and the themes are stores in
21197 the FLYSContext.
21198
21199 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
21200
21201 * src/main/java/de/intevation/flys/themes/Theme.java,
21202 src/main/java/de/intevation/flys/themes/DefaultTheme.java:
21203 New. The interface and its default implementation that represents themes
21204 used to style charts and maps.
21205
21206 * src/main/java/de/intevation/flys/themes/ThemeField.java,
21207 src/main/java/de/intevation/flys/themes/DefaultThemeField.java:
21208 New. The interface and its default implementation that represents fields
21209 in themes. A theme might be "Lines" and one of its field might be
21210 "Color" or "Size".
21211
21212 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory
21213 that creates new themes based on a theme configuration.
21214
21215 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21216
21217 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
21218 Implementation of "Abflusskurve/Abflusstafel" calculation.
21219
21220 Added method interpolateWQ() which takes an km and results in a
21221 tuple of two double arrays containing the w/q values interpolated
21222 between the surrounding w/q values of the table.
21223 w values are interpolated linear, q values with a cubic spline.
21224
21225 Drawing w over q gives you the discharge table at the given km.
21226
21227 !!! This code needs testing !!!
21228
21229 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21230
21231 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0)
21232
21233 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21234
21235 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21236 Fix problem when sorting by q (copied w instead of q).
21237
21238 2011-04-20 Ingo Weinzierl <ingo@intevation.de>
21239
21240 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21241 Fixed broken HQL statement.
21242
21243 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21244
21245 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
21246 add a method interpolateW() which takes an array of
21247 q values and returns an equal sized array of w values.
21248 This is essentially the "Wasserstand/Wasserspiegellagen" calculation
21249 of desktop FLYS.
21250
21251 If you want to do a calculation with given w values you have
21252 to convert the w values with DischargeTables.getQForW() first.
21253
21254 !!! This code needs heavy testing !!!
21255
21256 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21257
21258 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21259 We need a getQForW() method and not getWForQ() because when
21260 doing a "Wasserstand/Wasserspiegellagen" calculation with given
21261 w values these values need to be translated to q values with
21262 the master discharge table.
21263
21264 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21265
21266 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21267 Sorting of q values was done wrong.
21268
21269 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
21270
21271 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
21272 Ordered the list of annotations returned by this factory based on its
21273 range.
21274
21275 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
21276
21277 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
21278 New. This service returns an XML document that includes the main values
21279 of a gauge based on a river name, a start and an end point.
21280
21281 * doc/conf/conf.xml: Registered the MainValuesService.
21282
21283 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
21284
21285 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
21286 A factory that provides methods to return MainValues.
21287
21288 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21289
21290 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21291 Added static method getWForQ() to interpolate a w value for
21292 a given q value based on a given discharge table.
21293
21294 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21295
21296 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21297 Added convenience constructors/methods to ease the access to the master
21298 discharge table of a gauge.
21299
21300 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21301
21302 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
21303 Moved the query complexity into view 'wst_value_table' and
21304 used this instead.
21305
21306 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21307
21308 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
21309 Fetches w/q value tables from the backend. TODO: Move this
21310 to the backend and use a view.
21311
21312 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
21313
21314 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
21315 the error key that is thrown if no input data was found so that the key
21316 is usable for GWT's i18n mechanism.
21317
21318 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
21319
21320 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
21321 The inserted river is validated now (overrides validate() of
21322 DefaultState).
21323
21324 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
21325
21326 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
21327 The inserted calculation method is validated now (overrides validate()
21328 of DefaultState).
21329
21330 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
21331
21332 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
21333 The input data of feed() are validated using the DefaultStates
21334 validate() method.
21335
21336 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21337 New method validate() that needs to be overidden by concrete subclasses.
21338 It should return true, if the data of the State is fine, otherwise it
21339 should raise an exception.
21340
21341 NOTE: The exceptions are not translated in the server but in the client!
21342
21343 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New.
21344 This abstract class exists to provide some methods for handling ranges.
21345 Currently, there is a method that validates a given range based on
21346 min/max values.
21347
21348 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
21349 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
21350 Implemented input data validation for ranges.
21351
21352 NOTE: The input validation of concrete values has not been implemented
21353 yet!
21354
21355 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
21356
21357 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
21358 Removed debug code that has been commited by accident :-/
21359
21360 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
21361
21362 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
21363 getGauge() method returns the first gauge based on the given start and
21364 end point of the river.
21365
21366 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
21367 Fixed potential bugs: if no gauge could be determined, the default
21368 values for W and Q are the minimum and maximum double values.
21369
21370 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
21371
21372 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills
21373 the DESCRIBE with default values for W and Q.
21374
21375 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
21376
21377 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
21378 New. Returns Wst object - based on a river.
21379
21380 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
21381
21382 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now
21383 provides some methods that return some basic objects inserted while
21384 parameterization: River, Gauge and so on.
21385
21386 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
21387
21388 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
21389 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
21390 Bugfix: Repaired broken imports of the SessionHolder.
21391
21392 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
21393
21394 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
21395 Moved this class to flys-backend.
21396
21397 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
21398 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
21399 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
21400 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java,
21401 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
21402 Adapted imports of the SessionHolder.
21403
21404 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21405
21406 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
21407 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
21408 Acquire/release sessions in services to avoid db connection leaks.
21409
21410 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
21411
21412 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21413 Changed some method signatures - added a reference to the owner
21414 Artifact.
21415
21416 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
21417 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
21418 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
21419 Modified method signatures based on the changes in DefaultState.
21420
21421 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
21422 Added default values to the dynamic part of DESCRIBE.
21423
21424 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
21425
21426 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
21427 Added a function that returns a River object based on a given river
21428 name.
21429
21430 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21431
21432 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
21433 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
21434 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
21435 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
21436 Static methods are using the SessionHolder, too.
21437
21438 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
21439
21440 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
21441 Added the setup() method that has been added to the interface
21442 description in the last commits.
21443
21444 * doc/conf/conf.xml: Registered the SessionCallContextListener as
21445 CallContext.Listener.
21446
21447 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
21448
21449 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
21450 Bugfix: Call correct method to retrieve an instance of
21451 SessionFactoryProvider.
21452
21453 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21454
21455 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
21456 New. Contains thread local session holder for hibernate sessions.
21457
21458 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
21459 Uses session from SessionHolder.
21460
21461 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
21462 Interacts with SessionHolder now.
21463
21464 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
21465 Removed superfluous import.
21466
21467 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
21468
21469 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
21470 Implementation of a CallContext.Listener to open/close Hibernate
21471 Sessions for each request.
21472
21473 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
21474
21475 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
21476 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21477 Some modifications related to the last commit - modification of the
21478 describe() signature of a State.
21479
21480 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
21481
21482 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java:
21483 Removed. We do not need a state to select a gauge - the selection takes
21484 place by choosing a start and an end point.
21485
21486 2011-04-13 Ingo Weinzierl <ingo@intevation.de>
21487
21488 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
21489 Bugfix: added missing label node to root node and a namespace to the
21490 data node.
21491
21492 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
21493
21494 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
21495 The name of the artifact 'winfo' is written into the DESCRIBE document
21496 now. We need this to have a proper way to distinguish between different
21497 artifacts in the UI.
21498
21499 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
21500
21501 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix:
21502 States are filled with data before they describe themself.
21503
21504 2011-04-11 Ingo Weinzierl <ingo@intevation.de>
21505
21506 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
21507 New. A factory that returns the annotations of a specific river.
21508
21509 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
21510 New. This service provides a document that contains information about
21511 distances of a river.
21512
21513 * doc/conf/conf.xml: Registered the DistanceInfoService.
21514
21515 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
21516
21517 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21518 This collection overrides the out() operation now. The incoming request
21519 document is read and the related OutGenerator is used to create the
21520 output.
21521
21522 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
21523 the code to create discharge curves. It has moved to the
21524 DischargeCurveGenerator which now does this work.
21525
21526 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
21527
21528 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The
21529 generate() method throws an IOException now.
21530
21531 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
21532 New. This OutGenerator creates discharge curves.
21533
21534 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
21535
21536 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
21537 the visibility of the getData() method. It's now public, because the
21538 OutGenerator needs an artifact's data.
21539
21540 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21541
21542 * src/**/*.java: Removed trailing whitespace.
21543
21544 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21545
21546 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21547 Make project compilable again by
21548 commenting out a not existing XMLDebug reference.
21549
21550 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
21551
21552 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
21553 Added code to parse the configured OutGenerators and to save them (in a
21554 map) in the FLYSContext.
21555
21556 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
21557 Added a key that is used to save the OutGenerators Map in the context.
21558
21559 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
21560
21561 * src/main/java/de/intevation/flys/exports/OutGenerator.java:
21562 New. This interface is used to generator different types of output.
21563 ArtifactCollections will make use of this interface to create a
21564 collected output of all its artifacts.
21565
21566 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
21567
21568 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21569 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase
21570 operations instead.
21571
21572 * TODO: Removed 'remove Backend reference' TODO.
21573
21574 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
21575
21576 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the
21577 discharge curve output mode. This output now provides three facets - W,
21578 Q and the curve itself.
21579
21580 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
21581
21582 Tagged RELEASE 0.1
21583
21584 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
21585
21586 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO
21587 artifact configuration.
21588
21589 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
21590
21591 * src/main/resources/messages_de_DE.properties,
21592 src/main/resources/messages_de.properties: Changed a german string.
21593
21594 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
21595
21596 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
21597 Modified the available calculation modes and its order in the DESCRIBE
21598 document.
21599
21600 * src/main/resources/messages.properties,
21601 src/main/resources/messages_de_DE.properties,
21602 src/main/resources/messages_en.properties,
21603 src/main/resources/messages_de.properties: Adapted the names of
21604 calculation modes.
21605
21606 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
21607
21608 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21609 Added the hash code of an artifact to the artifact part of the
21610 collection's DESCRIBE document.
21611
21612 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
21613
21614 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed
21615 the background color of discharge curves to white.
21616
21617 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21618
21619 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21620 Cache the scale, too. Otherwise two calls to getValues() with
21621 different arguments will result in the same output.
21622
21623 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
21624
21625 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21626 Introduced a 'scale' parameter in the getValues() method.
21627
21628 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled
21629 the out() operation with code that draws a discharge table of one or
21630 more gauges specified by the given range in entered in a previous state.
21631
21632 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
21633
21634 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
21635 New. A helper class to exports charts.
21636
21637 * pom.xml: Added dependencies to iText, Batik and JFreeChart.
21638
21639 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21640
21641 * src/main/java/de/intevation/flys/importer/PegelGltParser.java:
21642 Fixed swap of operands.
21643
21644 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21645
21646 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
21647 New. Load gauges for a river and filter them for given
21648 ranges.
21649
21650 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21651
21652 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21653 Store data in a double [][] instead of interleaved double []
21654 to be compatible with org.jfree.data.xy.DefaultXYDataset.
21655
21656 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
21657
21658 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove
21659 the Backend reference from FLYSArtifactCollection.
21660
21661 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
21662
21663 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21664 Added missing artifact namespace of an attribute in the DESCRIBE
21665 document.
21666
21667 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
21668
21669 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21670 New. This ArtifactCollection overrides the DefaultArtifactCollection to
21671 implement FLYS specific describe() and out() operations.
21672
21673 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the
21674 DefaultArtifactCollection for this application.
21675
21676 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21677
21678 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
21679 New. Fetches values of discharge tables in form of packed
21680 w/q double arrays for given gauges.
21681
21682 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
21683 Removed needless import.
21684
21685 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
21686
21687 * src/main/resources/messages_de_DE.properties: Added a german resource
21688 bundle to avoid exceptions in the flys artifacts. Sometimes, the
21689 Resources class is not able to find a 'de_DE' bundle and throws an
21690 exception. This is really strange, because it should use the 'de' bundle
21691 in that case, but it doesn't.
21692
21693 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
21694
21695 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
21696 some code to append the output modes of previous states to the DESCRIBE
21697 document.
21698
21699 TODO: Determine if the current state is already filled with data and
21700 append its output modes as well!
21701
21702 2011-03-22 Ingo Weinzierl <ingo@intevation.de>
21703
21704 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with
21705 an output mode 'discharge_table'.
21706
21707 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
21708
21709 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21710 Write human readable strings as label attribute into the DESCRIBE
21711 output. Those labels are used to be displayed in the GUI.
21712
21713 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
21714
21715 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
21716 Added some further calculation types.
21717
21718 * src/main/resources/messages.properties,
21719 src/main/resources/messages_en.properties,
21720 src/main/resources/messages_de.properties: Added i18n strings for the
21721 calculation types
21722
21723 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
21724
21725 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
21726 Implemented the step-back part of the advance() operation.
21727
21728 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
21729
21730 * src/main/resources/messages_de.properties: Fixed a german umlaut.
21731
21732 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
21733
21734 * doc/conf/artifacts/winfo.xml: Added new states for entering a
21735 location/distance and w/q.
21736
21737 * src/main/resources/messages.properties,
21738 src/main/resources/messages_en.properties,
21739 src/main/resources/messages_de.properties: New string for the
21740 location/distance and w/q input states.
21741
21742 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
21743
21744 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
21745 New. A state for the W/Q input of the WINFO parameterization.
21746
21747 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
21748
21749 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21750 Append an attribute 'uiprovider' to the dynamic UI node.
21751
21752 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
21753 New. A state for the location/distance selection of the WINFO
21754 parameterization.
21755
21756 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
21757
21758 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21759 Added a new method getUIProvider() that might be overriden by concreted
21760 subclasses that should be rendered with a specific UIProvider.
21761
21762 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
21763
21764 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
21765 The static UI part is created by the previous states now. This makes it
21766 possible to group the data objects (which is necessary to group the
21767 objects in the ui).
21768
21769 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21770 Added a describeStatic() method that creates a node that contains the
21771 data of that state.
21772
21773 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
21774
21775 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
21776 Removed TODO: the document contains the rivers provided by the backend
21777 now.
21778
21779 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21780
21781 * pom.xml: Added dependency to flys backend.
21782
21783 * src/main/java/de/intevation/flys/artifacts/model/River.java:
21784 Removed. We are using the backend model now.
21785
21786 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
21787 Fetches the rivers from the backend.
21788
21789 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
21790 Import fixes.
21791
21792 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21793
21794 * doc/conf/conf.xml: Added section for database backend configuration.
21795
21796 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
21797
21798 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
21799 Fixed build error coming from different import of XMLUtils.
21800
21801 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
21802
21803 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21804 Appended the missing label node that contains the human readable name of
21805 the data item.
21806
21807 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
21808
21809 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
21810 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21811 I18N of strings for the DESCRIBE document.
21812
21813 * src/main/resources/messages.properties,
21814 src/main/resources/messages_en.properties,
21815 src/main/resources/messages_de.properties: I18N strings for the
21816 calculcation mode state.
21817
21818 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
21819
21820 * doc/conf/artifacts/winfo.xml: Modified the winfo states.
21821
21822 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted
21823 the artifact regarding the changes of the last commit. The states
21824 describe() method creates the dynamic UI node - the artifact needs to
21825 apply this node.
21826
21827 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
21828 New. The state for choosing the calculation mode.
21829
21830 * src/main/resources/messages.properties,
21831 src/main/resources/messages_en.properties,
21832 src/main/resources/messages_de.properties: Added i18n strings for the
21833 calculation mode state.
21834
21835 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
21836
21837 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
21838 New. This is the base state for the FLYS application. It provides a
21839 method that creates the dynamic ui node for the DESCRIBE.
21840
21841 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
21842 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both
21843 classes extend the abstract base class DefaultState.
21844
21845 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
21846
21847 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
21848 New. This class retrieves the i18n strings from a ResourceBundle.
21849
21850 * src/main/resources/messages.properties,
21851 src/main/resources/messages_en.properties,
21852 src/main/resources/messages_de.properties: Resource files for german and
21853 english translation.
21854
21855 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
21856
21857 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
21858 the data that have been inserted in former states into the static node
21859 of the DESCRIBE.
21860
21861 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
21862
21863 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
21864 operations feed() and advance() return the description of the artifact
21865 using the describe() operation. This avoids additional server round trips
21866 in the client - the clients gets to know about the new state of the
21867 artifact immediately.
21868
21869 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
21870
21871 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
21872 Implemented a part (step forward) of the advance operation.
21873
21874 * TODO: Implement Step-Back in advance operation.
21875
21876 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
21877
21878 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
21879 Implemented the abstract method getName(). It returns the constant
21880 'winfo' string.
21881
21882 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
21883 Implemented the feed action. The data of an incoming feed() operation is
21884 stored in StateData objects that are saved in a map in the artifact.
21885
21886 NOTE: There is no input validation and no i18n of error messages (see
21887 TODO).
21888
21889 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
21890
21891 * TODO: This file contains some open points that need to be done.
21892
21893 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
21894
21895 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This
21896 artifact serves as the default artifact for the FLYS application.
21897
21898 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This
21899 artifact now inherits from FLYSArtifact. Furthermore, there is one big
21900 change: we don't store the State objects itself in the artifact, but
21901 just the identifier of those. This makes the artifact smaller and more
21902 compatible agains previous versions of the software.
21903
21904 2011-03-08 Ingo Weinzierl <ingo@intevation.de>
21905
21906 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
21907 New. This service will retrieve a list of provided rivers.
21908
21909 * doc/conf/conf.xml: Added a configuration for the RiverService.
21910
21911 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
21912
21913 * doc/conf/conf.xml: Added a section user-factory and collection-factory in
21914 the factories part of the configuration.
21915
21916 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
21917
21918 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
21919 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider'
21920 attribute.
21921
21922 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
21923
21924 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
21925 RiverSelect state is called to create the UI part of the describe
21926 document.
21927
21928 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
21929 Implemented the dynamic UI part of describe(). The static part is not
21930 inserted into the describe document at the moment. We need a reference to
21931 the previous states for this.
21932
21933 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
21934
21935 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
21936 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model
21937 class that represents a river and its factory to create concrete river
21938 instances.
21939 NOTE: Currently, this is just a mockup. The factory just returns two
21940 static rivers "Mosel" and "Saar" without a connection to a backend.
21941
21942 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
21943
21944 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The
21945 input data of a state is initialized with empty StateData objects after
21946 the State has been created.
21947
21948 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states
21949 which now fits better to the class name of the implementation.
21950
21951 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
21952
21953 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
21954 describe document returned by this artifact now contains the current state
21955 and the reachable states.
21956
21957 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
21958
21959 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
21960 The transitions are put into the TransitionEngine with the ID of the state
21961 - not longer with the artifact name. On this way, we are able to fetch
21962 just the transitions for a specific state, instead of all the transitions
21963 of an artifact.
21964
21965 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
21966
21967 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe()
21968 returns the artifact's uuid and hash value. The whole implementation of
21969 describe() is still outstanding.
21970
21971 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
21972
21973 * doc/conf/artifacts/winfo.xml: Removed useless config stuff.
21974
21975 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
21976 useless methods, and improved the init process - the first state is set as
21977 the current state for this artifact.
21978
21979 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
21980 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New.
21981 The states are used in the first two steps of the WINFOArtifact.
21982 Currently, they just implement stubs of the necessary methods setup() and
21983 describe().
21984
21985 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
21986
21987 * src/main/java/de/intevation/flys/artifacts/states/State.java,
21988 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java,
21989 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java:
21990 Removed. These classes are placed in the artifact-database now.
21991
21992 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java,
21993 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
21994 Adapted imports of Transition.
21995
21996 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New.
21997 This factory should be used to create concrete State objects.
21998
21999 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
22000 a constant key to store the StateEngine in the context.
22001
22002 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
22003 New method that initializes the states at application start.
22004
22005 2011-02-03 Ingo Weinzierl <ingo@intevation.de>
22006
22007 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The
22008 interface description of a state.
22009
22010 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java,
22011 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
22012 New. The interface description and a default implementation of a
22013 transition.
22014
22015 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java:
22016 New. The TransitionEngine stores all transitions for each artifact and
22017 should be used to determine, if an artifact can advance from one state to
22018 another.
22019
22020 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
22021 New. Transitions should be created by using this class.
22022
22023 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New.
22024 The Flys context. It currently defines keys to store important components
22025 in the context.
22026
22027 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
22028 New. The context factory initializes the basic components of the
22029 application. Currently, the TransitionEngine is created and all artifacts
22030 with its transitions are read from the global configuration and stored in
22031 the FLYSContext.
22032
22033 * pom.xml: Added a dependency to the 'artifacts-common' package.
22034
22035 * doc/conf/artifacts/winfo.xml: Corrected the classname of the
22036 DefaultTransition.
22037
22038 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory.
22039
22040 2011-02-02 Ingo Weinzierl <ingo@intevation.de>
22041
22042 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact
22043 server.
22044
22045 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an
22046 WINFO artifact.
22047
22048 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of
22049 an artifact for a WINFO parameterization.
22050
22051 * pom.xml: Set the source code version to 1.5.
22052
22053 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
22054
22055 * src/**, pom.xml: Added initial maven project.
22056 * ChangeLog: new.

http://dive4elements.wald.intevation.org