comparison flys-artifacts/ChangeLog @ 3318:dbe2f85bf160

merged flys-artifacts/2.8
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:35 +0200
parents 0f7abd95c6e2
children ef3cb5421bf7
comparison
equal deleted inserted replaced
2987:98c7a46ec5ae 3318:dbe2f85bf160
1 2012-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java,
4 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java,
5 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java,
6 src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java,
7 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
8 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java,
9 src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java,
10 src/main/java/de/intevation/flys/artifacts/states/PeriodsSelect.java,
11 src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
12 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
13 src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java,
14 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
15 src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java,
16 src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java,
17 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
18 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java,
19 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
20 src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java,
21 src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java,
22 src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java,
23 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
24 src/main/java/de/intevation/flys/artifacts/model/WQFacet.java:
25 Removed same package imports.
26
27 2012-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
28
29 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
30 Lowered log level.
31
32 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
33
34 * doc/conf/meta-data.xml: Allow manual loading of official lines in
35 longitudinal_discharge diagrams.
36
37 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
38
39 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
40 Prevent nasty NPE (hidden by autobox).
41
42 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
43
44 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
45 Suppress data points with values <= 0 because they kill JFreeChart's
46 log/log diagrams.
47
48 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
49
50 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
51 Fixed more SQL syntax errors.
52
53 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
54 Generate more than one SQResult (To my big suprise it's possible).
55
56 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java,
57 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java.
58 src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
59 Made more NPE bullet proof.
60
61 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
62
63 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
64 Fixed problem with string operation precedence.
65
66 2012-07-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
67
68 * doc/conf/meta-data.xml: very basic official lines matching the current
69 artifact (for this it is wrongly placed in previous calc.-part, for
70 now.
71
72 2012-07-13 Christian Lins <christian.lins@intevation.de>
73
74 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java:
75 Create shapefile directory instead of shapefile 'file'.
76
77 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
78
79 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
80 src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java,
81 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
82 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
83 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
84 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
85 Removed translation whitespace.
86
87 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
88
89 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
90 src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
91 Finally! SQResult is build and should be ready for display. :-)
92
93 2012-07-13 Christian Lins <christian.lins@intevation.de>
94
95 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
96 src/main/java/de/intevation/flys/utils/GeometryUtils.java:
97 Fix and workaround NullPointerExceptions.
98
99 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
100
101 * src/main/java/de/intevation/flys/wsplgen/WSPLGENCallable.java,
102 src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
103 src/main/java/de/intevation/flys/wsplgen/JobObserver.java,
104 src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java,
105 src/main/java/de/intevation/flys/wsplgen/Scheduler.java,
106 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
107 src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
108 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
109 src/main/java/de/intevation/flys/artifacts/MapArtifact.java,
110 src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
111 src/main/java/de/intevation/flys/exports/MapGenerator.java:
112 Organized and added missing imports.
113
114 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
115
116 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new
117 functions to reproject an Envelope from one CoordinateReferenceSystem to
118 antoher.
119
120 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
121 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
122 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
123 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
124 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
125 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
126 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
127 src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
128 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
129 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
130 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
131 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
132 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
133 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
134 The getExtent() method will now return the extent of the layer in the
135 coordinate reference system that is configured for the specific river.
136
137 2012-07-13 Ingo Weinzierl <ingo@intevation.de>
138
139 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java,
140 src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java,
141 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java,
142 src/main/java/de/intevation/flys/artifacts/model/WSPLGENLayerFacet.java,
143 src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java,
144 src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java:
145 Moved to subpackage map.
146
147 * src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENLayerFacet.java,
148 src/main/java/de/intevation/flys/artifacts/model/map/WMSLayerFacet.java,
149 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENJob.java,
150 src/main/java/de/intevation/flys/artifacts/model/map/WMSDBLayerFacet.java,
151 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENCalculation.java,
152 src/main/java/de/intevation/flys/artifacts/model/map/WSPLGENReportFacet.java:
153 Moved from upper package.
154
155 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
156
157 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
158 src/main/java/de/intevation/flys/exports/OutputHelper.java,
159 src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
160 Added missing vim lines.
161
162 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
163
164 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
165 src/main/java/de/intevation/flys/exports/OutputHelper.java:
166 Removed trailing whitespace.
167
168 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
169
170 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java,
171 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
172 Removed superfluous imports.
173
174 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
175
176 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
177 Only use first period of the time periods given by the UI.
178
179 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java:
180 Added some more index checking.
181
182 2012-07-13 Raimund Renkert <raimund.renkert@intevation.de>
183
184 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOverviewFacet.java:
185 New. Facet for chart overview in sq relation.
186
187 * src/main/java/de/intevation/flys/exports/sq/SQOverviewGenerator.java:
188 New. Generator for chart overview. This generator is not used jet.
189 Currently we generate the overview on client side by putting all charts in a
190 simple grid, cause the charts rendered by this generator are empty.
191
192 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
193 Added new Facet type.
194
195 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
196 Add facets for overview.
197
198 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
199 Avoid a NPE in legend entry aggregation.
200
201 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
202 Moved log output to avoid NPE.
203
204 * doc/conf/artifacts/minfo.xml:
205 Added new output for chart overview.
206
207 2012-07-13 Raimund Renkert <raimund.renkert@intevation.de>
208
209 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
210 Refactored. Moved some functionality to FLYSContext and OutputHelper.
211
212 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
213 Added 'getOutGenerator' to get a concrete generator. Moved from
214 FLYSArtifactCollection.
215
216 * src/main/java/de/intevation/flys/exports/OutputHelper.java:
217 New. Provides the 'doOut' functionality for FYLSArtifactCollection.
218
219 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
220
221 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
222 Handle the error case of accessing wrong indexed SQ relation
223 more smoothly.
224
225 2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
226
227 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
228 Added access to the data of GSIEBSATZ and SSIEBUNG.
229
230 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
231
232 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
233 Added the left joins to the GSIEBSATZ and SSIEBUNG tables.
234
235 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
236
237 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
238 Do not store null values from database.
239
240 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
241
242 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurements.java:
243 New. Container for measurements. Helps to extract the S/Q fractions.
244
245 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
246 Now uses the measurements container.
247
248 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
249 Added convenience methods to extract the different fractions.
250 DONE: Q, S_SS, S_SF
251 TODO: S_BL_S, S_BL_FG, S_BL_CG, S_BL
252
253 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java,
254 src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
255 Relax existence of SIEBSATZID.
256 We have to use a left join during data extraction anyway.
257 We force the existence of Q because we cannot do the fitting if
258 we don't have them.
259
260 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
261
262 * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java:
263 New. Access to the data from the SedDB.
264
265 * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
266 Load measurements from SedDB.
267
268 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
269 Force NOT NULL for discharge values, too.
270
271 * src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
272 Indentation fix.
273
274 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
275 Iterate over all given periods.
276
277 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
278
279 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java:
280 Fixed wrong logger class.
281
282 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
283
284 src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
285 Filter out the meassures which don't have a related 'Siebsatz'.
286
287 doc/conf/cache.xml: Added forgotten cache for sq-overview.
288
289 src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
290 Added vim line.
291
292 2012-07-12 Christian Lins <christian.lins@intevation.de>
293
294 * doc/conf/default-themes.xml,
295 doc/conf/virtual-themes.xml,
296 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
297 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
298 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
299 src/main/java/de/intevation/flys/themes/ThemeAccess.java:
300 Add showpointlabel style attribute. Refactor some styles to make use of
301 general attributes in the virtual themes.
302
303 * src/main/java/de/intevation/flys/utils/GeometryUtils.java,
304 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
305 Suppress or fix some warnings.
306
307 2012-07-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
308
309 * doc/conf/conf.xml: Fix class name.
310
311 2012-07-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
312
313 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
314 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
315 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
316 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
317 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
318 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
319 src/main/java/de/intevation/flys/exports/ChartExportHelper.java,
320 src/main/java/de/intevation/flys/exports/WstWriter.java,
321 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
322 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
323 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
324 Various cosmetic doc fixes.
325
326 2012-07-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
327
328 * doc/conf/meta-data.xml: Make official lines available in dc for
329 manual loading in longitudinal sections.
330
331 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
332
333 * src/main/java/de/intevation/flys/artifacts/model/sq/Sieve.java:
334 Simulates a sieve to separate the differen fractions from each other.
335
336 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
337
338 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java,
339 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
340 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
341 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
342 Removed trailing whitespace.
343
344 2012-07-11 Christian Lins <christian.lins@intevation.de>
345
346 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java,
347 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
348 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
349 src/main/resources/messages.properties,
350 src/main/resources/messages_de_DE.properties,
351 src/main/resources/messages_en.properties,
352 src/main/resources/messages_de.properties:
353 Delta W(t) chart subtitle now with real values and correct i18n.
354
355
356 2012-07-11 Christian Lins <christian.lins@intevation.de>
357
358 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
359 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
360 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
361 Re-add HYK rendering code again to CrossSectionGenerator (fix for #712).
362
363
364 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
365
366 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java,
367 src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
368 Removed superfluous imports.
369
370 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
371
372 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
373 Made km separating of dates epsilon tolerant and avoid empty date lists.
374
375 2012-07-10 Raimund Renkert <raimund.renkert@intevation.de>
376
377 * src/main/java/de/intevation/flys/artifacts/services/SQKMChartService.java:
378 New. Service that generates an overview chart for measuring points.
379
380 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java:
381 New. Instance of measuring points overview data.
382
383 * src/main/java/de/intevation/flys/artifacts/model/SQOverviewFactory.java:
384 New. Foctory for overview data objects.
385
386 * doc/conf/conf.xml:
387 Added new service to config.
388
389 * src/main/resources/messages.properties,
390 src/main/resources/messages_de_DE.properties,
391 src/main/resources/messages_en.properties,
392 src/main/resources/messages_de.properties:
393 Added i18n strings.
394
395 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
396
397 Fix for issue694.
398
399 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
400 Also resolve edge cases (last/first cross section km).
401
402 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
403
404 Partial fix for issue694 (Heightmarks snap to nearest cross section
405 line).
406
407 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
408 Extended signature of getWaterLines to allow behaviour of only
409 delivering data if it snaps to the km (is closest).
410
411 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
412 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
413 Documentation, updated signature of getWaterLines().
414
415 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
416 Remember if Heightmarks are displayed, if so deliver data
417 only if cross-section is closest (snap).
418
419 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
420 Make next and previous km of cross-sections available as data.
421
422 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
423 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
424 Provide next and previous cross-section km via blackboard, adjusted
425 call to getWaterLines.
426
427 2012-07-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
428
429 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
430 Removed trailing whitespace.
431
432 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
433
434 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
435 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
436 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java,
437 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
438 src/main/java/de/intevation/flys/exports/ChartExportHelper.java,
439 src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java,
440 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
441 src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java,
442 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
443 src/main/java/de/intevation/flys/exports/OutGenerator.java,
444 src/main/java/de/intevation/flys/exports/FlowVelocityGenerator.java:
445 Fix various documentation issues.
446
447 2012-07-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
448
449 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
450 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
451 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
452 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java,
453 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
454 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java,
455 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
456 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java,
457 src/main/java/de/intevation/flys/exports/ChartHelper.java,
458 src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java,
459 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
460 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
461 Fix various issues in the hard-to-find documentation.
462
463 2012-07-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
464
465 * pom.xml: Configure javadoc mojo to include doc for protected/private.
466
467 2012-07-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
468
469 * contrib/themes2html.xsl: Create a list of direct sub themes
470 of a theme.
471
472 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
473
474 * doc/datacage-config-manual/Makefile: New, added Makefile.
475
476 2012-07-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
477
478 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
479 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
480 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
481 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
482 src/main/java/de/intevation/flys/jfree/HasLabel.java:
483 Cosmetics, docs.
484
485 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
486
487 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
488 Fixed XPath typo.
489
490 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
491
492 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
493 Removed dynamic XPaths to pervent potential XPath injections.
494
495 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
496
497 * contrib/themes2html.xsl: New. Transformation to get a better
498 overview of themes.xml. Usage:
499
500 $ xsltproc --path doc/conf \
501 contrib/themes2html.xsl \
502 doc/conf/themes.xml \
503 > themes.xhtml
504
505 Use browser to view the resulting file.
506
507 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
508
509 * doc/conf/second-themes.xml: Name the second themegroup 'second'
510 instead of 'default' to avoid clashes with the real 'default'
511 themegroup.
512
513 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
514
515 * doc/conf/default-themes.xml,
516 doc/conf/virtual-themes.xml,
517 doc/conf/themes.xml,
518 doc/conf/second-themes.xml:
519 Added xml processing instruction.
520
521 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
522
523 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLog.java,
524 src/main/java/de/intevation/flys/artifacts/access/Access.java,
525 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
526 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
527 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorA.java,
528 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorB.java,
529 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorC.java,
530 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorD.java,
531 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorE.java,
532 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorF.java,
533 src/main/java/de/intevation/flys/exports/ChartArea.java,
534 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
535 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java:
536 Added vim lines.
537
538 2012-07-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
539
540 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
541 src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
542 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
543 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
544 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
545 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java:
546 Replaced tabs with four spaces each.
547
548 2012-07-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
549
550 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
551 src/main/java/de/intevation/flys/exports/ChartArea.java,
552 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
553 Removed superfluous imports.
554
555 2012-07-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
556
557 * src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java,
558 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
559 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
560 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
561 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
562 Removed trailing whitespace.
563
564 2012-07-06 Christian Lins <christian.lins@intevation.de>
565
566 * doc/conf/*-themes.xml,
567 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
568 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
569 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
570 src/main/java/de/intevation/flys/jfree/StyledValueMarker.java,
571 src/main/java/de/intevation/flys/jfree/StyledDomainMarker.java,
572 src/main/resources/messages.properties,
573 src/main/resources/messages_de_DE.properties,
574 src/main/resources/messages_en.properties,
575 src/main/resources/messages_de.properties:
576 Add styles for W(t) domain markers.
577
578 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
579 Remove false @override.
580
581 2012-07-06 Christian Lins <christian.lins@intevation.de>
582
583 * doc/conf/themes.xml,
584 doc/conf/second-themes.xml,
585 doc/conf/default-themes.xml:
586 Add missing themes for fixation charts.
587
588 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
589
590 Fix issue705 (names for mainvalues in export).
591
592 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
593 Documentation and use NamedMainValues irrespective of WQ-type (
594 single vs range).
595
596 2012-07-06 Christian Lins <christian.lins@intevation.de>
597
598 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
599 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
600 W(t) chart label rotation now working (see #684)
601
602 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
603
604 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
605 Removed solved TODO.
606
607 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
608
609 Fix issue710 (crashing diagrams with only one point).
610
611 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
612 Expand the range/bounds where its added.
613
614 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
615
616 * src/main/java/de/intevation/flys/exports/ChartGenerator.java
617 (expandPointRange): Fix weird code with help of new ChartHelper
618 method.
619
620 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
621
622 * src/main/java/de/intevation/flys/exports/ChartHelper.java
623 (expandBounds): New, expand bounds by given percentage.
624
625 2012-07-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
626
627 * src/main/java/de/intevation/flys/artifacts/math/Distance.java:
628 New distance helper module.
629
630 2012-07-06 Christian Lins <christian.lins@intevation.de>
631
632 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
633 Remove debugging code.
634
635 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
636 Remove HYK references and code.
637
638 2012-07-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
639
640 * doc/datacage-config-manual/datacage-config-manual.tex:
641 Changed inclusions to include new content file.
642
643 * doc/datacage-config-manual/content.tex: Content from doc/datacage.txt,
644 xml formatted.
645
646 2012-07-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
647
648 * doc/datacage-config-manual/datacage-config-manual.tex,
649 doc/datacage-config-manual/README,
650 doc/datacage-config-manual/title.tex:
651 Added stub of tex-version of datacage config documentation.
652
653 2012-07-05 Christian Lins <christian.lins@intevation.de>
654
655 * doc/*-themes.xml:
656 Add textorientation field.
657
658 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
659 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
660 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
661 src/main/java/de/intevation/flys/exports/ChartArea.java:
662 Move annotation related code to base class ChartGenerator.
663
664 2012-07-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
665
666 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
667 Prevent casting exception.
668
669 2012-07-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
670
671 issue487 (wrong area calculation).
672
673 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
674 Fix area calculation.
675
676 2012-07-04 Ingo Weinzierl <ingo@intevation.de>
677
678 * doc/conf/themes.xml: Moved theme groups to own XML files to improve the
679 structure.
680
681 * doc/conf/second-themes.xml,
682 doc/conf/default-themes.xml,
683 doc/conf/virtual-themes.xml: New XML files for themes / theme groups; each
684 theme group in one single file.
685
686 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
687 Improved logging; print number of theme groups and themes in it as INFO.
688
689 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
690
691 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
692 Only show labels if enabled in theme. Commented (failed) trials to get the
693 text rotation right.
694
695 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
696
697 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
698 Fix certain AIOOBs that were caused by the fact that QWDs can end up in two
699 different series.
700
701 2012-07-03 Raimund Renkert <raimund.renkert@intevation.de>
702
703 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
704 Implemented mergeRanges to combine y bounds in timeseries charts.
705
706 2012-07-03 Raimund Renkert <raimund.renkert@intevation.de>
707
708 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveInfoGenerator.java,
709 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtInfoGenerator.java:
710 New. Added chart info generator for WQ and delta W(t) chart.
711
712 * doc/conf/conf.xml:
713 Added info generators to config.
714
715 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
716
717 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
718 Very basic, unstyled, always-on labels of points in DeltaWt-Diagrams.
719
720 2012-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
721
722 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
723 Replaced Arrays.asList(new String[] { "a", "b" }).contains("a") code.
724
725 2012-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
726
727 * doc/conf/themes.xml,
728 src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
729 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
730 src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
731 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java,
732 src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java,
733 src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
734 Removed trailing whitespace.
735
736 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
737
738 * doc/conf/themes.xml: Added missing themes for middle bed height curves.
739
740 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
741
742 * src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java,
743 src/main/java/de/intevation/flys/artifacts/access/FlowVelocityAccess.java:
744 New Access objects to access relevant information of Artifacts specific
745 to bed heights and flow velocity calculations.
746
747 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java,
748 src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java,
749 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
750 src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java,
751 src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
752 Use *Access objects to get required information from Artifact.
753
754 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Moved
755 methods to access specific information for calculations to *Access
756 objects.
757
758 2012-07-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
759
760 Fix issue695 (labeling of waterlines).
761
762 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
763 (doCrossSectionWaterLineOut): Handle labels more individually.
764
765 * src/main/java/de/intevation/flys/jfree/XYStyle.java
766 (applyShowLineLabel): Tell renderer that there is something to do in case
767 any label is switched on.
768
769 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
770
771 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
772 src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java,
773 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
774 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
775 src/main/java/de/intevation/flys/artifacts/model/DifferenceCurveFacet.java,
776 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
777 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
778 src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java,
779 src/main/java/de/intevation/flys/artifacts/geom/Lines.java,
780 src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java,
781 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
782 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
783 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
784 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
785 src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java,
786 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
787 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
788 src/main/java/de/intevation/flys/themes/ThemeAccess.java,
789 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
790 Fixed various bugs (package declarations, moved classes to correct
791 places).
792
793 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
794
795 * doc/conf/themes.xml: Removed line properties from fixation point themes
796 and added missing point properties.
797
798 2012-07-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
799
800 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
801 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java,
802 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
803 Cosmetics.
804
805 2012-07-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
806
807 issue654.
808
809 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
810 Do not include type in hash for legend item.
811
812 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
813
814 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
815 Generate CSV for facet 'fix_parameters'.
816
817 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
818 Be more eloquent on which kind of facet the exporter does not
819 like.
820
821 2012-07-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
822
823 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
824 Made it more symmetrical to FixationCompute.
825
826 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
827 Removed fake result stuff. Fetch parameters from SQRelationAccess.
828
829 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
830
831 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java:
832 Remove some evidence that the authors of this software
833 do not know Java at all.
834
835 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
836
837 Part of flys/issue687
838
839 * src/main/java/de/intevation/flys/exports/ATWriter.java:
840 New. Samples fitting function to AT files.
841
842 !!! Untested and expected to be slightly broken. !!!
843
844 * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java:
845 Made some formatting things public to be reusable.
846
847 * src/main/resources/messages.properties,
848 src/main/resources/messages_de_DE.properties,
849 src/main/resources/messages_en.properties,
850 src/main/resources/messages_de.properties:
851 Added i18n strings for AT headers.
852
853 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
854
855 * doc/conf/artifact-db.xml,
856 doc/conf/cache.xml,
857 doc/conf/meta-data.xml: Removed trailing whitespace.
858
859 2012-07-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
860
861 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
862 Removed embedded class IdGenerator.
863
864 * src/main/java/de/intevation/flys/utils/IdGenerator.java:
865 New. Re-added the id generator as top level class.
866
867 2012-06-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
868
869 Added parameter exporter for fixings analysis.
870 Part of flys/issue689
871
872 * src/main/java/de/intevation/flys/exports/fixings/ParametersExporter.java:
873 New. Exports the contents of the parameters of the fix analysis.
874
875 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
876 Added visitor interface to visit all rows of the parameters.
877
878 * doc/conf/artifacts/fixanalysis.xml: Added new facet for
879 parameter export.
880
881 * doc/conf/conf.xml: Register the new parameter exporter.
882
883 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
884 Added facet type.
885
886 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
887 Fixed indentation.
888 Removed some programming oddities.
889 Create facet for parameter export.
890
891 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
892 Removed code which is already contained in the base class.
893
894 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
895 Cleaned up code.
896
897 2012-06-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
898
899 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
900 Deleted
901
902 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
903 Re-added here
904
905 * doc/conf/conf.xml: Adjusted package name of DeltaWtExporter.
906
907 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
908
909 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveInfoGenerator.java:
910 New. Added chart info companion for FixDerivedCurveGenerator.
911
912 * doc/conf/conf.xml: Added to configuration.
913
914 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
915 Code clean up.
916
917 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFunction.java:
918 Simplified. Not Serializable any more because its only a transient object.
919
920 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
921 Clean up. Simplified. Removed dependency from Function2DAdapter because
922 we are doing our own sampling.
923
924 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionInfoGenerator.java:
925 Removed empty last line.
926
927 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
928 Small cosmetics.
929
930 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
931 Do not notify listeners when add data series.
932
933 * src/main/java/de/intevation/flys/jfree/Function2DAdapter.java:
934 Removed. Obsolete.
935
936 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
937
938 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
939 Removed superfluous import.
940
941 2012-06-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
942
943 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionInfoGenerator.java:
944 New. Added chart info companion for FixLongitudinalSectionGenerator.
945
946 * doc/conf/conf.xml: Added to configuration.
947
948 2012-06-29 Christian Lins <christian.lins@intevation.de>
949
950 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
951 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
952 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
953 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java,
954 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
955 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
956 Unfinished work on generalizing annotations in ChartGenerators.
957
958 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
959
960 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
961 Fixed parameter name.
962
963 * src/main/resources/messages_de_DE.properties,
964 src/main/resources/messages_de.properties:
965 Fixed typo.
966
967 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
968
969 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
970 Finished the access to the S/Q relation stuff.
971
972 * doc/conf/artifacts/minfo.xml:
973 State "state.minfo.sq.periods" returns the value as string
974 symmetrical to state "state.fix.analysisperiods".
975
976 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java:
977 Deleted.
978
979 * src/main/java/de/intevation/flys/artifacts/model/DateRange.java:
980 Re-added here because its of use not only in the fix analysis
981 but also in the S/Q relation.
982
983 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
984 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
985 src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java,
986 src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java,
987 src/main/java/de/intevation/flys/artifacts/access/Access.java,
988 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
989 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
990 Adjusted the imports for the moved DateRange.
991
992 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
993
994 * src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java:
995 New. Artifact access for the S/Q relation. TODO: Add more parameters.
996
997 * src/main/java/de/intevation/flys/artifacts/access/Access.java:
998 Remove trailing whitespace.
999
1000 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
1001 Added more debug output.
1002
1003 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1004
1005 * src/main/java/de/intevation/flys/artifacts/access/Access.java: New.
1006 Base class for *Access of FLYSArtifacts.
1007
1008 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
1009 Extends Access now.
1010
1011 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1012
1013 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java:
1014 Removed dead code.
1015
1016 2012-06-28 Christian Lins <christian.lins@intevation.de>
1017
1018 * doc/conf/themes.xml,
1019 src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1020 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
1021 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1022 src/main/java/de/intevation/flys/themes/ThemeAccess.java:
1023 Set text orientation to horizontal for points in Fixation W/Q curve.
1024
1025 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1026 Fix overlapping indices of facets.
1027
1028 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1029
1030 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
1031 Added method to figure out which discharge sectors of the
1032 the analysis periods really contains data.
1033
1034 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1035 Only emit analysis period / discharge sectors which really contain data.
1036
1037 2012-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1038
1039 Moved FixationArtifactAccess into own package access because there are
1040 more *Access to come e.g. SQRelationAccess.
1041
1042 TODO: Refactor the code for WINFO to use this *Access pattern. This
1043 results in much cleaner, better scaling and better understandable code.
1044
1045 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java: Deleted.
1046 * src/main/java/de/intevation/flys/artifacts/access/FixationArtifactAccess.java: New.
1047
1048 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
1049 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
1050 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
1051 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
1052 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
1053 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
1054 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
1055 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
1056 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
1057 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
1058 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
1059 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
1060 src/main/java/de/intevation/flys/artifacts/access,
1061 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
1062 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1063 Adjusted imports.
1064
1065 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
1066 Removed superfluous imports.
1067
1068 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1069
1070 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
1071 If fitting fails for tolerance of 1e-10 increase it incremental
1072 by factor of 10 to 1e-3 and only bail out if it fails on this level.
1073
1074 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1075
1076 * src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java:
1077 Fixed da/dQ but the fitting still does not work for the function. :-/
1078
1079 2012-06-27 Christian Lins <christian.lins@intevation.de>
1080
1081 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1082 Show only dates as point labels.
1083
1084 2012-06-27 Christian Lins <christian.lins@intevation.de>
1085
1086 * doc/conf/conf.xml:
1087 Fix typo in generator class for fix_longitudinal_section_curve
1088
1089 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1090
1091 Create and handle new manual line facets.
1092
1093 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
1094 Added new constructor to play nice with upcoming facet-type.
1095
1096 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
1097 Added functionality to serve as WaterLineFacet (calculate water
1098 line against cross section profile).
1099
1100 * src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
1101 Extended to generate cross section water line facets, too.
1102
1103 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
1104 Handle new Facet Type.
1105
1106 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1107
1108 FacetType for upcoming cross_section.manualline facet.
1109
1110 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1111 Added Facet Type and IS-helper dor upcoming facet.
1112
1113 2012-06-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1114
1115 Configure Themes and compatibility of upcoming
1116 cross_section.manualline facet.
1117
1118 * doc/conf/artifacts/winfo.xml,
1119 doc/conf/artifacts/manualpoint.xml:
1120 Add upcoming facet to compatibility lists.
1121
1122 * doc/conf/themes.xml: Register theme for upcoming facet.
1123
1124 2012-06-27 Christian Lins <christian.lins@intevation.de>
1125
1126 * doc/conf/conf.xml:
1127 Add output generator for 'fix_derived_curve'
1128
1129 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1130 Add some ugly formatted point labels.
1131
1132 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1133
1134 Moved describe() and the generating of output into FLYSArtifact.
1135
1136 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
1137 This the base class so it should contain common code!
1138
1139 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
1140 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
1141 src/main/java/de/intevation/flys/artifacts/ChartArtifact.java,
1142 src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java,
1143 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
1144 Moved common code into base class.
1145
1146 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1147 Removed superfluous imports.
1148
1149 2012-06-27 Christian Lins <christian.lins@intevation.de>
1150
1151 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1152 Use JFreeUtil.sampleFunction2D() to sample a StyledXYSeries.
1153
1154 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
1155 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
1156 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
1157 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
1158 Add ctor with addtional custom facet index parameter.
1159
1160 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1161 Introduce IdGenerator to generate unique facets IDs within an output,
1162 so themes can now be applied properly to points and lines.
1163
1164 2012-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1165
1166 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
1167 Removed some expensive XPath usage. Some quick profiling
1168 showed that up to 7% of our code (excluding Hibernate, H2, Restlet, etc.)
1169 were spend in these XPaths. A lot of time
1170
1171 !!! Please, please, dear fellow programmers do not use XPath for fetching
1172 !!! trivial things that are easily accessible via DOM, too!
1173
1174 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1175
1176 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java,
1177 src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java:
1178 Refactored to better fit the data types of SQResult.
1179
1180 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1181
1182 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
1183 Removed trailing whitespace.
1184
1185 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1186
1187 * src/main/java/de/intevation/flys/artifacts/model/sq/SQ.java:
1188 Added method to validate point.
1189
1190 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
1191 Added method to callback to re-initialize the function to fit.
1192
1193 * src/main/java/de/intevation/flys/artifacts/model/sq/Fitting.java:
1194 New. Shell for fitting of one SQ fraction.
1195
1196 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1197 Removed superfluous import.
1198
1199 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1200
1201 * src/main/java/de/intevation/flys/artifacts/model/sq/Outlier.java:
1202 New. Specialized outlier test for the S/Q relation.
1203 Outliers are accepted in multiples of the standard deviation.
1204
1205 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1206
1207 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1208 Only generate outlier facet when we done the prepocessing.
1209
1210 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1211
1212 Enable legend aggregation in time series charts.
1213
1214 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1215 Call super.aggregateLegendEntries.
1216
1217 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1218
1219 Legend Item Aggregation refactoring.
1220
1221 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1222 src/main/java/de/intevation/flys/exports/ChartGenerator.java
1223 (aggregateLegendEntries): Moved up from XYChartGenerator to ChartGenerator.
1224
1225 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1226
1227 Legend Item Aggregation refactoring.
1228
1229 * src/main/java/de/intevation/flys/exports/LegendProcessor.java:
1230 New (extracted from XYChartGenerator).
1231
1232 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1233 Extracted legend item aggregation to LegendProcessor.
1234
1235 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1236
1237 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1238 Removed trailing whitespace.
1239
1240 2012-06-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1241
1242 Minor polish for LegendItem-Aggregation.
1243
1244 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1245  Define and use static SPACE Shape.
1246
1247 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1248
1249 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
1250 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
1251 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
1252 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
1253 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
1254 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java:
1255 Completed inverse stubs.
1256
1257 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1258
1259 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
1260 Register the singletons instead of new objects.
1261
1262 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
1263 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
1264 src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java,
1265 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java,
1266 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
1267 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
1268 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
1269 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java:
1270 Link the functions to there inverses via getInverse().
1271
1272 2012-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1273
1274 Implemenation of the inverses of the fitting functions. Needed
1275 for the AT export of the calculated curves.
1276
1277 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
1278 Added abstract method getInverse() to get the inverse of the
1279 function.
1280
1281 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
1282 src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java,
1283 src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java,
1284 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java,
1285 src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
1286 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java,
1287 src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java:
1288 Implements the getInverse() method.
1289
1290 * src/main/java/de/intevation/flys/artifacts/math/fitting/InvLog.java,
1291 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLogLinear.java,
1292 src/main/java/de/intevation/flys/artifacts/math/fitting/InvQuad.java,
1293 src/main/java/de/intevation/flys/artifacts/math/fitting/InvPow.java,
1294 src/main/java/de/intevation/flys/artifacts/math/fitting/InvExp.java,
1295 src/main/java/de/intevation/flys/artifacts/math/fitting/InvSQPow.java,
1296 src/main/java/de/intevation/flys/artifacts/math/fitting/InvLinear.java:
1297 Implements the inverses of the function above. Some are still
1298 stubs.
1299
1300 2012-06-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1301
1302 Fix issue663 ("step" curves for Q).
1303
1304 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
1305 (addStepPointsKmQ): New, add "step" points for series.
1306
1307 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
1308 Use new StyledSeriesBuilder function.
1309
1310 2012-06-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1311
1312 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1313 Fix LegendAggregation; prevent single aggregated legend item to
1314 overflow by splitting it into many, but iconless legenditems.
1315
1316 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1317
1318 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1319 Fixed typo in I18N key.
1320
1321 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1322
1323 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1324 Finished I18N.
1325
1326 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
1327 Accept callback to label legend items.
1328
1329 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: Added interface
1330 LabelGenerator to create labels for entries.
1331
1332 * src/main/resources/messages.properties,
1333 src/main/resources/messages_de_DE.properties,
1334 src/main/resources/messages_en.properties,
1335 src/main/resources/messages_de.properties:
1336 Added strings.
1337
1338 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1339
1340 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java:
1341 Removed trailing whitespace.
1342
1343 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1344
1345 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
1346 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
1347 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java,
1348 src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
1349 Removed superfluous imports.
1350
1351 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1352
1353 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1354 Uses I18N now.
1355
1356 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
1357 Added convenience constructor for creating date formatters with strings.
1358
1359 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
1360 Added variadic method format().
1361
1362 * src/main/resources/messages.properties,
1363 src/main/resources/messages_de_DE.properties,
1364 src/main/resources/messages_en.properties,
1365 src/main/resources/messages_de.properties:
1366 Added strings.
1367
1368 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
1369
1370 * src/main/java/de/intevation/flys/exports/fixings/FixLongitudinalSectionGenerator.java:
1371 New. Generator for longitudinal sections in fix analysis.
1372
1373 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalDeviationFacet.java,
1374 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalAnalysisFacet.java,
1375 src/main/java/de/intevation/flys/artifacts/model/fixings/FixLongitudinalReferenceFacet.java:
1376 New. Facets for longitudinal sections chart in fix analysis.
1377
1378 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1379 Added new facet types.
1380
1381 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1382 Add facets for new chart.
1383
1384 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1385 Fixed NPE.
1386
1387 * doc/conf/artifacts/fixanalysis.xml:
1388 Added facets to config.
1389
1390 * doc/conf/themes.xml:
1391 Added new themes.
1392
1393 * doc/conf/conf.xml:
1394 Added new chart generator.
1395
1396 * src/main/resources/messages.properties,
1397 src/main/resources/messages_de_DE.properties,
1398 src/main/resources/messages_en.properties,
1399 src/main/resources/messages_de.properties:
1400 Added i18n strings.
1401
1402 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
1403
1404 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1405 Look for the attribut "outline" to render shape outlines in charts.
1406
1407 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1408 Add the "outline" attribute.
1409
1410 2012-06-25 Raimund Renkert <raimund.renkert@intevation.de>
1411
1412 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1413 Do not add entries ending with " " to legend.
1414
1415 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1416
1417 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1418 Prevent that the plot becomes to small if only one point is drawn.
1419
1420 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1421
1422 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
1423 Added debug output about the concrete coeffs found by the fitting.
1424
1425 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
1426 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java:
1427 Re-checked the partial deviations to the coeffs. Write the formulas
1428 more human readable.
1429
1430 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1431
1432 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: If a label collides
1433 with a other labels try to draw it on the other side of the point.
1434 This results in more labeled points which is useful because you cannot zoom
1435 in for details in the fixings km chart.
1436
1437 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
1438 Paint measured points blue and interpolated green.
1439
1440 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1441 Set background color to white.
1442
1443 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1444
1445 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
1446 Interpolated and measured values where switched.
1447
1448 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1449
1450 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1451 Label the points in diagram and show if they are interpolated or not.
1452
1453 * src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java:
1454 New. Extended XYSeriesCollection to cope with QWs
1455
1456 * src/main/java/de/intevation/flys/utils/Formatter.java: Added formatters
1457 to be fetched only over CallMeta. CallContext are not present in services.
1458
1459 * src/main/java/de/intevation/flys/java2d/ShapeUtils.java: New. Some code
1460 to handle Shapes.
1461
1462 * src/main/java/de/intevation/flys/jfree/ShapeRenderer.java: New. Shape
1463 renderer. This is a simplified version of the shape renderer
1464 from fixings analysis in desktop FLYS.
1465
1466 2012-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1467
1468 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
1469 Re-added accidentially removed code.
1470
1471 2012-06-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1472
1473 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1474 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1475 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
1476 src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
1477 Removed trailing whitespace.
1478
1479 2012-06-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1480
1481 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
1482 Removed TODOs about I18N
1483
1484 * src/main/resources/messages.properties,
1485 src/main/resources/messages_de_DE.properties,
1486 src/main/resources/messages_en.properties,
1487 src/main/resources/messages_de.properties:
1488 Added strings for fixing analysis.
1489
1490 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1491
1492 * src/main/java/de/intevation/flys/utils/KMIndex.java:
1493 OpenJDK javac 1.6.0_24 seems to be more picky about
1494 correct usage of generics.
1495
1496 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1497
1498 * contrib/add-i18n-numbers.py: New. Script to prefix
1499 the values of property files with a small number to
1500 make the keys identifiable even through the UI.
1501
1502 Apply in the same manner as contrib/check-i18n-properties.py
1503
1504 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1505
1506 * src/main/resources/messages_de.properties,
1507 src/main/resources/messages.properties,
1508 src/main/resources/messages_de_DE.properties:
1509 Repaired inconsistencies.
1510
1511 2012-06-24 Christian Lins <christian.lins@intevation.de>
1512
1513 * src/main/java/de/intevation/flys/utils/ThemeUtil.java,
1514 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1515 src/main/java/de/intevation/flys/themes/ThemeFactory.java,
1516 src/main/java/de/intevation/flys/jfree/XYStyle.java:
1517 Add debug logs.
1518
1519 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
1520 src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
1521 Draw the W/Q function as StyledXYSeries.
1522
1523 2012-06-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1524
1525 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1526 Re-enable legend entry aggregation, take the threshold from
1527 settings.
1528
1529 2012-06-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1530
1531 * src/main/java/de/intevation/flys/exports/ChartSettings.java:
1532 Parse and set legend aggregation value.
1533
1534 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1535
1536 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java,
1537 src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java,
1538 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
1539 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
1540 Removed trailing whitespace.
1541
1542 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1543
1544 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1545 Added bug output when creating Q sector markers.
1546
1547 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
1548 Added toString() method.
1549
1550 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1551
1552 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1553 Set the aggregation threshold value.
1554
1555 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1556
1557 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java,
1558 src/main/java/de/intevation/flys/collections/OutputParser.java:
1559 Cosmetics, doc.
1560
1561 2012-06-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1562
1563 * src/main/java/de/intevation/flys/exports/WstWriter.java:
1564 Cosmetics.
1565
1566 2012-06-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1567
1568 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
1569 Draw domain markers for borders of Q sectors. There is some kind of glitch
1570 in in the Q sector classifaction code or the db data is strange.
1571
1572 Because of the common code basis this affects the fixings calculations, too. :-(
1573
1574 2012-06-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1575
1576 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
1577 Calculate the standard deviation of the Q sector delta Ws, too.
1578
1579 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
1580 Store the standard deviation of the Q sector delta Ws, too.
1581 Indexed 0..3; NaN means the std dev for this sector is not existing.
1582
1583 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1584
1585 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
1586 added method getSectorBorder(int). With this method you can figure
1587 the three discharge sector borders. Returns NaN if border is
1588 not there. Usage:
1589
1590 GaugeFinderFactory ggf = GaugeFinderFactory.getInstance();
1591 GaugeFinder gf = ggf.getGaugeFinder("Elbe");
1592 if (gf == null) { /* FAIL */ }
1593 GaugeRange gr = gf.find(km); // km is the km where you are.
1594 if (gr == null) { /* FAIL */ }
1595
1596 double m0 = gr.getSectorBorder(0); // Draw as marker if not NaN
1597 double m1 = gr.getSectorBorder(1); // Draw as marker if not NaN
1598 double m2 = gr.getSectorBorder(2); // Draw as marker if not NaN
1599
1600 Labels should be:
1601 '(MNQ+MQ)/2' for m0
1602 '(MQ+MHQ)/2' for m1
1603 'HQ5' for m2
1604
1605 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1606
1607 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinderFactory.java:
1608 New. Cache access to per river gauge finders. This very useful
1609 if you want to draw the discharge sectors of river at a given
1610 km into a diagram.
1611
1612 * doc/conf/cache.xml: Added cache 'gauge-finders'.
1613
1614 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
1615 Added find(double km) method to find GaugeRange by km.
1616
1617 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
1618 Uses the instance of the GaugeFinderFactory to access the
1619 gauge ranges.
1620
1621 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
1622 Simplified code.
1623
1624 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1625
1626 * src/main/java/de/intevation/flys/artifacts/model/GaugeFinder.java:
1627 New. Moved out of FixingsOverview.
1628
1629 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
1630 Moved GaugeFinder into top level class.
1631
1632 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1633
1634 * src/main/java/de/intevation/flys/artifacts/model/GaugeRange.java:
1635 New. Moved out of FixingsOverview.
1636
1637 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
1638 Moved GaugeRange into top level class.
1639
1640 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1641
1642 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1643 Prevent some NPEs.
1644 !!! This is not a fix for the real problem !!!
1645
1646 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1647
1648 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java,
1649 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
1650 src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1651 Removed superfluous imports.
1652
1653 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1654
1655 * src/main/java/de/intevation/flys/artifacts/model/Range.java:
1656 New. Moved out of FixingsOverview.
1657
1658 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
1659 Moved Range into top level class.
1660
1661 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
1662 src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java,
1663 src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
1664 Adjusted imports.
1665
1666 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1667
1668 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
1669 Fixed problem with select the wrong meta data (date, descriptions, etc.)
1670 for a data column.
1671
1672 2012-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1673
1674 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
1675 Fixed stupid i/j switch bug.
1676
1677 2012-06-21 Raimund Renkert <raimund.renkert@intevation.de>
1678
1679 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1680 Updated i18n.
1681
1682 * src/main/resources/messages.properties,
1683 src/main/resources/messages_de_DE.properties,
1684 src/main/resources/messages_en.properties,
1685 src/main/resources/messages_de.properties:
1686 Added i18n string for delta W(t) chart.
1687
1688 2012-06-21 Raimund Renkert <raimund.renkert@intevation.de>
1689
1690 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1691 Added attribution for single series styling.
1692
1693 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
1694 Skip legend items for interpolated point series.
1695
1696 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1697 Split analysis and reference points into two chart series. Added attribute
1698 for interpolated points for different styling.
1699
1700 * src/main/java/de/intevation/flys/jfree/Style.java:
1701 Added getter for renderer.
1702
1703 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
1704 Implemented getter for renderer.
1705
1706 2012-06-21 Christian Lins <christian.lins@intevation.de>
1707
1708 * doc/conf/artifacts/fixanalysis.xml,
1709 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1710 Split fix_sector_average_wq in four facet types, one for each class (_0, _1, ..)
1711
1712 * doc/conf/themes.xml:
1713 Update themes for WQ curve
1714
1715 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1716 Fix for small issue with sector average points
1717
1718 2012-06-21 Christian Lins <christian.lins@intevation.de>
1719
1720 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1721 Adapt doAverageSectorOut() to reflect changes in Facet.
1722
1723 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
1724
1725 Added delta W(t) chart in fix analysis.
1726
1727 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
1728 Added facet types for deta W(t) chart.
1729
1730 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
1731 Changed facet index to determine the sector index and the analysis period
1732 index.
1733
1734 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
1735 Calculate a facet index including the sector index and the analysis period
1736 index.
1737 Added new facet for delta W(t) chart.
1738
1739 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDeviationFacet.java:
1740 New. Facet to display the standard deviation in delta W(t) chart.
1741
1742 * src/main/java/de/intevation/flys/exports/fixings/FixDeltaWtGenerator.java:
1743 New. Generator for the delta W(t) chart.
1744
1745 * doc/conf/artifacts/fixanalysis.xml:
1746 Updated facets in outputmodes.
1747
1748 * doc/conf/conf.xml:
1749 Added output generator to config.
1750
1751 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
1752
1753 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
1754 New methods to add domain and value axis markers to the plot.
1755
1756 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
1757
1758 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
1759 Added reference events to CSV export.
1760
1761 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
1762
1763 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
1764 Changed data type from QW[] to QWD[] to have delta Ws in reference events.
1765
1766 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
1767
1768 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
1769 Moved function instantiation to alway have a valid function instance.
1770
1771 2012-06-20 Raimund Renkert <raimund.renkert@intevation.de>
1772
1773 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
1774 Fixed binary search.
1775
1776 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1777
1778 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
1779 Bring binarySearch with epsilon more to source of binarySearch of Collections.
1780 Still not working properly. Why?
1781
1782 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1783
1784 Avoid problems with corrected Ws in cross-sections; hacky solution,
1785 issue680.
1786
1787 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
1788 (waterLineC): New, get corrected W.
1789
1790 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
1791 Create C-facet with other index.
1792
1793 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1794
1795 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1796 Cosmetics, doc.
1797
1798 2012-06-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1799
1800 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
1801 Cosmetics, doc.
1802
1803 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1804
1805 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
1806 Now respects the selected events and reference period correctly.
1807
1808 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
1809 referenceStart and referenceEnd are now melted into referencePeriod.
1810
1811 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
1812 Add a new filter IdsFilter which is more efficent to check than a
1813 OrFilter with a list of IdFilters inside.
1814
1815 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
1816 Expose the new IdsFilter to the XML representation in form of
1817 <columns cids="<list of whitespace separated ids"/>
1818
1819 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
1820
1821 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
1822 Fixed broken naming of chart curves.
1823
1824 * src/main/resources/messages.properties,
1825 src/main/resources/messages_de_DE.properties,
1826 src/main/resources/messages_en.properties,
1827 src/main/resources/messages_de.properties: Renamed facets for SQ
1828 relation chart curves.
1829
1830 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
1831
1832 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
1833 Create a compound index value for SQOutlierFacets. This index is based
1834 on the index of the result object (to get the correct data) and the
1835 iteration of the outliers. This compound index is used to make
1836 SQOutlierFacets unique to FLYSCollection's DESCRIBE document.
1837
1838 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java:
1839 Parse the index of the result object and the iteration number from index
1840 property.
1841
1842 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
1843 Added some more debug output.
1844
1845 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
1846
1847 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
1848 Create only SQ objects with values > 0. Otherwise JFreeChart will break
1849 during chart creation (values for logarithmic axes have to be > 0).
1850
1851 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
1852
1853 * doc/conf/themes.xml: Adjusted the color of SQ Facets (lines and points)
1854 as shown in examples.
1855
1856 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
1857
1858 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
1859 Create new Facets with proper i18n label.
1860
1861 * src/main/resources/messages.properties,
1862 src/main/resources/messages_de_DE.properties,
1863 src/main/resources/messages_en.properties,
1864 src/main/resources/messages_de.properties: Added i18n strings for facet
1865 names.
1866
1867 2012-06-20 Ingo Weinzierl <ingo@intevation.de>
1868
1869 * src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorA.java,
1870 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorB.java,
1871 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorC.java,
1872 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorD.java,
1873 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorE.java,
1874 src/main/java/de/intevation/flys/exports/sq/SQRelationGeneratorF.java:
1875 New concrete chart generators. Each fraction of the SQ relation
1876 calculation has its own generator now. This is because they all have
1877 different chart titles and labels.
1878
1879 * doc/conf/conf.xml: Let SQ relation charts use more concrete generators.
1880
1881 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
1882 Implemented getDefaultXAxisLabel() getDefaultYAxisLabel().
1883
1884 * src/main/resources/messages.properties,
1885 src/main/resources/messages_de_DE.properties,
1886 src/main/resources/messages_en.properties,
1887 src/main/resources/messages_de.properties: Added i18n strings for chart
1888 titles and axes labels.
1889
1890 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1891
1892 Fix issue681 (wrong vertical lines in duration curve q-mainvalues on
1893 second y-axis).
1894
1895 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1896 Fix vertical line if on second y-axis.
1897
1898 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1899
1900 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
1901 Restrict q-filter facet to the differences case.
1902
1903 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1904
1905 * doc/conf/artifacts/waterlevel.xml: Add Q-facets to compatibility list.
1906
1907 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
1908 Add Q-facets to filter facet list.
1909
1910 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1911
1912 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java,
1913 src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
1914 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1915 Removed trailing whitespace.
1916
1917 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1918
1919 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java: Directly
1920 sample "our" Function objects instead of JFreeChart Function2Ds.
1921
1922 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
1923 Removed JFreeChart Function2D wrapper and directly use our Function
1924 objects.
1925
1926 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1927
1928 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
1929 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
1930 Removed superfluous imports.
1931
1932 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1933
1934 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
1935 Calculate the standard deviation of the delta Ws of the referencen points, too.
1936
1937 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
1938 Store the standard deviation of delta Ws of reference points into
1939 a parameters column "std-dev".
1940
1941 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
1942
1943 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java: New function to
1944 sample a Function2D. This method is used, because JFreeChart's
1945 DataUtilities.sampleFunction2D() returns an instance of XYSeries but we
1946 need StyledXYSeries.
1947
1948 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java: Added a
1949 method to retrieve parameter values for a list of parameter names.
1950
1951 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
1952 Create a fake Parameters object for the SQ curve.
1953
1954 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
1955 Added getMinQ() and getMaxQ() to determine the Q range.
1956
1957 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFunction.java: New
1958 model class that stores a Function and a min and max Q value.
1959
1960 * src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java:
1961 Return a SQFunction instance based on the parameters and Q range of the
1962 SQFractionResult.
1963
1964 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java: Use
1965 JFreeUtil's new function sampleFunction2D to create a StyledXYSeries for
1966 the SQ curve.
1967
1968 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1969
1970 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
1971 Store into QWs if they are interpolated.
1972
1973 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java,
1974 src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
1975 Stores boolean if the values are interpolated.
1976
1977 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1978
1979 * src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java:
1980 Name derivative S'(Q).
1981
1982 2012-06-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1983
1984 * doc/conf/artifacts/winfo.xml: Add Q-Facets to compatibility list of dis-c.
1985
1986 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
1987
1988 * doc/conf/themes.xml: Added theme mappings for sq relation fractions b - f.
1989
1990 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
1991
1992 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java: Renamed
1993 the former SQResult to SQFractionResult. This class is now used to store a
1994 set of SQFractionResults for each SQ calculation.
1995
1996 * src/main/java/de/intevation/flys/artifacts/model/sq/SQFractionResult.java:
1997 Former SQResult.
1998
1999 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2000 Create new fake SQFractionResults for fraction A, B and C (used for
2001 testing).
2002
2003 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java,
2004 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java,
2005 src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
2006 Added the 'fractionIdx' property to get to know which fraction should be
2007 represented.
2008
2009 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java: Create
2010 Facets for each SQResult and SQFractionResult.
2011
2012 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2013
2014 * src/main/java/de/intevation/flys/artifacts/math/fitting/SQPow.java:
2015 New. S(Q) = a*Q^b
2016
2017 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
2018 Registered new function.
2019
2020 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
2021
2022 * src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
2023 Implemented getData(). It returns the SQ[] of
2024 SQResult.getMeasurements().
2025
2026 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java: Create
2027 proper facet for sq measurements and corrected constructor call of
2028 SQOutlierFacet.
2029
2030 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
2031 Generalized doSQMeasurementsOut() and doSQOutliersOut() to one single
2032 method doSQOut() which is able to handle SQ[] data.
2033
2034 2012-06-19 Ingo Weinzierl <ingo@intevation.de>
2035
2036 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Changed the
2037 default behavior: line labels are not visible if no config option is set!
2038
2039 2012-06-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2040
2041 * doc/conf/conf.xml: Load config of rest server and floodmap over
2042 external entities, too.
2043
2044 * doc/conf/floodmap.xml, doc/conf/rest-server.xml: New.
2045 External config.
2046
2047 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2048
2049 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
2050 The reference points are now wrapped in QWDs. This enables the
2051 plotting of Delta W(t) data for the reference points.
2052
2053 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
2054 Added convenience constructor.
2055
2056 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
2057 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
2058 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2059 Adjusted.
2060
2061 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
2062 Cosmetics.
2063
2064 2012-06-18 Christian Lins <christian.lins@intevation.de>
2065
2066 * doc/conf/artifacts/fixanalysis.xml:
2067 Remove fix_analysis_periods_wq from fix_wq_curve facet.
2068
2069 * doc/conf/themes.xml:
2070 Add fixing themes for other theme groups.
2071
2072 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2073 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java:
2074 Debug output added.
2075
2076 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2077
2078 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
2079 Added vim line, made class public.
2080
2081 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2082
2083 * doc/conf/conf.xml: Using external system entities to configure databases.
2084 !!!
2085 !!! FROM NOW ON YOU CAN YOUR conf.xml FROM TRUNK.
2086 !!! Adjust the database credentials via the *-db.xml files
2087 !!! which are included.
2088 !!!
2089
2090 * doc/conf/artifact-db.xml: New. Configuration for the artifact database.
2091 * doc/conf/seddb-db.xml: New. Configuration for the SedDB
2092 * doc/conf/backend-db.xml: New. Configuration for the FLYS3 database.
2093 * doc/conf/datacage-db.xml: Configuration for the datacage datacage.
2094
2095 2012-06-18 Raimund Renkert <raimund.renkert@intevation.de>
2096
2097 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
2098 Fixed constructor.
2099
2100 2012-06-18 Christian Lins <christian.lins@intevation.de>
2101
2102 * doc/conf/themes.xml:
2103 Add themes for fixing facets.
2104
2105 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2106 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
2107 Use FixFacetUtils.getMaxQ() to retrieve max Q.
2108 Interpolate km values instead of strict binary search.
2109
2110 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixFacetUtils.java:
2111 Added, contains static getMaxQ() method.
2112
2113 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
2114 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2115 Some issues fixed.
2116
2117 2012-06-18 Ingo Weinzierl <ingo@intevation.de>
2118
2119 * doc/conf/themes.xml: Fixed broken color strings.
2120
2121 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added new functions
2122 that return colors for points.
2123
2124 * src/main/java/de/intevation/flys/themes/ThemeAccess.java: Added new
2125 function that returns the color for points.
2126
2127 * src/main/java/de/intevation/flys/jfree/XYStyle.java: Added new method to
2128 apply the color of points (independent of the specified line color).
2129
2130 2012-06-18 Ingo Weinzierl <ingo@intevation.de>
2131
2132 * doc/conf/themes.xml: Added themes for SQ relation charts
2133 ('sq_a_measurement', sq_a_outlier' and 'sq_a_curve').
2134
2135 2012-06-18 Raimund Renkert <raimund.renkert@intevation.de>
2136
2137 * src/main/java/de/intevation/flys/exports/fixings/FixChartGenerator.java:
2138 New. Abstract chart generator for fix analysis. This generator adds the
2139 current km to the context.
2140
2141 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
2142 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2143 Generators now extend the FixCahrtGenerator.
2144
2145 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
2146 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2147 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
2148 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2149 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
2150 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
2151 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
2152 Get the current km from context.
2153
2154 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
2155 Removed getter for current km.
2156
2157 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2158
2159 * src/main/java/de/intevation/flys/artifacts/map/PrintMap.java,
2160 src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java,
2161 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java,
2162 src/main/java/de/intevation/flys/artifacts/states/DischargeState.java,
2163 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
2164 src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
2165 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
2166 src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
2167 Removed repeated x.size() calls from for loops.
2168
2169 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2170
2171 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
2172 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2173 Removed superfluous imports.
2174
2175 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2176
2177 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java,
2178 src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java,
2179 src/main/java/de/intevation/flys/artifacts/model/WQTJRDataSource.java:
2180 Added missing 'else's in if/else ladders.
2181
2182 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2183
2184 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
2185 Fixed string comparision for identity.
2186
2187 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2188
2189 * src/main/java/de/intevation/flys/**/*.java: Added missing vim lines.
2190
2191 2012-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2192
2193 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2194 Removed tabs. Set log level from INFO to DEBUG because this case
2195 is much too common.
2196
2197 2012-06-17 Christian Lins <christian.lins@intevation.de>
2198
2199 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2200 Comments added.
2201
2202 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
2203 Logging output added.
2204
2205 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
2206 Max Q is now determined by parameter.interpolate().
2207
2208 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java,
2209 src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2210 Use getCurrentKmFromRequest() in output generation.
2211
2212 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2213 Typo in method description.
2214
2215 2012-06-15 Raimund Renkert <raimund.renkert@intevation.de>
2216
2217 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
2218 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2219 src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
2220 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2221 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
2222 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java,
2223 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
2224 The getData() method now takes a km parameter to get the data at a specific
2225 km.
2226
2227 2012-06-15 Ingo Weinzierl <ingo@intevation.de>
2228
2229 * src/main/java/de/intevation/flys/artifacts/model/sq/SQ.java: New model to
2230 store values for S/Q.
2231
2232 * src/main/java/de/intevation/flys/artifacts/model/sq/SQResult.java: New
2233 model class that should be used to store calculation results of SQ
2234 relation.
2235
2236 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
2237 Create a fake SQResult.
2238
2239 * src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java:
2240 Set missing required properties, so that this facet will be able to
2241 re-calculate results again if the results are not in cache.
2242
2243 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
2244 Create correct number of facets for parameter A for outliers Facet.
2245
2246 * src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java:
2247 Create a JFreeChart XYSeries from SQResult's outliers Facet.
2248
2249 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
2250 method to create X axes. The SQRelationGenerator overrides this method,
2251 because it requires a logarithmic axis.
2252
2253 2012-06-15 Raimund Renkert <raimund.renkert@intevation.de>
2254
2255 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
2256 Added getter for current km.
2257
2258 2012-06-15 Ingo Weinzierl <ingo@intevation.de>
2259
2260 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
2261 new functions to determine if a Facet is a SQ curve, measurement or
2262 outlier independend of their parameter.
2263
2264 * src/main/java/de/intevation/flys/exports/sq/SQRelationInfoGenerator.java,
2265 src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java,
2266 src/main/java/de/intevation/flys/exports/sq/SQRelationExporter.java:
2267 Stubs for chart and export generators.
2268
2269 * doc/conf/conf.xml: Registered new output-generators for SQ relation
2270 charts and exports.
2271
2272 * src/main/resources/messages.properties,
2273 src/main/resources/messages_de_DE.properties,
2274 src/main/resources/messages_en.properties,
2275 src/main/resources/messages_de.properties: Added i18n strings for CSV
2276 export of SQ relations.
2277
2278 2012-06-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2279
2280 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace.
2281
2282 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2283
2284 * doc/conf/conf.xml: Added out commented block for SedDB configuration.
2285
2286 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2287
2288 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
2289 Some code cleanup.
2290
2291 2012-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2292
2293 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
2294 Added more debug output.
2295
2296 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
2297 Interpolate the coeffs for the function to be drawn.
2298
2299 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2300 Made code more robust for none existing data.
2301
2302 2012-06-14 Ingo Weinzierl <ingo@intevation.de>
2303
2304 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
2305 new Facets for MINFO SQ relation calculation.
2306
2307 * doc/conf/artifacts/minfo.xml: Added output for chart and data export for
2308 sq relation calculation. Registered new facets.
2309
2310 * src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java,
2311 src/main/java/de/intevation/flys/artifacts/model/sq/SQOutlierFacet.java,
2312 src/main/java/de/intevation/flys/artifacts/model/sq/SQCurveFacet.java,
2313 src/main/java/de/intevation/flys/artifacts/model/sq/SQMeasurementFacet.java:
2314 Stubs for calculation and Facets used for SQ relation calculation.
2315
2316 * src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
2317 Override computeAdvance() and implemented a stub for calculation and
2318 Facet creation.
2319
2320 2012-06-11 Raimund Renkert <raimund.renkert@intevation.de>
2321
2322 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
2323 Changed filter string to 'Messstelle'.
2324
2325 2012-06-14 Ingo Weinzierl <ingo@intevation.de>
2326
2327 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
2328 Fetch only cross section tracks that have a name 'qps' set for WSPLGEN
2329 calculation.
2330
2331 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2332
2333 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
2334 Use binary search again.
2335
2336 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2337
2338 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
2339 Removed superfluous import.
2340
2341 2012-06-13 Christian Lins <christian.lins@intevation.de>
2342
2343 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java,
2344 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
2345 Workaround for IndexOutOfBoundsException.
2346
2347 * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
2348 Output generator for fixing derived curve.
2349
2350 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
2351 Use binary search with epsilon again.
2352
2353 2012-06-13 Ingo Weinzierl <ingo@intevation.de>
2354
2355 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
2356 Added more debug/warn log statements.
2357
2358 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java: Do
2359 not add empty objects into the calculation result.
2360
2361 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2362 Take care on empty QWD objects.
2363
2364 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2365
2366 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java,
2367 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
2368 src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
2369 Max Q is store in column "max_q" in Parameters now. So function can be plotted
2370 bewtween calculated kms, too.
2371 For function sampling use something like this.:
2372
2373 double [] maxQ = parameters.interpolate("km", 42.3", new String [] { "max_q" });
2374 double maxSampleQ = 10000d;
2375
2376 if (maxQ != null) {
2377 maxSampleQ = Math.min(2000d, Math.abs(maxQ[0]));
2378 maxSampleQ += 0.05*maxSampleQ;
2379 }
2380
2381 2012-06-13 Christian Lins <christian.lins@intevation.de>
2382
2383 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2384 Add missing imports and correct coding issues.
2385
2386 2012-06-12 Christian Lins <christian.lins@intevation.de>
2387
2388 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
2389 Use KMIndex.search() (with epsilon) instead of KMIndex.binarySearch().
2390
2391 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
2392 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2393 Move marker generation to XYChartGenerator.
2394
2395 2012-06-12 Christian Lins <christian.lins@intevation.de>
2396
2397 * doc/conf/conf.xml:
2398 Add fix_wq_curve output generator.
2399
2400 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
2401 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2402 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
2403 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
2404 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
2405 Add additional null-checks to prevent NullPointerExceptions when accessing empty
2406 facets.
2407
2408 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java:
2409 getMaxQ() now returns constant '1000' until it is properly fixed.
2410
2411 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2412 Code for generating charts more or less complete but untested due to bugs in facets.
2413
2414 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2415
2416 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2417 Added method double [] interpolate(keyName, key, columnNames).
2418 This construct is better suited for the extraction of
2419 coefficients for building functions. In pseudo code:
2420
2421 fitting.Function function =
2422 FunctionFactory.getInstance().getFunction("log");
2423
2424 double km = 42.35;
2425
2426 double [] coeffs = parameters.interpolate(
2427 "km", km, function.getParamterNames());
2428
2429 math.Function f = function.instantiate(coeffs);
2430
2431 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2432
2433 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java,
2434 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
2435 Removed superfluous imports.
2436
2437 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2438
2439 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2440 Added interpolate methods that return an array of linear interpolated
2441 values for a given key. Say you have a column named "km" you can call
2442 'values = parameters.interpolate("km", 12)' to fetch a set
2443 of proportional interpolated parameters even if there are only
2444 "km": 10 and "km": 15 in the data structure. Returns null if out of bounds.
2445
2446 2012-06-11 Raimund Renkert <raimund.renkert@intevation.de>
2447
2448 * doc/conf/artifacts/minfo.xml:
2449 Added states and transitions for S-Q-relation.
2450
2451 * src/main/java/de/intevation/flys/artifacts/states/PeriodsSelect.java,
2452 src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java,
2453 src/main/java/de/intevation/flys/artifacts/states/SQRelation.java:
2454 New. States for multiple periods input, outliers input and final
2455 S-Q-relation.
2456
2457 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
2458 Added name filter for locations.
2459
2460 * src/main/resources/messages.properties,
2461 src/main/resources/messages_de_DE.properties,
2462 src/main/resources/messages_en.properties,
2463 src/main/resources/messages_de.properties:
2464 Added i18n strings for states.
2465
2466 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2467
2468 * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
2469 Fixed broken logger class.
2470
2471 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2472 Re-establish old indentation.
2473
2474 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2475
2476 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
2477 (doWOut): Interpolate values from WKms.
2478
2479 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2480
2481 * src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
2482 Enable caching.
2483
2484 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2485
2486 * doc/conf/meta-data.xml: Simplified choice of gauges for discharge c.
2487
2488 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
2489 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
2490 Create better name for facets, minor refactoring, polishing.
2491
2492 * src/main/resources/messages.properties,
2493 src/main/resources/messages_de_DE.properties,
2494 src/main/resources/messages_en.properties,
2495 src/main/resources/messages_de.properties:
2496 Added i18n strings.
2497
2498 2012-06-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2499
2500 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
2501 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
2502 Cosmetics, docs
2503
2504 2012-06-07 Raimund Renkert <raimund.renkert@intevation.de>
2505
2506 * src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
2507 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2508 Use i18n strings.
2509
2510 * src/main/resources/messages.properties,
2511 src/main/resources/messages_de_DE.properties,
2512 src/main/resources/messages_en.properties,
2513 src/main/resources/messages_de.properties:
2514 Added i18n strings.
2515
2516 2012-06-07 Raimund Renkert <raimund.renkert@intevation.de>
2517
2518 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2519 Changed facet description.
2520
2521 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2522
2523 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java,
2524 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
2525 src/main/java/de/intevation/flys/utils/FLYSUtils.java:
2526 Cosmetics, doc.
2527
2528 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2529
2530 * src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java:
2531 Fix issues, import river, documentation, more debug.
2532
2533 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2534
2535 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java:
2536 Hard-code state id, instruct computation to result in facets.
2537
2538 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2539
2540 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
2541 Doc.
2542
2543 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
2544
2545 Added facet for derivate curve and fixed facet names.
2546
2547 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixDerivateFacet.java:
2548 New. Facet for derivate curve.
2549
2550 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
2551 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2552 src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java,
2553 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
2554 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
2555 Added name for facet to constructor.
2556
2557 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2558 Add one facet for each output using a different name.
2559
2560 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2561 Added facet names.
2562
2563 * doc/conf/artifacts/fixanalysis.xml:
2564 Changed facet names.
2565
2566 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2567
2568 * src/main/java/de/intevation/flys/exports/MiddleBedHeightExporter.java:
2569 Trivial doc.
2570
2571 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2572
2573 * doc/datacage.txt: More documentation of datacage conf.
2574
2575 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
2576
2577 Added new facet for analysis periods and updated facet names.
2578
2579 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisPeriodsFacet.java:
2580 New. Facet for analysis periods. Returns the date ranges for the analysis
2581 periods.
2582
2583 * doc/conf/artifacts/fixanalysis.xml,
2584 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2585 Added new facet and updated facet names.
2586
2587 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2588 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
2589 Updated facet names.
2590
2591 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2592
2593 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
2594 Minor doc.
2595
2596 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2597
2598 * doc/datacage.txt: More documentation of datacage conf.
2599
2600 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
2601
2602 Implemented facets and splitted up the event facet.
2603
2604 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixEventsFacet.java:
2605 Removed.
2606
2607 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAnalysisEventsFacet.java,
2608 src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
2609 New. Facets for events.
2610
2611 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2612 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java:
2613 Implemented getData().
2614
2615 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2616 Add new event facets.
2617
2618 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java:
2619 Fixed return value.
2620
2621 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2622
2623 * src/main/java/de/intevation/flys/jfree/Function2DAdapter.java:
2624 New. Adapter class to brigde de.intevation.flys.artifacts.math.Function
2625 to org.jfree.data.function.Function2D.
2626
2627 Function2D objects can be used by org.jfree.data.general.DatasetUtilities
2628 to sample functions into XYDatasets.
2629 See DatasetUtilities.sampleFunction2D()
2630
2631 2012-06-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2632
2633 * doc/datacage.txt: New file that will contain datacage configuration
2634 documentation.
2635
2636 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
2637
2638 * doc/conf/artifacts/fixanalysis.xml:
2639 Fixed outputmodes.
2640
2641 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2642
2643 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
2644 Local variable shadowed instance variable.
2645
2646 2012-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2647
2648 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2649 Fixed index problem with name of chi^2.
2650
2651 2012-06-06 Raimund Renkert <raimund.renkert@intevation.de>
2652
2653 Added facets for fix analysis.
2654
2655 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java,
2656 src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java,
2657 src/main/java/de/intevation/flys/artifacts/model/fixings/FixOutlierFacet.java,
2658 src/main/java/de/intevation/flys/artifacts/model/fixings/FixEventsFacet.java:
2659 New. Facets for W/Q-Chart in fix analysis. FixAvSectorFacet is implemented,
2660 the others are just stubs.
2661
2662 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
2663 Add facets to artifact after calculation.
2664
2665 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
2666 Added method to get the current km for charts. The km is used for
2667 synchronous navigation in fix analysis charts.
2668
2669 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
2670 Added new facet types.
2671
2672 * doc/conf/artifacts/fixanalysis.xml:
2673 Added facets to config.
2674
2675 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2676
2677 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2678 Added some binary search methods. TODO: Sort by column.
2679
2680 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2681
2682 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
2683 Use new data structures for export.
2684
2685 * src/main/java/de/intevation/flys/utils/KMIndex.java:
2686 Implements java.lang.Iterable now.
2687
2688 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWT.java,
2689 src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
2690 Removed. Obsolete.
2691
2692 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
2693 Removed superfluous import.
2694
2695 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2696
2697 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
2698 Prevent duplicates in analysis periods.
2699
2700 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java:
2701 Added equals.
2702
2703 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2704
2705 * src/main/java/de/intevation/flys/utils/EpsilonComparator.java:
2706 Removed. Obsolete now.
2707
2708 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2709
2710 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java:
2711 Improved collision detection.
2712
2713 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
2714 Avoid collisions of line labels, documentation.
2715
2716 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
2717 Use JFreeUtil.
2718
2719 * src/main/java/de/intevation/flys/jfree/CollisionFreeLineLabelEntity.java:
2720 New, ChartEntity class for Line labels.
2721
2722 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2723
2724 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
2725 Store the QWs that are actually used in the fitting as referenced.
2726
2727 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2728 Store the referenced QWs for each km. TODO: Use same index structure.
2729
2730 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
2731 Store the referenced QWs, too.
2732
2733 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2734
2735 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResults.java:
2736 Removed. Obsolete.
2737
2738 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2739
2740 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriodsKM.java:
2741 Removed. Not needed any longer.
2742
2743 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2744 Store the AnalysisPeriod per km into FixResult.
2745
2746 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
2747 Uses KMIndex<AnalysisPeriod []> instead of DeltaWTsKM now.
2748
2749 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
2750 Commented out old code.
2751 TODO: Rewrite exporter to use AnalysisPeriods.
2752
2753 2012-06-05 Ingo Weinzierl <ingo@intevation.de>
2754
2755 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Override
2756 endOfLife() to remove files and directories produced for WMS output.
2757
2758 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2759
2760 * src/main/java/de/intevation/flys/jfree/JFreeUtil.java:
2761 New jfreechart-related utility class.
2762
2763 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2764
2765 * src/main/java/de/intevation/flys/utils/Formatter.java:
2766 (getMeterFormat): New.
2767 Doc.
2768
2769 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
2770 i18n and formatting for line labels.
2771
2772 2012-06-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2773
2774 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
2775 Added better doc and TODO.
2776
2777 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2778
2779 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
2780 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
2781 Now uses the KMIndex for outliers.
2782 TODO: Use KMIndex for DeltaWTs, too.
2783
2784 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2785
2786 * src/main/java/de/intevation/flys/utils/KMIndex.java: New.
2787 Serializable index structure to find objects by there km.
2788 TODO: Use in fixings analysis.
2789
2790 2012-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2791
2792 * src/main/java/de/intevation/flys/utils/EpsilonComparator.java:
2793 Fixed sign problem in comparison.
2794
2795 2012-06-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2796
2797 Implemented outlier checks in fixings analysis. Expected to be
2798 still broken, but the code is in the right place now and has the
2799 right structure.
2800
2801 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
2802 Fixed endless loop.
2803
2804 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2805 Added further set methods for indexed access.
2806
2807 * src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
2808 New. Out factored fitting code from FixCalculation. Checks for outliers, too.
2809
2810 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2811 Moved fitting code out to separate class. Streamlined code a bit.
2812
2813 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
2814 Store the outliers from fitting in separate data structure, too.
2815
2816 * src/main/java/de/intevation/flys/artifacts/model/fixings/QW.java: New.
2817 Base class for delta W/t data. Used as storage for outliers.
2818
2819 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
2820 Is a sub class of QW now.
2821
2822 2012-06-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2823
2824 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2825 Store Chi^2 of fitting into result, too.
2826
2827 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2828 Added indexed set method.
2829
2830 2012-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2831
2832 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
2833 Added inner class Derivative representing the first derivative of the
2834 function. Can be instantiated with a given set of parameters.
2835
2836 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java,
2837 src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java,
2838 src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java,
2839 src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java,
2840 src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java,
2841 src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java:
2842 Added the derivatives of all fitting functions.
2843
2844 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2845
2846 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2847 Calculate the Delta W/ts +
2848 the average Delta W/ts per Q sector per analysis period.
2849 !!! Very complicated stuff !!!
2850 TODO:
2851 - Store results into the new data structures AnalysisPeriod and
2852 AnalysisPeriods.
2853 - Remove the old DeltaWTsKM and DeltaWT.
2854 - Adjust the facets and the export.
2855
2856 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
2857 Added convinience constructor.
2858
2859 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2860 Added sector filter.
2861
2862 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
2863 Expose the new sector filter to the fixing overview service. Syntax:
2864 <sector value="<value>"/>
2865
2866 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2867
2868 * src/main/java/de/intevation/flys/utils/DateAverager.java:
2869 New. Averages a list of dates preventing overflows.
2870
2871 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2872
2873 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2874 Added a km filter to find columns which touches a given km.
2875
2876 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
2877 Expose the new km filter to the fixing overview service. Syntax:
2878 <position km="<value>"/>
2879
2880 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2881
2882 Better persistence model for delta w/t calculations. Supports
2883 storage of Q sector averages, too. TODO: Use the new model.
2884
2885 * src/main/java/de/intevation/flys/artifacts/model/fixings/QWD.java:
2886 New. Will be used as a replacement for DeltaWT.
2887
2888 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
2889 New. Will be used as a replacement for DeltaWTsKM.KM.
2890
2891 * src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriodsKM.java:
2892 New. List<AnalysisPeriodsKM> Will be used as a replacement for DeltaWTsKM.
2893
2894 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2895
2896 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
2897 src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
2898 Use DateRange objects now.
2899
2900 * src/main/java/de/intevation/flys/artifacts/model/fixings/DateRange.java: New.
2901 Model for date ranges. To be used in re-factored persistance model.
2902
2903 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2904
2905 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
2906 Added method to find the Q sector of fixing column for a given km.
2907 Useful to classify fixing events at certain kms.
2908
2909 2012-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2910
2911 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
2912 Fixed access to analysis periods.
2913
2914 2012-05-30 Raimund Renkert <raimund.renkert@intevation.de>
2915
2916 * doc/conf/artifacts/fixanalysis.xml:
2917 Changed data fields to a single string data field. The data contains a
2918 string of semi-colon separated 'long' value pairs.
2919
2920 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
2921 Process the new data.
2922
2923 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2924
2925 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
2926 trivial doc.
2927
2928 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
2929 Removed disturbing comment.
2930
2931 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java
2932 (SimpleAxis): Add ommitted Y_AXIS2 to enum.
2933
2934 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2935
2936 solve issue417: duration curve annotations as line to curve.
2937
2938 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
2939 (createStickyLineAnnotation): New.
2940 Resolved todos, use the line style.
2941
2942 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2943
2944 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2945 Doc, TODOs added.
2946
2947 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2948
2949 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
2950
2951 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
2952 Consider theme setting before drawing line to curve.
2953
2954 2012-05-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2955
2956 * doc/conf/themes.xml: Donate own theme for mainvalues.
2957
2958 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2959
2960 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2961 Fit from Q to W not from W to Q!
2962 Delta w/t's are now in cm.
2963 Slimmed down fitting error report.
2964
2965 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
2966 Changed default column header of delta W to cm.
2967
2968 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2969
2970 Made Delta W/t calculation work.
2971
2972 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
2973 Added toString() method.
2974
2975 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java:
2976 Fixed problem accessing Ws.
2977
2978 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
2979 Fixed silly 'name.equals(name)' bug. This mainly prevented delta W/t
2980 computation from working.
2981
2982 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
2983 More deug code.
2984
2985 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2986 More debug code. Simplified access to data a bit.
2987
2988 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
2989 Allow CSV exporter to throw IOExceptions.
2990
2991 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
2992 More debug output. Flush CSV after writing.
2993
2994 2012-05-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2995
2996 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
2997 Units of step is in meter and not km. Added more debug output.
2998
2999 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3000 Stupidly forgot to add facet to return the delta w/t as CSV.
3001
3002 2012-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3003
3004 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
3005 There was a cast to WINFOArtifact where a cast to FLYSArtifact
3006 is sufficient. This prevented generating error reports that
3007 does not inherit from WINFOArtifact like FixationArtifact.
3008
3009 2012-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3010
3011 * doc/conf/artifacts/fixanalysis.xml,
3012 doc/conf/conf.xml: Added CSV and error report generator/facets.
3013
3014 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
3015
3016 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
3017 CrossSectionFactory.isNewest() will return true if the CrossSection is
3018 the only CrossSection found in the database. No IndexOutOfBounds is
3019 thrown.
3020
3021 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
3022
3023 * Tagged module as '2.7'.
3024
3025 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
3026
3027 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
3028 Don't break chart creation if no hyks are existing.
3029
3030 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3031
3032 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java,
3033 src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
3034 src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java,
3035 src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
3036 Removed superfluous imports.
3037
3038 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3039
3040 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
3041 Added getters to access the inner data structures.
3042
3043 * src/main/java/de/intevation/flys/utils/Formatter.java: Added formatting
3044 support for delta w/t exports of fix analysis.
3045
3046 * src/main/java/de/intevation/flys/exports/DeltaWtExporter.java:
3047 New. CSV exporter for delta w/ts of fix analysis.
3048
3049 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
3050 Reordered imports.
3051
3052 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3053
3054 * src/main/java/de/intevation/flys/artifacts/model/fixings/FitResult.java:
3055 Removed. Obsolete.
3056
3057 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResult.java:
3058 New. Stores the result of the fixing analysis.
3059
3060 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3061 Return the right structure (FixResult) from the calculation.
3062
3063 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3064
3065 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3066 Fixed stupid index bug.
3067
3068 2012-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3069
3070 * src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
3071 Call the computing.
3072
3073 2012-05-25 Ingo Weinzierl <ingo@intevation.de>
3074
3075 * doc/conf/conf.xml: Use the correct Artifacts for wms fixpoints and
3076 floodmaps (they were interchanged).
3077
3078 2012-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3079
3080 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixResults.java:
3081 New. Stores all results of a fixing analysis.
3082
3083 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWTsKM.java:
3084 New. Km indexed container for Delta W/t diagrams.
3085
3086 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3087 Create FixResults and DeltaWTsKM now to store the results.
3088
3089 2012-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3090
3091 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
3092 Replaced another silly "@attribute" XPATH with direct getAttribute()
3093 call.
3094
3095 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3096
3097 Draw line of mainvalues to duration curve hit point to ground.
3098
3099 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3100 Also work for q-value case on second y-axis, refactored.
3101
3102 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
3103 Doc and fix.Doc and fix.
3104
3105 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3106
3107 Also draw lines to curve from q-mainvalues in dur. curve
3108
3109 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
3110 In analogy to the W-case, calculate where line from main value hits
3111 a wqday-curve from DurationCurve.
3112
3113 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3114
3115 Draw line of w-mainvalue to duration curve hit point to ground.
3116
3117 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3118 If StickyAxisAnnotation has a hit point set, also add line annotation
3119 from the crossing point to the x-axis.
3120
3121 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3122
3123 Draw line of w-mainvalue to duration curve, baby version.
3124
3125 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
3126 Added field "hitPoint", when a line to a point should be drawn
3127 - leveraging this annotation into the second dimension.
3128
3129 * src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
3130 Calculate where mainvalue hits a duration curve.
3131
3132 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3133 If StickyAxisAnnotation has a hit point set, add line annotation
3134 to hit (the duration) curve.
3135
3136 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
3137
3138 * doc/conf/themes.xml:
3139 Added a warning to not use virtual themes for facets.
3140
3141 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
3142
3143 * doc/conf/themes.xml:
3144 Added concrete themes for maps.
3145
3146 2012-05-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3147
3148 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3149 Moved parameter of addAnnotations out, renamed to addVisibleAnnotation.
3150
3151 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
3152 Adjusted.
3153
3154 2012-05-25 Raimund Renkert <raimund.renkert@intevation.de>
3155
3156 * doc/conf/themes.xml:
3157 Added concrete themes for areas.
3158
3159 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3160
3161 * doc/conf/meta-data.xml: Load mainvalues in reference curves.
3162
3163 * doc/conf/artifacts/winfo.xml: Add mainvalues to compatibility list
3164 of reference curves; fix typo.
3165
3166 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3167
3168 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3169 Render mainvalues as annotations.
3170
3171 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
3172 Render static wkms data.
3173
3174 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3175
3176 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3177 Cosmetic.
3178
3179 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3180
3181 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java,
3182 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
3183 (flipStickyAxis): Allow easy change of sticky axes.
3184
3185 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3186
3187 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
3188 (getWaterlevelData): Exception for discharge case.
3189
3190 * src/main/java/de/intevation/flys/utils/FLYSUtils.java
3191 (getLocations): Exception for discharge case.
3192
3193 2012-05-24 Raimund Renkert <raimund.renkert@intevation.de>
3194
3195 Issue 667.
3196
3197 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
3198 Added data to jfreechart data source.
3199
3200 2012-05-24 Ingo Weinzierl <ingo@intevation.de>
3201
3202 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
3203 src/main/java/de/intevation/flys/artifacts/services/ThemeListingService.java,
3204 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
3205 src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
3206 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
3207 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
3208 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
3209 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
3210 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
3211 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
3212 src/main/java/de/intevation/flys/themes/ThemeGroup.java: Removed
3213 needless imports.
3214
3215 2012-05-24 Ingo Weinzierl <ingo@intevation.de>
3216
3217 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Reproject
3218 geometries into the coordinate reference system defined in the
3219 configuration.
3220
3221 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3222
3223 * doc/conf/meta-data.xml: Include other "thematic" heights for
3224 reference curve relative points dc conf.
3225
3226 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3227
3228 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
3229 Cosmetics.
3230
3231 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
3232 Added TODO.
3233
3234 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3235
3236 * doc/conf/artifacts/relativepoint.xml,
3237 doc/conf/conf.xml: Remove relativepoint artifact remainders, so far
3238 all cases are covered by facet.
3239
3240 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3241
3242 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
3243 Handle reference curve case, slightly refactored.
3244
3245 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
3246 Handle points in doOut.
3247
3248 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3249
3250 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
3251 Expose data via blackboard.
3252
3253 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3254
3255 * doc/conf/meta-data.xml: Serve fixations
3256 with relative points for reference curves.
3257
3258 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3259
3260 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
3261 (getReferenceStartKm, getReferenceEndKms): Made public.
3262
3263 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3264
3265 * doc/conf/artifacts/winfo.xml: Add relative point to compatibility
3266 list of reference curve out.
3267
3268 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3269
3270 * doc/conf/artifacts/winfo.xml: Remove second facet from
3271 StaticWKmsArtifact from compatibility list of duration curves.
3272
3273 * doc/conf/themes.xml: Add basic theme for relativepoint.
3274
3275 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3276
3277 * doc/conf/meta-data.xml: Serve floodprotections and heightmarks
3278 with relative points for duration curves.
3279
3280 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3281
3282 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
3283 Handle relative points in doOut.
3284
3285 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3286
3287 * doc/conf/meta-data.xml: Serve fixations with relative points
3288 for duration curves.
3289
3290 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3291
3292 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
3293 Use superclass static field and method.
3294
3295 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3296
3297 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
3298 Handle duration curve case. Do a linear interpolation of the day.
3299
3300 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3301
3302 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java:
3303 Be a DataProvider, provide the duration curve and its km.
3304
3305 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3306
3307 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
3308 (getWAtKmLin): Linear interpolating version of getWAtKm.
3309
3310 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3311
3312 * src/main/java/de/intevation/flys/artifacts/model/RelativePointFacet.java:
3313 Add (dummy-) implementation of a relative point facet.
3314
3315 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
3316 Use superclass infrastructure. Spawn RelativePointFacet.
3317
3318 * doc/conf/winfo.xml: Add relativepoint facet to compatibility list
3319 of duration curve out.
3320
3321 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
3322 Add RELATIVE_POINT Facet Type.
3323
3324 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
3325
3326 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
3327 Allow instantiation of a function with concrete parameters.
3328
3329 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3330 Enable indexed access to parameter names.
3331
3332 * src/main/java/de/intevation/flys/artifacts/model/fixings/FitResult.java:
3333 New. Bundles the results of the fitting.
3334
3335 * src/main/java/de/intevation/flys/artifacts/model/fixings/DeltaWT.java:
3336 New. Stores results of Delta W/t calcs.
3337
3338 * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
3339 Calculate Delta W/t s, too.
3340
3341 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
3342 Make component filters ('and', 'or') more easy to construct.
3343
3344 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
3345
3346 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
3347 src/main/java/de/intevation/flys/themes/ThemeFactory.java:
3348 Improved startup performance.
3349
3350 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3351
3352 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java
3353 (getDatacageIDValue): New, extracted from various duplicates.
3354
3355 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
3356 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
3357 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
3358 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
3359 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
3360 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
3361 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
3362 Use getDatacageIDValue() from superclass or static context.
3363
3364 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3365
3366 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
3367 Define XPath to access "id" value of element coming from datacage-document.
3368
3369 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
3370 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
3371 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
3372 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
3373 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
3374 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
3375 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
3376 Use xpath defined in superclass.
3377
3378 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3379
3380 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
3381 Whitespace-Cosmetics.
3382
3383 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3384
3385 * doc/conf/relativepoint.xml: New artifact-state-config for upcoming
3386 artifact.
3387
3388 * doc/conf/conf.xml: Register artifact factory and artifact for
3389 upcoming artifact.
3390
3391 2012-05-23 Raimund Renkert <raimund.renkert@intevation.de>
3392
3393 * src/main/java/de/intevation/flys/themes/ThemeGroup.java:
3394 New. A theme group takes a set of themes configured in the themes.xml.
3395
3396 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
3397 Read the theme groups configured in the themes.xml.
3398 Improved reading the xml file. Thanks to Sascha for the patch.
3399
3400 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
3401 Get a theme using the new parameter themegroup.
3402
3403 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
3404 Create theme groups while configuring themes.
3405
3406 * src/main/java/de/intevation/flys/artifacts/services/ThemeListingService.java:
3407 New. This service returns a list with all configured theme groups, each
3408 containing exactly one theme filtered by name.
3409 The theme name has to be provided as parameter.
3410
3411 * doc/conf/conf.xml:
3412 Added new service to config.
3413
3414 * doc/conf/themes.xml:
3415 Introduced theme groups and added new group.
3416
3417 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3418
3419 * doc/conf/meta-data.xml: Repair CS-DC-Conf, allow loading
3420 waterlevels, add fixations and heightmarks.
3421
3422 2012-05-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3423
3424 * doc/conf/artifacts/winfo.xml: Cosmetics.
3425
3426 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3427
3428 * doc/conf/meta-data.xml: Allow loading of fixations in cross-sections.
3429
3430 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3431
3432 * src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
3433 More debugging of discharge curve issue.
3434
3435 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3436
3437 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
3438 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java
3439 (getDischargeCurveData): Moved to more specific class.
3440
3441 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java:
3442 Cosmetics, be louder in miscondition.
3443
3444 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3445
3446 * doc/conf/meta-data.xml: Allow loading of fixations and thmatic
3447 heights in longitudinal sections, make discharge-curve-misbehavior
3448 testable with trunk.
3449
3450 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3451
3452 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
3453 Render discharge outs (was own out once).
3454
3455 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3456
3457 * doc/conf/artifacts/winfo.xml: Allow cross-section stuff in
3458 dischargelongitudinal state.
3459
3460 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
3461 Add CrossSectionWaterLineFacets, will trigger the cross section output.
3462
3463 2012-05-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3464
3465 * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
3466 Added vim line.
3467
3468 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
3469 Removed empty line.
3470
3471 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
3472 Removed invalid/not helpful comments.
3473
3474 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
3475 (outputExists): Doc.
3476
3477 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3478
3479 * src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
3480 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java:
3481 Adjusted ui providers to make parameter names unique in client.
3482
3483 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3484
3485 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
3486 Fixed short evaluation problem.
3487
3488 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
3489 Added more debuf output.
3490
3491 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3492
3493 * src/main/java/de/intevation/flys/artifacts/FixationArtifactAccess.java:
3494 New. Access the state data of fixings artifacts.
3495
3496 2012-05-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3497
3498 * doc/conf/artifacts/fixanalysis.xml: Make "start" and "end" parameters
3499 unique in fixings artifact states.
3500
3501 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3502
3503 * doc/conf/winfo.xml: Extend compatibility lists.
3504
3505 * doc/conf/conf.xml: Add gaugedischarge factory and artifact.
3506
3507 * src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeFacet.java,
3508 src/main/java/de/intevation/flys/artifacts/GaugeDischargeArtifact.java,
3509 src/main/java/de/intevation/flys/artifacts/states/GaugeDischargeState.java:
3510 New, State, Facet and Artifact to access discharge curves of gauges.
3511
3512 * doc/conf/gaugedischarge.xml: New trivial state model for gaugedis.
3513
3514 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3515
3516 * doc/conf/meta-data.xml: Allow loading of prev. reference curves.
3517
3518 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3519
3520 * doc/conf/meta-data.xml: (yet unused) sceleton for ref-curve dc conf.
3521
3522 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de>
3523
3524 * src/main/resources/messages.properties,
3525 src/main/resources/messages_de_DE.properties,
3526 src/main/resources/messages_en.properties,
3527 src/main/resources/messages_de.properties:
3528 Added i18n strings for fix analysis.
3529
3530 2012-05-21 Raimund Renkert <raimund.renkert@intevation.de>
3531
3532 * src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java:
3533 Implemented static data for state.
3534
3535 * doc/conf/artifacts/fixanalysis.xml:
3536 Changed transition in 'volmer' states.
3537
3538
3539 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3540
3541 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
3542 Include km in names of duration curve facets.
3543
3544 * src/main/resources/messages.properties,
3545 src/main/resources/messages_de_DE.properties,
3546 src/main/resources/messages_en.properties,
3547 src/main/resources/messages_de.properties: Adjusted i18n for
3548 duration curve facet names (now include km).
3549
3550 2012-05-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3551
3552 * doc/conf/meta-data.xml: Allow loading of previous duration curves and
3553 fixations in duration curves.
3554
3555 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
3556
3557 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
3558 Take the current km range into account in getOptions().
3559
3560 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
3561
3562 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
3563 doc/conf/artifacts/minfo.xml: Adapted facets for middle bed height. We
3564 now distinguish between epochs and singles.
3565
3566 * doc/conf/conf.xml: Registered new output generator for middle bed height.
3567
3568 * doc/conf/themes.xml: Added new themes for middle bed height epoch and
3569 single curves.
3570
3571 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
3572 Take the km range into account.
3573
3574 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
3575 Create facets for single and epochs.
3576
3577 * src/main/java/de/intevation/flys/exports/MiddleBedHeightInfoGenerator.java,
3578 * src/main/java/de/intevation/flys/exports/MiddleBedHeightGenerator.java:
3579 Chart and info generator for middle bed height charts.
3580
3581 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
3582
3583 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java:
3584 Added new methods that create names for singles and epochs.
3585
3586 * src/main/java/de/intevation/flys/utils/Formatter.java: Added number
3587 formatters used to export middle bed heights values.
3588
3589 * src/main/java/de/intevation/flys/exports/MiddleBedHeightExporter.java:
3590 New exporter for middle bed heights values.
3591
3592 * doc/conf/conf.xml: Registered new output generator for middle bed height
3593 exports.
3594
3595 * src/main/resources/messages.properties,
3596 src/main/resources/messages_de_DE.properties,
3597 src/main/resources/messages_en.properties,
3598 src/main/resources/messages_de.properties: New i18n strings for middle
3599 bed height facets and csv export.
3600
3601 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
3602
3603 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightData.java:
3604 New model class for storing data for middle bed height exports (chart,
3605 data exports).
3606
3607 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightCalculation.java:
3608 New Calculation that generates new MiddleBedHeightData.
3609
3610 * src/main/java/de/intevation/flys/artifacts/model/MiddleBedHeightFacet.java:
3611 New Facet which is used for middle bed height charts.
3612
3613 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
3614 new facet type for middle bed height curves.
3615
3616 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
3617 Calculate middle bed height data using MiddleBedHeightCalculation and
3618 create new facets for charts and csv export.
3619
3620 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Added new
3621 methods that return the IDs of selected single bed heights and epoch bed
3622 heights.
3623
3624 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
3625
3626 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
3627 Implemented getOptions() and getLabelFor().
3628
3629 2012-05-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3630
3631 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3632 Stabilized legend item aggregation.
3633
3634 2012-05-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3635
3636 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
3637 Extensive - although mostly trivial - doc adds.
3638
3639 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
3640
3641 * doc/conf/artifacts/minfo.xml: Added states and transitions for MINFO
3642 middle bed height calculation.
3643
3644 * src/main/java/de/intevation/flys/artifacts/states/MultiStringArrayState.java:
3645 New. Nearly a copy of MultiIntArrayState but uses String values.
3646
3647 * src/main/java/de/intevation/flys/artifacts/states/SoundingsSelect.java:
3648 New subclass of MultiStringArrayState. It will be used for bed heights
3649 selection. We need to do handle the values as string, because singles
3650 and epochs are mixed, so the DB ID is not enough as parameter value.
3651
3652 * src/main/java/de/intevation/flys/artifacts/states/MiddleBedHeight.java:
3653 New. This state will trigger the calculation for middle bed height in
3654 MINFO module.
3655
3656 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
3657
3658 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
3659 Do not add a <art:choices> element to the dynamic DESCRIBE but add the
3660 <art:item> directly to <art:select> which allows using default mechanism
3661 in FLYS client.
3662
3663 2012-05-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3664
3665 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
3666 Replaced event name by its description, which combines the
3667 description of the fixing (= WST file description) and the name
3668 of the column.
3669
3670 * contrib/fixoverview2html.xsl: Adjusted.
3671
3672 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
3673
3674 * doc/conf/artifacts/minfo.xml: Added a chart output and relevant facets to
3675 flow velocity state.
3676
3677 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
3678 new facet types for mainchannel, totalchannel and tau of flow velocity
3679 calculation.
3680
3681 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityFacet.java:
3682 New Facet that returns FlowVelocityData in getData().
3683
3684 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityData.java:
3685 Added new methods that return xy points for mainchannel, totalchannel and
3686 tau.
3687
3688 * src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java:
3689 Create new mainchannel, totalchannel and tau Facets for each
3690 FlowVelocityData instance retrieved by FlowVelocityCalculation.
3691
3692 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Commented
3693 legend aggregation out.
3694
3695 * src/main/java/de/intevation/flys/exports/FlowVelocityInfoGenerator.java,
3696 src/main/java/de/intevation/flys/exports/FlowVelocityGenerator.java: New
3697 chart generator for flow velocity data and its info generator.
3698
3699 * doc/conf/conf.xml: Registered the chart and chart info generator for flow
3700 velocity data.
3701
3702 * doc/conf/themes.xml: Added new themes for mainchannel, totalchannel and
3703 tau of flow velocity calculation.
3704
3705 * src/main/resources/messages.properties,
3706 src/main/resources/messages_de_DE.properties,
3707 src/main/resources/messages_en.properties,
3708 src/main/resources/messages_de.properties: Added i18n strings for flow
3709 velocity facets.
3710
3711 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
3712
3713 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
3714 Add a 'label' attribute to each <data> element in the static DESCRIBE.
3715 In addition to that, the <data> element created in this class can have
3716 multiple <item> elements which consist of a 'value' and a 'label'
3717 attribute. This 'label' attribute is taken from getLabelFor() which is
3718 abstract and needs to be implemented by subclasses.
3719
3720 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
3721 Implemented the abstract method getLabelFor().
3722
3723 * src/main/resources/messages.properties,
3724 src/main/resources/messages_de_DE.properties,
3725 src/main/resources/messages_de.properties: New i18n strings for MINFO
3726 parameter names.
3727
3728 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
3729
3730 * src/main/resources/messages.properties,
3731 src/main/resources/messages_de_DE.properties,
3732 src/main/resources/messages_en.properties,
3733 src/main/resources/messages_de.properties: New i18n strings for MINFO
3734 states.
3735
3736 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
3737
3738 * src/main/java/de/intevation/flys/exports/FlowVelocityExporter.java:
3739 Append the name of a location for the km row which is provided by
3740 FLYSUtils.getLocationDescription(km);
3741
3742 * src/main/resources/messages.properties,
3743 src/main/resources/messages_de_DE.properties,
3744 src/main/resources/messages_en.properties,
3745 src/main/resources/messages_de.properties: Added i18n strings for flow
3746 velocity CSV export headers.
3747
3748 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
3749
3750 * doc/conf/artifacts/minfo.xml: Added new state and csv export for MINFO flow
3751 velocity calculation.
3752
3753 * doc/conf/conf.xml: Registered a new CSV exporter for flow velocity
3754 values.
3755
3756 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java:
3757 New calculation for MINFO flow velocity. Actually, this is no
3758 calculation but a bundling of data.
3759
3760 * src/main/java/de/intevation/flys/artifacts/model/FlowVelocityData.java:
3761 New model class that is used to store flow velocity relevant data.
3762
3763 * src/main/java/de/intevation/flys/artifacts/states/FlowVelocityState.java:
3764 New state that triggers the FlowVelocityCalculation and creates new
3765 facets. Currently, only a CSV Facet is created.
3766
3767 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: Added
3768 methods to retrieve the IDs of main channels and total channels for the
3769 flow velocity calculation.
3770
3771 * src/main/java/de/intevation/flys/utils/Formatter.java: New formatters
3772 that are used in CSV exporter for flow velocity.
3773
3774 * src/main/java/de/intevation/flys/exports/FlowVelocityExporter.java: New
3775 concrete subclasses of AbstractExporter that currently implements the
3776 path to export FlowVelocityData as CSV.
3777
3778 2012-05-16 Ingo Weinzierl <ingo@intevation.de>
3779
3780 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
3781 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
3782 Removed getDataAsDouble() which is now implemented in FLYSArtifact.
3783
3784 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
3785 Implemented getDataAsDouble(). This method will return a Double based on
3786 a given parameter name.
3787
3788 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
3789
3790 * doc/conf/artifacts/fixanalysis.xml:
3791 Changed data type for state 'eventselect'.
3792
3793 2012-05-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3794
3795 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
3796 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
3797 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
3798 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
3799 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
3800 src/main/java/de/intevation/flys/artifacts/FixationArtifact.java,
3801 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
3802 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
3803 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
3804 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
3805 src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
3806 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java,
3807 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
3808 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
3809 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
3810 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java,
3811 src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java,
3812 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java,
3813 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java,
3814 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
3815 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java,
3816 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
3817 src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java,
3818 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
3819 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
3820 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java,
3821 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
3822 Removed superfluous imports.
3823
3824 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
3825
3826 * doc/conf/artifacts/fixanalysis.xml:
3827 Adjusted state data fields.
3828
3829 * src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
3830 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
3831 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
3832 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java:
3833 Implemented states.
3834
3835 2012-05-15 Raimund Renkert <raimund.renkert@intevation.de>
3836
3837 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java:
3838 Fixed constructor. Descriptions are now available.
3839
3840 2012-05-15 Ingo Weinzierl <ingo@intevation.de>
3841
3842 * doc/conf/artifacts/minfo.xml: Added new transistions and states for
3843 MINFO flow velocity calculation.
3844
3845 * src/main/java/de/intevation/flys/artifacts/states/MultiIntArrayState.java:
3846 New abstract states that might be used to append a list of available
3847 integer values to the DESCRIBE document.
3848
3849 * src/main/java/de/intevation/flys/artifacts/states/DischargeState.java:
3850 Concrete subclass of MultiIntArrayState which implements the abstract
3851 method getOptions().
3852
3853 2012-05-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3854
3855 * src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
3856 New. Model for storing fitting results in cache.
3857
3858 2012-05-14 Ingo Weinzierl <ingo@intevation.de>
3859
3860 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
3861 Removed the computeFeed() method that created Facets for discharge
3862 curves to make this state ready to use in MINFO calculations.
3863
3864 2012-05-14 Ingo Weinzierl <ingo@intevation.de>
3865
3866 * doc/conf/artifacts/minfo.xml: New Artifact configuration for module
3867 MINFO.
3868
3869 * src/main/java/de/intevation/flys/artifacts/MINFOArtifact.java: New
3870 Artifact for module INFO.
3871
3872 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelectMinfo.java:
3873 New. The state is used for choosing the calculation in module MINFO.
3874
3875 * doc/conf/conf.xml: Registered the MINFO Artifact.
3876
3877 * src/main/resources/messages.properties,
3878 src/main/resources/messages_de_DE.properties,
3879 src/main/resources/messages_en.properties,
3880 src/main/resources/messages_de.properties: New strings for states and
3881 calculations.
3882
3883 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3884
3885 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
3886 Removed unused code.
3887
3888 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3889
3890 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
3891 Doc.
3892
3893 2012-05-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3894
3895 * doc/conf/meta-data.xml: Allow duration_curve.q loading via datacage.
3896
3897 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3898
3899 * doc/conf/meta-data.xml: Allow hyk loading also when in non-
3900 recommendation mode.
3901
3902 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3903
3904 Improved middle height calculations for waterlevels.
3905
3906 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
3907 (area): Improved or even corrected area calculation.
3908
3909 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
3910 Corrected middle height calculated, have a very verbose label for
3911 the time being.
3912
3913 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3914
3915 Somewhat improve area calculation during line computation.
3916 Still faulty.
3917
3918 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
3919 (fillWater): Piecewise calculate area in more cases.
3920
3921 2012-05-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3922
3923 Tackle water-through-mountain issue that exists since r4099.
3924
3925 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
3926 (addPoints): Add parameter that decides whether or not to skip NaNs.
3927
3928 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
3929 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
3930 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
3931 Set new parameter to StyledSeriesBuilder.addPoints calls.
3932 For waterlines it is important that NaNs stay included!
3933
3934 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
3935
3936 * src/main/java/de/intevation/flys/artifacts/WMSGaugeLocationArtifact.java:
3937 New Artifact for storing geometries for gauges.
3938
3939 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
3940 a new facet type for WMSGaugeLocationArtifact 'floodmap.gaugelocation'.
3941
3942 * doc/conf/artifacts/winfo.xml,
3943 doc/conf/artifacts/map.xml: Added 'floodmap.gaugelocation' facet to the
3944 list of valid facets for map and floodmap output.
3945
3946 * doc/conf/conf.xml: Added a factory for creating
3947 WMSGaugeLocationArtifacts.
3948
3949 * doc/conf/themes.xml: Added a theme for 'floodmap.gaugelocation' facets.
3950
3951 * doc/conf/meta-data.xml: Added a datacage section for gauge locations to
3952 the floodmap and map section.
3953
3954 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
3955
3956 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
3957 new facet types 'floodmap.hydr_boundaries' and
3958 'floodmap.hydr_boundaries_poly'
3959
3960 * doc/conf/artifacts/winfo.xml,
3961 doc/conf/artifacts/map.xml: Registered 'floodmap.hydr_boundaries' and
3962 'floodmap.hydr_boundaries_poly' for floodmap and map output types.
3963
3964 * doc/conf/conf.xml:
3965
3966 * doc/conf/themes.xml: Added themes for 'floodmap.hydr_boundaries' and
3967 'floodmap.hydr_boundaries_poly'.
3968
3969 * doc/conf/meta-data.xml: Improved datacage configuration specific to
3970 floodmaps and maps.
3971
3972 * src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryArtifact.java,
3973 src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java:
3974 New artifacts to save information about hydrological boundaries.
3975
3976 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
3977 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
3978 src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java,
3979 src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java,
3980 src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java,
3981 src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
3982 src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java,
3983 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
3984 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
3985 src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java,
3986 src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java:
3987 Moved the methods getRiverId() and getTitle() into WMSDBArtifact.
3988
3989 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
3990
3991 * doc/conf/mapserver/wsplgen_layer.vm,
3992 doc/conf/mapserver/shapefile_layer.vm: Added a 'PROJECTION' section.
3993
3994 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3995
3996 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
3997 Minor refactoring, doc.
3998
3999 2012-05-10 Ingo Weinzierl <ingo@intevation.de>
4000
4001 * doc/conf/mapserver/layer.vm: Added a 'PROJECTION' section.
4002
4003 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4004
4005 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
4006 Minimal doc, TODO.
4007
4008 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4009
4010 Fix issue620: synchron navigation at impossible kms.
4011
4012 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
4013 (searchCrossSectionLine): Do not return a CrossSectionLine if there
4014 is none found within 1km.
4015
4016 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4017
4018 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
4019 Minimal cosmetics.
4020
4021 2012-05-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4022
4023 Preparations for fix issue620: Synchron navigation on non-existing km.
4024
4025 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java
4026 (getData): Return empty lines if no cross section found.
4027
4028 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4029
4030 Display mittlere hoehe (which is not yet calculated).
4031
4032 * doc/conf/themes.xml: Added theme prop to display middlere hoehe or not.
4033
4034 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
4035 (parseShowMiddleHeight): New, parse the new theme prop.
4036
4037 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
4038 (fillWater, ListWithArea): Return new type wich also contains area.
4039
4040 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4041 Respect new theme prop and adjust label if set.
4042
4043 2012-05-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4044
4045 Beginning of calculation of Mittlere Hoehe: area calculation.
4046
4047 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
4048 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
4049 Adjusted to LineData constructor.
4050
4051 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java
4052 (area): New, calculate area of a polygon.
4053 Added todos where area calculation code paths are missing.
4054
4055 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
4056
4057 * doc/conf/meta-data.xml: Moved the hws layers out to an own node.
4058
4059 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java,
4060 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Moved the
4061 'name' property from WMSCatchmentArtifact to WMSDBArtifact.
4062
4063 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: Create
4064 more specific filter and extent that takes the 'name' into account.
4065
4066 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
4067
4068 * doc/conf/meta-data.xml: Moved the catchments out to an own node.
4069
4070 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java:
4071 Parse the name of required catchments fetch name specific catchments
4072 only.
4073
4074 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
4075
4076 * doc/conf/artifacts/map.xml: Added the 'floodmap.floodmaps' facet to the
4077 list of valid facets of the 'map' output.
4078
4079 * doc/conf/themes.xml: Renamed the 'Line' theme used for floodmaps to
4080 'FloodmapLines'.
4081
4082 2012-05-08 Ingo Weinzierl <ingo@intevation.de>
4083
4084 * doc/conf/mapserver/db_layer.vm: Added a PROJECTION section which is
4085 filled by the LayerInfo object.
4086
4087 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added
4088 a 'srid' property.
4089
4090 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the
4091 'srid' property of all LayerInfo objects.
4092
4093 2012-05-07 Raimund Renkert <raimund.renkert@intevation.de>
4094
4095 * doc/conf/artifacts/fixanalysis.xml:
4096 Changed state data and added new state.
4097
4098 * src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
4099 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
4100 src/main/java/de/intevation/flys/artifacts/states/fixation/EventSelect.java,
4101 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
4102 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java:
4103 Modified states and added new state for concrete event selection.
4104
4105 2012-05-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4106
4107 * doc/conf/themes: Add text-bg properties to Area style.
4108
4109 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
4110 (TextStyle.apply): Apply text bg theme-properties to renderer.
4111
4112 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
4113 Cosmetics.
4114
4115 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
4116 Added field to store labels background color, calculate arithmetic
4117 middles of polygons, to put label there (improves situation slightly).
4118
4119 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4120
4121 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
4122 (parseShowArea): parse show area field of theme.
4123
4124 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
4125 (TextStyle.apply): Be applicable to StableXYDifferenceRenderers.
4126
4127 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
4128 Apply setting from theme to renderer.
4129
4130 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
4131 Simplified area calculation (always calculate). Added getters and
4132 setters for text for label style, respect most of that.
4133
4134 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4135
4136 * doc/conf/themes: Let Area style not inherit from colorlines (as labels
4137 work slightly different. Enable showarea property. Comment dupe Lines.
4138
4139 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4140
4141 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
4142 (doArea): Add Lines.LineData datatype to areable data types.
4143
4144 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4145
4146 * doc/conf/themes.xml: Add two new options for waterlevel label in cs.
4147
4148 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
4149 Parse new theme properties.
4150
4151 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4152 Adjust label according to chosen properties.
4153
4154 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4155
4156 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
4157 (parseShowLineLabelBG): parse show line label bg field of theme.
4158
4159 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
4160 Respect show line label bg setting of theme.
4161
4162 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
4163 Apply setting from theme to renderer.
4164
4165 2012-05-03 Ingo Weinzierl <ingo@intevation.de>
4166
4167 * doc/conf/artifacts/winfo.xml: Added a 'helpText' field to each state.
4168 The 'helpText' field represents in this case a message in the i18n
4169 resources which should be a link to a online help page.
4170
4171 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
4172 Append the 'helpText' to the DESCRIBE document.
4173
4174 * src/main/resources/messages.properties,
4175 src/main/resources/messages_de_DE.properties,
4176 src/main/resources/messages_en.properties,
4177 src/main/resources/messages_de.properties: Added links to help text in
4178 the FLYS wiki.
4179
4180 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4181
4182 Use the colors specified in theme document for linelabel.
4183
4184 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
4185 New methods to find colors specified for linelabels.
4186
4187 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
4188 Store and use background and foreground color for linelabels.
4189
4190 * src/main/java/de/intevation/flys/jfree/XYStyle.java:
4191 Communicate colors of linelabels to renderer.
4192
4193 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4194
4195 Actually use the font specified in theme document for linelabel.
4196
4197 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
4198 Fixed paths for linelabel-related fields in theme doc.
4199
4200 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
4201 Set font for linelabel.
4202
4203 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4204
4205 * doc/conf/themes.xml: No default background show for linelabels.
4206
4207 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4208
4209 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
4210 Cosmetic, added annotation.
4211
4212 2012-05-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4213
4214 Parse font for linelabels, do not use it yet.
4215
4216 * doc/conf/themes.xml: Add more theme properties related to linelabels.
4217
4218 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
4219 (parseTextSize, parseLineLabelSize): New and slightly refactored.
4220 (parseLineLabelFont): New.
4221 (parseTextStyle, parseLineLabelStyle): New and slightly refactored.
4222
4223 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
4224 (setLineLabelFont, getLineLabelFont): New, accessors to
4225 linelabelfont field.
4226
4227 * src/main/java/de/intevation/flys/jfree/XYStyle.java
4228 (applyLineLabelFont): New.
4229
4230 2012-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4231
4232 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
4233 Make it compile again after signature change in backend.
4234
4235 2012-04-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4236
4237 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Doc.
4238
4239 2012-04-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4240
4241 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
4242 Added local class LineData and return it to also include
4243 Length of lines.
4244
4245 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
4246 Changed signature of interfaces getWaterLines.
4247
4248 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
4249 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
4250 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
4251 (getWaterLines): adjusted signature.
4252
4253 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
4254 Adjusted to return type of Lines.createWaterLines.
4255
4256 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
4257 Include length in label (stub).
4258
4259 * src/main/java/de/intevation/flys/jfree/HasLabel.java:
4260 New interface.
4261
4262 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java:
4263 Implement new HasLabel interface.
4264
4265 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
4266 Take into account that StyledXYSeries are HasLabel.
4267
4268 2012-04-26 Raimund Renkert <raimund.renkert@intevation.de>
4269
4270 Initial transition configuration and artifact/state stubs for fixation
4271 analysis.
4272
4273 * doc/conf/artifacts/fixanalysis.xml:
4274 New. Initial transition configuration.
4275
4276 * doc/conf/conf.xml:
4277 Added artifact and factory entry to config.
4278
4279 * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java:
4280 New. Stub with initial implementation.
4281
4282 * src/main/java/de/intevation/flys/artifacts/states/fixation,
4283 src/main/java/de/intevation/flys/artifacts/states/fixation/QSelect.java,
4284 src/main/java/de/intevation/flys/artifacts/states/fixation/ReferencePeriod.java,
4285 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationSelect.java,
4286 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationVolmerCompute.java,
4287 src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java,
4288 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationPeriod.java,
4289 src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java,
4290 src/main/java/de/intevation/flys/artifacts/states/fixation/GaugeRange.java,
4291 src/main/java/de/intevation/flys/artifacts/states/fixation/LocationSelect.java,
4292 src/main/java/de/intevation/flys/artifacts/states/fixation/AnalysisPeriods.java,
4293 src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
4294 New. Stubs for fixation states.
4295
4296 * src/main/resources/messages.properties,
4297 src/main/resources/messages_de_DE.properties,
4298 src/main/resources/messages_en.properties,
4299 src/main/resources/messages_de.properties:
4300 Added i18n strings.
4301
4302 2012-04-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4303
4304 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
4305 Add method to calculate length of water lines.
4306
4307 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4308
4309 Most of issue454: Label waterlevels.
4310
4311 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
4312 (drawSecondaryPass): Use correct label for lines.
4313
4314 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4315
4316 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
4317 (showSeriesMinimunX, showLineLabel): Renamed field.
4318 (isShowLineLabel, setShowLineLabel): Added getters and setters for
4319 showLineLabel field.
4320 (drawSecondaryPass): Respect showLineLabel field, draw static text
4321 as placeholder for real label (stub).
4322
4323 * doc/conf/themes.xml: Define theme prop 'showlinelabel' for Lines.
4324
4325 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse theme
4326 theme prop.
4327
4328 * src/main/java/de/intevation/flys/jfree/XYStyle.java: Apply showline
4329 theme prop.
4330
4331 2012-04-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4332
4333 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
4334 Cosmetics, doc.
4335
4336 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4337
4338 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
4339 Gah! Checked in out dated version.
4340
4341 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java,
4342 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
4343 Removed superfluous imports.
4344
4345 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4346
4347 * src/main/java/de/intevation/flys/artifacts/math/Outlier.java:
4348 New. Simple Grubb's outlier test. Needs testing. ;-)
4349
4350 2012-04-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4351
4352 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java
4353 (isMinimumX): Implemented minimum finding for x in analogy to the ones for
4354 y values. Stub to label dataset curves in plot.
4355
4356 2012-04-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4357
4358 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
4359 Cosmetics, added doc, TODO and an OPTIMIZE.
4360
4361 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4362
4363 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
4364 Make it cross platform.
4365
4366 2012-04-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4367
4368 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
4369 Make it compilable.
4370
4371 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
4372
4373 Issue 657.
4374
4375 * src/main/java/de/intevation/flys/artifacts/services/FileUploadService.java:
4376 New. Service to upload a file as base64 string embedded in xml structure.
4377
4378 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
4379 Extract shape files from zip archive and move them to artifact directory.
4380 Add the user shapefile as parameter for wsplgen calculation.
4381
4382 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
4383 Remove the artifact directory on step back.
4384
4385 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
4386 src/main/java/de/intevation/flys/exports/MapGenerator.java:
4387 Create layer to display the uploaded shapefile.
4388
4389 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java:
4390 Create a facet to output the user defined layer.
4391
4392 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4393 Added type for user shape file.
4394
4395 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java:
4396 Resized array for '-lin' parameter.
4397
4398 * doc/conf/artifacts/winfo.xml:
4399 Added facet to diplay user defined shapefile.
4400
4401 * doc/conf/conf.xml:
4402 Added file upload service.
4403
4404 * src/main/resources/messages.properties,
4405 src/main/resources/messages_de_DE.properties,
4406 src/main/resources/messages_en.properties,
4407 src/main/resources/messages_de.properties:
4408 Added i18n string.
4409
4410 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
4411
4412 Issue 560.
4413
4414 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENLayerFacet.java:
4415 New. Facet for WSPLGEN layers.
4416
4417 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java:
4418 Create a new WSPLGEN facet when creating uesk layers.
4419
4420 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java,
4421 src/main/java/de/intevation/flys/exports/MapGenerator.java:
4422 Use WSPLGENLayerFacet to create uesk layer.
4423
4424 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
4425 Switch back to false as return value in isQueryable().
4426
4427 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
4428
4429 Issue 560.
4430
4431 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java:
4432 Generate WSPLGEN-Layer with its own template and set the layertitle to
4433 an i18n string.
4434
4435 * src/main/java/de/intevation/flys/exports/MapGenerator.java:
4436 Call createUeskLayer with a CallContext.
4437
4438 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
4439 Set queryable to true.
4440
4441 * doc/conf/mapserver/wsplgen_layer.vm:
4442 New. Template for WSPLGEN-Layer.
4443
4444 2012-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4445
4446 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4447 Removed superfluous imports.
4448
4449 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
4450
4451 * doc/conf/themes.xml:
4452 Added mapping for manual points in historical discharge chart.
4453
4454 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
4455
4456 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4457 Fixed duplicated legend entry for manual points.
4458
4459 2012-04-18 Raimund Renkert <raimund.renkert@intevation.de>
4460
4461 Issue 494.
4462
4463 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4464 Create manual points with text annotations in time charts.
4465
4466 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
4467 Add manual points to the chart.
4468
4469 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
4470 Added historical discharge to chart types.
4471
4472 * doc/conf/artifacts/winfo.xml,
4473 doc/conf/artifacts/manualpoints.xml:
4474 Added manual points facet to output modes.
4475
4476 2012-04-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4477
4478 * contrib/fixoverview2html.xsl: Render optional check boxes.
4479 Use different font. TODO: Move to client,
4480
4481 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
4482 Ignore hours and seconds.
4483
4484 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de>
4485
4486 Issue 528, 637
4487
4488 * src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java:
4489 Added fields for new columns.
4490
4491 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
4492 Added columns for 'W at gauge' and fixed column header.
4493
4494 * src/main/resources/messages.properties,
4495 src/main/resources/messages_de_DE.properties,
4496 src/main/resources/messages_en.properties,
4497 src/main/resources/messages_de.properties:
4498 Added filenames for new pdf export templates.
4499
4500 2012-04-13 Raimund Renkert <raimund.renkert@intevation.de>
4501
4502 * doc/conf/jasper/reference_gauge_end.jasper,
4503 doc/conf/jasper/reference_gauge.jasper,
4504 doc/conf/jasper/reference_gauge_start_end.jasper:
4505 Small fixes in pdf templates.
4506
4507 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de>
4508
4509 Issue 528, 637.
4510
4511 * doc/conf/jasper/reference_gauge.jasper,
4512 doc/conf/jasper/reference_en_gauge.jasper:
4513 Modified templates.
4514
4515 * doc/conf/jasper/reference_gauge_end.jasper,
4516 doc/conf/jasper/reference_gauge_start_end.jasper,
4517 doc/conf/jasper/reference_en_gauge_end.jasper,
4518 doc/conf/jasper/reference_en_gauge_start_end.jasper:
4519 New. Templates for reference curve pdf export.
4520
4521 2012-04-12 Raimund Renkert <raimund.renkert@intevation.de>
4522
4523 Issue 528, 637.
4524
4525 * doc/conf/jasper/reference.jasper,
4526 doc/conf/jasper/reference_en.jasper:
4527 Fixed column header.
4528
4529 * doc/conf/jasper/reference_gauge.jasper,
4530 doc/conf/jasper/reference_en_gauge.jasper:
4531 New.
4532
4533 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4534
4535 * contrib/check-i18n-properties.py: Checked in unsaved version. :-/
4536
4537 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de>
4538
4539 Issue 656.
4540
4541 * src/main/resources/messages_en.properties:
4542 Added missing i18n strings.
4543
4544 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4545
4546 * contrib/check-i18n-properties.py: New. Script to check inconsistencies
4547 of i18n properties files: Detects duplicates and keys not defined in other
4548 properties files. Usage:
4549
4550 $ find -name messages\*.properties | \
4551 xargs contrib/check-i18n-properties.py
4552
4553 2012-04-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4554
4555 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
4556 Generate error message when more than one Q is found for given
4557 Q in "W auf freier Strecke".
4558
4559 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
4560 Added feature to adopt problems from other reports.
4561
4562 * src/main/resources/messages.properties,
4563 src/main/resources/messages_de_DE.properties,
4564 src/main/resources/messages_en.properties,
4565 src/main/resources/messages_de.properties:
4566 Added i18n for the error message.
4567
4568 2012-04-11 Raimund Renkert <raimund.renkert@intevation.de>
4569
4570 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
4571 Use factor to calculate steps in range input mode.
4572
4573 2012-04-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4574
4575 * doc/conf/cache.xml: Increased number of fixings columns a bit.
4576
4577 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
4578 Corrected misspelled cache name. Added bebug output.
4579
4580 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java:
4581 Added debug output.
4582
4583 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4584
4585 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4586 Small fixes: The service works as expected but there seems
4587 to be a caching issue.
4588
4589 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4590
4591 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4592 Generate chart and deliver the image as the response of the service.
4593
4594 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
4595 Return null when looking for a fixing data column that does not exist.
4596
4597 2012-04-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4598
4599 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
4600 Load ws and qs from database. Cache the fixings columns.
4601
4602 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java:
4603 Removed column id and added q values.
4604
4605 * doc/conf/cache.xml: Added cache for the columns of the fixings.
4606
4607 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de>
4608
4609 Fix for 'W free' validation and theme names.
4610
4611 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
4612 Append the current Q values to theme name if the previous theme has
4613 the same name.
4614
4615 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
4616 Use the start km to get min/max W values in distance mode and use the
4617 first km to get min/max W values if in location mode.
4618
4619 2012-04-05 Raimund Renkert <raimund.renkert@intevation.de>
4620
4621 Issue 499.
4622
4623 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
4624 Added validation for 'W free' using WstValueTable min/max values.
4625
4626 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
4627 Added getter for WstValueTable.
4628
4629 2012-04-05 Ingo Weinzierl <ingo@intevation.de>
4630
4631 * doc/conf/themes.xml: Defined a theme for WSPLGEN layers.
4632
4633 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
4634 Made style creation more robust against nullpointers and added an
4635 Expression class.
4636
4637 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a static
4638 method createWSPLGENStyle() and some helpers to create a WSPLGEN style.
4639
4640 * src/main/java/de/intevation/flys/exports/MapGenerator.java,
4641 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Methods
4642 for creating the WSPLGEN layer now take a style document.
4643
4644 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4645
4646 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4647 Extract parameters from input xml and fetch fixings filters and overview
4648 to find the columns to be viewed.
4649 TODO: Generate chart.
4650
4651 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumn.java: Added
4652 boolean result to indicate if value comes from table or is interpolated.
4653
4654 * src/main/java/de/intevation/flys/artifacts/model/FixingsColumnFactory.java:
4655 New. Factory to fetch fixings column data from cache or database. Stub by now.
4656
4657 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4658
4659 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java:
4660 New. Service to generate a chart of fixings for given river and km applied
4661 some filters.
4662
4663 Usage:
4664 $ curl http://localhost:8181/service/fixings-km-chart \
4665 -d @fix-overview.xml > chart.png
4666
4667 The input XML is nearly the same as for the overview service.
4668 Besides the river, filters and range it accepts elements
4669 <km value="..."/> for passing the river km,
4670 <extent width="..." height="..."/> for the extent of the output chart,
4671 <mime type="..."/> for type of result. Currently ignored.
4672
4673 ATM only a static fixed sized PNG image is delivered.
4674
4675 * doc/conf/conf.xml: Added service to list of services.
4676
4677 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4678
4679 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
4680 Made bullet proof for null filters and ranges.
4681
4682 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
4683 Fixed bug which leeds to always generating a null range filter.
4684
4685 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4686
4687 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
4688 Squashed performance bug introduced in rev4070, which slowed down
4689 CSV export about 245 times!
4690
4691 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
4692 Added debug output about savings when joining neighbored nodes.
4693
4694 2012-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4695
4696 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
4697 Removed the code for filter building.
4698
4699 * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
4700 New. Now contains the code for filter building. This useful because other
4701 services like the "Fixierungs-Rohdaten am KM" service need this filtering, too.
4702
4703 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
4704 Refactored the code to obtain a filtered list of fixings columns without
4705 the XML serialization, too. The "Fixierungs-Rohdaten am KM" service
4706 does not need the overview data but the ids of the fixing columns to be
4707 displayed.
4708
4709 2012-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4710
4711 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java,
4712 src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
4713 src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
4714 Derive from XMLService now.
4715
4716 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
4717 Removed superfluous import.
4718
4719 2012-03-30 Ingo Weinzierl <ingo@intevation.de>
4720
4721 flys/issue460 (W-Differenzen: Frühere Berechnungen aus den Datenkorb werden doppelt geladen)
4722
4723 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
4724 code to find out all Outputs of this Artifacts. A method getOutputs()
4725 had been implemented some time ago that does exactly this work.
4726
4727 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Heavy
4728 bugfix! Adding the current state id to the list of previous state ids
4729 for temporary usage was no good idea! Now, the list of previous state
4730 ids only modifified in advance(). This solves the problem of having
4731 duplicated Outputs in the Artifact's DESCRIBE document.
4732
4733 2012-03-29 Ingo Weinzierl <ingo@intevation.de>
4734
4735 flys/issue366 (W-INFO / Abflusskurve, Diagramm: Umbenennen von Themen und Anzeige im Diagramm)
4736
4737 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
4738 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
4739 Use description from ArtifactAndFacet objects for JFreeChart Series
4740 creation.
4741
4742 2012-03-28 Ingo Weinzierl <ingo@intevation.de>
4743
4744 flys/issue362 (W-Info / Abflusskurve, Diagramm)
4745
4746 * doc/conf/themes.xml: Adjusted text color of w and q main values for
4747 computed discharge curves.
4748
4749 2012-03-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4750
4751 flys/issue639: Bezugsliniendiagramm,Achsen-Intervall-Skalierung vereinheitlichen
4752
4753 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
4754 Render only axis ticks in meters.
4755
4756 2012-03-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4757
4758 * doc/conf/themes.xml: Let hyks have a text orientation in themes.
4759
4760 2012-03-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4761
4762 Fix flys/issue491, if area fill between curve and axis, draw not only
4763 to zero.
4764
4765 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
4766 (doArea): Add an artificial dataset to set lower bounds for area.
4767
4768 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
4769 (addPoints): New convenience method to be used in future.
4770 (createGroundAtInfinity, createCeilingAtInfinity): Create artificial
4771 datasets for better areas.
4772
4773 2012-03-20 Raimund Renkert <raimund.renkert@intevation.de>
4774
4775 Issue 506.
4776
4777 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
4778 Create the date from long values instead of the year.
4779
4780 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
4781 Added method to transform a String into an array of long values.
4782
4783 * doc/conf/artifacts/winfo.xml:
4784 changed data type from intrange to longrange.
4785
4786 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
4787
4788 flys/issue544 (Historische ATs: Eingabeunterstützung W/Q)
4789
4790 * src/main/java/de/intevation/flys/artifacts/services/GaugeInfoService.java:
4791 New service that returns information for gauges based on a specified
4792 river.
4793
4794 * doc/conf/conf.xml: Registered the GaugeInfoService.
4795
4796 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
4797
4798 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
4799 Skip DischargeTables that have no time interval set or that are marked
4800 as master DischargeTable.
4801
4802 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Skip
4803 DischargeTables that have no time interval set.
4804
4805 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
4806
4807 flys/issue146 (In WINFO Diagramm Abflusskurve raus, wenn nicht gewünscht)
4808
4809 * doc/conf/artifacts/winfo.xml: Do not create outputs for discharge curves
4810 at gauge any longer.
4811
4812 2012-03-20 Ingo Weinzierl <ingo@intevation.de>
4813
4814 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe)
4815
4816 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Added
4817 the numeric value of a selected named main value to the WST column name.
4818
4819 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
4820
4821 * doc/conf/mapserver/db_layer.vm: Set the FILTER expression into double
4822 quotes (") instead of single quotes (') which allows single quotes in
4823 expressions.
4824
4825 * doc/conf/meta-data.xml: Moved the floodmaps from kilometrage to its
4826 parent folder.
4827
4828 * src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java:
4829 Fixed broken filter expression and set geometry type (MapServer does not
4830 know a 'MULTIPOLYGON').
4831
4832 2012-03-16 Raimund Renkert <raimund.renkert@intevation.de>
4833
4834 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
4835 Remove unnecessary outputs from attributes instead of copying outs to
4836 new attribute element.
4837
4838 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
4839
4840 * Tagged module as 'pre2.7-2012-03-16'.
4841
4842 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
4843
4844 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
4845 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
4846 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
4847 Removed useless imports.
4848
4849 2012-03-16 Ingo Weinzierl <ingo@intevation.de>
4850
4851 flys/issue523 (W-INFO / Bezugslinienverfahren / Linieneinstellungen / Min+Max anzeigen)
4852
4853 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
4854 Improved the look of the minimum and maximum shape of a series. They are
4855 now rectangles with a darker fill color as the line color is.
4856
4857 2012-03-15 Ingo Weinzierl <ingo@intevation.de>
4858
4859 flys/issue522 (W-INFO / Bezugslinienverfahren / Schriftgröße der Achsenbeschriftung)
4860
4861 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java,
4862 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
4863 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Label and
4864 tick label fonts for axes will now always be the same.
4865
4866 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
4867 Removed the createYAxis() method which is already implemented in an
4868 upper class. There, the method also takes the ChartSettings into account.
4869
4870 2012-03-15 Raimund Renkert <raimund.renkert@intevation.de>
4871
4872 Issue 547.
4873
4874 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
4875 Use date format with MEDIUM style.
4876
4877 * src/main/java/de/intevation/flys/utils/Formatter.java:
4878 Added date format with MEDIUM style.
4879
4880 2012-03-15 Ingo Weinzierl <ingo@intevation.de>
4881
4882 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a new
4883 method that returns the Bounds for a given XYDataset. Based on the
4884 concrete type of the XYDataset, the call is dispatched to a more specific
4885 method.
4886
4887 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4888 Removed the whole "range" stuff and some methods that are implemented in
4889 upper classes.
4890
4891 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Removed the
4892 setXRange() and setYRange() methods. In our own code, we will use Bounds
4893 instead of JFreeChart's Range instances to save range/bounds information.
4894 This is necessary to save information which is not not from type double
4895 (which is the case in Timeseries charts).
4896
4897 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Replaced
4898 usage of Range with Bounds in the whole class.
4899
4900 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
4901 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
4902 Adapted the method signature of zoom() and zoomX().
4903
4904 2012-03-14 Ingo Weinzierl <ingo@intevation.de>
4905
4906 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
4907 Copied the adjustAxes() method from XYChartGenerator which enables axes
4908 label font sizes.
4909
4910 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
4911 Removed unnecessary axes creation method which is implemented in upper
4912 classes.
4913
4914 2012-03-14 Raimund Renkert <raimund.renkert@intevation.de>
4915
4916 Issue 640.
4917
4918 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
4919 Remove all unnecessary output settings from attributes.
4920
4921 2012-03-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4922
4923 Partial for flys/issue358, rough stub for legenditem aggregation.
4924
4925 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
4926 Added rough stub for legend aggregation.
4927
4928 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
4929
4930 * doc/conf/themes.xml: Fixed broken XML syntax.
4931
4932 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
4933
4934 * doc/conf/meta-data.xml: Modified the datacage structure of 'floodmaps'.
4935
4936 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
4937
4938 * src/main/java/de/intevation/flys/artifacts/WMSFloodmapsArtifact.java: New.
4939 This Artifacts allows loading 'floodmaps'.
4940
4941 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
4942 new Facet type "floodmap.floodmaps" which are created by
4943 WMSFloodmapsArtifact.
4944
4945 * doc/conf/artifacts/winfo.xml: Registered the "floodmap.floodmaps" facet
4946 for "floodmap" output.
4947
4948 * doc/conf/conf.xml: Registered the new WMSFloodmapsArtifact.
4949
4950 * doc/conf/themes.xml: Added a theme for the "floodmap.floodmaps" facet.
4951
4952 * src/main/resources/messages.properties,
4953 src/main/resources/messages_de_DE.properties,
4954 src/main/resources/messages_en.properties,
4955 src/main/resources/messages_de.properties: Added i18n string for
4956 "floodmap.floodmaps" title.
4957
4958 2012-03-08 Ingo Weinzierl <ingo@intevation.de>
4959
4960 * doc/conf/meta-data.xml: Improved datacage configuration to serve
4961 floodmaps.
4962
4963 2012-03-05 Ingo Weinzierl <ingo@intevation.de>
4964
4965 flys/issue566 (ÜSK: Formalien in der Parametrisierung)
4966
4967 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java:
4968 Override getLabelFor() method to return better I18N strings for selected
4969 floodplain option.
4970
4971 * src/main/resources/messages.properties,
4972 src/main/resources/messages_de_DE.properties,
4973 src/main/resources/messages_en.properties,
4974 src/main/resources/messages_de.properties: Added options
4975 for floodplain (active/inactive) and adapted a german I18N string.
4976
4977 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4978
4979 Fix flys/issue 528 for csv.
4980
4981 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
4982 Fixed column order, reworked todos.
4983
4984 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4985
4986 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
4987 Fixed column order.
4988
4989 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4990
4991 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
4992 Stub to export the "W (cm)" column conditionally on Gauge presence.
4993
4994 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
4995
4996 * src/main/java/de/intevation/flys/exports/StepCSVWriter.java:
4997 New utility to handle csv rows of more "dynamical" length.
4998
4999 2012-03-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5000
5001 * src/main/java/de/intevation/flys/exports/StepCSVWriter.java:
5002 New utility to handle csv rows of more "dynamical" length.
5003
5004 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5005
5006 Fix flys/issue501 (manual points have two legend entries).
5007
5008 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5009 Respect wish to not have a legend entry.
5010
5011 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5012
5013 Fix flys/issue636 (cross-section: name of waterlevel facets).
5014
5015 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
5016 Corrected name for waterlevel facets.
5017
5018 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5019
5020 Partial fix flys/issue615 (datacage: events for fixations).
5021
5022 * doc/conf/meta-data.xml: Adjusted to make loading single events
5023 possible.
5024
5025 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5026
5027 Partial Dontcrash on flys/issue647 (NaNs from WstValueTable interpolation).
5028
5029 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
5030 Do not add data pairs where a NaN is present.
5031
5032 2012-03-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5033
5034 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
5035 Cosmetics, doc.
5036
5037 2012-02-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5038
5039 Added functions to be used for fitting in
5040 the "Fixierungsanalyse" and "Extremwertermittlung".
5041
5042 * src/main/java/de/intevation/flys/artifacts/math/fitting/Function.java: New.
5043 Abstract base class for functions to fit. Provides the name of the function,
5044 a short description, the names of the parameters and an initial parameter guess
5045 for the fit processe. Sub classes have to overwite the function evaluation and
5046 the partial derivative of the function in respect to the parameters.
5047
5048 TODO: Add a meachnism for the inverse function (needed for AT export) and
5049 the first derivative (needed for the respective diagram).
5050
5051 * src/main/java/de/intevation/flys/artifacts/math/fitting/FunctionFactory.java:
5052 New. Factory to fetch a function by its name.
5053
5054 * src/main/java/de/intevation/flys/artifacts/math/fitting/Exp.java: New.
5055 exp: W(Q) = m * a^Q + b
5056
5057 * src/main/java/de/intevation/flys/artifacts/math/fitting/Quad.java: New.
5058 quad: W(Q) = n*Q^2 + m*Q + b
5059
5060 * src/main/java/de/intevation/flys/artifacts/math/fitting/Linear.java: New.
5061 linear: W(Q) = m*Q + b
5062
5063 * src/main/java/de/intevation/flys/artifacts/math/fitting/LogLinear.java: New.
5064 log-linear: W(Q) = a*ln(m*Q + b)
5065
5066 * src/main/java/de/intevation/flys/artifacts/math/fitting/Log.java: New
5067 log: W(Q) = m*ln(Q + b)
5068
5069 * src/main/java/de/intevation/flys/artifacts/math/fitting/Pow.java: New.
5070 pow: W(Q) = a*Q^c + d
5071
5072 !!! This power function is new in the pool of functions to be fit. !!!
5073 See my mail "Manuelle Punkte in der Fixierungsanalyse" 2011-10-27 for details.
5074 The function exp-new found in the old FLYS function pool is omitted
5075 because it is worthless and was maybe never used.
5076
5077 * src/main/java/de/intevation/flys/artifacts/math/fitting/App.java: New.
5078 Small test driver to check if the fitting is working. The points to
5079 fit are read from stdin the function to fit is determined by the
5080 system property 'function'. Example usage:
5081
5082 $ mvn -e \
5083 -Dfunction=linear \
5084 -Dexec.mainClass=de.intevation.flys.artifacts.math.fitting.App exec:java <<EOF
5085 357.390696917 7546.72096163
5086 61.4291036312 1334.54835721
5087 799.962128234 16836.7698076
5088 126.52761023 2703.69789985
5089 900.448553398 18955.0578748
5090 EOF
5091
5092 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5093
5094 * src/main/resources/messages_de.properties:
5095 Added ommitted translations.
5096
5097 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5098
5099 fix flys/issue638.
5100
5101 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
5102 (doArea): Ract to WKms as upper/lower area data again.
5103
5104 2012-02-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5105
5106 Partial fix flys/issue637.
5107
5108 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java,
5109 src/main/resources/messages.properties,
5110 src/main/resources/messages_de_DE.properties,
5111 src/main/resources/messages_en.properties,
5112 src/main/resources/messages_de.properties:
5113 Modified translations.
5114
5115 2012-02-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5116
5117 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5118 - Calculate the extent of the river by the extents of the fixings.
5119 Reason: The river Elbe has only has fixings up to km 351. The other half
5120 of the river is empty which results in a sparse looking overview.
5121 - Add the name of the river as name attribute to resulting <river> element.
5122
5123 * contrib/fixoverview2html.xsl: New. Demo XSL transformation to turn
5124 the output of the overview service directly into HTML. Used in the
5125 client a variant of this script could be used for producing the content
5126 of the assistance widget. Usage:
5127
5128 $ curl http://localhost:8181/service/fixings-overview \
5129 -d @fix-overview.xml | \
5130 xsltproc contrib/fixoverview2html.xsl - \
5131 > fixings-overview.html
5132
5133 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5134
5135 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
5136 Made the filter mechanisms available via the incoming XML document.
5137
5138 1 - range: Simply add a <range from="..." to="..."/> element next to the
5139 <river> element. Optional. Defaults to full extent.
5140
5141 2 - filters: Add a <filter> element next to the <river> element.
5142 Optional. Defaults to accepting all.
5143 The <filter> element can contain the following elements:
5144
5145 <column cid="..."/>: Creates an IdFilter.
5146 <date when="..."/>: Creates a DateFilter.
5147 <date-range from="..." to="..."/>: Creates a DateRangeFilter.
5148 <sector-range from="..." to="..."/>: Create a SectorRangeFilter.
5149 <not>...</not>: Creates a NotFilter. The nested element is negated.
5150 <and>...</and>: Create an AndFilter: The nested elements are 'and'ed.
5151 <or>...</or>: Create an OrFilter: The nested elements are 'or'ed.
5152
5153 These filters need testing!
5154
5155 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5156 Made date format a public constant.
5157
5158 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5159
5160 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5161 Added a filter mechanism for generating output.
5162
5163 There are two kinds of filters:
5164
5165 1 - A range. Defaults to [-Double.MAX_VALUE, Double.MAX_VALUE]
5166 The resulting sectors are cut to this range. Sectors outside
5167 this range are omitted.
5168
5169 2 - column filters: Given a fixing column they can decide to keep
5170 or not to keep it. Following filters exist:
5171
5172 - IdFilter: Keep column if column id matches.
5173 - DateFilter: Keep column if column date matches.
5174 - DateRangeFilter: Keep column if column date is in range.
5175 - SectorRangeFilter: Keep colum if one of its q sectors is in given range.
5176 - NotFilter: Negates another nested filter.
5177 - AndFilter: Keep column if all nested filters accept column.
5178 - OrFilter: Keep column if at least one of the nested filters accepts it.
5179
5180 2012-02-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5181
5182 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5183 Refactored to build the Q sectors once at construction time and not
5184 every time output is generated.
5185 This will ease the job of applying filters to the Overview.
5186
5187 2012-02-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5188
5189 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
5190
5191 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java:
5192 New. A service that serves an XML overview version of the fixings of a given river.
5193
5194 The input documents look like this:
5195
5196 <?xml version="1.0" encoding="UTF-8"?>
5197 <fixings>
5198 <river name="Saar"/>
5199 </fixings>
5200
5201 The output documents looks like this:
5202
5203 <?xml version="1.0" encoding="UTF-8"?>
5204 <fixings>
5205 <river from="0.0" rid="1" to="93.0"/>
5206 <events>
5207 ...
5208 <event cid="85" date="29.01.1995 00:00" name="Fixierungen/0-93_1988-2001.wst">
5209 <sector class="0" from="82.7" to="92.85"/>
5210 </event>
5211 <event cid="86" date="13.11.1996 00:00" name="Fixierungen/0-93_1988-2001.wst">
5212 <sector class="2" from="0.0" to="50.599999"/>
5213 <sector class="1" from="50.6" to="65.89"/>
5214 </event>
5215 ...
5216 </events>
5217 </fixings>
5218
5219 The <river> element contains the extent of the whole river
5220 and its db id.
5221 The <events> sections contains serveral <event> elements.
5222 They have a meassure date, db id, a name and a number of <sector>s.
5223 These sectors are q classified from/to ranges. Classes are:
5224
5225 0: smaller (MNQ+MQ)/2
5226 1: (MNQ+MQ)/2 to (MQ+MHQ)/2
5227 2: (MQ+MHQ)/2 to HQ5
5228 3: greater HQ5
5229
5230 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java:
5231 New. Cacheable instance of the overview.
5232 TODO: Apply a filter mechanism when generating the output.
5233
5234 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java:
5235 New. Fetched the fixing overviews from cache if configured.
5236
5237 * doc/conf/conf.xml: Added the service.
5238 * doc/conf/cache.xml: Configured the cache for the fixing overviews.
5239
5240 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5241
5242 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ):
5243 Argh! Forget to check in the range method.
5244
5245 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5246
5247 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ):
5248 Symmetrical to getMinMaxW() add two methods to find min/max Q for a given
5249 km or a range. The range method is maybe a bit slow.
5250
5251 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5252
5253 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxW):
5254 Added signature to give w extend for a given km range.
5255
5256 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5257
5258 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxW):
5259 Added method to find the w extent for a given km. Useful
5260 for validating "W auf freier Strecke".
5261
5262 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
5263 Removed superfluous import.
5264
5265 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de>
5266
5267 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
5268 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
5269 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
5270 src/main/java/de/intevation/flys/utils/FLYSUtils.java,
5271 doc/conf/artifacts/winfo.xml:
5272 Renamed state data fields: wq_mode -> wq_isq
5273 wq_free -> wq_isfree
5274 wq_selection -> wq_isrange
5275
5276 2012-02-17 Raimund Renkert <raimund.renkert@intevation.de>
5277
5278 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
5279 Write the description instead of the Q value to CSV file.
5280
5281 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
5282 Added parameter to overriden method.
5283
5284 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
5285 Get Qs without range.
5286
5287 * src/main/resources/messages.properties,
5288 src/main/resources/messages_de_DE.properties,
5289 src/main/resources/messages_en.properties,
5290 src/main/resources/messages_de.properties:
5291 Adjusted i18n string for CSV metadata.
5292
5293 2012-02-17 Ingo Weinzierl <ingo@intevation.de>
5294
5295 Part II/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
5296
5297 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5298 Apply legend specific settings (show/hide).
5299
5300 2012-02-17 Ingo Weinzierl <ingo@intevation.de>
5301
5302 Part I/III flys/issue497 (Diagrammeigenschaften in Zeitseriendiagrammen)
5303
5304 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
5305 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
5306 adjustPlot() from XYChartGenerator to ChartGenerator which enables the
5307 TimeseriesChartGenerator to call this method as well.
5308
5309 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5310 Call adjustPlot() in generateChart() to apply the settings specific to
5311 gridlines in the timeseries plot.
5312
5313 2012-02-16 Raimund Renkert <raimund.renkert@intevation.de>
5314
5315 Refactored the wq data fields.
5316
5317 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
5318 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
5319 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
5320 Changed the wq data fields to boolean values.
5321
5322 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
5323 Changed the wq data fields to boolean values and added method that
5324 returns the km input mode.
5325
5326 2012-02-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5327
5328 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
5329 Fixed W->Q conversion for "W fuer ungleichwertige Abflusslaengsschnitte."
5330
5331 2012-02-16 Ingo Weinzierl <ingo@intevation.de>
5332
5333 flys/issue509 (Dauerlinie: Q-Achse sollte bei 0 beginnen)
5334
5335 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
5336 Set the lower bounds of the Q axis to 0 to avoid displaying negative
5337 discharge values.
5338
5339 2012-02-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5340
5341 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
5342 src/main/java/de/intevation/flys/artifacts/model/WKms.java:
5343 (guessWaterIncreasing): Removed from interface.
5344
5345 2012-02-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5346
5347 Fix flys/issue150 (exposure of gravitational anomalies)
5348
5349 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
5350 src/main/java/de/intevation/flys/artifacts/model/WKms.java:
5351 (guessWaterIncreasing): In analogy to W->WQ->WQKms defined and
5352 implemented.
5353
5354 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
5355 (needInvertAxis): Changed Parameter type to WKms (was WQKms).
5356 (doW): Use in this case weaker wkms cast to find out whether axis
5357 has to be inverted.
5358
5359 2012-02-15 Ingo Weinzierl <ingo@intevation.de>
5360
5361 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java: Fixed
5362 SQL statement to fetch hyk formations for rivers with 'km_up' = 0.
5363
5364 2012-02-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5365
5366 Another partial fix for flys/issue499: Do the W to Q conversions
5367 needed for "W am Pegel" correctly.
5368
5369 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
5370 Repaired getQsForW(): The mapping from W to Q is not unique! There
5371 could be more then one Q having the the same W.
5372 Ws are not strictly monoton/sorted so doing a binary search on this
5373 is just a fail. We now scan them linearly.
5374
5375 XXX: The whole class is mess. The scaling stuff is a stupid
5376 and there is no caching.
5377
5378 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
5379 Fetch the master discharge table for converting Ws to Qs. Handle
5380 the case that there are more Qs for a given W.
5381
5382 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java,
5383 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
5384 Adjusted to new semantic.
5385
5386 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5387
5388 Partial Fix flys/issue500: text-orientation for texts.
5389
5390 * doc/conf/themes.xml: Change default text orientation for text
5391 annotations.
5392
5393 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5394 Minor cosmetics.
5395
5396 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
5397 Parse and apply text rotation field.
5398
5399 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5400
5401 Partial fix for flys/issue499 (Wasserspiegellagen: Berechnung für W frei und Pegel kaputt)
5402 There are still validation issue in the client.
5403
5404 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
5405 Fixed state evaluation for "W auf freier Strecke"/"W am Pegel".
5406 There is still an issue in the client with the input validation
5407 which prevents entering the right W values for
5408 "W auf freier Strecke". :-/
5409
5410 2012-02-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5411
5412 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5413 Make it compilable again.
5414
5415 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5416
5417 Partial Fix flys/issue500: text-backgrounds for manual points.
5418
5419 * doc/conf/themes.xml: Added text-related style items to manual
5420 point themes.
5421
5422 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5423
5424 Partial Fix flys/issue500
5425
5426 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
5427 Parse whether to show text background. Apply to textannotation.
5428
5429 2012-02-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5430
5431 Fix flys/issue490
5432
5433 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5434 Pass artifact and facet for doAnnotation.
5435
5436 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5437
5438 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
5439 Use AddScaleFunction instead of LinearFunction.
5440
5441 * src/main/java/de/intevation/flys/artifacts/math/AddScaleFunction.java:
5442 New. f(x) = m*(x+b). I know its aequivalent to m*x + m*b but it
5443 makes more clear that the datum [m] (PNP) is substracted before the
5444 scaling to cm is done.
5445
5446 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
5447
5448 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Bugfix: take
5449 care on empty ArtifactAndFacet objects in doAnnotations().
5450
5451 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5452
5453 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java:
5454 Inherits from ReferenceCurveGenerator now which really simplifies it a lot.
5455
5456 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
5457 Added to methods to be overwritten by sub classes.
5458
5459 * src/main/resources/messages.properties,
5460 src/main/resources/messages_de_DE.properties,
5461 src/main/resources/messages_en.properties,
5462 src/main/resources/messages_de.properties: Adjusted i8n.
5463
5464 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5465
5466 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
5467 Indexed access to getInCm.
5468
5469 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
5470 Simplified. Do not provide any data to blackboard. Only side effect the
5471 call context.
5472
5473 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
5474 Added convinience method to i18n string with defaulting to key name.
5475
5476 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
5477 Label the axis according the scale types of the data.
5478 TODO: Let the NormalizedReferenceCurveGenerator be a sub class of
5479 this.
5480
5481 * src/main/resources/messages.properties,
5482 src/main/resources/messages_de_DE.properties,
5483 src/main/resources/messages_en.properties,
5484 src/main/resources/messages_de.properties: i18n for the reference curve axes.
5485
5486 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
5487
5488 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
5489 Fixed wrong double array dimension for PDF exports and write correct
5490 differences into PDF.
5491
5492 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5493
5494 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
5495 src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
5496 Adjust function to deliver data provider ('blackboard') keys.
5497
5498 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
5499 Change the way we exploit the blackboard-mechanism. TODOs added.
5500
5501 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5502
5503 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
5504 Argh! Finally found the stupid bug in the W~W relation:
5505 Used iQ1 index on W2(Q2).
5506
5507 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5508
5509 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
5510 Improved error messsages even more.
5511
5512 * src/main/resources/messages.properties,
5513 src/main/resources/messages_de_DE.properties,
5514 src/main/resources/messages_en.properties,
5515 src/main/resources/messages_de.properties: Adjusted messages.
5516
5517 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5518
5519 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
5520 Forget to put new created WWAxisType onto blackboard.
5521
5522 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5523
5524 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
5525 Adjust offset of linear function by same factor as the values.
5526
5527 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
5528
5529 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Write
5530 correct min and max values for date axes into the info document.
5531
5532 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
5533 Enabled zooming for timeseries charts.
5534
5535 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
5536
5537 * src/main/java/de/intevation/flys/jfree/Bounds.java,
5538 src/main/java/de/intevation/flys/jfree/TimeBounds.java,
5539 src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Added a method
5540 applyBounds(ValueAxis, int) that might be used to adapt the range of the
5541 axis to the bounds adding a space to the left and right.
5542
5543 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
5544
5545 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Defined
5546 new abstract methods for setting and getting Bounds. Modified and
5547 renamed getValueAxisRange(). This method is now called
5548 getValueAxisRangeFromRequest() and returns no longer a Range object but
5549 a String array that consists of the raw string values speicified in the
5550 request document.
5551
5552 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5553 Implemented the missing method getDomainAxisRange(). This method returns
5554 a Range object based on the String array returned from
5555 getValueAxisRangeFromRequest().
5556
5557 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
5558
5559 * src/main/java/de/intevation/flys/jfree/TimeBounds.java: Added new
5560 methods getLowerAsDate() and getUpperAsDate(). The toString() method
5561 will now return a string that contains a human readable date string.
5562
5563 * src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Made 'lower'
5564 always be smaller than 'upper' in the default constructor.
5565
5566 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5567
5568 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
5569 Give more precise message when an error occurs in W~W relation.
5570
5571 * src/main/resources/messages.properties,
5572 src/main/resources/messages_de_DE.properties,
5573 src/main/resources/messages_en.properties,
5574 src/main/resources/messages_de.properties:
5575 Improved error messages.
5576
5577 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
5578
5579 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Modified
5580 and renamend getDomainAxisRange(). This method is now called
5581 getDomainAxisRangeFromRequest() and returns no longer a Range object but
5582 a String array that consists of the raw string values specified in the
5583 request document.
5584
5585 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
5586 Implemented the missing method getDomainAxisRange(). This method returns
5587 a Range object based on the String array returned from
5588 getDomainAxisRangeFromRequest().
5589
5590 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
5591
5592 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a
5593 helper function to determine the min and max bounds (x and y) for
5594 TimeSeriesCollections.
5595
5596 2012-02-10 Ingo Weinzierl <ingo@intevation.de>
5597
5598 * src/main/java/de/intevation/flys/jfree/TimeBounds.java,
5599 src/main/java/de/intevation/flys/jfree/DoubleBounds.java: Removed
5600 useless imports.
5601
5602 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5603
5604 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
5605 Add accessors to relative heights.
5606
5607 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
5608 Add relative heights (to gauge) to csv export.
5609
5610 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
5611
5612 * pom.xml: Added dependency to GeoTools swing module.
5613
5614 * src/main/java/de/intevation/flys/artifacts/map/PrintMap.java: Standalone
5615 demo application to print WMS layers to file.
5616
5617 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
5618
5619 * src/main/java/de/intevation/flys/jfree/TimeBounds.java,
5620 src/main/java/de/intevation/flys/jfree/DoubleBounds.java,
5621 src/main/java/de/intevation/flys/jfree/Bounds.java: New model classes that
5622 should be used for adapting axes ranges later.
5623
5624 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5625
5626 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
5627 Generate a valid intial i18n name.
5628
5629 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
5630 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
5631 Pass call context to calculation.
5632
5633 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
5634
5635 flys/issue485 (Themen können umgenannt werden, dies wird nicht in der Legende reflektiert)
5636
5637 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
5638 Use ArtifactAndFacet.setFacetDescription() to set the description for
5639 themes which are stored in the Collection's XML attribute.
5640
5641 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
5642 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
5643 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
5644 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
5645 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
5646 src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java,
5647 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
5648 src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
5649 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
5650 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
5651 Some refactoring of doXXXOut() methods. We pass the ArtifactAndFacet
5652 objects of doOut() into those concrete doOut() methods which allows us to
5653 generate series names for chart curves.
5654
5655 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5656
5657 * doc/conf/meta-data.xml: Replaced dashes by underscores in entities
5658 to ease translation.
5659
5660 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5661
5662 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
5663 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
5664 Fixed problem with including Y-Zeros.
5665
5666 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
5667 src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
5668 Removed superfluous imports.
5669
5670 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5671
5672 Allow points in "new chart"s.
5673
5674 * doc/conf/artifacts/chart.xml: Added manualpoint facets to
5675 compatibility lists.
5676
5677 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
5678
5679 * src/main/java/de/intevation/flys/jfree/Style.java: New. A Style object
5680 needs to implements a method applyTheme() which takes a
5681 XYLineAndShapeRenderer.
5682
5683 * src/main/java/de/intevation/flys/jfree/XYStyle.java: New. This subclass of
5684 Style modifies the XYLineAndShapeRenderer specified in applyTheme().
5685
5686 * src/main/java/de/intevation/flys/jfree/StyledSeries.java: New. This
5687 interface defines two methods getStyle() and setStyle() to adjust and
5688 retrieve the Style of a series.
5689
5690 * src/main/java/de/intevation/flys/jfree/StyledTimeSeries.java: New.
5691 Implementation of StyledSeries that subclasses JFreeChart's TimeSeries.
5692
5693 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: Removed the
5694 code for adapting a XYLineAndShapeRenderer. Instead of implementing this
5695 stuff in StyledXYSeries itself, this instance now implements StyledSeries
5696 and stores an instance of XYStyle.
5697
5698 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
5699 Create new instances of StyledTimeSeries now which enables styling in this
5700 chart.
5701
5702 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Enabled
5703 styling of series for all series that implement StyledSeries.
5704
5705 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5706
5707 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
5708 Be more conservative about arrays and indices in "Bezugslinienverfahren".
5709
5710 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5711
5712 Allow areas in new chart/longitudinal_section.
5713
5714 * doc/conf/artifacts/chart.xml: Added area facet to compatibility
5715 list.
5716
5717 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5718
5719 Fix flys/issue490. Allow CollisionFree..Annotations to collide with
5720 non-collision-free annotations.
5721
5722 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotationEntity.java:
5723 New, to take advantage of cheap instanceof operator.
5724
5725 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
5726 Only avoid collisions with members of same family (i.e. allow
5727 collision with annotations of other types).
5728
5729 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
5730
5731 * doc/conf/themes.xml: Added themes for historical discharge curves and
5732 the differences to a reference curve.
5733
5734 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
5735
5736 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Some
5737 bugfixes and improvements:
5738 1) take only historical discharge tables into account for calculation
5739 2) use the correct values for computing differences
5740 3) moved timerange preparation into an own method
5741
5742 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5743
5744 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
5745 Fix call to StringUtils.join .
5746
5747 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5748
5749 * src/main/resources/messages.properties,
5750 src/main/resources/messages_de_DE.properties,
5751 src/main/resources/messages_en.properties,
5752 src/main/resources/messages_de.properties:
5753 Added i18n string for waterlevels (from datacage).
5754
5755 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5756
5757 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
5758 Locale-format multiple double values also.
5759
5760 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
5761
5762 * doc/conf/artifacts/winfo.xml: Registered a new facet for difference curves
5763 to the historical discharge output.
5764
5765 * src/main/java/de/intevation/flys/artifacts/model/HistoricalWQTimerange.java:
5766 New model that is able to store a further double value "diff" besides a W,
5767 Q and a Timerange.
5768
5769 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Create
5770 new HistoricalWQTimerange instances with difference between the reference
5771 discharge table and the historical discharge tables.
5772
5773 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New type
5774 for historical differences.
5775
5776 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java: Cast
5777 Timerange array in getTimeranges().
5778
5779 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeDifferenceFacet.java:
5780 New Facet for historical discharge difference curves.
5781
5782 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
5783 Create new Facets for the difference curves if the processed data are from
5784 type HistoricalWQTimerange.
5785
5786 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
5787 Added doOut() path for difference curves.
5788
5789 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
5790 Increased the size of a double array to be able to get results from
5791 HistoricalWQTimerange.
5792
5793 * src/main/resources/messages.properties,
5794 src/main/resources/messages_de_DE.properties,
5795 src/main/resources/messages_en.properties,
5796 src/main/resources/messages_de.properties: Added translation for warning
5797 if no reference discharge table was found for the specified gauge.
5798
5799 2012-02-09 Raimund Renkert <raimund.renkert@intevation.de>
5800
5801 Added PDF export to reference curve calculation.
5802
5803 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
5804 Added PDF export.
5805
5806 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
5807 doc/conf/artifacts/winfo.xml:
5808 Add facet for PDF export to state.
5809
5810 * src/main/java/de/intevation/flys/artifacts/model/WWQQJRDataSource.java:
5811 New. Datasource for JasperReports containing reference curve data.
5812
5813 * src/main/resources/messages.properties,
5814 src/main/resources/messages_de_DE.properties,
5815 src/main/resources/messages_en.properties,
5816 src/main/resources/messages_de.properties:
5817 Added i18n strings for JasperReports template file and calculation mode.
5818
5819 * doc/conf/jasper/reference.jasper,
5820 doc/conf/jasper/reference_en.jasper:
5821 New. Templates for reference curve PDF export.
5822
5823 2012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5824
5825 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java(getReferenceEndKms):
5826 Prevent duplicates in end kms for reference curve calculation.
5827
5828 2012-02-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5829
5830 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
5831 doc/conf/artifacts/winfo.xml: Renamed data item names to allow
5832 translations.
5833
5834 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5835
5836 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
5837 Give (Normalized)ReferenceCurveFacets are more appropriate
5838 description (to be seen in client).
5839
5840 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5841
5842 Prepare Reference curves to eat multiple locations as 'Ziel'.
5843
5844 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
5845 Cosmetics.
5846
5847 * src/main/java/de/intevation/flys/artifacts/states/EnterMultipleLocationsState.java:
5848 New. State to provoke multi_location_panel.
5849
5850 * doc/conf/artifacts/winfo.xml: Made end state of ref curves a (new)
5851 EnterMultipleLocationState.
5852
5853 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
5854
5855 flys/issue483 (Historische Abflusstafeln ohne Ergebnis)
5856
5857 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Add
5858 a problem for the calculation report if no discharge tables were found
5859 for the given timerange.
5860
5861 * src/main/resources/messages.properties,
5862 src/main/resources/messages_de_DE.properties,
5863 src/main/resources/messages_en.properties,
5864 src/main/resources/messages_de.properties: Added translation for error
5865 messages created by Calculation6.
5866
5867 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5868
5869 * src/main/java/de/intevation/flys/utils/Formatter.java:
5870 Format kms in error reports at least with one digit after
5871 the decimal separator.
5872
5873 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5874
5875 Fix flys/issue468 (Fehler beim Projekt-Duplizieren)
5876
5877 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
5878 Always create a new XML document when calling report generation.
5879 XXX: There is a bug somewhere which calls error reporting twice
5880 when cloning a collection. Speculation: It has something to do with
5881 the settings stuff.
5882
5883 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
5884 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
5885 Remove superfluous imports.
5886
5887 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java:
5888 Added missing Override annotation.
5889
5890 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5891
5892 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
5893 Handle Manual Point Facets, added TODO.
5894
5895 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5896
5897 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
5898 Subclass BlackboardDataFacet to repair areas over cross sections.
5899
5900 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
5901
5902 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Let text
5903 and line annotations placed at x or y axes always be in foreground.
5904
5905 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5906
5907 Fix flys/issue474 (manual points in reference curves).
5908
5909 * doc/conf/artifacts/winfo.xml,
5910 doc/conf/artifacts/manualpoints.xml:
5911 Add manualpoints to lists just so that really everybody knows.
5912
5913 * doc/conf/themes.xml: Add styles for manual points in ref curves.
5914
5915 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5916 Add ref curve chart types.
5917
5918 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
5919 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
5920 Handle manual point facets.
5921
5922 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5923
5924 Partial Fix flys/issue474.
5925
5926 * src/main/resources/messages.properties,
5927 src/main/resources/messages_de_DE.properties,
5928 src/main/resources/messages_en.properties,
5929 src/main/resources/messages_de.properties: Added translation for
5930 normalized_reference_curve.
5931
5932 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5933
5934 Fix flys/issue475.
5935
5936 * doc/conf/themes.xml: Register theme for reference_curve_normalized.
5937
5938 2012-02-08 Ingo Weinzierl <ingo@intevation.de>
5939
5940 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Add a "/" to the
5941 URL of the user wms if the URL configured in conf.xml doesn't end with
5942 a "/".
5943
5944 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5945
5946 Fix flys/issue472.
5947
5948 * doc/conf/themes.xml: Added theme for discharge_curve manualpoints.
5949
5950 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
5951 Added discharge_curve as chart type.
5952
5953 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5954
5955 Fix flys/issue484 ((i18n: Ungleichwertige... Report))
5956
5957 * src/main/resources/messages.properties,
5958 src/main/resources/messages_de_DE.properties,
5959 src/main/resources/messages_en.properties,
5960 src/main/resources/messages_de.properties: Fixed key spelling.
5961
5962 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5963
5964 Fix flys/issue478 (Manuelle Punkte: Stil nicht änderbar).
5965
5966 * doc/conf/themes: Map correct theme to manualpoint themes.
5967
5968 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5969
5970 Partial fix flys/issue472 .
5971
5972 * doc/conf/artifacts/winfo.xml: Add manual points to compatibility
5973 list of cross_sections.
5974
5975 * doc/conf/artifacts/manualpoints.xml: Add manualpoints to list of
5976 generated facets.
5977
5978 2012-02-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5979
5980 * doc/conf/themes.xml: Commented styling option for show area until
5981 area calculation works.
5982
5983 2012-02-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5984
5985 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
5986 i18n the km of the error report.
5987
5988 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
5989 Fixed potential race conditions.
5990
5991 * src/main/java/de/intevation/flys/utils/Formatter.java: Added
5992 formatter for error report kms.
5993
5994 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
5995 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
5996 Removed superfluous imports.
5997
5998 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
5999 Commented out some imports. They are used be out commented code.
6000
6001 2012-02-07 Ingo Weinzierl <ingo@intevation.de>
6002
6003 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
6004 Use the correct km key for an unspecific km for fetching the whole river
6005 annotations.
6006
6007 2012-02-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6008
6009 * doc/conf/conf.xml: Added missing config of chart info generator
6010 of normalized reference curve.
6011
6012 2012-02-07 Ingo Weinzierl <ingo@intevation.de>
6013
6014 * doc/conf/conf.xml: Fixed wrong chart info generator name for historical
6015 discharge curves.
6016
6017 2012-02-07 Raimund Renkert <raimund.renkert@intevation.de>
6018
6019 Added PDF export for historical discharge curve calculations.
6020
6021 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
6022 Implemented PDF export for calculation results.
6023
6024 * src/main/java/de/intevation/flys/artifacts/model/WQTJRDataSource.java:
6025 New. Datasource for JasperReports.
6026
6027 * doc/conf/artifacts/winfo.xml:
6028 Added facet for PDF export to historical discharge curve output mode.
6029
6030 * src/main/resources/messages.properties,
6031 src/main/resources/messages_de_DE.properties,
6032 src/main/resources/messages_en.properties,
6033 src/main/resources/messages_de.properties:
6034 Added i18n strings for historical discharge curve export.
6035
6036 * doc/conf/jasper/historical-discharge.jasper,
6037 doc/conf/jasper/historical-discharge_en.jasper:
6038 New. Templates for JasperReports PDF creation.
6039
6040 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6041
6042 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6043 Handle WWQQs, extended CSV export of reference curves.
6044
6045 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6046
6047 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
6048 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
6049 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
6050 Recactored, moved Formatter accessors to base class AbstractExporter.
6051
6052 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6053
6054 Let reference curve calculation result in specific WWQQ, extended CSV
6055
6056 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java
6057 (getWW,getWWQQ): Renamed and changed result type.
6058
6059 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java,
6060 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6061 Result in WWQQs, not in WWs.
6062
6063 2012-02-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6064
6065 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6066 Log error as warning.
6067
6068 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6069
6070 * src/main/java/de/intevation/flys/artifacts/math/LinearFunction.java:
6071 New. Linear function f(x) = m*x + b.
6072
6073 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
6074 Do the normalizing. Cascading functions is not required.
6075
6076 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6077
6078 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveInfoGenerator.java:
6079 Added missing chart info generator for the normalized reference curves.
6080
6081 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6082
6083 * src/main/resources/messages_de_DE.properties,
6084 src/main/resources/messages_de.properties: Fix i18n.
6085
6086 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6087
6088 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
6089 Added optional boolean flag to indicated if the data should be 'normalized'.
6090 TODO: Build the cascading normalising function call chain.
6091
6092 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java,
6093 src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6094 Fetch WWAxisTypes from call context to do the right scaling.
6095
6096 2012-02-06 Raimund Renkert <raimund.renkert@intevation.de>
6097
6098 Added service for discharge infos at a specific gauge.
6099
6100 * doc/conf/conf.xml: Added service factory entry.
6101
6102 * src/main/java/de/intevation/flys/artifacts/services/DischargeInfoService.java:
6103 New. Returns description, start year and end year of discharges at a
6104 specific gauge.
6105
6106 * src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
6107 Return a more specific ui provider string.
6108
6109 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6110
6111 * doc/conf/conf.xml: Registered generator for normalized reference curves.
6112
6113 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6114 Added "reference_curve_normalized".
6115
6116 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6117 Added facets for normalized reference curves.
6118
6119 * src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java:
6120 Generator for normalized reference curves.
6121
6122 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6123
6124 * doc/conf/artifacts/winfo.xml: Added config for "reduzierte Bezugslinie".
6125
6126 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6127
6128 * doc/conf/artifacts/winfo.xml: Added error report.
6129
6130 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
6131
6132 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Set
6133 proper bounds for date axis elements; tell the transformation matrix which
6134 type it is (number/date).
6135
6136 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6137
6138 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6139 Include location description string in csv output of referencecurve-
6140 exporter.
6141
6142 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6143
6144 * src/main/java/de/intevation/flys/artifacts/model/WW.java: Added constructor call.
6145 * src/main/java/de/intevation/flys/artifacts/model/WWQQ.java: New.
6146 Stores the Qs for the Ws, too.
6147
6148 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java: Create
6149 WWQQs instead of WWs.
6150
6151 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6152
6153 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6154 Added further i18n stubs and slightly more data.
6155
6156 2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6157
6158 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
6159 Return the Qs of the Ws, too.
6160
6161 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
6162 Adjusted to cope with the return Qs. TODO: Create WQWQ or WWQQ dataset
6163 for storing the result.
6164
6165 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6166
6167 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6168 Added further i18n stubs.
6169 Also added a second Y axis (experimental, to ease axis labeling etc.).
6170
6171 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6172
6173 * doc/conf/artifacts/winfo.xml: Register new export output and csv
6174 facet for reference curves.
6175
6176 * doc/conf/conf.xml: Register Exporter for reference curve.
6177
6178 * src/main/java/de/intevation/flys/exports/ReferenceCurveExporter.java:
6179 Primitive exporter, bland copy of another one.
6180
6181 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6182
6183 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6184 Enabled some i18n of labels.
6185
6186 * src/main/resources/messages.properties,
6187 src/main/resources/messages_de_DE.properties,
6188 src/main/resources/messages_en.properties,
6189 src/main/resources/messages_de.properties: Basic i18n for reference
6190 curves added.
6191
6192 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
6193
6194 * doc/conf/conf.xml: Registered the HistoricalDischargeCurveInfoGenerator.
6195
6196 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveInfoGenerator.java:
6197 New. This info generator returns information of a
6198 HistoricalDischargeCurveGenerator.
6199
6200 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Add an
6201 attribute "axistype" to axes nodex based on the JFreeChart Axis type.
6202 Number axes get a "number", date axes a "date".
6203
6204 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Defined an
6205 abstract method getRangesForAxis().
6206
6207 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Awaits
6208 now an instance of ChartGenerator instead of XYChartGenerator.
6209
6210 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
6211 Implemented the getRangesForAxis() method (copied from XYChartGenerator).
6212
6213 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
6214 @Override annotation to getRangesForAxis().
6215
6216 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6217
6218 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
6219 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
6220 Cosmetics.
6221
6222 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6223
6224 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6225 Add CSV facet (not yet evaluated).
6226
6227 2012-02-06 Ingo Weinzierl <ingo@intevation.de>
6228
6229 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java:
6230 New. This OutGenerator exports historical discharge curves to CSV and PDF.
6231 Currently, only the CSV export is implemented!
6232
6233 * doc/conf/artifacts/winfo.xml: Registered a new Output CSV for historical
6234 discharge curves.
6235
6236 * doc/conf/conf.xml: Registered the HistoricalDischargeCurveExporter.
6237
6238 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
6239 Generate new Facets for CSV and PDF output.
6240
6241 * src/main/java/de/intevation/flys/utils/Formatter.java: Added new functions
6242 that return number formatters for historical discharge curves and a date
6243 formatter for short dates.
6244
6245 * src/main/resources/messages.properties,
6246 src/main/resources/messages_de_DE.properties,
6247 src/main/resources/messages_en.properties,
6248 src/main/resources/messages_de.properties: Added strings for CSV header of
6249 historical discharge curve export.
6250
6251 2012-02-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6252
6253 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6254 Adjusted to name change in River ('hibernate fix').
6255
6256 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
6257
6258 * doc/conf/artifacts/winfo.xml: Adapted the data type of W/Q input values
6259 for historical discharge curve calculation (intarray -> doublearray).
6260
6261 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
6262 Adapted the data type of W/Q input values.
6263
6264 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6265
6266 First steps to serve the data in cm if we are are gauges only.
6267
6268 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6269 Fetch map gauge station -> gauge datum from backend for reference curve.
6270
6271 * src/main/java/de/intevation/flys/artifacts/math/LinearFilterFunction.java:
6272 New. Linear transforms another function.
6273
6274 * src/main/java/de/intevation/flys/artifacts/math/FilterFunction.java:
6275 New. Allows cascading functions.
6276
6277 * src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java:
6278 New. Classifier what kind of axis types are needed.
6279
6280 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
6281 Removed. Is now obsolete.
6282
6283 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
6284 Stores gauge station kms for start and end km if they are any.
6285
6286 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6287 Should generate a WWAxisTypes classifier via side effect to the
6288 call context.
6289
6290 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
6291 Figure out for each start/end km if its a gauge station and store this
6292 information in the result WWs.
6293
6294 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6295 Uses the WWAxisTypes classifier now to generate the right data.
6296 TODO: Use the blackboard object.
6297
6298 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6299
6300 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
6301 Removed superfluous imports.
6302
6303 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6304
6305 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6306 Set number of interpolation steps for relation curve to 200.
6307
6308 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6309 Do not sort the XYSeries.
6310
6311 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6312
6313 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
6314 Removed. Was stub.
6315
6316 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6317
6318 Improved Reference Curves.
6319
6320 * doc/conf/artifacts/winfo.xml: Add start/end input step for reference
6321 curves.
6322
6323 * doc/conf/themes.xml: Add theme for reference curve.
6324
6325 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6326 Disable start/end point-hack for reference curve. Go with 'live'
6327 values.
6328
6329 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6330 i18n.
6331
6332 * src/main/java/de/intevation/flys/artifacts/states/EnterLocationState.java:
6333 New. State to enter location.
6334
6335 * src/main/java/de/intevation/flys/artifacts/states/InputDoubleState.java:
6336 New.
6337
6338 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6339 Take WW name to display in themepanel.
6340
6341 * src/main/resources/messages.properties,
6342 src/main/resources/messages_de_DE.properties,
6343 src/main/resources/messages_en.properties,
6344 src/main/resources/messages_de.properties: Added translations.
6345
6346 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
6347
6348 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Use
6349 the current date for discharge tables which doesn't have a stop time set.
6350 A warning message is written to log.
6351
6352 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
6353 Generate report facet before leaving the computeXXX() method when no
6354 calculation results has been computed.
6355
6356 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
6357
6358 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
6359 that returns the name of a reference gauge (for historical discharge
6360 curves).
6361
6362 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
6363 Create title, subtitle and axes labels for charts of this type.
6364
6365 * src/main/resources/messages.properties,
6366 src/main/resources/messages_de_DE.properties,
6367 src/main/resources/messages_en.properties,
6368 src/main/resources/messages_de.properties: Added title, subtitle and axes
6369 labels for historical discharge curves.
6370
6371 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6372
6373 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6374 Fix.
6375
6376 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6377
6378 * src/main/resources/messages.properties,
6379 src/main/resources/messages_de_DE.properties,
6380 src/main/resources/messages_en.properties,
6381 src/main/resources/messages_de.properties: Added translations for
6382 states (will be shown in client).
6383
6384 2012-02-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6385
6386 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6387 Ja!vadoc.
6388
6389 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6390 Declare getYAxisWalker as abstract to avoid weird issue with
6391 overriden methods of this name.
6392
6393 2012-02-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6394
6395 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
6396 Use the WW.ApplyFunctionIterator to fetch the data.
6397
6398 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
6399 Removed superfluous imports.
6400
6401 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
6402
6403 * doc/conf/artifacts/winfo.xml: Registered a ReportFacet for historical
6404 discharge curve report.
6405
6406 * doc/conf/conf.xml: Registered a ReportGenerator for historical discharge
6407 curves.
6408
6409 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Add
6410 problems if we were not able to find a Q for a given W.
6411
6412 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
6413 Generate a ReportFacet if there were problems during calculcation.
6414
6415 * src/main/resources/messages.properties,
6416 src/main/resources/messages_de_DE.properties,
6417 src/main/resources/messages_en.properties,
6418 src/main/resources/messages_de.properties: Added error messages for the
6419 case that we were not able to find a Q for a given W while calculating
6420 historical discharge curve data.
6421
6422 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
6423
6424 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
6425 Improved adding new data for historical discharge curves: skip NaN
6426 values; use JFreeChart's Day TimePeriod instead of Second.
6427
6428 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
6429
6430 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
6431 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Refactoring:
6432 moved addDatasets(), applyThemes() and some other methods into
6433 ChartGenerator; enhanced the AxisDataset interface.
6434
6435 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
6436 Implemented necessary abstract methods and improved internal AxisDataset
6437 class (added new methods).
6438
6439 2012-02-03 Ingo Weinzierl <ingo@intevation.de>
6440
6441 * src/main/java/de/intevation/flys/exports/ChartHelper.java: Added a
6442 function that expands a given range. Take care on NaN in getRanges().
6443
6444 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
6445 Prevent of NullPointerExceptions in isMinimumShapeVisible() and
6446 isMaximumShapeVisible().
6447
6448 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
6449
6450 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
6451 Create new AxisDatasets and new TimeSeriesCollections for each Facet.
6452
6453 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
6454
6455 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java: Added a
6456 method getTimerange(idx) that returns the Timerange at a given index.
6457
6458 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeFacet.java:
6459 Return the correct WQTimerange object in getData().
6460
6461 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
6462
6463 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
6464 src/main/java/de/intevation/flys/exports/ChartGenerator.java: More
6465 refactoring: the AxisDataset is defined by an interface in ChartGenerator
6466 now. Each subclass of ChartGenerator should implement its own AxisDataset.
6467 This allows us to provide multiple XYDataset types in different charts.
6468
6469 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
6470 Implemented some necessary methods (abstract definitions of parent class)
6471 and create new empty timeseries charts.
6472
6473 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
6474
6475 * src/main/java/de/intevation/flys/exports/ChartHelper.java: New helper
6476 class for working with charts.
6477
6478 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
6479
6480 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
6481 Removed useless import.
6482
6483 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
6484 src/main/java/de/intevation/flys/exports/ChartGenerator.java: More
6485 refactoring: moved more base code from XYChartGenerator to its parent
6486 class ChartGenerator.
6487
6488 2012-02-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6489
6490 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
6491 Refactored. Use supers static field.
6492
6493 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
6494 Refactored. Use static field.
6495
6496 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
6497 src/main/java/de/intevation/flys/utils/FLYSUtils.java
6498 (getMinMax, getRiverMinMax): Refactored. Moved to FLYSUtils.
6499
6500 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
6501 Add so-called javadoc.
6502
6503 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
6504
6505 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
6506 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Moved
6507 further base code from XYChartGenerator into its ChartGenerator.
6508
6509 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
6510 Override generateChart() instead of generate() which is now implemented
6511 in ChartGenerator.
6512
6513 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
6514
6515 * src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
6516 New. This ChartGenerator should be used for timeseries charts. Currently,
6517 this class is a stub only! WORK IS IN PROGRESS!
6518
6519 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
6520 Subclasses TimeseriesChartGenerator now instead of XYChartGenerator,
6521 because historical discharge curve charts will have a time x axis set.
6522
6523 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
6524 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Moved some
6525 basic stuff from XYChartGenerator into ChartGenerator.
6526
6527 2012-02-02 Ingo Weinzierl <ingo@intevation.de>
6528
6529 * src/main/java/de/intevation/flys/artifacts/charts/TimeseriesStepChart.java:
6530 Added standalone demo app for evaluating different timeseries charts.
6531
6532 2012-02-02 Raimund Renkert <raimund.renkert@intevation.de>
6533
6534 Issue 466: CSV export for chart themes.
6535
6536 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6537 Export a CSV file if the requested format is 'csv'.
6538
6539 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
6540 Generate the CSV file containing X-Y-data of all activated themes.
6541
6542 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
6543
6544 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
6545 Moved code to load values of a discharge table into an own static
6546 function to be able to reuse it in Calculation6.
6547
6548 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
6549 Implemented the findValueForW().
6550
6551 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6552
6553 Fake some reference curve input values to have working prototype
6554 to work on.
6555
6556 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6557 Syntax-stunt fake reference inputs.
6558
6559 * src/main/java/de/intevation/flys/artifacts/model/WW.java
6560 (getW1): Accessor for first w at index (for the raw ww).
6561
6562 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java
6563 (doReferenceOut): Plot the raw W-over-W.
6564
6565 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
6566
6567 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Create time
6568 millis for timerange used in Calculation6.
6569
6570 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: Added
6571 the first step of the calculation: fetch relevant discharge tables based
6572 on the given input parameters. The calculated values are not the right
6573 ones! Finding Ws and Qs in discharge tables is still not implemented! WORK
6574 IN PROGRESS!
6575
6576 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java:
6577 Create facets for each WQTimerange object calculated by Calculation6.
6578
6579 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
6580
6581 * src/main/java/de/intevation/flys/artifacts/model/Timerange.java: Added a
6582 new constructor that takes Date objects for start and end time.
6583
6584 2012-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6585
6586 * src/main/java/de/intevation/flys/artifacts/model/W.java:
6587 Forget to create ws data in constructor.
6588
6589 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6590
6591 * doc/conf/artifacts/winfo.xml: Replaced Reference Curve input state
6592 with LocationSelect-State for debugging purposes. Add output to
6593 reference.curve- state.
6594
6595 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6596
6597 * doc/conf/conf.xml: Register ReferenceCurve*Generators.
6598
6599 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6600
6601 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
6602 Cosmetics.
6603
6604 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6605
6606 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6607 Added pro forma facet.
6608
6609 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6610
6611 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6612 Added comment.
6613
6614 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6615
6616 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6617 Added reference curve facet type.
6618
6619 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
6620
6621 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Fetch
6622 necessary parameters for 'historical discharge curve' calculation and call
6623 Calculation6 with those parameters.
6624
6625 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java:
6626 Modified default constructor and calculate() signatures and added a
6627 parameter check which is evaluated before the calculation starts.
6628
6629 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6630
6631 * src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java,
6632 src/main/java/de/intevation/flys/exports/ReferenceCurveInfoGenerator.java:
6633 Added outline of a new chart-generator.
6634
6635 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
6636
6637 * src/main/java/de/intevation/flys/artifacts/model/Timerange.java: New.
6638 This class might be used to store timeranges. Start and end time are
6639 stores as long (milliseconds since january 1, 1970).
6640
6641 * src/main/java/de/intevation/flys/artifacts/model/WQTimerange.java:
6642 New. This class should be used to save Ws, Qs and timeranges.
6643
6644 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
6645
6646 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added helper
6647 methods to extract int[] and double[] from string.
6648
6649 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
6650
6651 * doc/conf/artifacts/winfo.xml: Registered new facet type
6652 'historical_discharge.historicalq' to the 'historical_discharge' output.
6653
6654 * doc/conf/conf.xml: Registered new HistoricalDischargeCurveGenerator for
6655 output type 'historical_discharge'.
6656
6657 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
6658 new facet type for HISTORICAL_DISCHARGE_Q.
6659
6660 * src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveGenerator.java:
6661 New. This ChartGenerator is used to generate new charts for historical
6662 discharge curves. WORK IN PROGRESS!
6663
6664 * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: New.
6665 This class should 'compute' the historical discharge curves. WORK IN
6666 PROGRESS!
6667
6668 * src/main/java/de/intevation/flys/artifacts/model/HistoricalDischargeFacet.java:
6669 New. This Facet is used during the calculation of historical discharge
6670 curves.
6671
6672 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
6673 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added stubs
6674 to trigger the calculation of data used for generating historical
6675 discharge curve charts.
6676
6677 2012-02-01 Ingo Weinzierl <ingo@intevation.de>
6678
6679 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
6680 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
6681 Removed needless imports.
6682
6683 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6684
6685 * src/main/resources/messages_de.properties,
6686 src/main/resources/messages_de_DE.properties:
6687 Fixed "W bei ..m" -> "W fuer ...n" .
6688
6689 2012-02-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6690
6691 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
6692 Avoid NPE, add warning to log to not forget about it.
6693
6694 2012-01-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6695
6696 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
6697 Fixed problems with unformatted numbers in error message.
6698
6699 2012-01-31 Ingo Weinzierl <ingo@intevation.de>
6700
6701 * src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java:
6702 Override getLabelFor() to return the I18N string for the selected
6703 evaluation mode.
6704
6705 2012-01-31 Ingo Weinzierl <ingo@intevation.de>
6706
6707 * doc/conf/artifacts/winfo.xml: Modified types of parameters in the
6708 'historical discharge curves' transitions.
6709
6710 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6711
6712 * doc/conf/artifacts/winfo.xml: Fix transition type (Stupid Bug 1.0 reverse).
6713
6714 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
6715
6716 * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java:
6717 Override getLabelFor() method defined in DefaultState to return the name
6718 of a Gauge based on the official number which is stored in the
6719 parameterization.
6720
6721 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6722
6723 Allow manual points in more diagram types.
6724
6725 * doc/conf/artifacts/winfo.xml: Add respective facet types to
6726 compatibility lists of output modes.
6727
6728 * doc/conf/artifacts/manualpoints.xml: Mention facet types.
6729
6730 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
6731 Added ChartType enum to ease later iteration.
6732 (IS.MANUALPOINTS): Added helper.
6733
6734 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java:
6735 Help artifact figuring out which data to provide by passing facet
6736 name.
6737
6738 * src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
6739 Respond to getPointData with correct data item, depending on facet
6740 name.
6741
6742 * src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
6743 Iterate over chart types. Add facets if corresponding data is found.
6744
6745 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
6746 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
6747 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
6748 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
6749 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
6750 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
6751 Handle manual point facets.
6752
6753 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
6754
6755 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Clone
6756 StateData model objects to save parameters in this Artifact - create
6757 new StateData instances only if no StateData model was found for a
6758 parameter. This solves the problem of loosing the type of a StateData.
6759
6760 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
6761 Implemented a getLabelFor() method that is used to format a parameter
6762 value.
6763
6764 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
6765 Adapted method signature of transform().
6766
6767 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
6768 Override getLabelFor() method to create a well formatted label for min/max
6769 values.
6770
6771 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
6772
6773 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java:
6774 Bugfix: use correct order of parameters in DefaultStateData constructor.
6775
6776 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
6777
6778 * doc/conf/artifacts/winfo.xml: Fixed a stupid bug. Use
6779 ValueCompareTransition instead of DefaultTransition to evaluate values.
6780
6781 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
6782
6783 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java:
6784 Write default values for min and max items into the DESCRIBE document.
6785
6786 2012-01-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6787
6788 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
6789 Added field 'startKm' and 'endKm' to make it easier to associate
6790 gauge to km to return Ws in cm if km is at a gauge.
6791
6792 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
6793 Construct the WWs with startKm and endKm. This is necessary because
6794 if an error occurs in calcuting an in between km in a list of end kms
6795 the index does not correspond to the input value any more.
6796
6797 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
6798
6799 * doc/conf/artifacts/winfo.xml: Added transitions for "historical discharge
6800 curves" calculation.
6801
6802 2012-01-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6803
6804 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
6805 (doPoints): Skip 'inactive' points.
6806
6807 2012-01-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6808
6809 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
6810 Removed the createNormalized() method because it did not
6811 solve all problems with the transformation of the W~W data we have.
6812
6813 - We need to shift the values to be based in (0, 0).
6814 - We need to linear transform the values if they are at gauges.
6815 - Copying the data is memory expensive.
6816
6817 Therefore there is now a new inner class ApplyFunctionIterator
6818 that is able to transform the values in an iterator like manner.
6819 The transform functions default to the identity.
6820
6821 * src/main/java/de/intevation/flys/artifacts/math/Sub.java: New.
6822 Simple function that subtract a scalar from the parameter.
6823
6824 * src/main/java/de/intevation/flys/artifacts/model/W.java: Added
6825 method minWs() to calulate the minimal W of the data.
6826
6827 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
6828 getData() returns a WW.ApplyFunctionIterator with identity transform.
6829
6830 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6831 getData() returns a WW.ApplyFunctionIterator with a base shift to (0, 0).
6832
6833 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6834
6835 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
6836 Added method createNormalized() to shift the data to start in (0, 0).
6837
6838 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
6839 Returns the 'normalized' data of the reference curve.
6840
6841 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6842
6843 * src/main/java/de/intevation/flys/artifacts/model/NormalizedReferenceCurveFacet.java:
6844 New. Facet for the normalized W~W relation.
6845 TODO: Implement the on-the-fly creation logic.
6846
6847 * src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
6848 New. Facet for the W~W relation.
6849
6850 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: Cosmetics.
6851
6852 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6853
6854 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
6855 Added stub loop for creating facets.
6856
6857 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
6858 Cosmetics.
6859
6860 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6861
6862 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
6863 Call the 'Bezugslinienverfahren'.
6864
6865 * src/main/resources/messages.properties,
6866 src/main/resources/messages_de_DE.properties,
6867 src/main/resources/messages_en.properties,
6868 src/main/resources/messages_de.properties:
6869 I18N for the 'Bezugslinienverfahren' error messages.
6870
6871 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6872
6873 * doc/conf/themes.xml: Better theme for manual points.
6874
6875 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6876 Theme text part of manual points. Offset it a bit.
6877
6878 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6879
6880 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
6881 Fixed stupid bug.
6882
6883 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
6884
6885 * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java,
6886 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeComputeState.java,
6887 src/main/java/de/intevation/flys/artifacts/states/HistoricalDischargeState.java,
6888 src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java:
6889 New. States used in the 'historical discharge curve' calculation.
6890
6891 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
6892
6893 * src/main/java/de/intevation/flys/artifacts/states/MinMaxState.java: New
6894 state that eases adding min/max value pairs to describe document.
6895
6896 * src/main/java/de/intevation/flys/artifacts/states/IntRangeState.java:
6897 New. Subclasses MinMaxState and allows adding min/max integer value pairs.
6898
6899 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
6900
6901 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Moved
6902 code to add items to a data node for dynamich UI into an own method.
6903
6904 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
6905
6906 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java: Removed
6907 useless import.
6908
6909 2012-01-27 Ingo Weinzierl <ingo@intevation.de>
6910
6911 * src/main/resources/messages.properties,
6912 src/main/resources/messages_de_DE.properties,
6913 src/main/resources/messages_en.properties,
6914 src/main/resources/messages_de.properties: Added strings which are used n
6915 the calculation "historical discharge curve".
6916
6917 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6918
6919 * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
6920 New. Calcutation to be created from WINFOArtifact
6921 for the 'Bezugslinienverfahren'.
6922
6923 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
6924 Added TODO about optimization of the 'Bezugslinienverfahren'.
6925 Added number of default samples of the W~W relation.
6926
6927 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
6928 Added convinience constructor to store the calculation results.
6929
6930 * ChangeLog: Removed false TODO.
6931
6932 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
6933
6934 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
6935 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
6936 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
6937 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
6938 Read jasper template file from resources to support i18n reports.
6939
6940 * doc/conf/jasper/wdifferences.jasper,
6941 doc/conf/jasper/duration.jasper,
6942 doc/conf/jasper/computed-discharge.jasper,
6943 doc/conf/jasper/waterlevel.jasper:
6944 Updated report template. Resized left margin.
6945
6946 * doc/conf/jasper/computed-discharge_en.jasper,
6947 doc/conf/jasper/duration_en.jasper,
6948 doc/conf/jasper/wdifferences_en.jasper,
6949 doc/conf/jasper/waterlevel_en.jasper:
6950 New. Templates for english reports.
6951
6952 * src/main/resources/messages.properties,
6953 src/main/resources/messages_de_DE.properties,
6954 src/main/resources/messages_en.properties,
6955 src/main/resources/messages_de.properties:
6956 Added i18n strings for template files and modes.
6957
6958 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6959
6960 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
6961 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6962 Prevent second Legend Entry for points (prior was one for the
6963 TextAnnotations and one for the points).
6964
6965 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6966
6967 Blindly render Text of manual points if it does not collide with
6968 other text.
6969
6970 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
6971 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
6972 Handle TextAnnotations, create some for manual points.
6973
6974 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
6975 Added setter for TextAnnotations, documentation.
6976
6977 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6978
6979 * src/main/resources/messages.properties,
6980 src/main/resources/messages_de_DE.properties,
6981
6982 2012-01-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6983
6984 Refactored class hierachy to integrate model for W~W:
6985
6986 NamedObjImpl
6987 \-- W
6988 +-- WW
6989 \-- WQ
6990 +-- WQDay
6991 \-- WQKms
6992 \-- WQCKms
6993
6994 * src/main/java/de/intevation/flys/artifacts/model/W.java:
6995 New. Base class
6996
6997 * src/main/java/de/intevation/flys/artifacts/model/WW.java:
6998 New. Model for W~W
6999
7000 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
7001 src/main/java/de/intevation/flys/artifacts/model/WQDay.java,
7002 src/main/java/de/intevation/flys/artifacts/model/WQ.java,
7003 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
7004 Adjusted to follow the new class hierarchy.
7005
7006 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
7007 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
7008 Removed superfluous imports.
7009
7010 2012-01-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7011
7012 * src/main/resources/messages.properties,
7013 src/main/resources/messages_de_DE.properties,
7014 src/main/resources/messages_en.properties,
7015 src/main/resources/messages_de.properties,
7016 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
7017 i18n for ManualPointsFacets.
7018
7019 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
7020
7021 Issue 138: PDF output for calculations.
7022
7023 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
7024 Create the PDF data source and generate the PDF report output.
7025
7026 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
7027 Add the PDF facet to state. Add export facets only once.
7028
7029 * doc/conf/artifacts/winfo.xml:
7030 Added PDF facet to state.
7031
7032 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
7033 Added new field type 'differences'.
7034
7035 * doc/conf/jasper/wdifferences.jasper:
7036 New. Template for w-differences PDF export.
7037
7038 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
7039
7040 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
7041 New method that creates and returns the chosen differences of w-difference
7042 calculation as string.
7043
7044 2012-01-27 Raimund Renkert <raimund.renkert@intevation.de>
7045
7046 Issue 138: PDF output for calculations.
7047
7048 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
7049 Create the PDF data source and generate the PDF report output.
7050
7051 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
7052 doc/conf/artifacts/winfo.xml:
7053 Added PDF facet to state.
7054
7055 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
7056 Added new field type 'day'.
7057
7058 * doc/conf/jasper/duration.jasper:
7059 New. Template for duration curve PDF report.
7060
7061 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de>
7062
7063 Issue 138: PDF output for calculations.
7064
7065 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
7066 Create the PDF datasource and generate the PDF report output.
7067
7068 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
7069 doc/conf/artifacts/winfo.xml:
7070 Added PDF facet to state.
7071
7072 * doc/conf/jasper/computed-discharge.jasper:
7073 New. Template for computed discharge PDF report.
7074
7075 2012-01-26 Raimund Renkert <raimund.renkert@intevation.de>
7076
7077 Issue 138: PDF output for calculations.
7078
7079 * pom.xml: New Dependency to net.sf.jasperreports/jasperreports and
7080 org.codehaus.groovy/groovy-all.
7081
7082 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
7083 Added methods for PDF generation.
7084
7085 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
7086 Create the PDF data source and generate the PDF report output.
7087
7088 * src/main/java/de/intevation/flys/artifacts/model/WKmsJRDataSource.java:
7089 New. Data source for jasper reports containing the waterlevel calculation
7090 result.
7091
7092 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
7093 Added facet for PDF export to state.
7094
7095 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7096 Added PDF facet type.
7097
7098 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
7099 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
7100 src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
7101 Added stub for inherited abstract method.
7102
7103 * doc/conf/artifacts/winfo.xml:
7104 Added PDF facet to outputmode 'export'.
7105
7106 * doc/conf/jasper,
7107 doc/conf/jasper/waterlevel.jasper:
7108 New. Folder for jasperreports templates and first template for
7109 waterlevel report.
7110
7111 * src/main/resources/messages.properties,
7112 src/main/resources/messages_de_DE.properties,
7113 src/main/resources/messages_en.properties,
7114 src/main/resources/messages_de.properties:
7115 Added i18n string for calculation mode.
7116
7117 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7118
7119 Renderer 'manual' points in LongitudinalSectionGenerator.
7120
7121 * pom.xml: New dependency to org.json/json.
7122
7123 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
7124 (doOut): Handle manual points.
7125 (doPoints): Add point- series.
7126
7127 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7128 Added MANUALPOINTS Facet Type.
7129
7130 * doc/conf/themes.xml: Added Default Theme for Manual Points.
7131
7132 * doc/conf/artifacts/winfo.xml: Added manual point facet to
7133 compatibility list of longitudinal section diagram.
7134
7135 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7136
7137 Cosmetics.
7138
7139 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
7140 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
7141 Removed obsolete imports.
7142
7143 2012-01-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7144
7145 Add initial infrastructure for user-provided data ('manual points').
7146
7147 * doc/conf/artifacts/manualpoints.xml: Trivial state model for new
7148 Artifact.
7149
7150 * doc/conf/conf.xml: Registered manualpoint artifact and factory.
7151
7152 * src/main/java/de/intevation/flys/artifacts/model/ManualPointsFacet.java,
7153 src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java,
7154 src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.java:
7155 New. Basic infrastructure for ManualPoints.
7156
7157 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7158
7159 * doc/conf/artifacts/winfo.xml: Removed superfluous condition checks.
7160
7161 2012-01-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7162
7163 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
7164 Cosmetics, documentation.
7165
7166 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7167
7168 * doc/conf/artifacts/winfo.xml: Add states/transitions stubs for
7169 "Bezugsllinenverfahren."
7170
7171 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
7172 src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
7173 Stubs for the two new states.
7174
7175 2012-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7176
7177 * contrib/visualize-transitions.xsl: Fixed output of the conditions
7178 of the transitions. Now you can see the circumstances
7179 when a branch is taken.
7180
7181 2012-01-25 Raimund Renkert <raimund.renkert@intevation.de>
7182
7183 Issue 461.
7184
7185 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7186 Override buildChartSection() to disable the chart subtitle entry in
7187 ChartSettings.
7188
7189 2012-01-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7190
7191 I18N for WINFO calculations messages.
7192
7193 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
7194 Allow optional arguments in error messages to support meaningful
7195 formatting containing e.g. numbers.
7196
7197 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
7198 Added a convenience getMsg() method.
7199
7200 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
7201 src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java,
7202 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
7203 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
7204 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
7205 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
7206 Adjusted the code to use the I18N symbols now.
7207
7208 * src/main/resources/messages.properties,
7209 src/main/resources/messages_de_DE.properties,
7210 src/main/resources/messages_en.properties,
7211 src/main/resources/messages_de.properties: Added the I18N strings.
7212
7213 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7214
7215 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7216 Handle the case in "W auf freier Strecke" where more than
7217 one Q is related to a W. TODO: Generate user report.
7218
7219 2012-01-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7220
7221 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7222 Added code for the simple case of "Bezugslinienverfahren" ("W auf freier Strecke").
7223 TODO: Handle case if the model returns more than one Q for a given W.
7224
7225 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
7226 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
7227 Micro optimizations.
7228
7229 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7230
7231 Fix flys/issue452 (Annotations at second y-axis).
7232
7233 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7234 Added new type (duration_curve.mainvalues.q).
7235
7236 * doc/conf/themes.xml: Added theme mapping for new facet type.
7237
7238 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
7239 Create another Facet.
7240
7241 * doc/conf/artifacts/winfo.xml: Added new facet type to compatibility
7242 list.
7243
7244 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
7245 Handle new Facet.
7246
7247 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
7248 Added field to be able to remember which axis to stick to.
7249
7250 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
7251 Tell Annotations to stick to Q axis in the special duration_curve
7252 environment.
7253
7254 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7255 (AxisDataset): Added plotAxisIndex to now have a
7256 two-way-association.
7257 Tell own axisDatasets to which 'jfreechart'-axis they are assigned.
7258 Evaluate which axis the StickyAxisAnnotations should be sticked to,
7259 and calculate text and line positions accordingly.
7260 Removed junk.
7261
7262 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7263
7264 Fix compilation.
7265
7266 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
7267 Use StickyAxisAnnotations instead of XYTextAnnotations.
7268
7269 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7270
7271 Some unification of Annotation handling.
7272
7273 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
7274 Add a third annotation type (now have text, hyk and sticky).
7275
7276 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
7277 Use double instead of float values, removed commented code.
7278
7279 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
7280 Reduced to keep information about placements etc only. Not a
7281 Annotation (in JFreeChart sense) anymore.
7282
7283 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
7284 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java,
7285 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
7286 Use StickyAxisAnnotations instead of XYTextAnnotations.
7287
7288 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
7289 Added new LineStyle class.
7290
7291 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7292 Call addAnnotationsToRenderer later, where positioning information
7293 is already known.
7294 (addAnnotationsToRenderer): Deal with the three Annotation types.
7295 Instead of StickyAnnotations, add
7296 CollisionFreeXYText- and
7297 XYLineAnnotations.
7298 (Area): Helper class.
7299
7300 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7301
7302 Some unification of Annotation handling.
7303
7304 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
7305
7306 2012-01-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7307
7308 Fix flys/issue395 (SVG/PDF-Export: Längsschitt enthält keine
7309 Streckenfavoriten.)
7310
7311 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
7312 Fix pdf/svg rendering of annotatios, by adding a
7313 ChartRenderingInfo-object to the chart.draw call.
7314
7315 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
7316
7317 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
7318 Added new key and getter for a short subtitle. The short subtitle is
7319 used if no range exists.
7320
7321 * src/main/resources/messages.properties,
7322 src/main/resources/messages_de_DE.properties,
7323 src/main/resources/messages_en.properties,
7324 src/main/resources/messages_de.properties:
7325 Added i18n string for shor subtitle.
7326
7327 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
7328
7329 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
7330 Removed state validation. Validation prevents drawing the diffenrences
7331 diagramm and all states except of WDifferencesState always return
7332 true.
7333
7334 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7335
7336 * src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotation.java:
7337 New. Candidate to replace StickyAxisAnnotation eventually.
7338
7339 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7340
7341 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
7342 Added null-guards to functions parameters.
7343
7344 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7345
7346 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
7347 Respect flowing direction of river when finding valid
7348 hykformations.
7349
7350 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
7351
7352 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
7353 Add an empty facet to this state if the artifact is a Chartartifact.
7354
7355 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
7356 Do not add the range to subtitle if no range exists.
7357
7358 2012-01-20 Raimund Renkert <raimund.renkert@intevation.de>
7359
7360 'New chart' for cross sections.
7361
7362 * doc/conf/artifacts/chart.xml: Updated the states and transitions for
7363 new charts.
7364
7365 * doc/conf/meta-data.xml: Added cross sections to datacage.
7366
7367 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
7368 Changed cast from WINFOArtifact to FLYSArtifact.
7369
7370 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
7371 Changed artifact data strings for chart_type.
7372
7373 * src/main/resources/messages.properties,
7374 src/main/resources/messages_de_DE.properties,
7375 src/main/resources/messages_en.properties,
7376 src/main/resources/messages_de.properties:
7377 Changed i18n string for cross sections and logitudinal sections.
7378
7379 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7380
7381 Add basic (text) styling for HYKs.
7382
7383 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7384 Minor cleanup, pass HYK theme on.
7385
7386 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7387 Apply TextStyle to TextAnnotation part for HYK zones.
7388
7389 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
7390 (TextStyle): New class to bundle text-styling info.
7391
7392 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
7393 Refactored constructors to ease setting Style in the newly
7394 created usage scenario.
7395
7396 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7397
7398 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
7399 Cleanup. Mark spot where State-based caching could happen.
7400
7401 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7402
7403 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java:
7404 Cosmetics.
7405
7406 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7407
7408 * doc/conf/cache.xml: Added Cache for HYKS.
7409
7410 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7411
7412 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
7413 Made HYKFactory.Zone Serializable.
7414
7415 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7416
7417 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
7418 Cosmetics.
7419
7420 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7421
7422 Added style definition for hyks.
7423
7424 * doc/conf/themes.xml: Added hyk style (text).
7425
7426 2012-01-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7427
7428 * doc/conf/cache.xml: Removed cache "service-distanceinfo".
7429
7430 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
7431 Now uses the annotations from the LocationProvider and the
7432 XML documents are no longer cached.
7433
7434 2012-01-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7435
7436 * doc/conf/cache.xml: Removed "annotations" cache.
7437
7438 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
7439 Removed annotation caching.
7440
7441 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
7442 Changed internal data structure to FastAnnotations which are also cached.
7443
7444 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
7445 Use FastAnnotations now which are fetched via the LocationProvider.
7446
7447 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Added
7448 time measurement for writing the CVS output.
7449
7450 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
7451 Removed superfluous import.
7452
7453 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7454
7455 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7456 Respect visibility flag of HYK facet.
7457
7458 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7459 Log malcondition, make colored hyk-box a bit smaller.
7460
7461 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7462
7463 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
7464 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
7465 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
7466 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
7467 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java,
7468 src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java,
7469 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
7470 Cosmetics, docs, improved logging.
7471
7472 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7473
7474 * doc/conf/meta-data.xml: Recommend hyks for current river if hit by
7475 a crosssection-out.
7476
7477 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7478
7479 Somewhat improved HYK handling and rendering.
7480
7481 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
7482 Store ids in more sensibly named data item and expose it.
7483 Spawn all facets in inactive state.
7484
7485 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
7486 Make HYK name accessible, do not query hyks by river, but by hyk-id,
7487 made query more real-world.
7488
7489 * src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
7490 Use hyks name as facet name, pass hyk-id when asking for hyks.
7491
7492 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7493
7494 Somewhat improved HYK handling and rendering.
7495
7496 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
7497 Added ability to store 'zones', next to text annotations.
7498
7499 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7500 (getLowestYValue, getUppestYValue, colorForHYKZone),
7501 (addBoxAnnotations): New. Create box annotations from zones.
7502
7503 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7504 (doHYK): New, handle hyk facets by adding zones to annotation
7505 container.
7506
7507 2012-01-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7508
7509 Preparing improved HYK handling.
7510
7511 * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
7512 (Zone.getTo): New accesor.
7513 TODOs and documentation added.
7514
7515 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
7516
7517 'New Chart' for w-differences curve.
7518
7519 * doc/conf/artifacts/chart.xml: Added empty facet to output mode.
7520
7521 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
7522 Add an empty facet if the artifact is a ChartArtifact.
7523
7524 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
7525
7526 'New Chart' for discharge longitudinal section curve.
7527
7528 * doc/conf/artifacts/chart.xml: Added transition for location input.
7529
7530 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
7531 Changed cast from WINFOArtifact to FLYSArtifact.
7532
7533 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
7534 Add an empty facet if the artifact is a ChartArtifact.
7535
7536 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
7537
7538 'New Chart' for duration curve.
7539
7540 * doc/conf/artifacts/chart.xml: Added state and transition for location input.
7541
7542 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
7543 Changed cast from WINFOArtifact to FLYSArtifact.
7544
7545 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
7546 Add an empty facet if the artifact is a ChartArtifact.
7547
7548 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7549
7550 Added accidentally ommitted HYKFacet, fixing build.
7551
7552 * src/main/java/de/intevation/flys/artifacts/model/HYKFacet.java:
7553 New, stubby facet for hyk infrastructure.
7554
7555 2012-01-18 Raimund Renkert <raimund.renkert@intevation.de>
7556
7557 'New Chart' for computed discharge curve.
7558
7559 * doc/conf/artifacts/chart.xml: Fixed transitions and added state for km input.
7560
7561 * src/main/java/de/intevation/flys/artifacts/model/EmptyFacet.java:
7562 New. Added an empty facet to avoid deleting an empty output.
7563
7564 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
7565 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
7566 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
7567 Changed some return values if the artifact is a ChartArtifact.
7568
7569 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
7570 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
7571 Changed casts from WINFOArtifact to FLYSArtifact.
7572
7573 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
7574 Add an empty facet if the artifact is a ChartArtifact.
7575
7576 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7577 Set a default axis range if the range is null.
7578
7579 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7580
7581 Added stub hyk infrastructure.
7582
7583 * doc/conf/artifacts/hyk.xml: Added trivial transition configuration
7584 for hyk artifacts.
7585
7586 * doc/conf/conf.xml: Register HYK artifact and its transition conf.
7587
7588 * src/main/java/de/intevation/flys/artifacts/HYKArtifact.java,
7589 src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java,
7590 src/main/java/de/intevation/flys/artifacts/states/StaticHYKState.java:
7591 Added static 'hyk' artifact, facet and state.
7592
7593 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7594
7595 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7596 Add 'hyk' facet type.
7597
7598 2012-01-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7599
7600 Add hyk facet to compatibility list of winfo.xml .
7601
7602 * doc/conf/artifacts/winfo.xml: Add hyk facets to compatibility list.
7603
7604 2012-01-18 Ingo Weinzierl <ingo@intevation.de>
7605
7606 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
7607 method getDataAsLong that returns a Long representation of a data item or
7608 null if no such data item is existing or it cannot be parsed as Long.
7609
7610 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
7611 that returns the selected reference gauge (specified by 'reference_gauge'
7612 parameter) of a FLYSArtifact.
7613
7614 2012-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7615
7616 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
7617 Cache a TreeMap<km, annotation string> of the annotation values of whole
7618 rivers. This is _much_ more efficient than firing an HQL/SQL statement for
7619 each km and caching these results.
7620
7621 2012-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7622
7623 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
7624 Deleted. It is in the backend now.
7625
7626 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
7627 src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java,
7628 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
7629 src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLineFactory.java,
7630 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java,
7631 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
7632 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7633 Adjusted to use the fast cross section line from backend now.
7634
7635 * doc/conf/cache.xml: Store cross section lines cache on disk.
7636
7637 * src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java,
7638 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
7639 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: Removed
7640 superfluous imports.
7641
7642 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7643
7644 Fix assignment of stateId/hash in WaterlevelFacet.
7645
7646 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
7647 More verbose logging, fix hash/stateid assignment.
7648
7649 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
7650 (deepCopy): implemented.
7651
7652 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7653
7654 "Ported" StaticWQKmsArtifact to use compute-type caching mechanism.
7655
7656 * doc/conf/artifacts/staticwqkms.xml: Declare trivial info.
7657
7658 * doc/conf/conf.xml: Register staticwqkms artifact and factory.
7659
7660 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java:
7661 Sublacss DataFacet.
7662
7663 * src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java:
7664 New. State.
7665
7666 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
7667 Refactored. Most computation and stuff now done in State and Facet.
7668
7669 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7670
7671 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
7672 Minor cosmetics.
7673
7674 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7675
7676 Refactoring.
7677
7678 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
7679 Added new constructor.
7680
7681 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
7682 Refactored, subclass BlackboardDataFacet.
7683
7684 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
7685 Refactored, subclass DataFacet.
7686
7687 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
7688 Adjusted.
7689
7690 2012-01-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7691
7692 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
7693 Cosmetics, added new constructor.
7694
7695 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7696
7697 Use improved caching for cross section data.
7698 !!! This commit needs heavy testing !!!
7699
7700 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
7701 Refactored to provide the map to determine the nearest cross section line
7702 neighbors for a given km to the public. This is a bit hackish because
7703 it hhould have its own factory which is then used by this service and
7704 other parts of the code.
7705
7706 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
7707 searchCrossSectionLine() now returns a FastCrossSectionLine. To find this
7708 line efficiently it uses the map of the CrossSectionKMService which
7709 already provides a nearest neighbor searching mechanism for cross
7710 section lines. The FastCrossSectionLine is fetched with the
7711 FastCrossSectionLineFactory which uses a cache as described in the
7712 previous commit.
7713
7714 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
7715 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
7716 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
7717 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
7718 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Uses
7719 the FastCrossSectionLine instead of CrossSectionLines now.
7720
7721 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
7722 Added method fetchCrossSectionProfile() to access the point data in
7723 the profile generating compatible way.
7724
7725 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java: Removed
7726 superfluous import.
7727
7728 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7729
7730 * doc/conf/cache.xml: Added cache for fast section lines chunks.
7731
7732 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java:
7733 New. Chunks of FastCrossSectionLines. Stores cross section lines for ranges
7734 of one KM.
7735
7736 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLineFactory.java:
7737 New. Access fast cross section lines. It uses the cache 'fast-cross-section-lines'
7738 configured in cache.xml to store chunks of cross section lines.
7739
7740 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
7741 New. Stores the important data (points) of a cross section line.
7742
7743 2012-01-16 Ingo Weinzierl <ingo@intevation.de>
7744
7745 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
7746 Added a new calculation option for historical discharge curves.
7747
7748 * src/main/resources/messages.properties,
7749 src/main/resources/messages_de_DE.properties,
7750 src/main/resources/messages_en.properties,
7751 src/main/resources/messages_de.properties: Added translations for
7752 historical discharge curves.
7753
7754 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7755
7756 * doc/conf/artifacts/winfo.xml: Added certain facets to to
7757 compatibility matrices.
7758
7759 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7760
7761 * doc/conf/artifacts/annotation.xml: Fixed accidental change.
7762
7763 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7764
7765 * doc/conf/artifacts/annotation.xml: Cosmetics.
7766
7767 2012-01-16 Ingo Weinzierl <ingo@intevation.de>
7768
7769 * doc/conf/meta-data.xml: Enabled old floodmap calculations for output
7770 type 'map'.
7771
7772 2012-01-13 Raimund Renkert <raimund.renkert@intevation.de>
7773
7774 Initial implementation for module 'new chart'.
7775
7776 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java:
7777 New. Artifact for module 'new chart'.
7778
7779 * doc/conf/artifacts/chart.xml:
7780 New. Artifact description for the new artifact.
7781
7782 * doc/conf/conf.xml:
7783 Added new artifact to config.
7784
7785 * src/main/resources/messages.properties,
7786 src/main/resources/messages_de_DE.properties,
7787 src/main/resources/messages_en.properties,
7788 src/main/resources/messages_de.properties:
7789 Added i18n strings for 'new chart' chart types.
7790
7791 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7792
7793 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
7794 Cosmetics.
7795
7796 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7797
7798 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
7799 Avoid NPE when copying data from one artifact to another.
7800
7801 2011-01-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7802
7803 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7804 (expandRange): Prevent collapse due to negative values.
7805
7806 2012-01-12 Raimund Renkert <raimund.renkert@intevation.de>
7807
7808 * doc/conf/artifacts/map.xml,
7809 doc/conf/conf.xml,
7810 src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
7811 Changed the MapArtifact name to 'new_map'.
7812
7813 2011-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7814
7815 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
7816 Added code to calculate the area of the generated polygons.
7817 TODO: Render the generated area sum to the plot.
7818
7819 2011-01-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7820
7821 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
7822 Replaced System.err.println()s with proper logging.
7823
7824 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
7825 src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java,
7826 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
7827 superfluous imports.
7828
7829 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7830
7831 flys/issue450 (i18n: Datenkorb: longitudinal-section)
7832
7833 * doc/conf/meta-data.xml: Replaced dash by underscore in
7834 longitudinal-section.
7835
7836 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7837
7838 Towards areas on other than the first axes.
7839
7840 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
7841 Changed signature on which to provide data via the blackboard.
7842 Include facets name to allow unique identification.
7843
7844 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
7845 Store name of one of the facets involved in area creation.
7846 (AreaFacet.Data): New class to hold result data.
7847
7848 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
7849 New methods to find out whether we have a general Q or W type of
7850 facet.
7851
7852 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
7853 (doArea): Use new Result-Data object instead of Object[], resolve
7854 which axis to put area to.
7855 (axisIdxForFacet): New.
7856
7857 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
7858 Subclass LongitudinalSectionGenerator.
7859
7860 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7861
7862 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
7863 Do not intefere with CrossSections.
7864
7865 2011-01-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7866
7867 Cosmetics, cleanups.
7868
7869 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
7870 (getCrossSections, getCrossSectionNames): Removed.
7871
7872 2011-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7873
7874 flys/issue439 (Streckenfavoriten lassen sich nicht über den Datenkorb
7875 hinzuladen)
7876
7877 * doc/conf/meta-data.xml: Made Annotations available via datacage
7878 in longitudinal section, cosmetics.
7879
7880 2012-01-11 Raimund Renkert <raimund.renkert@intevation.de>
7881
7882 * doc/conf/conf.xml:
7883 Added output generator for output type 'map'.
7884
7885 * doc/conf/artifacts/map.xml:
7886 Changed output name to 'map'.
7887
7888 * doc/conf/meta-data.xml:
7889 Added new output type 'map'.
7890
7891 2011-01-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7892
7893 Fix flys/issue446 (Dauerline/Abflusskurve am Pegel: Eigenschaften vom
7894 Hauptwertthema nicht aufrufbar)
7895
7896 * doc/conf/themes.xml: Add default styles for mainvalues.q/w and other
7897 themes.
7898
7899 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7900
7901 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
7902 Removed XPath injection security hole. A serious one because it allowed
7903 inspecting the conf.xml file ... with all the db passwords.
7904
7905 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7906
7907 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
7908 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
7909 Removed superfluous imports.
7910
7911 2012-01-11 Ingo Weinzierl <ingo@intevation.de>
7912
7913 * doc/conf/meta-data.xml: Added the definition of old calculation results
7914 for floodmaps.
7915
7916 2012-01-10 Ingo Weinzierl <ingo@intevation.de>
7917
7918 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Added
7919 methods getLayers() and removeLayer().
7920
7921 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
7922 method getFacets() which returns a list of Facets supported by this
7923 Artifact. In addition, the FLYSArtifact is now more verbose while
7924 filtering Facets for Outputs.
7925
7926 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
7927 Implemented initialize() which now copies the shapefile directory of the
7928 model Artifact and modifies its Facets (adapts the shapepath which is the
7929 uuid of the Artifact).
7930
7931 2012-01-10 Ingo Weinzierl <ingo@intevation.de>
7932
7933 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
7934 src/main/java/de/intevation/flys/collections/OutputParser.java: Made
7935 them more verbose for better debugging.
7936
7937 2012-01-09 Ingo Weinzierl <ingo@intevation.de>
7938
7939 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
7940 Initialize() now also calls State.initialize() for each State.
7941
7942 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
7943 Override initialize() which is defined in AbstractState. NOTE: Currently,
7944 this method has no code.
7945
7946 2012-01-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7947
7948 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java:
7949 New. The service to invalidate the caches. (Argh! Forgot to 'svn add')
7950
7951 2012-01-06 Ingo Weinzierl <ingo@intevation.de>
7952
7953 flys/issue298 (Karte: Automatischer Zoom auf Berechnungsergebnisse)
7954
7955 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Added a
7956 debug statement that prints out the WSPLGEN extent.
7957
7958 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create new
7959 Envelope instances for initial and max extent if they are not existing.
7960 Some debug statements have now been removed.
7961
7962 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7963
7964 Add cache for 'static' wqkms (e.g. BaseData) to default cache conf.
7965
7966 * doc/conf/cache.xml: Add Cache Config for static wqkms.
7967
7968 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java:
7969 Adjust typo in cache name, minor cosmetic.
7970
7971 2011-01-06 Raimund Renkert <raimund.renkert@intevation.de>
7972
7973 * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
7974 The map artifact has two states now and overrides describe() to
7975 generate UI sections in the describe response.
7976 The map state overrides computeAdvance() instead of computeFeed().
7977
7978 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
7979 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
7980 Changed the WMSDBArtifact in WMSDBState to FLYSArtifact and adjusted
7981 constructors in state classes.
7982
7983 * doc/conf/artifacts/map.xml:
7984 Added initial state and transition.
7985
7986 * src/main/resources/messages.properties,
7987 src/main/resources/messages_de_DE.properties,
7988 src/main/resources/messages_en.properties,
7989 src/main/resources/messages_de.properties:
7990 Added i18n strings for new state.
7991
7992 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
7993
7994 Partial fix for flys/issue437 (Querprofil: Zugeladene Basisdaten
7995 ignorieren W/Q-heit, falsche Namen).
7996
7997 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
7998 Set name also for first column (zero based).
7999
8000 2012-01-06 Ingo Weinzierl <ingo@intevation.de>
8001
8002 flys/issue196 (i18n/l10n: Zahlenformate einheitlich)
8003
8004 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: New method
8005 getRawValue() that extracts the raw double value from 'name' parameter.
8006
8007 * src/main/java/de/intevation/flys/utils/Formatter.java: New method
8008 getRawFormatter() that returns a NumberFormat instance for the current
8009 locale.
8010
8011 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
8012 Localized the W/Q labels in CSV exports.
8013
8014 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8015
8016 flys/issue442 (i18n: Datenkorb: flood-protections)
8017
8018 * doc/conf/meta-data.xml: Replaced dash in flood-protection by
8019 underscore to allow translation.
8020
8021 2011-01-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8022
8023 flys/issue438 (i18n: Datenkorb: additionals)
8024
8025 * doc/conf/meta-data.xml: Fix typo.
8026
8027 2011-01-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8028
8029 * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java:
8030 New. Uses the CacheFactory to invalidate caches by their names.
8031 This can be used by external ETL processes like the AFT/DIPS importer
8032 to prevent cache inconsistencies.
8033
8034 Input documents look like this:
8035
8036 <caches>
8037 <cache name="my-cache"/>
8038 ...
8039 <cache name="your-cache"/>
8040 </caches>
8041
8042 Output documents look like this:
8043
8044 <caches>
8045 <cache name="my-cache">All elements removed.</cache>
8046 ...
8047 <cache name="your-cache">Error: Cache not found.</cache>
8048 </caches>
8049
8050 * doc/conf/conf.xml: Added the cache invalidation service.
8051
8052 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
8053 Added Override annotation.
8054
8055 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8056
8057 flys/issue432 (Diagrammeigenschaften/Flächenrenderer:
8058 Legenden-schriftgröße für Flächenthemen wird ignoriert)
8059
8060 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8061 Respect legend item size when generating legend items for
8062 area dataseries.
8063
8064 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de>
8065
8066 Implemented new module "new map".
8067
8068 * src/main/java/de/intevation/flys/artifacts/MapArtifact.java:
8069 New. Artifact for the new module, extends RiverAxisArtifact and
8070 contains the MapState class.
8071
8072 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
8073 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java:
8074 Added empty constructor to embedded state classes to allow instantiation
8075 of MapState that extends the RiverAxisState.
8076
8077 * src/main/java/de/intevation/flys/exports/MapGenerator.java:
8078 Do not generate an initialExtent element if the initial extent is
8079 empty.
8080
8081 * doc/conf/artifacts/map.xml:
8082 New. Describes the state for the new module.
8083
8084 * doc/conf/conf.xml:
8085 Added new config file.
8086
8087 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
8088
8089 flys/issue444 (error_no_export_found bei "W bei ungleichwertigem Abfluss")
8090
8091 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: If no boolean
8092 value "wq_free" exists in getWQMode(), false is the default.
8093
8094 2011-01-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8095
8096 flys/issue443 (Querprofile: Hibernate LazyInitializationException)
8097
8098 * doc/conf/cache.xml: Disable cache for cross-sections.
8099
8100 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
8101
8102 flys/issue447 (W-Differenzen: Fehler beim Hinzufügen einer Parameterisierung)
8103
8104 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
8105 Added a new method cleanEmptyOutputs() which removes Outputs that have
8106 no Facets set.
8107
8108 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Call
8109 CollectionAttribute.cleanEmptyOutputs() at the end of write() to remove
8110 empty Outputs that have been added during the merge process.
8111
8112 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
8113
8114 flys/issue440 (Karte: WSPLGEN Berechnungen für Mosel schlagen fehl)
8115
8116 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Modified the
8117 getRiverBoundary() method because the signature of
8118 RiverAxis.getRiverAxis() has changed. This method will now take each
8119 geometry into account, that is retrieved by
8120 RiverAxis.getRiverBoundary().
8121
8122 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
8123 Use GeometryUtils.getRiverBoundary() to determine the boundary of a
8124 river.
8125
8126 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
8127 Create the riveraxis shapefile with all geometries returned by
8128 RiverAxis.getRiverAxis().
8129
8130 2012-01-05 Ingo Weinzierl <ingo@intevation.de>
8131
8132 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Repaired
8133 broken items in legend. The new renderer requires the current plot. This
8134 is set now.
8135
8136 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
8137
8138 * doc/conf/themes.xml: Added a new field 'pointsize' to the virtual theme
8139 'HiddenColorLines'.
8140
8141 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added methods to
8142 parse the new field of 'HiddenColorLines'.
8143
8144 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: Apply the
8145 pointsize defined in themes.
8146
8147 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
8148
8149 * src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
8150 Use correct keys for buffering in getMinimum() and getMaximum().
8151
8152 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
8153
8154 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java,
8155 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
8156 src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
8157 Moved to de.intevation.flys.jfree.
8158
8159 * src/main/java/de/intevation/flys/jfree/StyledXYSeries.java,
8160 src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java,
8161 src/main/java/de/intevation/flys/jfree/EnhancedLineAndShapeRenderer.java:
8162 Moved from de.intevation.flys.exports.
8163
8164 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
8165 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
8166 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8167 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
8168 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
8169 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
8170 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8171 Added necessary imports.
8172
8173 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
8174
8175 * src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
8176 Buffered the computation results of getMinimum() and getMaximum().
8177
8178 2012-01-04 Ingo Weinzierl <ingo@intevation.de>
8179
8180 flys/issue393 (Themenstileditor: Minimum anzeigen / Beschriftung anzeigen)
8181
8182 * src/main/java/de/intevation/flys/exports/EnhancedLineAndShapeRenderer.java:
8183 New renderer that overrides JFreeChart's XYLineAndShapeRenderer. This
8184 renderer brings the option to explicitly display the minimum and/or
8185 maximum or a series as shape. Currently, there are no options to adjust
8186 the style of those shapes.
8187
8188 * doc/conf/themes.xml: Added a new virtual theme 'MinMaxPoints'. All line
8189 theme inherit from that theme now.
8190
8191 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added methods to
8192 parse the fields 'showminimum' and 'showmaximum' of 'MinMaxPoints' theme.
8193
8194 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added
8195 methods to apply the fields of the new Theme 'MinMaxPoints'.
8196
8197 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Modified
8198 the getRenderer() method which now always returns a new instance of
8199 EnhancedLineAndShapeRenderer.
8200
8201 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8202
8203 Allow styling of outline of areas.
8204
8205 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
8206 Allow styling of outline of areas.
8207
8208 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
8209 Parse outline style for areas, apply it to renderer.
8210
8211 2012-01-03 Ingo Weinzierl <ingo@intevation.de>
8212
8213 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
8214
8215 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Call
8216 the new flys-backend method Wst.determineMinMaxQFree() to determine the
8217 min/max Qs at a given kilometer.
8218
8219 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8220
8221 * doc/conf/themes.xml: Reflect name chnage of longitudinal sections
8222 area artifacts and include ColorLine style for area styles.
8223
8224 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
8225
8226 flys/issue370 (WINFO: Berechnungsausgabe W/Pegel [cm] fehlt bei Wasserspiegellage und W am Pegel)
8227
8228 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New method that
8229 extracts the double value of a WQ object's name.
8230
8231 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Adapted
8232 the header of CSV exports and the content of the "W at gauge" column.
8233
8234 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
8235 Adapted method signatures that have been changed in WaterlevelExporter.
8236
8237 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
8238
8239 * src/main/resources/messages.properties,
8240 src/main/resources/messages_de_DE.properties,
8241 src/main/resources/messages_en.properties,
8242 src/main/resources/messages_de.properties: Added strings used in the CSV
8243 export.
8244
8245 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
8246
8247 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Check
8248 if the location of a CSV row is in range of the reference gauge. Write
8249 "outside reference gauge" into CSV in such cases.
8250
8251 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
8252
8253 PART II of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe)
8254
8255 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Add the
8256 named main value of a Q and the name of the gauge used for the calculation
8257 if the WQ mode is "W at gauge" or "Q at gauge".
8258
8259 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
8260 Adapted the method signatures that have been modified in
8261 WaterlevelExporter.
8262
8263 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
8264
8265 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
8266 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8267 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
8268 src/main/java/de/intevation/flys/exports/AxisSection.java,
8269 src/main/java/de/intevation/flys/exports/ExportSection.java,
8270 src/main/java/de/intevation/flys/exports/LegendSection.java,
8271 src/main/java/de/intevation/flys/exports/ChartSection.java: Removed
8272 unused imports.
8273
8274 2012-01-02 Ingo Weinzierl <ingo@intevation.de>
8275
8276 PART I of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe)
8277
8278 * doc/conf/cache.xml: Registered a new Cache for the LocationProvider.
8279
8280 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
8281 New. This class is able to return the description of a location based on a
8282 river and kilometer parameter. The LocationProvider stores single
8283 locations into a Cache if one is configured for this class.
8284
8285 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
8286 Added a method that returns a single Annotation for a specific kilometer and
8287 river.
8288
8289 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
8290 getLocationDescription() that might be used to determine the description
8291 of a specified kilometer for a given river.
8292
8293 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Make use
8294 of FLYSUtils.getLocationDescription() to add a new column that contains
8295 the location description.
8296
8297 2011-12-29 Ingo Weinzierl <ingo@intevation.de>
8298
8299 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Write
8300 min/max values for free Qs into Artifact's DESCRIBE document.
8301
8302 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
8303
8304 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fixed
8305 broken order to determine the step width of Qs and Ws.
8306
8307 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
8308
8309 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke)
8310
8311 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8312 Validate user defined free Q values.
8313
8314 2011-12-28 Ingo Weinzierl <ingo@intevation.de>
8315
8316 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8317 Compute better step width based on a maximal number of steps = 30.
8318 Results with digits are rounded up. E.g.:
8319 Q range = 9.6 - 1750
8320 Step width = 58.01
8321 Rounded result = 60
8322
8323 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
8324
8325 * src/main/java/de/intevation/flys/exports/AxisSection.java,
8326 src/main/java/de/intevation/flys/exports/LegendSection.java,
8327 src/main/java/de/intevation/flys/exports/ChartSection.java: Subclasses
8328 TypeSection to be able to use convinience methods for string, integer,
8329 double and boolean values.
8330
8331 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
8332
8333 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: The
8334 getSize() method now returns null if no width and height is specified in
8335 the request document or if width/height <= 0. It no longer returns the
8336 result of getDefaultSize().
8337
8338 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Set the
8339 size of a chart export to the size specified in the ChartSettings if
8340 there are no valid values in the request document.
8341
8342 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Set the
8343 chart size to ChartGenerator.getDefaultSize() if no valid values are
8344 returned by ChartGenerator.getSize(). This has been done autoamtically
8345 before.
8346
8347 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
8348
8349 * src/main/java/de/intevation/flys/exports/TypeSection.java: New. This
8350 Section defines some convinience methods to add/set string, integer,
8351 double and boolean values.
8352
8353 * src/main/java/de/intevation/flys/exports/ExportSection.java: New.
8354 Subclasses TypeSection. The ExportSection currently offers attributes
8355 'width' and 'height'.
8356
8357 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added
8358 getter/setter methods to support an ExportSection.
8359
8360 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create an
8361 ExportSection while initial ChartSettings creation.
8362
8363 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
8364
8365 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added and
8366 make use of a new method createLegendLabelFont() to create unified Fonts for
8367 LegendItems. This method considers the user defined size for LegendItems.
8368
8369 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
8370
8371 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8372 Implemented adjustAxes(). This method now sets the label Font of the X
8373 axis. Its size is determined by getXAxisLabelFontSize().
8374
8375 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
8376
8377 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added method
8378 getFontSize() to retrieve the font size for an axis.
8379
8380 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8381 Modified createYAxis(int): call super.createYAxis(int) and adjust
8382 necessary settings - no Axis creation takes place here.
8383
8384 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
8385 getXAxisLabelFontSize() and getYAxisLabelFontSize(int) to retrieve the
8386 user defined font size for an axis. The getYAxisLabelFontSize() is used in
8387 createYAxis(int) to set the font size for axes labels.
8388
8389 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
8390
8391 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
8392 Override getYAxisWalker().
8393
8394 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create new
8395 instances of IdentifiableNumberAxis in createYAxis(int) default
8396 implementation.
8397
8398 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
8399
8400 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added
8401 getLabel() to retrieve the axis label.
8402
8403 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
8404 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
8405 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8406 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
8407 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8408 Override getDefaultXAxisLabel() and getDefaultYAxisLabel() defined in
8409 XYChartGenerator.
8410
8411 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implement
8412 getXAxisLabel() and getYAxisLabel(int). Both methods search for an axis
8413 label defined in the ChartSettings first. If no label is specified or if
8414 no ChartSettings is set, getDefaultXAxisLabel() or
8415 getDefaultYAxisLabel(int) is called to retrieve the initial/default axis
8416 label.
8417
8418 2011-12-27 Ingo Weinzierl <ingo@intevation.de>
8419
8420 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Modified the
8421 signature of addAxisSection(). This method now accepts AxisSections only.
8422 In addition, there is a new method getAxisSection(String) that returns an
8423 AxisSection specified by its identifier.
8424
8425 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added new
8426 methods getIdentifier(), isFixed(), getUpperRange() and getLowerRange() to
8427 retrieve the attributes supported by this Section.
8428
8429 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use
8430 of axes ranges specified in ChartSettings if an axis is fixed.
8431
8432 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
8433
8434 * src/main/java/de/intevation/flys/exports/IdentifiableNumberAxis.java: New.
8435 Subclasses JFreeChart's NumberAxis and offers a getId() method which
8436 returns an identifiable key.
8437
8438 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implements
8439 a createNumberAxis() method that should be used by all subclasses to
8440 create new axes. This method returns an instance of IdentifiableNumberAxis
8441 which is required for zooming.
8442
8443 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
8444 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8445 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8446 Create new NumberAxis instances by using XYChartGenerator.createNumberAxis().
8447
8448 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
8449
8450 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8451 Implemented the methods getChartTitle() and getChartSubtitle(). Both
8452 methods try to get the required information from ChartSettings. If no
8453 ChartSettings is set for this OutGenerator, these methods will call
8454 getDefaultChartTitle() and getDefaultChartSubtitle().
8455
8456 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
8457 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
8458 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8459 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
8460 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
8461 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
8462 Renamed getChartTitle() and getChartSubtitle() to
8463 getDefaultChartTitle() and getDefaultChartSubtitle(). In addition, the
8464 methods addSubtitles() became more robust - these OutGenerators add
8465 subtitles only if the subtitle is not empty.
8466
8467 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
8468
8469 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
8470 setSettings(Settings) method.
8471
8472 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8473 Call OutGenerator.setSettings() before calling doOut() for each Facet.
8474
8475 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Implemented
8476 setSettings() and added convinience methods to access chart specific
8477 settings.
8478
8479 * src/main/java/de/intevation/flys/exports/MapGenerator.java,
8480 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
8481 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
8482 src/main/java/de/intevation/flys/exports/ATExporter.java,
8483 src/main/java/de/intevation/flys/exports/ReportGenerator.java: Implemented
8484 setSettings().
8485
8486 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
8487 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use
8488 of the attributes specified in the Settings: the title, subtitle,
8489 displayGrid and displayLegend settings are functional now.
8490
8491 2011-12-23 Ingo Weinzierl <ingo@intevation.de>
8492
8493 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
8494 src/main/java/de/intevation/flys/exports/LegendSection.java,
8495 src/main/java/de/intevation/flys/exports/ChartSection.java: Use more
8496 concrete classes than Settings and Section in these classes to avoid a lot
8497 of castings.
8498
8499 2011-12-22 Ingo Weinzierl <ingo@intevation.de>
8500
8501 flys/issue242 (W-INFO: Fehlende Header in Datenexporten)
8502
8503 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added functions
8504 getQs(), getWs(), getGauge(), getGaugename() and getRivername() that all
8505 take a parameter FLYSArtifact.
8506
8507 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Moved the
8508 implementation of getGauge() to FLYSUtils. The getGauge() in this class
8509 just calls and returns FLYSUtils.getGauge().
8510
8511 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Write a
8512 header into a CSV export containing meta information about this export.
8513
8514 * src/main/resources/messages.properties,
8515 src/main/resources/messages_de_DE.properties,
8516 src/main/resources/messages_en.properties,
8517 src/main/resources/messages_de.properties: Added strings used in the CSV
8518 export as header.
8519
8520 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8521
8522 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
8523 (getKm): Removed, not called anymore.
8524
8525 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8526
8527 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
8528 Include km of cross-section-master in diagrams subtitle (fetched
8529 from 'blackboard'.
8530
8531 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8532
8533 * src/main/java/de/intevation/flys/utils/FLYSUtils.java:
8534 Cosmetics, docs.
8535
8536 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8537
8538 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
8539 (getInitialFacetActivity): Only newest CrossSection is initially
8540 active.
8541
8542 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8543
8544 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java
8545 (isNewest): New, query whether a CrossSection is the newest for its
8546 river, doc.
8547
8548 2011-12-21 Ingo Weinzierl <ingo@intevation.de>
8549
8550 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
8551 convinience method to retrieve the value of an data object stored at
8552 FLYSArtifact as Boolean value.
8553
8554 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method that
8555 returns the named value of a given double value. This method returns only
8556 the named value, if the WQ mode is "Q at gauge" and if the value fits to a
8557 named value. In addition to this method, there is a new method to retrieve
8558 the selected WQ mode as 'WQ_MODE' enum.
8559
8560 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
8561 Removed prepareData() and its call. The data preparation had a bad side
8562 effect: the modifications are "persisted" into cache, which has again bad
8563 side effects.
8564
8565 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Removed
8566 prepareData(). The label creation for columns in the WST export will now
8567 take place in addWSTColumn(). With help of the master Artifact (I forgot
8568 this Artifact in my last commit) we are able to replace Q values with
8569 their named main value.
8570
8571 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8572
8573 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
8574 Cover 'locations' case for initial km of cross section artifacts.
8575
8576 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8577
8578 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
8579 (initialize): Eat ld_from from master artifact.
8580 (setup): Set cross_section.km to either masters km or the lowest
8581 defined cross-section line, whatever is bigger.
8582
8583 2011-12-21 Ingo Weinzierl <ingo@intevation.de>
8584
8585 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe)
8586
8587 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
8588 stripNamedMainValue(). The result of this function is a named main value's
8589 base name without declaration of a year.
8590
8591 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
8592 method pepareData() that is called in doOut() before the data supported by
8593 the current Facet is added using addData().
8594
8595 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Override
8596 the prepareData() method to reset the name of WQKms objects. The Qs in a
8597 waterlevel export should be the Q value or the named main value if the
8598 value fits to a named main value.
8599
8600 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8601
8602 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8603 Survive cases where the first dataset has an area-renderer assigned.
8604
8605 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8606
8607 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java:
8608 Store additional parameter (whether or not to fill everything in
8609 between two curves.)
8610
8611 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
8612 Deliver additional info from artifact.
8613
8614 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
8615 Evaluate new parameter.
8616
8617 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8618
8619 * doc/conf/themes.xml: Add transparency setting to area theme style.
8620
8621 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Helper to
8622 access transparency setting in theme.
8623
8624 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
8625 Respect transparency setting.
8626
8627 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8628
8629 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
8630 Subclass BlackboardDataFacet to provide data for area calculation.
8631
8632 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8633 Cast data to WKms instead of WQKms.
8634
8635 2011-12-20 Ingo Weinzierl <ingo@intevation.de>
8636
8637 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8638 Use a ';' as seperator between Qs and Ws.
8639
8640 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8641
8642 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
8643 (doOut, doArea): Added handling for areafacets. Code yet mostly
8644 copied from CrossSectionGenerator.
8645
8646 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8647
8648 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
8649 Refactoring, subclass BlackboardDataFacet, remove duplicate code.
8650
8651 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8652
8653 Cosmetics.
8654
8655 * doc/conf/artifacts/winfo.xml,
8656 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
8657 Renamed facet for consistency reasons.
8658
8659 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8660
8661 Make Waterlevelfacet deliver data via blackbord.
8662
8663 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
8664 Subclass BlackboardDataFacet.
8665
8666 2011-12-20 Ingo Weinzierl <ingo@intevation.de>
8667
8668 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
8669 Create all formatted string labels for Ws and Qs in this class, because
8670 this class is the only instance that knows that there are double values
8671 to format.
8672
8673 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8674
8675 Introduced new Facet that will deliver whatever getData returns via
8676 blackbord under key which is defined by convention. Attention, the
8677 data is not cached if handled this way.
8678
8679 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java:
8680 New facet, will be useful for easing implementation of facets that
8681 can contribute to area-computations.
8682
8683 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8684
8685 * src/main/java/de/intevation/flys/exports/VisibleAttribute.java:
8686 Removed obsolete imports.
8687
8688 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8689
8690 Removed obsolete imports.
8691
8692 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
8693 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
8694 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java,
8695 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java,
8696 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8697 Removed obsolete imports.
8698
8699 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8700
8701 With StableXYDifferenceRenderer, create legend items in rectangular
8702 form, to discern "line" from "area" in legend.
8703
8704 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java
8705 (legendLine, legendShape): Renamed.
8706 (getLegendItem): Create LegendItem with fill, use PositivePaint for
8707 that.
8708
8709 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8710
8711 Added further 'area' infrastructure.
8712
8713 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java:
8714 New, "area dataset".
8715
8716 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
8717 (doOut): Use helper to decide if facet is an 'area' facet.
8718 (doArea): Construct StyledAreaSeriesCollection instead of two
8719 dataseries.
8720
8721 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8722 (AxisDataset.isArea): Distinguish area datasets with instanceof.
8723 (AxisDataset.addArea): New. Replaces addAreaDataset.
8724 (addAreaSeries): Simplified with new custom SeriesCollection.
8725 (applyTheme): Register and style StableXYDifferenceRenderer for
8726 StyledAreaSeriesCollections.
8727 Added various TODOs and debug output to stabilize development.
8728
8729 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8730
8731 * doc/conf/artifacts/winfo.xml: Added facets to compatibility
8732 matrices.
8733
8734 * doc/conf/themes.xml: Added Area theme defaults.
8735
8736 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8737
8738 Lay ground for having areas in longitudinal section diagrams, too.
8739 This is done by different naming of the facets.
8740
8741 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
8742 Make the name dynamic.
8743
8744 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
8745 Added further facet types, helper.
8746
8747 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java:
8748 Store name for facets in data item, restrict access to some fields.
8749
8750 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
8751 Use AreaArtifacts data item to use name for facets.
8752
8753 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8754
8755 Cosmetics.
8756
8757 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java,
8758 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
8759 src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
8760 Doc.
8761
8762 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
8763 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
8764 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
8765 Whitespace.
8766
8767 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Doc and
8768 whitespace.
8769
8770 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8771
8772 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
8773 (parseBoolean): New, extracted, updated callers.
8774 (parseFillColorField, parseShowBorder): New, for area styles.
8775
8776 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
8777
8778 flys/issue202 (W-INFo: Wasserspiegellagenberechnung / Vorbelegung Strecke)
8779
8780 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
8781 Added a system property which is used to determine, if the DESCRIBE
8782 document of an Artifact should include default values (values, that have
8783 been inserted by the user some time ago) or not. The default case is,
8784 that the DESCRIBE does NOT include default values. To enable default
8785 values, set "flys.use.default.values" to "true".
8786
8787 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
8788
8789 flys/issue419 (Themen-Name "Q(null)" bei W bei ungl. A.)
8790
8791 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
8792 Use correct variable to create Facet names.
8793
8794 2011-12-19 Ingo Weinzierl <ingo@intevation.de>
8795
8796 flys/issue380 (W-INFO / Überschwemmungskarte, falsches DGM)
8797
8798 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
8799 convinience method that returns a parameter of FLYSArtifact as Integer.
8800
8801 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Override
8802 validate() to determine, if the DGM selected by the user is valid for the
8803 current calculation range and river.
8804
8805 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8806
8807 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8808 Roll-back accidentally committed changes.
8809
8810 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8811
8812 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
8813 (doOut): Hide 'invisible' (deleted) themes from Outgenerators.
8814
8815 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8816
8817 Added area.name data item and access to areaartifact.
8818
8819 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java:
8820 Rephrased debug output, do survive case where only one curve is
8821 given for area calculation (this is the "above" or "under" case).
8822
8823 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java
8824 (getAreaName): Access "area.name" data item.
8825
8826 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
8827 Respect area.name data of artifact when reproducing facets.
8828
8829 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8830
8831 * doc/conf/conf.xml: Fix, accidentally added wrong factory in last
8832 commit.
8833
8834 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8835
8836 * doc/conf/conf.xml: Register area artifact factory.
8837
8838 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8839
8840 * doc/conf/artifacts/winfo.xml: Added area artifacts to cross-section
8841 compatibility matrix.
8842
8843 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8844
8845 Add area dataseries when facet delivering one.
8846
8847 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
8848 (doOut): Handle area facets.
8849 (doArea): Register areas for area facets.
8850
8851 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8852
8853 Add simple area registerig functions.
8854
8855 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8856 (AxisDataset.addAreaDataset): New, add an area dataset.
8857 (AxisDataset.isArea): New.
8858 (addAreaSeries): New. Add Area Dataset.
8859 (applyThemes): Pass info if we have an area, to set different
8860 renderer.
8861
8862 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8863
8864 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
8865 Added convenience function and easy sybclassing.
8866
8867 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8868
8869 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
8870 Register AREA ("area") facet type.
8871
8872 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8873
8874 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java,
8875 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
8876 Register blackboard key uuid+index and respond with data to it, as
8877 assumed by the areaartifact and facet.
8878
8879 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8880
8881 Added partial area-infrastructure.
8882
8883 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java,
8884 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java,
8885 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java:
8886 New artifact, facet and state for area rendering.
8887
8888 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
8889
8890 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Defined an
8891 interface YAxisWalker that allows to walk over each Y axis definition in
8892 subclasses. This walker can be retrieved using the new getYAxisWalker()
8893 method. The AxisSections are built in this class now.
8894
8895 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8896 Implemented the YAxisWalker interface and the getYAxisWalker() method.
8897 Removed the code to build AxisSections.
8898
8899 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
8900 Implemented getYAxisLabel(int pos) and getYAxisWalker().
8901
8902 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
8903 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
8904 Implemented the getYAxisWalker() method.
8905
8906 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
8907
8908 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8909 Some optimizations during out() operation - the CollectionAttribute is
8910 parsed a single time now (*i guess*). This code really needs some
8911 refactoring!
8912
8913 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
8914
8915 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8916 Added an INFO message that displays the duration time for the out()
8917 operation.
8918
8919 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
8920
8921 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8922 Calls super.buildAxisSections().
8923
8924 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
8925 Implemented the method buildAxisSections(). The result list will contain
8926 an AxisSection for the X axis.
8927
8928 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
8929
8930 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Bugfix:
8931 Add new Outputs to the current CollectionAttribute if no old one is
8932 existing.
8933
8934 2011-12-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8935
8936 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
8937 Directly fetch key/value pairs when writing a collection attribute.
8938
8939 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
8940
8941 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added new
8942 functions that allow parsing a ChartSettings object from DOM Node.
8943
8944 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Parse
8945 the Settings of each Output.
8946
8947 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
8948
8949 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
8950 Added a method to set a new Settings object for a specific Output and a
8951 method to clear the list of Facets of a specific Output.
8952
8953 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: The
8954 AttributeWriter no longer creates new CollectionAttributes - it only
8955 modifies the old CollectionAttribute. At first, it clears the Facets of
8956 all Outputs. Finally, the merged Facets are added to the Outputs.
8957
8958 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
8959 Added the CollectionAttribute to the AttributeWriters constructor.
8960
8961 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
8962
8963 * src/main/java/de/intevation/flys/exports/DoubleAttribute.java: New. An
8964 Attribute that stores double values.
8965
8966 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods
8967 to set values for 'fixation', 'font-size', 'lower' and 'upper'.
8968
8969 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8970 Set new attributes mentioned above for each axis' AxisSection.
8971
8972 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
8973
8974 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods
8975 to set the axis label and id.
8976
8977 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Improved
8978 the ChartSettings that will now contain a set of AxisSections. The new
8979 buildAxisSections() method in this class is not implemented and needs to
8980 be implemented by subclasses.
8981
8982 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
8983 Override buildAxisSections() of XYChartGenerator to create an AxisSection
8984 for each axis that is able to be displayed in this sort of chart. In
8985 addition, there is a new method getYAxisLabel(int) that returns the label
8986 for a specific Y axis.
8987
8988 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
8989
8990 * src/main/java/de/intevation/flys/exports/IntegerAttribute.java: New.
8991 Concrete subclass of a DefaultAttribute for storing integer values.
8992
8993 * src/main/java/de/intevation/flys/exports/LegendSection.java: New. A
8994 concrete Section subclass to store legend specific attributes.
8995
8996 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
8997 src/main/java/de/intevation/flys/exports/StringAttribute.java: Removed
8998 needless import of org.w3c.dom.Attr.
8999
9000 * src/main/java/de/intevation/flys/exports/ChartSettings.java: ChartSettings
9001 is able to store a Section for legends now.
9002
9003 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added
9004 methods to retrieve the font size of legends and if the legend should be
9005 visible or not. In addition, the ChartSettings returned by this instance
9006 will now contain a LegendSection as well.
9007
9008 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
9009
9010 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Introduced
9011 methods getChartSubtitle() and isGridVisible(). getChartSubtitle() returns
9012 in this implementation null. Concrete subclasses should override this
9013 mehtod if they require subtitles in charts. isGridVisible() determines if
9014 the grid in the chart should be visible or not. This method return always
9015 true in this implementation.
9016 In addition, the Settings object returned by getSettings() will now have a
9017 ChartSection set properly.
9018
9019 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9020 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9021 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9022 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
9023 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9024 Override getChartSubtitle().
9025
9026 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
9027
9028 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9029 Prepare the OutGenerator (process each of the Output's Facets) during the
9030 describe() operation to be able to return an initial Settings object.
9031
9032 2011-12-15 Ingo Weinzierl <ingo@intevation.de>
9033
9034 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
9035 src/main/java/de/intevation/flys/exports/VisibleAttribute.java,
9036 src/main/java/de/intevation/flys/exports/StringAttribute.java: Fixed wrong
9037 usage of DOM operations.
9038
9039 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
9040
9041 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java,
9042 src/main/java/de/intevation/flys/exports/VisibleAttribute.java,
9043 src/main/java/de/intevation/flys/exports/StringAttribute.java: New.
9044 Concrete subclasses of a DefaultAttribute.
9045
9046 * src/main/java/de/intevation/flys/exports/ChartSettings.java,
9047 src/main/java/de/intevation/flys/exports/AxisSection.java,
9048 src/main/java/de/intevation/flys/exports/ChartSection.java:
9049 Implementations for chart settings. WORK IN PROGRESS!
9050
9051 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Override
9052 the getSettings() method. The implementation here returns a ChartSettings
9053 instance.
9054
9055 * src/main/java/de/intevation/flys/exports/EmptySettings.java: Modified the
9056 node name of the settings ("art:settings" -> "settings").
9057
9058 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9059
9060 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
9061 Cosmetics, doc.
9062
9063 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9064
9065 Cosmetics.
9066
9067 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
9068 Remove needless imports.
9069
9070 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9071
9072 Fix/Guard certain misconditions.
9073
9074 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Do
9075 not crash when given null-range.
9076
9077 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
9078 Do not crash when given malformed array.
9079
9080 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9081
9082 Cosmetics.
9083
9084 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
9085 ChangeLog: Whitespace cosmetic.
9086
9087 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
9088 Annotation cosmetic.
9089
9090 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java:
9091 Convenience cosmetic.
9092
9093 * src/main/java/de/intevation/flys/utils/DataUtil.java:
9094 vim-magicosmetic.
9095
9096 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9097
9098 Implement new WaterLineArtifact where needed so far.
9099
9100 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9101 Declare that we implement WaterLineArtifact.
9102
9103 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
9104 (getWaterLines): Implement to fulfil new WaterLineArtifact-
9105 interface-impl. Also generate new Facet.
9106
9107 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
9108 Do not depend on WINFOArtifacts, but on WaterLineArtifacts instead.
9109
9110 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9111
9112 Added interface WaterLineArtifact to be implemented by artifacts
9113 that know how to create a water line "against" a cross section.
9114
9115 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java:
9116 New, straight-forward interface.
9117
9118 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
9119
9120 * src/main/java/de/intevation/flys/exports/EmptySettings.java: An
9121 implementation of the Settings interface defined in the artifact-database
9122 module. This implementation accepts no Section objects at all and creates
9123 an empty "settings" Node in its toXML() operation.
9124
9125 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Defined a new
9126 method getSettings() that returns a Settings instance.
9127
9128 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
9129 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
9130 src/main/java/de/intevation/flys/exports/MapGenerator.java,
9131 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
9132 src/main/java/de/intevation/flys/exports/ATExporter.java,
9133 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
9134 Implemented the getSettings() operation. All OutGenerators will currently
9135 return an instance of EmptySettings.
9136
9137 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9138 Before the DESCRIBE document is created, we gonna evaluate each Output
9139 defined in the Collection's attribute document, if it has a Settings
9140 object set. If this is not the case, the relevant OutGenerator is called
9141 to retrieve a new instance of Settings.
9142
9143 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
9144 Append the Settings of Outputs to the Output nodes in the XML
9145 representation.
9146
9147 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9148
9149 Recommend cross-sections.
9150
9151 * doc/conf/meta-data.xml: When having a cross-section out, recommend
9152 respective artifacts.
9153
9154 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9155
9156 Register factory for CrossSectionArtifacts.
9157
9158 * doc/conf/conf.xml: Register CrossSectionArtifact-Factory.
9159
9160 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
9161
9162 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
9163 New. This class will store the information provided in the Collection's
9164 attribute (which is a DOM document).
9165
9166 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
9167 Store an instance of CollectionAttribute and append its XML representation
9168 to the DESCRIBE document.
9169
9170 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Removed
9171 all DOM operations from this writer. Its new task is to create a new
9172 CollectionAttribute object which represents a merged version of the old
9173 CollectionAttribute and the information provided by the Collection's child
9174 Artifacts.
9175
9176 * src/main/java/de/intevation/flys/collections/AttributeParser.java: The
9177 result of AttributeParser's parse() operation is a CollectionAttribute
9178 object now. The methods getOuts() and getFacets() are as of now proxy
9179 methods that call the relevant methods of CollectionAttribute.
9180
9181 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9182 Some structural changes in the process to build the attribute Document of
9183 the Collection's DESCRIBE. We will no longer work with Document during
9184 this process but with instances of CollectionAttribute.
9185
9186 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9187
9188 Server-side of newer Cross-Section diagram construction architecture.
9189
9190 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
9191 (searchCrossSectionKmLine, getCrossSectionSnapKm),
9192 (getCrossSectionData): Removed, most functionality contained in
9193 CrossSectionArtifact.
9194 (getWaterLines): Now get CrossSectionLines to calculate water line.
9195
9196 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
9197 Get a CrossSectionLine from blackboard.
9198
9199 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
9200 Hard TODO, commented out function needed for subtitle to allow
9201 compilation.
9202
9203 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
9204 Added Empty-Dataset- guard.
9205
9206 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9207
9208 Cosmetics.
9209
9210 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
9211 Cosmetics.
9212
9213 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
9214
9215 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java,
9216 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
9217 Removed superfluous imports.
9218
9219 2011-12-13 Ingo Weinzierl <ingo@intevation.de>
9220
9221 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java:
9222 New. This class helps generating the DESCRIBE document of a collection.
9223
9224 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9225 Moved some of the code to create the DESCRIBE document out to
9226 CollectionDescriptionHelper.
9227
9228 2011-12-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9229
9230 Resolve todo about wrongly named cross sections.
9231 Open StaticState to allow that facets survive a compute.
9232
9233 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java
9234 (computeAdvance, computeFeed, computeInit): Override to call
9235 staticCompute.
9236 (staticCompute): New. Do nothing but be able to be overridden.
9237
9238 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
9239 (setup): Fetch facets name from db (resolves todo).
9240 (getCurrentState): override staticstates staticcompute to let
9241 facets survive a compute.
9242
9243 2011-12-12 Ingo Weinzierl <ingo@intevation.de>
9244
9245 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java,
9246 src/main/java/de/intevation/flys/wsplgen/WSPLGENCallable.java: Renamed
9247 JobExecutor to WSPLGENCallable (because it is a Callable now). In addition
9248 to the call() method which starts the WSPLGEN process, this Callable
9249 offers a cancelWSPLGEN() method to destroy a running WSPLGEN process.
9250
9251 * src/main/java/de/intevation/flys/wsplgen/WSPLGENFuture.java: A FutureTask
9252 that overrides cancel(boolean). Before this instance call
9253 super.cancel(boolean), it executes WSPLGENCallable.cancelWSPLGEN() to kill
9254 a running WSPLGEN process.
9255
9256 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: The Scheduler is
9257 no longer a Runnable. It makes now use of a ScheduledThreadPoolExecutor to
9258 schedule the incoming WSPLGENJobs. The ScheduledThreadPoolExecutor has a
9259 fixed number of worker threads that process the jobs. The number is 1 per
9260 default; it can be modified using a System property "wsplgen.max.threads".
9261
9262 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
9263 a string constant SCHEDULER.
9264
9265 * src/main/java/de/intevation/flys/wsplgen/SchedulerSetup.java: A
9266 LifetimeListener that currently implements the systemUp() method to create
9267 an instance of Scheduler. After its creation, the Scheduler is put into
9268 the GlobalContext using FLYSContext.SCHEDULER as key.
9269
9270 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9271 Fetch the Scheduler from GlobalContext.
9272
9273 * doc/conf/conf.xml: Registered SchedulerSetup as LifetimeListener.
9274
9275 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9276
9277 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
9278 (describe): Add data items to StaticFLYSArtifacts describe-doc.
9279
9280 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9281
9282 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
9283 (addDefaultChartOutput): Convenienve function to add a chart-output.
9284
9285 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9286
9287 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
9288 Play nice with CrossSectionArtifact. Employ blackboard.
9289
9290 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
9291 Spawn a CrossSectionFacet, handle various data.
9292
9293 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
9294 Do not produce CrossSectionFacets anymore, these now "belong" to
9295 CrossSectionArtifacts.
9296
9297 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9298
9299 * doc/conf/cache.xml: Added cross_sections cache.
9300
9301 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9302
9303 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
9304 (getCrossSection, getCrossSectionUncached): New, access specific
9305 CrossSection, employ caching.
9306
9307 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9308
9309 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
9310 New artifact to handle cross-section access.
9311
9312 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de>
9313
9314 Issue 413.
9315
9316 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
9317 Apply point size from theme attribute linewidth.
9318
9319 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9320
9321 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
9322 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
9323 src/main/java/de/intevation/flys/exports/OutGenerator.java,
9324 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
9325 Cosmetics.
9326
9327 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9328
9329 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
9330 Documentation added, let a value be its own neighbour (distance 0).
9331
9332 2011-12-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9333
9334 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
9335 Added "Bezugslinie" to list of calculation alternatives.
9336
9337 * src/main/resources/messages.properties,
9338 src/main/resources/messages_de_DE.properties,
9339 src/main/resources/messages_de.properties: Added I18N.
9340
9341 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9342
9343 Further flys/issue420 fix (No Discharge Curves for Mosel).
9344
9345 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9346 (includeYRange, mergeRanges): Moved NaN-guard to lowest level.
9347 (combineXRanges): Also NaN guard the X Axis extent.
9348
9349 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9350
9351 Partial fix for flys/issue420 (Berechnete Abflusskurve: Kein Diagramm für
9352 Mosel). Protect axis extent calculation from empty or invalid
9353 datasets.
9354
9355 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9356 (includeRange, includeYRange): Renamed, updated callers.
9357 (includeYRange): Protect from merging extent with NaNs.
9358 (debugDatasets): Be more verbose on the datasets.
9359 (zoom): Doc.
9360
9361 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9362
9363 Fix flys/issue423 (Diagramm: Hauptwerte bei Abflusskurve am Pegel
9364 werden an Y-Achse nicht angezeigt) - show not "raw" (vs interpolated)
9365 values at Gauge.
9366
9367 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
9368 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
9369 Add parameterization to let facet know whether to fetch data at
9370 Gauges or at Artifacts position.
9371
9372 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
9373 Let the MainValueFacets know whether to ask for interpolated
9374 MainValues; (do not interpolate for Gauges Main Values).
9375 (getMainValuesQ, getMainValuesW): Added parameter to control
9376 interpolation.
9377
9378 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
9379
9380 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified
9381 prefix constants for Mapserver layers and renamed constants (which have
9382 been postfixes before).
9383
9384 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Adjusted
9385 usage of Mapserver constants to the changes described above.
9386
9387 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
9388
9389 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
9390 Bugfix: Evaluate the correct parameter whether to set the floodplain or
9391 not. In addition, the scenario parameter used by WSPLGEN is now set
9392 correctly.
9393
9394 >>>>>>> .r3356
9395 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9396
9397 Allow longitudinal_section.q facets in wdiff states output.
9398
9399 * doc/conf/artifacts/winfo.xml: Added longitudinal_section.q facets
9400 to w-diff states out compatibility- matrix.
9401
9402 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9403
9404 Refactored Longitudinal*/WDiff-*Generator hierarchy and change axis
9405 ordering, resolved label-i18n TODO.
9406
9407 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9408 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9409 Merge, avoid duplicate code, fix axis ordering in w-diff diagram,
9410 label in ls-diagramm.
9411
9412 2011-12-05 Ingo Weinzierl <ingo@intevation.de>
9413
9414 * src/main/resources/messages.properties,
9415 src/main/resources/messages_de_DE.properties,
9416 src/main/resources/messages_en.properties,
9417 src/main/resources/messages_de.properties: Added missing state titles.
9418
9419 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9420
9421 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
9422 Do not include zero on first axis.
9423
9424 2011-12-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9425
9426 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9427 (buildArtifactNode): Include artifacts state data in description
9428 document of collection.
9429
9430 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9431
9432 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
9433 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9434 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
9435 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
9436 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9437 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9438 src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
9439 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
9440 src/main/java/de/intevation/flys/exports/ATExporter.java,
9441 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
9442 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
9443 src/main/java/de/intevation/flys/exports/OutGenerator.java,
9444 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
9445 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
9446 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9447 Removed superfluous imports.
9448
9449 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9450
9451 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
9452 Removed import to make it compileable again.
9453
9454 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9455
9456 Introduce pre-rendering inter-facet communication phase ('blackboard
9457 pass').
9458
9459 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
9460 (doBlackboardPass): New. Before actually calling doOut, bundle
9461 ArtifactAndFacets and let them register
9462 themselfes as DataProvider in CallContext if they
9463 want ("announce on blackboard").
9464
9465 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9466
9467 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java
9468 (doOut): Adjusted signature.
9469
9470 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9471
9472 Changed doOut signature to use ArtifactAndFacet, which will be
9473 side effect of upcoming "blackboard" feature.
9474
9475 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
9476 (getRangesForDataset, getRangesForAxis): Renamed, removed TODO.
9477
9478 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java
9479 (createAxis): Update call to XYChartGenerator.getRangesForAxis,
9480 cosmetics.
9481
9482 * src/main/java/de/intevation/flys/exports/OutGenerator.java
9483 (doOut): Changed Signature to accet ArifactAndFacet instead of
9484 Artifact and Facet.
9485
9486 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
9487 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9488 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
9489 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
9490 src/main/java/de/intevation/flys/exports/MapGenerator.java,
9491 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9492 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
9493 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
9494 src/main/java/de/intevation/flys/exports/ATExporter.java,
9495 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
9496 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
9497 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
9498 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java
9499 (doOut): Adjusted to new signature.
9500
9501 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
9502 (adjustAxes): Removed, we do not need a (manual) second axis.
9503
9504 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9505
9506 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9507 Fix compilation, use features of XYChartGenerator.
9508
9509 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9510 Set default behaviour such that 0 is not included in ranges.
9511
9512 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
9513 Set behaviour of axis such that 0 is not (automagically) included.
9514
9515 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9516
9517 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
9518 Fix wrong documentation.
9519
9520 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9521
9522 Fix LongitudinalSections multi-axes plotting behavior.
9523
9524 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9525 Removed obsolete functions, use better working multi-axis
9526 magic by XYChartGenerator.
9527
9528 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9529
9530 Overhaul dataset/axis/renderer housekeeping in Mother of all
9531 ChartGenerators.
9532
9533 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9534 Refactored, keep axis/rendering relevant information in objects
9535 of new class AxisDataset. Removed some obsolete code while adding
9536 documentation.
9537
9538 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9539
9540 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs):
9541 Added the implementation of the 'Bezugslinienverfahren'. Should
9542 be complete but needs testing!
9543 TODO: Setup a Calculation and integrate it into WINFO.
9544
9545 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9546
9547 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9548 Refactored the code for the "berechnete Abflusskurve" to enable
9549 the "Bezugslinienverfahren" to use the same code paths. It also
9550 removes a good deal of already existing code duplication.
9551
9552 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9553
9554 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(findQsForW):
9555 Added method findQsForW(w, km) to retrieve the Qs that correspond
9556 for the given w and km.
9557
9558 This is to be called when doing a "W auf freier Strecke" calculation
9559 to find out the Qs belonging to the user given W.
9560
9561 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java,
9562 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9563 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9564 Removed superfluous imports.
9565
9566 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9567
9568 Fix bug when adding Q data in LongitudinalSectionGenerator.
9569
9570 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9571 Add data from Q -Facet as Q over Km points.
9572
9573 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9574
9575 Added handling of empty plots.
9576
9577 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9578 (createAxes, removeEmptyRangeAxes): Survive empty datasets map, create
9579 primary axis.
9580 (recoverEmptyPlot): New.
9581
9582 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9583
9584 Let first visible axis be always on the left.
9585
9586 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9587 (createAxes): When creating axes, keep track of which is the first
9588 one. Set its location to "left".
9589
9590 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9591
9592 Use multiple axis in relevant generators.
9593
9594 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
9595 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9596 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
9597 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
9598 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
9599 (createYAxis): Implemented.
9600 Define and use YAXIS enum for axes.
9601
9602 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9603
9604 Fix theming and legend items for plot with multiaxis feature.
9605 Decouple renderer index from dataset index.
9606
9607 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9608 (applyThemes): Do not get renderer based on dataset/axis-index but
9609 count.
9610
9611 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9612
9613 In XYChartGenerators allow more than two datasets.
9614 Assign axis to indices of datasets, do not show axis if corresponding
9615 dataset is set to be not visible.
9616 Do proper axis-setting in LongitudinalSectionGenerator only (other
9617 will follow). Based on a patch by Sascha Teichmann.
9618
9619 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9620 Keep relation between index and dataset, once its added. Compute
9621 ranges per index. Allow subclasses to override createAxes to specify
9622 internationalized labels etc.
9623
9624 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
9625 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
9626 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
9627 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
9628 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
9629 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
9630 Add datasets to first index.
9631
9632 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
9633 Implement createYAxis to create correct first, second and third
9634 axis. Added enum to easy identification of axis. Stripped down
9635 adjustAxis which was used to create second axis.
9636 Add datasets at correct indices.
9637
9638 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9639
9640 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java,
9641 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java,
9642 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
9643 Cosmetics, docs.
9644
9645 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9646
9647 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
9648 Cosmetics, docs.
9649
9650 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9651
9652 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
9653 Cosmetics, docs.
9654
9655 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9656
9657 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
9658 Resolved TODO about caching certain WstValueTables.
9659
9660 2011-11-22 Ingo Weinzierl <ingo@intevation.de>
9661
9662 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java: New.
9663 This Artifact is used to allow users adding external WMS layers to their
9664 floodmaps. An ExternalWMSArtifact stores an URL of a WMS, the name and the
9665 title of the WMS layer. The internal State extends WMSBackgroundState.
9666
9667 * doc/conf/conf.xml: Registered the ExternalWMSArtifact.
9668
9669 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
9670 new type "floodmap.externalwms" which is used by the ExternalWMSArtifact.
9671
9672 * doc/conf/artifacts/winfo.xml: Allowed the "floodmap.externalwms" facet for
9673 floodmaps.
9674
9675 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
9676 Some refactoring to allow easier subclassing.
9677
9678 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9679
9680 Fixed flys/411.
9681
9682 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
9683 Use different queries to avoid costy joins.
9684
9685 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9686
9687 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
9688 Use different queries to avoid costy joins. Patch by Sascha
9689 Teichmann, minor typo-fix.
9690
9691 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9692
9693 * doc/conf/artifacts/winfo.xml: Added other.wkms.interpol facet
9694 to compatibility matrix for computed discharge curves.
9695
9696 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9697
9698 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
9699 Resolve cosmetic todo, use importData-convenience method.
9700
9701 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9702
9703 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
9704 Handle STATIC_WKMS_INTERPOL and WQ/Points as Annotations.
9705
9706 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9707
9708 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
9709 Give Facet different name when its a flood*, so that it can be
9710 understood to be e.g. a flood-protection further down the processing
9711 line.
9712
9713 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9714
9715 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9716 Prevent ArrayIndexOutOfBounds, log method entry.
9717
9718 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9719
9720 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9721 Added new Facet Type: Interpolated W/Km values.
9722
9723 2011-11-16 Ingo Weinzierl <ingo@intevation.de>
9724
9725 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
9726 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java,
9727 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Avoid
9728 WMS layer names that begin with digits. This would lead to invalid
9729 WMSGetFeatureInfo responses, where the name of a layer is the name of a
9730 XML node.
9731
9732 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9733
9734 * doc/conf/meta-data.xml: Added and use *_wq macros for interpolated
9735 w/q data (currently used in computed discharge curve only).
9736
9737 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9738
9739 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
9740 Handle STATIC_WQ_ANNOTATION type facets, build and add annotations
9741 for these.
9742
9743 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9744
9745 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
9746 Set Facet type (name) based on static datas name (special case
9747 everything starting with "height").
9748
9749 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9750
9751 * doc/conf/artifacts/winfo.xml: Extended compatibility matrices.
9752
9753 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9754
9755 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9756 Added new STATIC_WQ_ANNOTATIONS Facet Type.
9757
9758 2011-11-16 Ingo Weinzierl <ingo@intevation.de>
9759
9760 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
9761 Added a method isQueryable() that determines if a layer is queryable via
9762 WMS GetFeatureInfo request. This method returns false as default.
9763
9764 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
9765 Override isQueryable(). All WMSDBLayerFacets are queryable via WMS
9766 GetFeatureInfo request.
9767
9768 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9769
9770 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
9771 Added functionality to artifact to use single column wst
9772 interpolators.
9773
9774 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9775
9776 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
9777 Added methods to create WstValueTables (interpolators) for specific
9778 columns of wsts.
9779
9780 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9781
9782 * doc/conf/themes.xml: Added Point Style for other.wq data.
9783
9784 2011-11-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9785
9786 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9787 Do not re-evaluate constant size() in for-loops.
9788
9789 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9790
9791 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
9792 Get ld_locations not locations data item to determine km.
9793 (getDataAsDouble): New helper function to get data item as double.
9794
9795 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9796
9797 * doc/conf/meta-data.xml: Recommend fixations for computed discharge
9798 curve outs, minor refactoring of dc conf.
9799
9800 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9801
9802 * doc/conf/conf.xml: Added wqinterpol factory to produce
9803 WQKmsInterpolArtifacts.
9804
9805 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9806
9807 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
9808 Use StyledSeriesBuilder to add WQ data from WQKms to Series.
9809
9810 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9811
9812 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
9813 Handle interpolated WQ data.
9814
9815 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9816
9817 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
9818 Adjusted to similar implementations. Added TODO about merging with
9819 these similar implementations.
9820
9821 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9822
9823 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9824 Removed logging noise, find better suited rows for interpolation.
9825
9826 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9827
9828 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
9829 Cache WstValueTables that were fetched by wst_id.
9830
9831 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9832
9833 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
9834 (getWstName): Fix and use SQL statement.
9835
9836 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9837
9838 * src/main/java/de/intevation/flys/artifacts/model/WQFacet.java,
9839 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java:
9840 Added new Facet and Artifact to access W over Q data.
9841
9842 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9843
9844 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
9845 (importData): New function to copy data from one artifact to
9846 another.
9847
9848 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9849
9850 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java
9851 (getTable): New methods to get WstValueTable for given wst_id.
9852 Prepolate Arrays with NaNs.
9853
9854 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9855
9856 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
9857 (getWKmsName): Fix definition.
9858
9859 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9860
9861 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
9862 (getWKmsName): New function. Get name (description) of a WST.
9863
9864 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9865
9866 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
9867 Added new "other.wq"/STATIC_WQ Facet-Type, e.g. for fixations in
9868 discharge curves.
9869
9870 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9871
9872 Picky cosmetics.
9873
9874 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java,
9875 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java,
9876 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
9877 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
9878 Cosmetics, docs.
9879
9880 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9881
9882 Added translations for Mosel, Elbe and Saar.
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
9888 for Mosel, Elbe, Saar.
9889
9890 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9891
9892 Added new interpolation mechanism to WstValueTable to interpolate
9893 given columns only.
9894
9895 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java
9896 (linearW): New, interpolate a given columns w's between given rows.
9897 (interpolateWQColumnwise): New, interpolate between rows ws at a
9898 given column and km.
9899
9900 2011-11-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9901
9902 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
9903 Minor doc added.
9904
9905 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9906
9907 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java,
9908 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java,
9909 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
9910 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
9911 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java,
9912 src/main/java/de/intevation/flys/themes/ThemeFactory.java:
9913 Removed dead ';' from empty bodies.
9914
9915 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9916
9917 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
9918 s/reset/resetQuick/s in TDoubleArrayLists.
9919
9920 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9921
9922 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
9923 Added system properties 'waterlevel' and 'km'. Useful to
9924 init the UI with a given waterlevel and drawing the cross-sections
9925 at the given km.
9926
9927 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
9928 Spliting by NaNs definition holes _should_ work now. Needs
9929 some more testing.
9930 TODOs:
9931 - Use log4j instead of println for logging.
9932 - Subclass XYDifferenceRenderer instead of replacing it totally.
9933
9934 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9935
9936 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
9937 Draw water, too.
9938
9939 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
9940 First code to split datasets by NaNs. WIP.
9941
9942 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9943
9944 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
9945 Draw ground with StableXYDifferenceRenderer.
9946
9947 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
9948 Removed XYDatasetToZeroMapper stuff. Not needed any longer
9949 because we use rendereres on dataset basis now.
9950
9951 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java:
9952 Removed.Not longer needed.
9953
9954 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9955
9956 * doc/conf/meta-data.xml: Include computed discharge curves in dc
9957 conf.
9958
9959 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9960
9961 * doc/conf/meta-data.xml: Somewhat unify user-part of dc config.
9962
9963 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
9964
9965 * doc/conf/themes.xml: Modified some floodmap styles and added a
9966 backgroundcolor attribute to polygon themes.
9967
9968 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
9969 Added support for backgroundcolor.
9970
9971 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse
9972 backgroundcolor from theme document. If a value is given, the
9973 backgroundcolor is set on the Mapserver style.
9974
9975 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
9976
9977 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
9978 Set correct Mapserver attribute name to adjust the width of a line.
9979
9980 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
9981
9982 * doc/conf/themes.xml: Added 'textcolor' and 'textsize' attributes to the
9983 existing 'Kms' theme.
9984
9985 * doc/conf/mapserver/fontset.txt: Defined a 'DefaultFont' that is used as
9986 default font for Mapserver labels.
9987
9988 * doc/conf/mapserver/db_layer.vm: Add a Mapserver LABELITEM if a value is
9989 provided by LayerInfo object.
9990
9991 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added a
9992 getLabelItem() method that returns null as default.
9993
9994 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override
9995 getLabelItem() to return "km" which is the database field that contains
9996 the kilometer information.
9997
9998 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java,
9999 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
10000 Added an attribute labelItem with appropriate getter/setter methods.
10001
10002 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
10003 Splitted up the internal class Clazz. Now, there are two new inner
10004 classes Style and Label that fulfill the appropriate Mapfile sections of
10005 Mapserver.
10006
10007 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Also Read font
10008 attributes and add new Clazz Label for the Mapserver layer.
10009
10010 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the
10011 "labelItem" attribute on the LayerInfo object used to fill DB layer
10012 templates.
10013
10014 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10015
10016 * doc/conf/meta-data.xml: Re-use macros to include more data to
10017 datacage in more situations.
10018
10019 2011-11-11 Ingo Weinzierl <ingo@intevation.de>
10020
10021 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
10022 Removed needless imports.
10023
10024 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
10025
10026 * src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java: New
10027 WMSDBArtifact that creates facets for "fixpoints" relation.
10028
10029 * doc/conf/artifacts/winfo.xml: Registered "floodmap.fixpoints" as valid
10030 "floodmap" facet.
10031
10032 * doc/conf/conf.xml: Registered the new WMSFixpointsArtifact.
10033
10034 * doc/conf/themes.xml: Added a theme for "floodmap.fixpoints".
10035
10036 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10037 Facet type "floodmap.fixpoints".
10038
10039 * doc/conf/meta-data.xml: Made "floodmap.fixpoints" available via datacage.
10040
10041 * src/main/resources/messages.properties,
10042 src/main/resources/messages_de_DE.properties,
10043 src/main/resources/messages_en.properties,
10044 src/main/resources/messages_de.properties: Added titles for
10045 "floodmap.fixpoints" facets.
10046
10047 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10048
10049 * doc/conf/meta-data.xml: Refactored and (re)use macros.
10050
10051 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
10052
10053 * src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java: New
10054 WMSDBArtifact that creates facets for "buildings" relation.
10055
10056 * doc/conf/artifacts/winfo.xml: Registered "floodmap.buildings" as valid
10057 "floodmap" facet.
10058
10059 * doc/conf/conf.xml: Registered the new WMSBuildingsArtifact.
10060
10061 * doc/conf/themes.xml: Added a theme for "floodmap.buildings".
10062
10063 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10064 Facet type "floodmap.buildings".
10065
10066 * doc/conf/meta-data.xml: Made "floodmap.buildings" available via datacage.
10067
10068 * src/main/resources/messages.properties,
10069 src/main/resources/messages_de_DE.properties,
10070 src/main/resources/messages_en.properties,
10071 src/main/resources/messages_de.properties: Added titles for
10072 "floodmap.buildings" facets.
10073
10074 2011-11-10 Ingo Weinzierl <ingo@intevation.de>
10075
10076 * src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java: New
10077 WMSDBArtifact that creates facets for "lines" relation.
10078
10079 * doc/conf/artifacts/winfo.xml: Registered "floodmap.lines" as valid
10080 "floodmap" facet.
10081
10082 * doc/conf/conf.xml: Registered the new WMSLineArtifact.
10083
10084 * doc/conf/themes.xml: Added a theme for "floodmap.lines".
10085
10086 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10087 Facet type "floodmap.lines".
10088
10089 * doc/conf/meta-data.xml: Made "floodmap.lines" available via datacage.
10090
10091 * src/main/resources/messages.properties,
10092 src/main/resources/messages_de_DE.properties,
10093 src/main/resources/messages_en.properties,
10094 src/main/resources/messages_de.properties: Added titles for facets.
10095
10096 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10097
10098 * doc/conf/meta-data.xml: Adjusted DC configuration to
10099 also allow heightmarks and base data in discharge longitudinal
10100 sections. Minor refac.
10101
10102 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10103
10104 * doc/conf/meta-data.xml: Adjusted DC configuration to let old
10105 calculations be available for discharge longitudinal sections.
10106
10107 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10108
10109 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
10110 Handle other WQKm and WKm Facets.
10111
10112 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10113
10114 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java
10115 (IS): New inner class with static method to allow queries whether
10116 a type belongs to a however-defined "group".
10117
10118 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10119
10120 * doc/conf/conf.xml: Reverted accidental commit.
10121
10122 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation
10123 for discharge longitudinal sections.
10124
10125 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10126
10127 * doc/conf/conf.xml: Reverted accidental commit.
10128
10129 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation
10130 for discharge longitudinal sections.
10131
10132 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10133
10134 Made discharge longitudinal section out compatible with annotations.
10135
10136 * doc/conf/artifacts/winfo.xml: Added facets to compatibility list
10137 for discharge longitudinal section outs.
10138
10139 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10140
10141 Extracted Annotations-Macro in dc conf, recommend Annotations for
10142 discharge longitudinal sections. (Note correction two commits later).
10143
10144 * doc/conf/conf.xml: Extracted annotations-macro, add recommendation
10145 for discharge longitudinal sections.
10146
10147 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10148
10149 Handle Annotations in DischargeLongitudinalSection diagrams.
10150
10151 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
10152 Call doAnnotations for LONGITUDINAL_ANNOTATION facets.
10153
10154 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10155
10156 Resolve code duplicate.
10157
10158 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
10159 (doAnnotationsOut): Removed duplicate code.
10160 Theoretically handle WQKMS data.
10161
10162 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
10163 Adjusted call to doAnnotationOut.
10164
10165 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
10166 (doAnnotations): Doc from LongitudinalSectionGenerator.
10167
10168 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10169
10170 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
10171 Include exception when logging issue with spline creation.
10172
10173 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10174
10175 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
10176 When during XPath evaluation an exception is thrown, log the
10177 expression that caused the trouble.
10178
10179 2011-11-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10180
10181 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
10182 Use separate XYDataset for each curve. This is needed because
10183 "Raum/Flaeche" needs specialized renderers, which are not compatible
10184 with the standard renderers.
10185
10186 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
10187 Removed superfluous import.
10188
10189 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
10190
10191 * src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java: New
10192 Artifact that is used to create WMS layers for floodplains in maps.
10193
10194 * doc/conf/conf.xml: Registered the new WMSFloodplainArtifact.
10195
10196 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10197 a new type 'floodmap.floodplain'.
10198
10199 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.floodplain' facet
10200 for floodmaps.
10201
10202 * doc/conf/themes.xml: Added a theme for 'floodmap.floodplain' facets.
10203
10204 * doc/conf/meta-data.xml: Added configuration for 'floodplain'.
10205
10206 * src/main/resources/messages.properties,
10207 src/main/resources/messages_de_DE.properties,
10208 src/main/resources/messages_en.properties,
10209 src/main/resources/messages_de.properties: Added facet titles for
10210 'floodmap.floodplain' facets.
10211
10212 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
10213
10214 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java: New
10215 Artifact that is used to create WMS layers for catchments in maps.
10216
10217 * doc/conf/conf.xml: Registered the new WMSCatchmentArtifact.
10218
10219 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10220 a new type 'floodmap.catchment'.
10221
10222 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.catchment' facet
10223 for floodmaps.
10224
10225 * doc/conf/themes.xml: Added a theme for 'floodmap.catchment' facets.
10226
10227 * doc/conf/meta-data.xml: Added configuration for 'catchments'.
10228
10229 * src/main/resources/messages.properties,
10230 src/main/resources/messages_de_DE.properties,
10231 src/main/resources/messages_en.properties,
10232 src/main/resources/messages_de.properties: Added facet titles for
10233 'floodmap.catchment' facets.
10234
10235 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
10236
10237 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: New
10238 Artifact that is used to create WMS layers for flood protected works.
10239
10240 * doc/conf/conf.xml: Registered the new WMSHwsArtifact.
10241
10242 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10243 a new type 'floodmap.hws'.
10244
10245 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.hws' facet for
10246 floodmaps.
10247
10248 * doc/conf/themes.xml: Added a theme for 'floodmap.hws' facets.
10249
10250 * doc/conf/meta-data.xml: Added configuration for 'hws'.
10251
10252 * src/main/resources/messages.properties,
10253 src/main/resources/messages_de_DE.properties,
10254 src/main/resources/messages_en.properties,
10255 src/main/resources/messages_de.properties: Added facet titles for
10256 'floodmap.hws' facets.
10257
10258 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
10259
10260 * doc/conf/mapserver/dbconnection.include: Removed. DB connections are
10261 supported by LayerInfo objects now. So, we do not need to configure it any
10262 more.
10263
10264 * doc/conf/mapserver/db_layer.vm: The database connection is provided by
10265 LayerInfo objects. The "INCLUDE dbconnection.include" has been replaced.
10266
10267 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: The inner
10268 State class got two new methods that provide information about db
10269 connection string and connection type.
10270
10271 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java,
10272 src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Both
10273 classes support getter/setter for connection and connectionType.
10274
10275 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Fill
10276 LayerInfo objects used to create DB layers with the connection and
10277 connection type provided by WMSDBLayerFacet.
10278
10279 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10280
10281 Allow height marks with points style in w-differences diagrams.
10282
10283 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
10284 Handle HEIGHTMARKS_POINTS facets.
10285
10286 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10287
10288 Made Q Duration curve initially inactive.
10289
10290 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
10291 (getInitialFacetActivity): Return 0 for DURATION_Q facets. Minor
10292 cosmetics.
10293
10294 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10295
10296 Recommend mainvalues for Duration Curve Diagrams.
10297
10298 * doc/conf/meta-data.xml: Recommend mainvalues for duration curve
10299 diagrams. refactored into macro.
10300
10301 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10302
10303 Handle MainValue Facets in Duration Curve Diagrams.
10304
10305 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
10306 Handle MainValues.
10307
10308 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10309 Adjusted to call doAnnotations.
10310
10311 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10312
10313 Move do*Annotation* (like mainvalue) in XYChartGenerator.
10314
10315 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java
10316 (doAnnotations): New, moved from DischargeCurveGenerator.
10317
10318 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java
10319 (doMainValueAnnotations): Moved to superclass.
10320
10321 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10322
10323 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
10324 Removed duplicate code.
10325
10326 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10327
10328 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
10329 (): Minor cosmetics, added stability.
10330 (getInitialFacetActivity): Let facets be inactive in duration curve
10331 diagrams.
10332
10333 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10334
10335 * doc/conf/artifacts/winfo.xml: Allow other.wqkms facets in many
10336 outputs, mainvalues in duration curves.
10337
10338 2011-11-09 Ingo Weinzierl <ingo@intevation.de>
10339
10340 * doc/conf/mapserver/dbconnection.include: Adapted connection params for
10341 using an oracle database.
10342
10343 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java,
10344 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java,
10345 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
10346 Added Oracle support for Mapserver's DATA attribute. Oracle doesn't allow
10347 a "USING UNIQUE id" string in this attribute which is required by Postgis.
10348
10349 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
10350 Modified the geometry type of "talaue.shp" from MultiPolygon to Polygon.
10351
10352 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
10353 which returns true, if the backend uses an Oracle db instance. Otherwise,
10354 it returns false.
10355
10356 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10357
10358 Fix flys/issue406 (Themestyle-editor: themes for "other.wkms" and
10359 "other.wqkms" missing)
10360
10361 * doc/conf/themes.xml: Fixed typos in WKms and WQKms theme names.
10362
10363 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10364
10365 Fix flys/issue405 (Datacage: Recommendations get loaded twice).
10366
10367 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java
10368 (setup): Do not try/catch exception.
10369 (spawn_state): Generate just one "general" output.
10370
10371 2011-11-08 Ingo Weinzierl <ingo@intevation.de>
10372
10373 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
10374 Added a log.warn() which prints out an exception - previously it was
10375 just skipped.
10376
10377 2011-11-08 Ingo Weinzierl <ingo@intevation.de>
10378
10379 * doc/conf/meta-data.xml: Removed orphaned datacage configuration which is
10380 no longer loadable.
10381
10382 2011-11-07 Ingo Weinzierl <ingo@intevation.de>
10383
10384 * doc/conf/conf.xml: Added an "post-describe" hook which is necessary to
10385 load recommendations for "floodmaps".
10386
10387 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10388
10389 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java
10390 (loadRows, loadColumns, loadQRanges): Refactored in preparation to
10391 ability to create WstValueTables for given wst_id and
10392 column_pos (interpolation for static data).
10393
10394 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10395
10396 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
10397 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
10398 Minor, picky cosmetics.
10399
10400 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java:
10401 Removed junk.
10402
10403 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
10404 Added documentation.
10405
10406 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10407
10408 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
10409 Be more specific in what to catch.
10410
10411 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
10412
10413 * doc/conf/meta-data.xml: Added the CrossSectionTracks to the "floodmap"
10414 datacage configuration.
10415
10416 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a
10417 FacetType "floodmap.qps".
10418
10419 * doc/conf/conf.xml: Defined an ArtifactFactory for the "wmspqsartifact"
10420 string. The factory will create new instances of WMSQPSArtifact.
10421
10422 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java: New. This
10423 Artifact is used to create "floodmap.qps" facets. It has an internal fixed
10424 State WMSQPSState.
10425
10426 * doc/conf/artifacts/winfo.xml: Added the "floodmap.qps" layer to the
10427 "floodmap" output.
10428
10429 * doc/conf/themes.xml: Added a theme for "floodmap.qps" facets.
10430
10431 * src/main/resources/messages.properties,
10432 src/main/resources/messages_de_DE.properties,
10433 src/main/resources/messages_en.properties,
10434 src/main/resources/messages_de.properties: Added strings for the QPS WMS
10435 layer used in floodmaps.
10436
10437 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10438
10439 Re-enable mainvalue-recommendations for computed discharge curves,
10440 as the NPE should be gone.
10441
10442 * doc/conf/meta-data.xml: Uncomment mainvalue recommendations.
10443
10444 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10445
10446 When querying metadata/datacage, use only output-names of outputs that
10447 actually exists (in the sense of having facets).
10448
10449 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
10450 Get output names from artifact, not from state.
10451
10452 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
10453
10454 * doc/conf/meta-data.xml: Removed DEMs from floodmap configuration,
10455 because we are not able to draw DEMs into maps.
10456
10457 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
10458
10459 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
10460 Subclasses WMSDBArtifact now and defines an inner class RiverAxisState
10461 which subclasses WMSDBState.
10462
10463 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
10464 Removed. The RiverAxisState is an inner class of RiverAxisArtifact now
10465 which subclasses WMSDBState.
10466
10467 * doc/conf/artifacts/riveraxis.xml: Removed, because the RiverAxisArtifact
10468 has a fixed static State only.
10469
10470 * doc/conf/conf.xml: Removed riveraxis.xml definition.
10471
10472 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10473
10474 For a Flys-Collection, add outputt to attributes-part of describe
10475 document only if they contain facets. -> Prevent empty output nodes
10476 in flys-collections outputs.
10477
10478 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
10479 (writeFacets): Added return type to indicate whether any facet was
10480 written. Decide whether to add an output-node depending on this
10481 return value.
10482
10483 2011-11-04 Ingo Weinzierl <ingo@intevation.de>
10484
10485 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Create
10486 line and polygon layers for barriers only if they are really existing.
10487
10488 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10489
10490 Disable mainvalue-recommendations for discharge curves as they trigger
10491 a yet-to-be understood NPE.
10492
10493 * doc/conf/meta-data.xml: Comment mainvalue-recommendations for
10494 discharge curves.
10495
10496 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10497
10498 Added new matching condition for theme-mappings: the name of
10499 the output.
10500
10501 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
10502 Added output field and function to match it against a given
10503 output name.
10504
10505 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
10506 Createing ThemeMapping with output attribute from configuration.
10507
10508 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
10509 (getTheme(FLYSContext, string)): Removed, never called.
10510 (getTheme): Added outputName argument, match it.
10511
10512 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
10513 Pass outputs name until it can be matched against mapping.
10514
10515 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10516
10517 * doc/conf/themes.xml: Added default themes for other.w(q)kms.
10518
10519 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10520
10521 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
10522 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
10523 Cosmetics, reduce logging noise.
10524
10525 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10526
10527 Added access to static W_Q_Kms - data in much the same way then static
10528 WKms.
10529
10530 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java:
10531 Cache Key for static wqkms data.
10532
10533 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java:
10534 Facet for WQKms.
10535
10536 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java:
10537 Factory to access WQKms.
10538
10539 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java:
10540 Artifact that provides 'static' WQKms.
10541
10542 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10543 Added STATIC_WQKMS type.
10544
10545 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10546
10547 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java:
10548 New. Maps series to zero to be compatible with XYDifferenceRenderer.
10549 It returns an iterator over XYDatasets to enable splitting by NaNs,
10550 which still needs to be implemented.
10551
10552 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
10553 Uses a XYDatasetToZeroMapper now. Fixed package name.
10554
10555 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10556
10557 Added new matching options for theme-mappings to allow more
10558 overspecification of defaults (e.g. now name,description-pattern and
10559 master-artifacts attributes are matched). The first full match from
10560 the configuration file is done.
10561 New matching option in the masterAttr- field of a mapping are
10562 super-basic until new use-cases come up.
10563 Concrete new themes are point-styles of Ws when locations where chosen
10564 to calculate.
10565
10566 * doc/conf/themes.xml: Added newly defined Themes.
10567
10568 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
10569 Put master-artifact in flys-context.
10570
10571 * src/main/java/de/intevation/flys/themes/ThemeMapping.java:
10572 Accept masterAttr in constructor.
10573 (masterAttrMatches): New, check masterAttr-condition against
10574 artifact.
10575
10576 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
10577 When creating ThemeMappings, pass in masterAttr.
10578
10579 * src/main/java/de/intevation/flys/themes/ThemeFactory.java:
10580 (getTheme): Evaluate masterAttr-condition, always return first full
10581 match.
10582
10583 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10584
10585 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
10586 Added ARTIFACT key, documentation.
10587
10588 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10589
10590 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
10591 New. At the moment a pure copy of JFreeChart's XYDifferenceRenderer.
10592 Needs to be refactored to cope with its limitations:
10593
10594 - Series numbers need to be zero based. We have more than two series
10595 in our diagrams.
10596
10597 - Cannot handle definition holes indicated by NaNs. We have these
10598 cases e.g. more than one "Fliessbereich".
10599
10600 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10601
10602 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
10603 Reenabled dumping data to disk.
10604
10605 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10606
10607 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10608 Removed superfluous import.
10609
10610 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10611
10612 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
10613 Use new pair in stack of results and connections because they are
10614 always used in pairs. Maintaining two separate stacks is not
10615 needed any longer.
10616
10617 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10618
10619 * src/main/java/de/intevation/flys/utils/Pair.java: New. A generic pair.
10620
10621 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
10622 Rewritten to useful as test bed for "Raum/Flaeche" operations.
10623
10624 2011-11-02 Ingo Weinzierl <ingo@intevation.de>
10625
10626 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added
10627 setter methods for all parameters and removed the constructors. There is
10628 just an empty constructor - all parameters need to be set via setter
10629 methods.
10630
10631 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified the
10632 creation of LayerInfo objects.
10633
10634 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java:
10635 Removed, because the internal structure and constructors of LayerInfo have
10636 changed, so that we gonna use LayerInfo for all layers now.
10637
10638 * doc/conf/themes.xml: Modified the color definitions of
10639 'floodmap.riveraxis' and 'floodmap.kms' themes and added a 'symbol' field
10640 to 'floodmap.kms'.
10641
10642 * doc/conf/mapserver/symbols.sym,
10643 doc/conf/mapserver/fontset.txt: New. Required by Mapserver.
10644
10645 * doc/conf/mapserver/db_layer.vm: Added an 'EXTENT' field that is filled
10646 using LayerInfo.getExtent().
10647
10648 * doc/conf/mapserver/mapfile.vm: Modified FONTSET directory and added a
10649 SYMBOLSET.
10650
10651 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added an
10652 abstract method getGeometryType().
10653
10654 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override
10655 getGeometryType() of WMSDBArtifact. This Artifact provides "POINT"s.
10656
10657 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
10658 Create new WMSDBLayerFacets with geometry type "LINE".
10659
10660 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
10661 Added a 'geometryType' attribute and getter/setter methods. This attribute
10662 determines the type of geometry provided by this database wms layer. Types
10663 could be "POLYGON", "POINT", "LINE" and so on.
10664
10665 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
10666 Added a 'symbol' attribute to the inner class Clazz.
10667
10668 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a function to
10669 parse the symbol field of a theme. This symbol is used for
10670 MapserverStyle.Clazz.
10671
10672 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10673
10674 Apply point theme to heightmarks when imported in longitudinal
10675 section diagram.
10676
10677 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
10678 Added new FacetType HEIGHTMARK_POINTS.
10679
10680 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
10681 Allow name to be given in constructor.
10682
10683 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
10684 If heightmarks were loaded, give respective name in WKmsFacet
10685 generation.
10686
10687 * doc/conf/themes.xml: Added virtual "Points" and concrete
10688 heightmark_points - theme.
10689
10690 * doc/conf/artifacts/winfo.xml: Made longitudinal_section output
10691 compatible with heightmarks_points.
10692
10693 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10694 Render heightmarks like other wkms.
10695
10696 * doc/conf/meta-data.xml: Changed heightmark ids such that it can be
10697 identified in StaticWKmsFacet .
10698
10699 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10700
10701 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
10702 Documentation added.
10703
10704 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10705
10706 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
10707 Fix bug where (wrong) active-attribute was set, doc.
10708
10709 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10710
10711 Refactoring to allow mainvalues in both discharge and computed
10712 discharge curve diagrams.
10713
10714 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java
10715 (addPointsQW): New helper function.
10716
10717 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
10718 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
10719 Moved doMainValueQAnnotations, doMainValueWAnnotations from child-
10720 to parent-class, extracetd doDischargeOut. Use
10721 StyledSeriesBuilder.addPointsQW .
10722
10723 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10724
10725 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10726 Removed logger/debugging noise.
10727
10728 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10729
10730 1) Pass outputs name to artifacts getInitialFacetActivity().
10731 2) Do not allow "gaps" in positions of facets in outputs in attributes
10732 of collection (prevent e.g. positions 1,3,5; will become 1,2,3
10733 instead).
10734
10735 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
10736 Pass outputname to artifacts getInitialFacetActivity(), prevent
10737 gaps in facets positions in outputs (1,3,10 become 1,2,3).
10738
10739 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10740
10741 1) Give Artifacts information about the out when they have to decide
10742 whether a given facet is initially in/active by adding parameter
10743 to getInitialFacetActivity(+outputName).
10744 2) Generate separate Set of MainValueFacets for discharge curves.
10745
10746 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
10747 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
10748 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
10749 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
10750 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
10751 (getInitialFacetActivity): Adjusted, new parameter outputName.
10752 Added MAINVALUES_{Q,W} definition.
10753
10754 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
10755 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
10756 Accept name in constructor.
10757
10758 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
10759 Create second pair of MainValuesFacets, give distinguishable names.
10760
10761 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10762
10763 Added compatibility of (computed)discharge-curve diagrams with
10764 mainvalues.
10765
10766 * doc/conf/artifacts/winfo.xml: Added mainvalues to compatibility list
10767 of (computed) discharge curve outputs. These facet-definitionss can
10768 differ in names because we can can have up to 4 mainvalue facets in
10769 one state.
10770
10771 2011-11-01 Ingo Weinzierl <ingo@intevation.de>
10772
10773 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Determine
10774 the extent of such WMS layer based on the list of RiverAxisKm objects
10775 returned by the backend.
10776
10777 2011-11-01 Ingo Weinzierl <ingo@intevation.de>
10778
10779 * doc/conf/meta-data.xml: Added a datacage node that represents a
10780 kilometer WMS layer.
10781
10782 * doc/conf/conf.xml: Added a new Artifact WMSKmArtifact.
10783
10784 * doc/conf/themes.xml: Added a style for 'floodmap.kms' facets.
10785
10786 * doc/conf/artifacts/winfo.xml: Defined 'floodmap.kms' as valid floodmap
10787 facet.
10788
10789 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
10790 a 'floodmap.kms' facet.
10791
10792 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method to
10793 determine the srid of a river based on its name.
10794
10795 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: New. This
10796 Artifact should act as base Artifact for WMS layers that represent data
10797 from database datastore.
10798
10799 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: New. This
10800 Artifact is used to generate facets for kilometer WMS layers.
10801
10802 * src/main/resources/messages.properties,
10803 src/main/resources/messages_de_DE.properties,
10804 src/main/resources/messages_en.properties,
10805 src/main/resources/messages_de.properties: Added default descriptions
10806 for 'floodmap.kms' facets.
10807
10808 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10809
10810 Fix incompilability.
10811
10812 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
10813 Adjust to changed CrossSectionFacet.
10814
10815 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10816
10817 Minor preparations to handle multiple cross sections in one
10818 diagram/artifact, faking certain aspects (e.g. ability to display
10819 multiple cross sections, but let these fetch the exactly same data
10820 for now).
10821
10822 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
10823 Parameterize but fake access to cross-section (always take first
10824 one).
10825 (getCrossSectionName,getCrossSectionNames): Renamed, access names
10826 of all cross-sections, so that at least facets with different names
10827 are created (they will still deliver the same data).
10828
10829 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
10830 Allow indexing.
10831
10832 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10833 Index created cross-sections.
10834
10835 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10836
10837 Show multiple water lines and facets in cross-section diagram if
10838 multiple waterlevel values had been entered.
10839
10840 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
10841 (appendBackgroundActivity): Made static.
10842 (getWaterLines): Add 'idx' argument to specify index of queried
10843 waterlevel.
10844
10845 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
10846 Add index.
10847
10848 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
10849 Add one Facet for each of the computed waterlevels.
10850
10851 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10852
10853 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
10854 Added code to calculate intersection points.
10855
10856 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
10857 Added polygons for trivial cases. WIP
10858
10859 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10860
10861 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
10862 Made it compilable again.
10863
10864 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10865
10866 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
10867 Made X() and Y() access macros public.
10868
10869 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
10870 More code. WIP.
10871
10872 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10873
10874 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
10875 Handle start points when building polygons. Work in progress.
10876
10877 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10878
10879 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java:
10880 New. Vector operations on Point2D.
10881
10882 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
10883 Moved vector operations to VectorUtils.
10884
10885 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10886
10887 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
10888 Do not call size() in for loop again and again.
10889
10890 2011-10-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10891
10892 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java:
10893 Interim check in. Work in progress.
10894
10895 2011-10-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
10896
10897 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: New.
10898 Polygon class to help creating "Raum/Flaeche" renderers with gaps in
10899 their definitions. WORK IN PROGRESS!
10900
10901 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
10902
10903 * doc/conf/themes.xml: Added a default theme for the riveraxis used in the
10904 floodmap.
10905
10906 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java:
10907 New. This class is used by ThemeUtil to create a style which is
10908 compatible for Mapserver-
10909
10910 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a method to
10911 retrieve a Mapserver compatible style (as string) based on a given
10912 Document (that comes from CollectionItem's attribute).
10913
10914 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java:
10915 Implemented the setStyle() and getStyle() methods.
10916
10917 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a
10918 new parameter 'style' to createDatabaseLayer(). This parameter is set on
10919 LayerInfo.
10920
10921 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create
10922 Mapserver compatible styles and call createDatabaseLayer() with this
10923 style.
10924
10925 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
10926
10927 * doc/conf/artifacts/winfo.xml: Defined "floodmap.riveraxis" and
10928 "floodmap.wmsbackground" as compatible layers for the floodmap output.
10929
10930 * doc/conf/mapserver/db_layer.vm: New. This layer template is used for
10931 Mapserver layers with database datastore.
10932
10933 * doc/conf/mapserver/dbconnection.include: New. The database configuration
10934 used in the db_layer template.
10935
10936 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
10937 getUserWMSUrl() that returns the URL to the user specific WMS server.
10938 This method requires a UUID of an Artifact to identify the owner of the
10939 Artifact.
10940
10941 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Use
10942 FLYSUtils.getUserWMSUrl() to create the URL to the user WMS for
10943 WMSLayerFacets creation.
10944
10945 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java:
10946 New. Subclasses WMSLayerFacet to save data and filter parameters used
10947 for database storage in Mapfiles.
10948
10949 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java: New.
10950 Subclasses LayerInfo to save database relevant parameters.
10951
10952 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
10953 Creates new WMSDBLayerFacets, so that the riveraxis layer data is
10954 fetched from database.
10955
10956 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a
10957 public method that allows creating layers (type LINE) based on
10958 WMSDBLayerFacets.
10959
10960 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Enabled
10961 support for Facets other than "floodmap.wsplgen" and "floodmap.barriers".
10962 Those other Facets are supposed to be WMSDBLayerFacets.
10963
10964 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10965
10966 Refactored, added StyledSeriesBuilder to unify adding points to
10967 XYSeries.
10968
10969 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java:
10970 New class to help with adding points to XYSeries.
10971
10972 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
10973 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
10974 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
10975 Use StyledSeriesBuilder to add points to series.
10976
10977 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10978
10979 Added DC-conf, such that static data can be loaded from w-difference
10980 diagrams datacage.
10981
10982 * doc/conf/meta-data.xml: Minor "refactoring" (definition of two
10983 macros, allow certain static data to be loaded via datacage to
10984 w-difference diagrams, too.
10985
10986 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10987
10988 Load and display annotations in w-differences, minor polishing.
10989
10990 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
10991 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
10992 Use FacetType 'instead' of string. Allow Annotations in
10993 WDifferences- diagram.
10994
10995 * doc/conf/meta-data.xml: Recommend annotations in w-differences case.
10996
10997 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
10998
10999 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
11000 Survive case where a given output doesnt exist in compatibility
11001 matrix.
11002
11003 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11004
11005 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
11006 Added simpler constructor.
11007
11008 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11009 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
11010 Adjusted construction of StaticStates.
11011
11012 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11013
11014 * doc/conf/artifacts/winfo.xml: Allow Annotations in longitudinal and
11015 w-differences diagrams.
11016
11017 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11018
11019 Use artifacts configuration (e.g. winfo.xml) to define which facets
11020 can be used in which output. Hide no-matches.
11021
11022 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
11023 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11024 Added use of "compatibility matrix". Only include facets in in
11025 collections description document that are marked compatible in the
11026 masterartifacts configuration (e.g. winfo.xml).
11027
11028 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11029
11030 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
11031 (mergeAttributes, getMasterArtifact): Extraced, updated caller.
11032 Cosmetics to reduce indentation one step.
11033
11034 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11035
11036 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java
11037 (getStateHistoryIds): New, return list of current and all previous
11038 state ids.
11039
11040 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11041
11042 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
11043 Trigger the re-creation of FLYS mapfile if endOfLife() of this state is
11044 called.
11045
11046 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11047
11048 * doc/conf/mapserver/mapfile.vm: The "layers" injected by VelocityEngine is
11049 now used to include layers. A single string in this list represents the
11050 path to a file which contains a LAYER section for Mapserver' Mapfile.
11051
11052 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Removed the
11053 update() call of MapfileGenerator. Mapfiles are generated by MapGenerator
11054 only which requires a FLYSArtifactCollection.doOut()!
11055
11056 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Call update()
11057 of MapfileGenerator to trigger the re-creation of mapfile(s).
11058
11059 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Collect all
11060 LAYER snippets from filesystem and inject the filepath for each snippet
11061 into the Mapfile template.
11062
11063 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11064
11065 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
11066 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java,
11067 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11068 Cosmetics, doc.
11069
11070 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11071
11072 Let OutputParser and AttributeParser collect all facets on the way.
11073
11074 * src/main/java/de/intevation/flys/collections/OutputParser.java,
11075 src/main/java/de/intevation/flys/collections/AttributeParser.java:
11076 Collect all facets while iterating over Outputs and Attributes,
11077 documentation added.
11078
11079 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11080
11081 Extracted getFlysContext from FLYSArtifacts into FLYSUtils.
11082
11083 * src/main/java/de/intevation/flys/utils/FLYSUtils.java
11084 (getFlysContext): Added, extracted from FLYSArtifact.
11085
11086 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11087 (getFlysContext): Moved to FLYSUtils, updated callers.
11088
11089 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
11090 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
11091 Update callers to getFlysContext.
11092
11093 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11094
11095 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Bugfix:
11096 Catch IOException - flys-artifacts compiles again.
11097
11098 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11099
11100 * doc/conf/artifacts/winfo.xml: Defined "floodmap.barriers" as valid facet
11101 for floodmaps.
11102
11103 * doc/conf/mapserver/shapefile_layer.vm: New. Currently a copy of
11104 layer.vm. This template will evolve to a special mapserver layer
11105 template with a shapefile data source.
11106
11107 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Fixed broken
11108 facet name of barriers.
11109
11110 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added
11111 public methods for creating wsplgen and barriers layer files for
11112 mapserver.
11113
11114 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Use
11115 MapfileGenerator to create new layer files for wsplgen and barriers.
11116
11117 2011-10-28 Ingo Weinzierl <ingo@intevation.de>
11118
11119 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new
11120 method gerRiverBoundary() which returns an Envelope object (which
11121 represents the bounding box of a Geometry) of a riveraxis specified by its
11122 rivername.
11123
11124 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: Use
11125 Geometry.getRiverBoundary() to determine the max extent of a river.
11126
11127 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java,
11128 src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Use
11129 JTS Envelope to save the bounding boxes of WMS layers.
11130
11131 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
11132 Adapted the code to apply the changes in GeometryUtils (use Envelope to
11133 determine the max extent of the river axis).
11134
11135 * src/main/java/de/intevation/flys/exports/MapGenerator.java: New (work in
11136 progress). This Generator will currently return a map configuration in XML
11137 which consists of parameters required by OpenLayers to create a map.
11138
11139 * doc/conf/conf.xml: Registered the new MapGenerator.
11140
11141 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11142
11143 * doc/conf/meta-data.xml: Do not recommend historical data to load
11144 when having computational discharge curves.
11145
11146 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11147
11148 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11149 Reduce noise, given "error" message was more of "debug" nature.
11150
11151 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11152
11153 Restore mapping of state id to facets (essentially revert, revision
11154 3083 and 3088).
11155
11156 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
11157 (getInitialFacetActivity): Be more explicit on which facets to
11158 introduce inactivated.
11159
11160 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11161 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
11162 Minor refactoring, declare a string final static.
11163
11164 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
11165 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java,
11166 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11167 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
11168 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
11169 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
11170 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
11171 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java,
11172 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11173 Restore association from state id to facets.
11174
11175 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11176
11177 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
11178 src/main/java/de/intevation/flys/collections/OutputParser.java:
11179 Cosmetics, documentation.
11180
11181 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11182
11183 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11184 Prepare rendering of "other/static wkms" (functional) and
11185 w-differences (not yet fully functional).
11186
11187 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11188
11189 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
11190 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11191 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
11192 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11193 Cosmetics.
11194
11195 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11196
11197 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
11198 Do not store facets in a map from stateId to list of facets, but in
11199 a pure list instead.
11200
11201 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11202
11203 * doc/conf/artifacts/winfo.xml: Adjusted to newer semantics,
11204 minor cleanups.
11205
11206 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11207
11208 Resolve association of facets to states in artifacts. This eases
11209 merging of outputs and facets and inhibition of unwanted outputs
11210 substiantially (at the price of slightly more expensive merging).
11211 Also, the semantics of artifacts configuration files (e.g. winfo.xml)
11212 is changed (facet elements within an output elements are used for
11213 merging).
11214
11215 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
11216 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java,
11217 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11218 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
11219 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
11220 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
11221 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
11222 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11223 Do not store facets in a map from stateId to list of facets, but in
11224 a pure list instead.
11225
11226 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11227
11228 * doc/conf/meta-data.xml: Added dc configuration for some data
11229 that can be loaded from longitudinal section diagrams.
11230
11231 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11232
11233 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11234 Cosmetics, docs.
11235
11236 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11237
11238 Let Qs in Longitudinal Diagram be inactive, initally.
11239
11240 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
11241 (getInitialFacetActivity): Do not let Facets ending with a 'q'
11242 enter in active state.
11243
11244 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11245
11246 * doc/conf/meta-data.xml: Fix broken datacage config.
11247
11248 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11249
11250 * doc/conf/meta-data.xml: Configured to include correct id to
11251 clone artifact that produces w-diff.
11252
11253 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11254
11255 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
11256 Revert correct behaviour of Annotations (the small axis tick shall
11257 always be drawn). Minor refactoring.
11258
11259 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11260
11261 * doc/conf/meta-data.xml: Added configuration to include differences
11262 in datacage when longitudinal sections are shown (yet not
11263 functional).
11264
11265 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11266
11267 * doc/conf/meta-data.xml: Cosmetics.
11268
11269 2011-10-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11270
11271 * doc/conf/themes.xml: Added theme for w_differences facets.
11272
11273 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java
11274 (createSecondAxisRange): Survive parameter-nullness for now.
11275 Added documentation.
11276
11277 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11278
11279 * src/main/java/de/intevation/flys/themes/ThemeAccess.java:
11280 New. Caching wrapper around an XML document theme. It uses ThemeUtil
11281 to access the values and stores them in instance variable.
11282 Background: ThemeUtil use XPath a lot which is expensive.
11283
11284 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java,
11285 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11286 Use ThemeAccess to style the annotations.
11287
11288 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
11289 Removed some XPath strings. They are in ThemeUtil.
11290
11291 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
11292
11293 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
11294 Added methods to parse further attributes.
11295
11296 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
11297 Apply the theme attributes and use ThemeUtils to get the attribute values.
11298
11299 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
11300 Removed the spamy debug output.
11301
11302 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11303
11304 To obtain the size of a diagram it is rendered twice. The
11305 second time the generated image is omitted so the concrete
11306 rendered image is not needed. To save CPU cycles in this pass
11307 the image is rendered to to /dev/null Graphics2D object.
11308
11309 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
11310 Added boolean system property "info.rendering.nop.graphics" (default: false).
11311 With this property set the info rendering is done via a new
11312 NOPGraphics2D opbject which does not render the image.
11313
11314 * src/main/java/de/intevation/flys/java2d/NOPGraphics2D.java:
11315 New. Implements java.awt.Graphics2D trivial empty methods.
11316 This prevents rendering.
11317
11318 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
11319 Commented out spamy debug output
11320
11321 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
11322
11323 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
11324 Draw the text background and use orientation attribute.
11325
11326 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
11327
11328 * doc/conf/themes.xml:
11329 Renamed 'textbackground' to 'backgroundcolor' to have 'color' in the
11330 attribute name.
11331
11332 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
11333 Process text attributes correctly.
11334
11335 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11336
11337 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
11338 New. Service to lookup the Nth nearest neighbors for a set of given
11339 cross section ids and kms.
11340
11341 * doc/conf/conf.xml: Registered service.
11342
11343 * doc/conf/cache.xml: Cache config.
11344
11345 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
11346 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
11347 Removed superfluous imports.
11348
11349 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
11350
11351 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
11352 Added methods to extract further attributes from theme.
11353
11354 2011-10-20 Ingo Weinzierl <ingo@intevation.de>
11355
11356 * doc/conf/themes.xml: Added main value themes for longitudinal section
11357 charts.
11358
11359 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: New. This
11360 class stores the name of a facet, the related theme and a pattern
11361 string.
11362
11363 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
11364 Read the pattern string and store a list of ThemeMapping objects in the
11365 FLYSContext.
11366
11367 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Modified
11368 getTheme() which now takes the FLYSContext, the name of a facet and an
11369 optional pattern string. Now, we can have specialized Themes for each
11370 chart type. E.g. the facet "longitudinal_section.w" maps the default
11371 Theme for W lines in longitudinal section charts. If the optional
11372 pattern string matches the pattern ".*(HQ1000)(\D.*)*", the ThemeFactory
11373 will return the Theme "LongitudinalSectionW_HQ1000".
11374
11375 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11376 Use the description of a facet as pattern string to get the relevant
11377 Theme from ThemeFactory.
11378
11379 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de>
11380
11381 * doc/conf/themes.xml:
11382 Added new theme attributes.
11383
11384 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11385
11386 Fix WDifference plots where masterartifact has no range set.
11387
11388 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11389 (addSubtitles): Overridden, the master artifact has no
11390 range.
11391
11392 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11393
11394 Fix masterartifact in collections in cases where the original
11395 masterartifacts facets do not come first in certain list. Query
11396 'backend'/db instead.
11397
11398 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11399 Set 'real' master artifact, defined to be oldest belonging to this
11400 collection.
11401
11402 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
11403
11404 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
11405 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java,
11406 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
11407 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
11408 Modified the method signature of createStaticData() which now also
11409 requires a FLYSArtifact.
11410
11411 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
11412 Override createStaticData() to create titles for Qs manually - we want
11413 to display the named main values if existing for the selected Qs.
11414
11415 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de>
11416
11417 * doc/conf/themes.xml:
11418 ComputedDischargeCurveW and ComputedDischargeCurveQ inherit attributes from
11419 theme 'Text'.
11420
11421 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11422
11423 Fix for flys/issue316
11424
11425 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added
11426 constructor to not sort the data.
11427
11428 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
11429 Use the not sorting constructor of StyledXYSeries.
11430
11431 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
11432
11433 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
11434 moved the code to create WSP W and Q facet names to FLYSUtils.
11435
11436 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New functions for
11437 creating WSP W and Q facet names and for querying a named main value
11438 based on a given gauge and value. The names of W and Q facets will now
11439 depend on the selected Q and Q mode: if the mode is "q at gauge" and a
11440 named value is found for the given value, the facet's name contains the
11441 named value instead of the value itself.
11442
11443 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11444
11445 Fix datacage configuration to let client load ZUS and flood
11446 protections.
11447
11448 * doc/conf/meta-data.xml: Use 'ids' instead of 'id' to help client.
11449
11450 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de>
11451
11452 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
11453 Added methods to parse text attributes from theme document.
11454
11455 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java,
11456 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
11457 Apply a theme to axis annotations.
11458
11459 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11460
11461 Create (data) Label from data string (client will be adjusted to send
11462 the name).
11463
11464 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
11465 Create label from input data string, documentation added, junk
11466 removed.
11467
11468 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11469
11470 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java(zoom):
11471 Do not crash if no axis is given.
11472
11473 2011-10-19 Ingo Weinzierl <ingo@intevation.de>
11474
11475 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added
11476 getFormat() which extracts the format string from XML request document.
11477
11478 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: Adapted
11479 method signatures of exportImage(), exportSVG() and exportPDF(). All
11480 methods now take a CallContext object which stores extra chart export
11481 parameters.
11482
11483 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11484 Enabled PDF and SVG chart exports based on the "format" string given in
11485 the XML request document.
11486
11487 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11488
11489 Simplify rendereing W(Q)Kms in WDifferencesCurveGenerator.
11490
11491 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11492 (doWOut, doWOut): Simplified.
11493
11494 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11495
11496 Render zus and flood-protections in WDifferences-diagrams.
11497
11498 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11499 Added basic respect of "other.wkms"- facets.
11500
11501
11502 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11503
11504 Adjusted Datacage-Configuration to fetch "extra longitudinal...."
11505 (.zus) - waterlevels in certain case (in system-part).
11506
11507 * doc/conf/meta-data.xml: Adjusted to present extra-kms with
11508 staticwkms factory in certain case.
11509
11510 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de>
11511
11512 * doc/conf/themes.xml:
11513 Added new virtual theme for text with the attributes 'font', 'textcolor'
11514 and 'textsize'.
11515
11516 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11517
11518 Give StaticWKmsArtifacts proper names, and pre-deselect them.
11519
11520 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
11521 (getInitialFacetActivity): Overridden to let facets enter plot
11522 inactively.
11523 (setup): Give Facets the name of the Wst.
11524
11525 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
11526 Refactored to expose getWKmsName separately.
11527
11528 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11529
11530 Adjusted Datacage-Configuration to fetch flood-protections when
11531 waterlevels are requested (in system-part).
11532
11533 * doc/conf/meta-data.xml: Adjusted to present flood-protections with
11534 staticwkms factory in certain case.
11535
11536 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11537
11538 Register staticwkms factory.
11539
11540 * doc/conf/conf.xml: Register staticwkms factory to spawn StaticWKms-
11541 Artifacts.
11542
11543 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11544
11545 Fetch name of static WKms.
11546
11547 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
11548 Removed dependence on "kind", but fetch name for created WKms.
11549
11550 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
11551 Remove dependence on Kind.
11552
11553 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11554
11555 Store parameterization in data, not in Artifact.
11556
11557 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
11558 Resolve col_pos and wst_id field, use data instead.
11559
11560 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11561
11562 Add convenience-method to add defaultdata (string).
11563
11564 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11565 (addStringData): Add Default (String) Data .
11566
11567 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11568
11569 Add a new Artifact and Facet (StaticWKmsArtifact, WKmsFacet) to
11570 access WKms obtainable with the WKmsFactory.
11571
11572 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
11573 New, artifact with single state to get WKms from WKmsFactory.
11574
11575 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java:
11576 New Facet to display W over km.
11577
11578 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
11579 Added new type name.
11580
11581 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11582
11583 Add WKMsFactory to access 'static' wst-data.
11584
11585 * src/main/java/de/intevation/flys/artifacts/model/StaticWKmsCacheKey.java:
11586 Cache Key for the static WKms data.
11587
11588 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java:
11589 New, creates WKms from wst-id and column. Does not yet fetch the
11590 name.
11591
11592 * doc/conf/cache.xml: Added cache configuration for static wkms data.
11593
11594 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11595
11596 Cosmetics, docs.
11597
11598 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
11599 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
11600 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
11601 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
11602 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java:
11603 Cosmetics, docs.
11604
11605 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11606
11607 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
11608 Added constructor that takes name, docs.
11609
11610 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11611
11612 Fix issue that Annotations do not come with theme/style.
11613
11614 * doc/conf/themes.xml: Added "Annotations" default style.
11615
11616 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11617 Set style of annotations, minor cosmetics.
11618
11619 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11620
11621 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11622 Made inner class ThemeList static.
11623 s/new Integer(small)/Integer.valueOf(small)/
11624
11625 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
11626
11627 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11628 The inner class ThemeList makes now use of ManagedDomFacet to read the
11629 attributes of Facets saved in the Collection's attribute.
11630
11631 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11632
11633 flys/issue314: Variables in datacage are now case insensitive.
11634 (H2 returns meta data variables uppercase)
11635
11636 * doc/conf/meta-data.xml:
11637 Made a statement more precise. Added some debug output.
11638
11639 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
11640 Use uppercase variable names.
11641
11642 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java,
11643 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
11644 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java,
11645 src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java:
11646 Variables are now treated as uppercase.
11647
11648 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
11649 Input variables are now treated uppercase.
11650
11651 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
11652
11653 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
11654 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
11655 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java:
11656 Prepared Facets to support a "visible" attribute.
11657
11658 * src/main/java/de/intevation/flys/collections/OutputParser.java: Adapted
11659 the constructor call of ManagedFacetAdapter.
11660
11661 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11662 The inner class ThemeList now supports the "visible" attribute of
11663 ManagedFacets.
11664
11665 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de>
11666
11667 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java:
11668 Added method to apply line type.
11669
11670 * doc/conf/themes.xml:
11671 Changed initial default value for line type.
11672
11673 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
11674
11675 flys/issue226 (W-INFO: Dauerlinienberechung /Abbbildung x-Achse)
11676
11677 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
11678 Set the upper bound of these charts to 364.
11679
11680 2011-10-17 Ingo Weinzierl <ingo@intevation.de>
11681
11682 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
11683 Added a function that returns a Gauge based on its name.
11684
11685 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
11686 Create proper descriptions for facets.
11687
11688 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Added a
11689 setter for labels.
11690
11691 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
11692 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11693 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
11694 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11695 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
11696 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11697 Use the string returned by Facet.getDescription() as series names. The
11698 ThemePanel and the Legend will always display the same titles for curves
11699 now.
11700
11701
11702 2011-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11703
11704 Fix flys/issue363 (W-INFO/ Abflusskurve, Extremwert-Rendering).
11705
11706 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
11707 (parseLineWidth): New. Get line width from Document.
11708
11709 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11710 When adding annotations, parse line width from theme, set it.
11711
11712 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
11713 When painting, set Paint and stroke early enough.
11714
11715 2011-10-14 Ingo Weinzierl <ingo@intevation.de>
11716
11717 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Put the
11718 config directory into the Velocity context. It is available as
11719 '$CONFIGDIR' in templates.
11720
11721 * doc/conf/mapserver/mapfile.vm: Set the debug file to
11722 "$CONFIGDIR/flys-user-wms.log" and added a LEGEND section.
11723
11724 * doc/conf/mapserver/wsplgen_class.vm: Adapted the class names. Those
11725 names are displayed in the image served by GetLegendGraphic.
11726
11727 2011-10-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11728
11729 Add possibility of programmatic configuration of initial "activity"
11730 state (active or inactive) of (Managed)Facets by introducing
11731 FLYSArtifact.getInitialFacetActivity. This method shall be overriden
11732 by subclasses where Facets are wanted to come to live inactive.
11733 Artifacts will be asked only once how the MangedFacet should come to live,
11734 namely when AttributeWriter finds a genuinely new Facet.
11735
11736 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
11737 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java
11738 (getInitialFacetActivity):
11739 New function to let Artifact decide whether a ManagedFacet shall
11740 initially be set to active or inactive.
11741
11742 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
11743 Accept database in constructor. For genuinely new Facets, spawn its
11744 mother artifact and ask whether the (Managed)Facet shall be active
11745 or inactive (initially).
11746
11747 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java
11748 (buildOutAttributes): Pass database to AttributeWrite (which needs it
11749 to spawn artifacts), rename items parameter to reflect content.
11750
11751 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11752
11753 Cosmetics, removed obsolete imports.
11754
11755 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java,
11756 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11757 Removed obsolete imports.
11758
11759 2011-10-12 Ingo Weinzierl <ingo@intevation.de>
11760
11761 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
11762 Added a further attribute "mark.selected" to the barriers feature type.
11763 This attribute is used in the client, where we are not able to remove it
11764 properly. Reading the GeoJSON string without this attribute is no longer
11765 possible... strange!
11766
11767 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11768
11769 Added i18n for label of wdiff "pair select" states data.
11770
11771 * src/main/resources/messages.properties,
11772 src/main/resources/messages_de_DE.properties,
11773 src/main/resources/messages_en.properties,
11774 src/main/resources/messages_de.properties: Added i18n for
11775 state.winfo.waterlevel_pair_select .
11776
11777 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11778
11779 Addressed "Wrong labels" [6] part of flys/issue371 (W-INFO / Differenzen:
11780 Anmerkungen zur Umsetzung) .
11781
11782 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
11783 Adjusted variable names to avoid conflict in subclasses, adjusted
11784 default value for i18n string.
11785
11786 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11787
11788 Cosmetics, docs.
11789
11790 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
11791 Cosmetics: Space after full stop in commments, slightly improved
11792 documentation, added one debug message.
11793
11794 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11795
11796 Fix remainder of flys/issue304 (Erweiterte Funktionen W-Differenzen) .
11797
11798 * doc/conf/artifacts/winfo.xml: Removed obsolete data of
11799 WDifferencesState.
11800
11801 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
11802 Re-enable facet-filtering, but adjust filters before that happens
11803 (former longitudinal_section output is now w_differences output).
11804
11805 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11806
11807 Added wdiff-chart translations.
11808
11809 * src/main/resources/messages.properties,
11810 src/main/resources/messages_de_DE.properties,
11811 src/main/resources/messages_en.properties,
11812 src/main/resources/messages_de.properties: Added i18n for wdiff.
11813
11814 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11815
11816 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11817 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11818 Expose translateable Strings as constants.
11819
11820 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11821
11822 Fix most labels in w-differences charts.
11823
11824 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11825 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11826 Remove most static final i18n-variables in favor of direct String
11827 usage or usage of methods. By this, allow easier adoption of labels
11828 in subclasses.
11829
11830 2011-10-11 Ingo Weinzierl <ingo@intevation.de>
11831
11832 flys/issue383 (Zweite Y-Achse wird beim Zoomen/Verschieben nicht angepasst.)
11833
11834 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11835 Call adjustAxes() before applying zoom settings with autoZoom(). We need
11836 to add new y-axes first before we adjust their ranges.
11837
11838 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11839
11840 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11841 s/new Integer(small)/Integer.valueOf(small)/
11842
11843 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11844
11845 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11846 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11847 Do not fire change events for each and every data point added.
11848
11849 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11850
11851 Fix WDifferences with more than one Pair (crashed due to incorrect index for
11852 facets.)
11853
11854 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
11855 Fix wrong index for difference facets (allows for more than one
11856 difference facet per artifact without crashes).
11857
11858 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11859
11860 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
11861 Use slightly modified doWOut-implementation from
11862 LongitudinalSectionGenerator (here need to add Ws to different axis).
11863
11864 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11865
11866 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
11867 Fix import/reference.
11868
11869 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11870
11871 Let WaterlevelPairSelectState include diffids-data (if any) to enable
11872 future work on repopulation of Grid in GUI when jumping back
11873 (reparameterization).
11874
11875 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
11876 (createItems): Override to include old data.
11877
11878 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
11879
11880 flys/issue150 (Diagramm: Anzeige von W bergauf)
11881 flys/issue345 (W-INFO / Wasserspiegellagenberechnung, Diagrammausgabe)
11882
11883 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11884 Corrected the determination to invert the x axis, so that waterlines
11885 will start with their highest value at the left and end with their
11886 lowest values at the right.
11887
11888 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11889
11890 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
11891 Cosmetics, added an (@Override) annotation.
11892
11893 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java,
11894 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
11895 Cosmetics, added documentation.
11896
11897 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
11898 Cosmetics, whitespace after full stops in comments, added
11899 (@Override) annotation.
11900
11901 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
11902
11903 flys/issue220 (Diagramm: Achsenbeschriftungen an verschiedenen Achsen müssen gleich aussehen)
11904
11905 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11906 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11907 Adjusted the label font of the 2nd y-axis - now, both axes labels look
11908 equal.
11909
11910 2011-10-10 Ingo Weinzierl <ingo@intevation.de>
11911
11912 flys/issue189 (WINFO/Dauerlinie: Sortierung der Berechnungsausgabe nach Dauerzahlen aufsteigend)
11913
11914 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: Added a
11915 method that determines if the items (days) in this object are increasing
11916 or not.
11917
11918 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
11919 Changed the order of the CSV export - the highest day is at the top of
11920 the export; the lowest day is at the bottom.
11921
11922 2011-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
11923
11924 Worked on flys/issue150 (Diagramm: Anzeige von W bergauf).
11925 Still does not work in all cases.
11926
11927 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java (generateChart()):
11928 Reordered calls to ensure that the inversion of the x axis is
11929 not eliminated by other chart generation steps as a side effect.
11930
11931 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
11932 Assuming that JFreeChart is inverting axis automatically if the
11933 KMs are reversed ordered only do invert only in some situations.
11934
11935 Do not invert axis for Q (@Ingo: This is wrong! We must do this
11936 if we are only displaying the Qs and the Ws are deactived).
11937
11938 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
11939
11940 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11941 Take care on empty ranges while preparing ranges for single points.
11942
11943 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
11944
11945 flys/issue114 (W-INFO: Wasserspiegellagenberechnung / Ort (Spezialfall: Generierung eines Diagramms bei punkthafter Berechnung))
11946
11947 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Expand
11948 ranges for x and y axes if there is just a single point in a series -
11949 JFreeChart requires a range where lower <> upper.
11950
11951 2011-10-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
11952
11953 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java,
11954 src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java,
11955 src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
11956 src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
11957 Add whitespace after full stop in comments, minor doc improvements.
11958
11959 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
11960
11961 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
11962
11963 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
11964 Adapted the process of collecting outs for Artifacts/Facets. We will now
11965 call OutGenerator.doOut() for each Artifact and Facet - never mind if
11966 the facet is activated (visible) or not. The OutGenerator should decide
11967 on its own whtat to do with facets which are "marked" as _not_ visible.
11968
11969 * src/main/java/de/intevation/flys/exports/OutGenerator.java,
11970 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
11971 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
11972 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
11973 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
11974 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java,
11975 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
11976 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
11977 src/main/java/de/intevation/flys/exports/ATExporter.java,
11978 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
11979 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
11980 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
11981 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
11982 Adapted the signature of OutGenerator.doOut(). There will be a new
11983 boolean parameter "visible" that determines if the facet specified in
11984 this method is visible for this output or not.
11985
11986 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Now,
11987 that we walk over every Artifact/Facet, we are able to collect min/max
11988 data for all axes. We store these information and use them to set the
11989 ranges of x and y axes. The result of this: a chart can have proper axes
11990 set without any data in it.
11991
11992 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Use
11993 min/max ranges stored while calling doOut() for each Artifact/Facet
11994 instead of fetching those information from chart's Datasets (which could
11995 be null).
11996
11997 2011-10-07 Ingo Weinzierl <ingo@intevation.de>
11998
11999 * src/main/java/de/intevation/flys/utils/Formatter.java: Changed the max
12000 number of digits for AT exports from 0 to 2.
12001
12002 2011-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12003
12004 * src/main/java/de/intevation/flys/exports/ATWriter.java: Get rid
12005 of buggy first line code.
12006
12007 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12008
12009 fixed flys/issue201
12010
12011 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
12012 Replace >= with > in km index lookup because last km was not found.
12013
12014 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12015
12016 fixed flys/issue177
12017
12018 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
12019 Revert rev2245. Code works fine now! :-)
12020
12021 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
12022
12023 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Stores a
12024 list of XYTextAnnotations instead of FLYS specific Annotations. This
12025 makes this class suitable for other annotation types as well.
12026
12027 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
12028 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
12029 Both facets' getData() will now return an instance of FLYSAnnotation.
12030
12031 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
12032 Create XYTextAnnotations used to instantiate an object of
12033 FLYSAnnotation.
12034
12035 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
12036 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12037 Removed the code to add annotations to the plot. This task is general
12038 enough to move this code to parent class.
12039
12040 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12041 Instances of this class are now able to store - besides first and second
12042 axes datasets - a list of annotations. This annotations are added to the
12043 plot after the datasets have been added. To support LegendItems for
12044 those annotions, it was necessary to create a the LegendItemCollection
12045 by ourself. This work is done while applying the themes for each series
12046 in the chart.
12047
12048 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12049
12050 Removed code duplication of guessWaterIncreasing()
12051
12052 * src/main/java/de/intevation/flys/artifacts/model/WKms.java(allKms, allWs):
12053 Added methods to fetch all kms and all ws.
12054
12055 * src/main/java/de/intevation/flys/utils/DataUtil.java: Generalized to
12056 get WKms as arguments.
12057
12058 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
12059 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java,
12060 src/main/java/de/intevation/flys/artifacts/model/WQ.java: Implements
12061 the extended WKms interface.
12062
12063 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12064 Uses the generalized DataUtil.guessWaterIncreasing().
12065
12066 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
12067
12068 flys/issue347 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm)
12069 flys/issue303 (Keine Streckenfavoriten, wenn nur Q im Längsschnittdiagram ausgewählt)
12070 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
12071
12072 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: New. A
12073 wrapper for Annotations which allows us to provide a description for a
12074 set of annotations.
12075
12076 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java:
12077 The getData() will now return an instance of FLYSAnnotation that wraps
12078 the Annotations returned by the AnnotationArtifact. The lebel of
12079 FLYSAnnotation is the description of this Facet.
12080
12081 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12082 Modified the way to add Annotations. We will no longer create an empty
12083 series to support a LegendItem for a set of Annotations, but we will add
12084 a LegendItem manually to the LegendItemCollection of the plot. In
12085 addition, we are now able to display annotations if one of the two
12086 y-axes are missing. If there are no y-axes existing, we are not able to
12087 display annotations yet.
12088
12089 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12090
12091 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
12092 Lifted the wrong point. Now all backjump corrections look fine. :-)
12093
12094 2011-10-05 Ingo Weinzierl <ingo@intevation.de>
12095
12096 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
12097 Fixed bugs and make use of a cache for annotations now.
12098
12099 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12100
12101 Worked on flys/issue31
12102
12103 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
12104 Simplified the code a lot. Needs testing. Maybe flys/issue31 is gone
12105
12106 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
12107
12108 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12109 Fetch the WstUnit value from river - the Wst itself no longer supports a
12110 Unit iself.
12111
12112 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12113
12114 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java,
12115 src/main/java/de/intevation/flys/utils/DoubleUtil.java: Moved some generic
12116 double array code to DoubleUtil.
12117
12118 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12119
12120 * src/main/java/de/intevation/flys/utils/DoubleUtil.java (interpolateSorted):
12121 Added code to linear interpolate double values in a sorted array.
12122 Keys and values are given as double arrays. Keys need to be sorted.
12123
12124 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12125
12126 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
12127 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12128 Removed superfluous imports.
12129
12130 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
12131
12132 flys/issue330 (Dauerlinie kann nicht berechnet werden)
12133
12134 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
12135 Add a problem if no data was found for duration curves.
12136
12137 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
12138
12139 * src/main/java/de/intevation/flys/themes/Theme.java,
12140 src/main/java/de/intevation/flys/themes/DefaultTheme.java: Added
12141 getter/setter methods to provide a facet (string) and index (int). Both
12142 values are written as attribute to the Theme's XML representation.
12143
12144 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12145 Set the "facet" and "index" values of themes.
12146
12147 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
12148
12149 flys/issue346 (W-INFO / Anzeige der Höheninformation)
12150
12151 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12152 Modified x and y axis title. The x axis title is now "RIVERNAME-km"; the
12153 y axis title is now "W[WST_UNIT]" where WST_UNIT depends on the unit of
12154 the WST.
12155
12156 * src/main/resources/messages.properties,
12157 src/main/resources/messages_de_DE.properties,
12158 src/main/resources/messages_en.properties,
12159 src/main/resources/messages_de.properties: Modified i18n expressions for
12160 x and y axis of longitudinal section charts.
12161
12162 2011-09-30 Ingo Weinzierl <ingo@intevation.de>
12163
12164 flys/issue351 (W-INFO / Wasserspiegellagenberechnungen)
12165
12166 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: Modified the
12167 explode() function that returns a list of values specified by min, max
12168 and an interval. If the last value, determined by the interval, is
12169 bigger than the max value, it is not included in the result list.
12170
12171 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12172
12173 flys/issue334 (Querprofil-Diagramm: Ausgabe dieses Diagrammtyps
12174 möglich, obwohl WSP Berechnung keine Ergebnisse liefert)
12175
12176 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12177 (compute): Add Facets regarding CrossSections only if data available.
12178
12179 2011-09-29 Ingo Weinzierl <ingo@intevation.de>
12180
12181 flys/issue176 (Diagramm: Benennung eines Abflusses bei gewählter Höhe am Pegel)
12182 flys/issue349 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm)
12183
12184 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
12185 Create titles for W and Q waterlevel facets with proper fractions.
12186
12187 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12188
12189 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12190 (createStaticData, getLabels): Create proper labels for differences.
12191
12192 2011-09-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12193
12194 flys/issue244 (WINFO: Export von AT-Dateien im ersten Teil unterschiedlich)
12195 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5)
12196
12197 * src/main/java/de/intevation/flys/exports/ATWriter.java: Due to a rounding
12198 issue the w's of the first line underun the minimal w of the curve at times.
12199 An extra test was introduced to suppress the output of the q's of the wrong w's.
12200
12201 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12202
12203 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
12204 Use StringUtil.wWrap , fix wrong loop, minor refac and cosmetics.
12205
12206 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12207
12208 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
12209 Extracted/use StringUtil.wWrap .
12210
12211 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
12212
12213 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
12214 Log the gauge which has been determined.
12215
12216 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
12217
12218 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5)
12219
12220 * src/main/java/de/intevation/flys/exports/ATExporter.java: Store the
12221 master Artifact which is set via setMasterArtifact(). This is required
12222 for meta information used while preparing the header row of AT exports.
12223
12224 * src/main/java/de/intevation/flys/exports/ATWriter.java: Print a header
12225 row into the AT export for being compatible with desktop FLYS.
12226
12227 * src/main/resources/messages.properties,
12228 src/main/resources/messages_de_DE.properties,
12229 src/main/resources/messages_en.properties,
12230 src/main/resources/messages_de.properties: Added header row for AT
12231 export files.
12232
12233 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
12234
12235 flys/issue328 (W-INFO / ÜSK: Auswahl der Wasserspiegellage / Auswahlunterstützung)
12236
12237 * doc/conf/meta-data.xml: Added an out 'waterlevels' that might be used to
12238 fetch user specific waterlevels (same as longitudinal sections, but
12239 without Q facet).
12240 In addition, the system specific datacage stuff is now fetched, when:
12241 a) no user-id is given
12242 b) a user-id is given and there is a parameter 'load-system'
12243
12244 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
12245 If the label of the WQKms object specified by the waterlevel selection
12246 begins with a "Q", the label is wrapped into a "W()", e.g. "W(Q=1200)".
12247
12248 2011-09-28 Ingo Weinzierl <ingo@intevation.de>
12249
12250 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Made
12251 feed() able to remove existing data items from Artifact's data pool.
12252 Therefore, the value for the item which should be removed needs to an
12253 empty string.
12254
12255 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12256
12257 Extracted StringUtil.unbracket from WaterlevelSelectState.strip.
12258
12259 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
12260 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
12261 Extract and use StringUtil.unbracket, minor doc.
12262
12263 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
12264
12265 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
12266 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
12267 Changed access of getCurrentState() from protected to public.
12268
12269 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: We
12270 use the configured Outputs instead of the actuel Outputs of an Artifact
12271 to make recommendations, now. This has the bad side effect of giving
12272 recommendations for Outputs that we might _NOT_ be able to produce. But
12273 otherwise, we would not be able to give recommendations for states with
12274 long calculation times that start background threads for calculation (as
12275 WSPLGEN caluclations does).
12276
12277 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12278
12279 Enable "auto-scaling" axis for waterlevels in WDifference-plots.
12280
12281 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
12282 (createSecondaryAxis, zoomY): Refactored to allow modification in
12283 siblings.
12284
12285 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12286 (createSecondaryAxisRange): Override to achieve expected behavior.
12287 Also adjusted label.
12288
12289 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12290
12291 In W-Difference Calculation, respect indices of selected facets.
12292
12293 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
12294 (computeAdvance): Respect index of selected facets.
12295
12296 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12297
12298 flys/issue317: (Querprofil-Diagramm: Referenzen auf CrossSectionApp entfernen)
12299
12300 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12301 Removed dependency to demo app.
12302
12303 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
12304 Refactored to use logic from the models.
12305
12306 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
12307 Moved some logic from the demo app to this model.
12308
12309 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
12310
12311 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: New. Code
12312 from FloodMapState moved to its own class with the intent, to use it in
12313 classes different from FloodMapState.
12314
12315 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12316 Removed the inner class FacetCreator.
12317
12318 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
12319 an instance of FacetCreator.
12320 NOTE: Maybe we should move the WSPLGEN parameters into an own class
12321 which might be serializable.
12322
12323 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use the
12324 FacetCreator instance stored in the WSPLGENJob to create a new WSPLGEN
12325 facet if the calculation was successfully (without errors). Finally, the
12326 facets of FacetCreator are added to the Facet list of the FLYSArtifacts.
12327
12328 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
12329
12330 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12331 Put Artifact in background mode first before starting WSPLGEN, otherwise
12332 a very fast errors (call CallContext.afterBackground() before Artifact is
12333 in Background mode) might lead to an inconsistent state.
12334
12335 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Repaired
12336 broken error num parsing.
12337
12338 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
12339
12340 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Track
12341 critical errors as well (improved regular expression for errors).
12342
12343 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12344
12345 * ChangeLog: Fixed whitespace usage.
12346
12347 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12348
12349 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java,
12350 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java
12351 src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java,
12352 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12353 Removed superfluous imports.
12354
12355 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
12356
12357 flys/issue68 (Diagramm: Werte an der Y-Achse benötigen i18n)
12358
12359 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
12360 method to retrieve the current/preferred locale specified by CallMeta.
12361
12362 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12363 Introduced two methods localizeDomainAxis() and localizeRangeAxis().
12364 Both methods of this class override the NumberFormat used to format axes
12365 numbers. Those methods are called by localizeAxes() - which has private
12366 access - for each domain and range axis of the current XYPlot.
12367
12368 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12369
12370 * doc/conf/cache.xml: Number of cached annotations was much
12371 to low.
12372
12373 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12374
12375 Improved w-differences diagram generation where multiple differences
12376 can be shown.
12377
12378 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java:
12379 New facet type.
12380
12381 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
12382 Employ new DifferenceCurveFacet, return CalculationResult that can
12383 store more than one WKms.
12384
12385 2011-09-27 Ingo Weinzierl <ingo@intevation.de>
12386
12387 flys/issue320 (ÃœSK:Mapserver hat Probleme beim Shapefilepath mit "../" im Pfad)
12388
12389 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Use
12390 File.getCanonicalPath() to substitute "../" in shapefile directories.
12391
12392 2011-09-26 Ingo Weinzierl <ingo@intevation.de>
12393
12394 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12395 The extent of the WSPLGEN result layer is now specified by the extent of
12396 the CrossSectionTracks that matches the start and end kilometer of the
12397 WSPLGEN calculation.
12398
12399 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New function
12400 that creates the OpenLayers bounding box based on two Geometries.
12401
12402 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12403
12404 Improved w-differences diagram generation with included "absolute"
12405 values.
12406
12407 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12408 Fixed one (of two) incorrect labels.
12409 (doWaterlevelOut): Survive non-found gauge, fetch kilometer and w
12410 instead of values for w and q.
12411
12412 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12413
12414 Add positional-conflict-awareness when merging Facets for a
12415 FLYSArtifactCollection. First come first serve.
12416
12417 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
12418 (writeFacets): First, sort incoming facets into 2 groups:
12419 "genuinely new" and "already there", then for each new check
12420 whether the position is already taken. If so, push "up" (position++)
12421 until no conflict exists anymore.
12422
12423 2011-09-26 Ingo Weinzierl <ingo@intevation.de>
12424
12425 flys/issue296 (Karte: Bezeichnungen verbessern)
12426
12427 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12428 I18N of the WSPLGEN and barriers facets (WMS layers).
12429
12430 * src/main/resources/messages.properties,
12431 src/main/resources/messages_de_DE.properties,
12432 src/main/resources/messages_en.properties,
12433 src/main/resources/messages_de.properties: Added strings for the wsplgen
12434 and barriers WMS layers.
12435
12436 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12437
12438 Fix (revert) access to position in ManagedDomFacet.
12439
12440 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
12441 (getPosition): Do not add prefix when querying position ("pos")
12442 attribute, add a logger for faster future debugging.
12443
12444 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12445
12446 Squash positional conflict-bug.
12447
12448 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
12449 (mergeFacets): Removed, replaced in parts by pickFacet.
12450 (pickFacet): New, return facet to be added to document.
12451 Documentation added.
12452
12453 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12454
12455 Squash a bug about wrongly named "art:pos" attribute in ManagedDomFacet (was
12456 "pos"). Added documentation from commit message.
12457
12458 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
12459 Added documentation (commit message with minor adjustments).
12460 (getPosition, setPosition): Include PREFIX in attribute name.
12461
12462 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12463
12464 Refactoring, doc.
12465
12466 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
12467 (mergeFacets): Removed, replaced in parts by pickFacet.
12468 (pickFacet): New, return facet to be added to document.
12469 Documentation added.
12470
12471 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12472
12473 Cosmetics, docs.
12474
12475 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
12476 Documentation added.
12477
12478 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
12479
12480 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
12481 Subclasses the FLYSService now - this should improve the database
12482 connection handling.
12483
12484 2011-09-22 Bjoern Schilberg <bjoern.schilberg@intevation.de>
12485
12486 * doc/mapserver/mosel-mapfile.map:
12487 Full blown mosel wms mapfile.
12488
12489 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
12490
12491 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java:
12492 New. A subclass of DefaultService which is used in FLYS to init and
12493 shutdown database connections.
12494
12495 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
12496 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
12497 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
12498 Centralized the initialization and shutdown of database connections.
12499 These services now subclass FLYSService which handles the database stuff.
12500
12501 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: The
12502 current database connection is not closed here - this is done in a
12503 Service or in the CallContext.
12504
12505 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: It's
12506 not necessary to create new database connections here. We already have
12507 an existing connection which is initialized by CallContext.
12508
12509 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
12510
12511 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
12512 Override validate() of parent classes to suppress "step" validation
12513 which is not present in this state.
12514
12515 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: Added
12516 new method validateBounds() which really just validates a boundary
12517 without "step" parameter.
12518
12519 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12520
12521 Added WaterlevelArtifact to accompany WINFOArtifacts in WDifferencesPlots.
12522
12523 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java:
12524 New WaterlevelArtifact.
12525
12526 * doc/conf/conf.xml:
12527 Added configuration for WaterlevelArtifact configuration (path to state-xml)
12528 waterlevel-factory.
12529
12530 * doc/conf/artifacts/waterlevel.xml:
12531 New, trivial state description for Waterlevelartifact.
12532
12533 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
12534 New, only state for WaterlevelArtifact.
12535
12536 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12537
12538 Cosmetics, docs.
12539
12540 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
12541 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
12542 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12543 Cosmetics, documentation.
12544
12545 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12546
12547 Added WaterlevelOut-processing ability to WDifferencesCurveGenerator.
12548
12549 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12550 Process LONGITUDINAL_W facets.
12551
12552 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12553
12554 Improved WDifferenceState in preparation to be able to deal with multiple
12555 pairs for differences.
12556
12557 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
12558 Prepare multiple-pairs-case.
12559
12560 2011-09-21 Ingo Weinzierl <ingo@intevation.de>
12561
12562 flys/issue315 (Überschwemmungsfläche: String bei Streckenauswahl)
12563
12564 * doc/conf/artifacts/winfo.xml: Added a new state for floodmap's range
12565 input. This state will accept a km range only, there is no step width.
12566
12567 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java:
12568 New. The state which is used to enter a km range with step width.
12569
12570 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12571
12572 Cosmetics, improved debug output, doc.
12573
12574 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
12575 Improved debug output.
12576
12577 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
12578 Added documentation.
12579
12580 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java,
12581 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
12582 Removed commented code.
12583
12584 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
12585 Whitespace cosmetics.
12586
12587 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12588
12589 Avoid NullPointerException when drawing XYChart without data.
12590
12591 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
12592 Guard calls to dataset to avoid NullPointerException.
12593
12594 2011-09-21 Ingo Weinzierl <ingo@intevation.de>
12595
12596 flys/issue325 (FLYS Client: Auswahl des DGM zeigt numerischen Wert an)
12597
12598 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Write
12599 a better label for the selected DEM into the static DESCRIBE. Use the
12600 name of the DEM file as label instead of the database id.
12601
12602 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de>
12603
12604 * doc/mapserver/fontset.txt:
12605 Added initial font set for km_annotation layer.
12606 * doc/mapserver/symbols/symbols.sym:
12607 Added square symbol for km and fixpoint layer.
12608 * doc/mapserver/saar-mapfile.map:
12609 Adjust styling in the flys karte-archiv way.
12610
12611 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
12612
12613 Tagged RELEASE 2.5
12614
12615 * Changes: Prepared changes for release.
12616
12617 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
12618
12619 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
12620 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java,
12621 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java,
12622 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
12623 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
12624 needless imports.
12625
12626 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
12627
12628 * doc/conf/meta-data.xml: Improved datacage configuration for DEMs.
12629
12630 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12631 Query DGMs by the given ID in the FLYS data pool - not by given range
12632 values.
12633
12634 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
12635
12636 * doc/conf/meta-data.xml: Added a section for DEMs to the floodmap
12637 section.
12638
12639 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12640
12641 Fix build.
12642
12643 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java:
12644 Fix build.
12645
12646 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12647
12648 Take a given WaterlevelPair-String, load artifact and plot the diff.
12649
12650 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java:
12651 Load correct artifacts.
12652
12653 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de>
12654
12655 * doc/mapserver/*: Added inital mapserver configuration files.
12656
12657 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
12658
12659 * doc/conf/meta-data.xml: Moved the system specific configuration into a
12660 macro to the top of the configuration document. Call this macro at the
12661 end of the user specific part and in the part that should contain the
12662 system specific stuff only!
12663
12664 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
12665
12666 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
12667 Defined createItem() here and adapted some method signatures, because I
12668 need the CallContext deeper in code than expected.
12669
12670 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
12671 Write the name of the selected waterlevel into the static DESCRIBE.
12672
12673 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
12674 Adapted method signatures that have been changed in DefaultState.
12675
12676 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
12677 Removed method createItem() which is now defined in the upper class
12678 DefaultState.
12679
12680 * src/main/resources/messages.properties,
12681 src/main/resources/messages_de_DE.properties,
12682 src/main/resources/messages_en.properties,
12683 src/main/resources/messages_de.properties: Added string for selected
12684 waterlevel that is displayed in static UI.
12685
12686 2011-09-16 Ingo Weinzierl <ingo@intevation.de>
12687
12688 * src/main/resources/messages.properties,
12689 src/main/resources/messages_de_DE.properties,
12690 src/main/resources/messages_en.properties,
12691 src/main/resources/messages_de.properties: Added state label for
12692 waterlevel selection.
12693
12694 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
12695
12696 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
12697 Validate incoming data string and strip brackets.
12698
12699 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12700 Fetch waterlevel data from external Artifact if existing. If no external
12701 Artifact is specified that provides waterlevel data, we gonna try to
12702 fetch it from the current Artifact.
12703
12704 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
12705
12706 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12707 Removed needless import which caused compile errors.
12708
12709 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
12710
12711 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
12712 Added a transform() method. This method should be used to transform
12713 input data in form of a string into a better data structure. This state
12714 provides a simple implementation which just returns a StateData object
12715 that contains exactly the input string.
12716
12717 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Transform
12718 input strings using DefaultState.transform() before they are added to
12719 its data pool.
12720
12721 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
12722
12723 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
12724 Made collection solid for the case if it has no Artifacts.
12725
12726 2011-09-15 Ingo Weinzierl <ingo@intevation.de>
12727
12728 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Fetch Artifact
12729 from ArtifactDatabase properly. Write better error logs if that process
12730 fails.
12731
12732 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12733
12734 Extend WDifferences branch to have calculations in dedicated, new state.
12735
12736 * doc/conf/artifacts/winfo.xml: Added new State and Transition in
12737 WDifferences-branch.
12738
12739 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java:
12740 New state.
12741
12742 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
12743 Specify to not take input, prepare getting other facets.
12744
12745 2011-09-14 Ingo Weinzierl <ingo@intevation.de>
12746
12747 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: This
12748 state now desires the UIProvider 'dem_datacage_panel'.
12749
12750 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java:
12751 New. This state is used to define the desired UIProvider
12752 'wsp_datacage_panel'.
12753
12754 * doc/conf/artifacts/winfo.xml: Added a new way to start a WSPLGEN
12755 calculation when choosing the calculation type 'floodmap'.
12756
12757 2011-09-14 Ingo Weinzierl <ingo@intevation.de>
12758
12759 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Merge
12760 facets only if their name AND their owner artifact are equal.
12761
12762 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12763
12764 Partial Fix flys/issue304 (3) (Baseline).
12765
12766 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12767 Show Baseline in WDifferencesPlot.
12768
12769 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12770
12771 Fix flys/issue310 (cross-section theme).
12772
12773 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue.
12774
12775 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12776
12777 Fix flys/issue310 (cross-section theme).
12778
12779 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue.
12780
12781 2011-09-13 Ingo Weinzierl <ingo@intevation.de>
12782
12783 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12784 Add an quick and simple error to the report if an error occured while
12785 WSPLGENJob creation.
12786
12787 * src/main/resources/messages.properties,
12788 src/main/resources/messages_de_DE.properties,
12789 src/main/resources/messages_en.properties,
12790 src/main/resources/messages_de.properties: Added error messages for
12791 WSPLGEN job creation errors.
12792
12793 2011-09-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12794
12795 Fix crash when drawing StickyAxisAnnotation when no range was given.
12796 User-directed issues remain ( flys/issue303 ).
12797
12798 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java
12799 (draw):
12800 Guard access to domainAxis, rangeAxis and the corresponding ranges.
12801 Warn and exit if any was null.
12802
12803 2011-09-13 Ingo Weinzierl <ingo@intevation.de>
12804
12805 flys/issue290 (Karte: Eingabe von Differenzen zw. WSP und Gelände findet
12806 keine Ausprägung in der Karte)
12807
12808 * doc/conf/mapserver/wsplgen_class.vm: Added styles for DIFF attribute.
12809
12810 * doc/conf/mapserver/mapfile.vm: Set debug default to '5'.
12811
12812 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
12813
12814 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12815 Add a first WSPLGEN status message (notifies the user about a
12816 queued job) after the job has been added to the Scheduler.
12817
12818 * src/main/resources/messages.properties,
12819 src/main/resources/messages_de_DE.properties,
12820 src/main/resources/messages_en.properties,
12821 src/main/resources/messages_de.properties: Added english and german
12822 status message text.
12823
12824 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
12825
12826 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Write
12827 shapefiles only if there are features for it existing.
12828
12829 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
12830 A WSPLGEN facet is only created, if the calculation was successfully
12831 added to the Scheduler. A barrier facet is only created if the WSPLGEN
12832 calculation has been added to the scheduler AND if there are digitized
12833 geometries existing.
12834
12835 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12836
12837 Copied and slightly modified implementation of guessWaterIncreasing from
12838 WQKms to (new) DataUtils. Accidentally commited usage in last commit, to
12839 correct orientation of diagram (invert x axis).
12840
12841 * src/main/java/de/intevation/flys/utils/DataUtils.java:
12842 New file with guessWaterIncreasing implementation from WQKms,
12843 slightly adjusted.
12844
12845 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12846
12847 Cosmetics.
12848
12849 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
12850 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
12851 Cosmetics.
12852
12853 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12854
12855 Added CSV Export for W-Differences.
12856
12857 * doc/conf/conf.xml: Added Exporter.
12858
12859 * doc/conf/artifacts/winfo.xml: Removed transition over distances
12860 state, added export outputmode and facet.
12861
12862 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java:
12863 New, CSV-Exporter for WDifferences.
12864
12865 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
12866 Add export facet.
12867
12868 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12869
12870 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
12871 Cosmetics, docs.
12872
12873 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
12874 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
12875 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
12876 Cosmetics.
12877
12878 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
12879
12880 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
12881 Sourced the code to append a concrete data item to the static DESCRIBE
12882 part out to an own method (appendStaticData()).
12883
12884 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
12885 Override appendStaticData() to suppress the GeoJSON string to be
12886 included in the static DESCRIBE.
12887
12888 2011-09-12 Ingo Weinzierl <ingo@intevation.de>
12889
12890 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
12891 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
12892 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java,
12893 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
12894 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
12895 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java,
12896 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
12897 Removed needless imports.
12898
12899 2011-09-09 Ingo Weinzierl <ingo@intevation.de>
12900
12901 * src/main/java/de/intevation/flys/artifacts/model/CalculationMessage.java:
12902 New. A subclass of Message (in the Artifacts system). It stores a
12903 string message and a progress (in form of step x/y).
12904
12905 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: The observer
12906 now writes background messages into the artifact system using the
12907 CallContext.addBackgroundMessage(). We use instances of
12908 CalculationMessage here, that makes the WINFOArtifact able to put
12909 progress information into the Artifact's DESCRIBE as well.
12910
12911 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Write
12912 status message and progress information into the DESCRIBE if the
12913 Artifact has started a background process.
12914
12915 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12916
12917 Fix flys/issue280 .
12918
12919 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
12920 Do not draw boxes around annotations.
12921
12922 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12923
12924 Fix flys/issue279 .
12925
12926 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12927 Fix behaviour in various thinkable malconditions.
12928
12929 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12930
12931 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
12932 Made one case of cross section fetching more robust.
12933
12934 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12935
12936 Fix Facet name and Legend of W-Differences, also insert state to specify
12937 distance.
12938
12939 * doc/conf/artifacts/winfo.xml: Add additional transitions to walk over
12940 distances state.
12941
12942 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
12943 Set facets description.
12944
12945 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12946 Take facets description as legend.
12947
12948 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12949
12950 Added configuration to kick-in w-differences branch of winfo.
12951
12952 * doc/conf/conf.xml: Register new (w-differences) OutputGenerators.
12953
12954 * doc/conf/artifacts/winfo.xml: Register new state and transitions.
12955
12956 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
12957 Added new (w-differences) calculation mode.
12958
12959 * src/main/java/de/intevation/flys/exports/WDifferencesCurveInfoGenerator.java:
12960 New file, implementing naive approach to display w-differences
12961 (accidentially omitted in last commit).
12962
12963 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12964
12965 Added very stubby WDifferences State/OutGenerator for WINFOArtifact.
12966
12967 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
12968 Added w_differences facet type.
12969
12970 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java:
12971 New file, implements naive approach to calculate w-differences (of
12972 calculations identified by hardcoded uuids!) and register respective facet.
12973
12974 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java:
12975 New file, implementing naive approach to display w-differences.
12976
12977 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
12978
12979 Implement getArtifact(uuid,context) in FLYSUtils.
12980
12981 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getArtifact):
12982 Added implementation, partially resolving a TODO. Added logger instance.
12983
12984 2011-09-08 Ingo Weinzierl <ingo@intevation.de>
12985
12986 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java:
12987 New. This sublcass of Calculation saves warnings and errors that occur
12988 while WSPLGEN is running.
12989 Note, that the interface of this class doesn't exactly apply the interface
12990 of Calculation. Maybe, we should generalize this interface!
12991
12992 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores
12993 an instance of WSPLGENCalculation now. We use this instance to save
12994 warnings and errors.
12995
12996 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Use the
12997 WSPLGENCalculation to save errors and warnings.
12998
12999 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java:
13000 New. This facet is used for WSPLGEN reports. It stores an instance of
13001 WSPLGENCalculation which saves ERRORS and WARNINGS that occur while
13002 WSPLGEN execution.
13003
13004 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13005 Create a WSPLGENReportFacet for WSPLGEN reports.
13006
13007 * doc/conf/conf.xml: Added an OutputGenerator 'report' for WSPLGEN
13008 reports.
13009
13010 * doc/conf/artifacts/winfo.xml: Added an output 'report' for WSPLGEN
13011 reports.
13012
13013 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13014
13015 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
13016 src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java,
13017 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
13018 Cosmetics, docs.
13019
13020 2011-09-08 Ingo Weinzierl <ingo@intevation.de>
13021
13022 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: Small
13023 adjustments that makes it easier to subclass this observer.
13024
13025 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: New. A
13026 sublcass of JobObserver which analyses the WSPLGEN output for errors and
13027 warnings.
13028
13029 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use
13030 JobObserver and ProblemObserver to track the whole WSPLGEN output and
13031 print number of errors/warnings to log output.
13032
13033 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13034
13035 Added translation of w_differences.
13036
13037 * src/main/resources/messages_de_DE.properties,
13038 src/main/resources/messages_de.properties,
13039 src/main/resources/messages_en.properties,
13040 src/main/resources/messages.properties:
13041 Added "w_differnces" translation.
13042
13043 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
13044
13045 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
13046 a new attribute 'background-processing' to the DESCRIBE of this
13047 Artifact. Its value is 'true' if this Artifact has started a background
13048 thread which has not finished yet - otherwise it is 'false.
13049
13050 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
13051
13052 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
13053 src/main/java/de/intevation/flys/utils/GeometryUtils.java: Moved the
13054 code to determine the extent of a river based on its axis to
13055 GeometryUtils.
13056
13057 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13058 Determine the extent of the selected river and set the WMSLayerFacet's
13059 extent attribute.
13060
13061 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13062
13063 Added Themeing support for CrossSection Diagrams.
13064
13065 * doc/conf/themes.xml:
13066 Added new themes and mappings, slightly modified longitudinalsection
13067 theme.
13068
13069 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13070
13071 In CrossSection Diagram fix subtitle to display the km of which the data is
13072 actually displayed (maybe contrasting users wish).
13073
13074 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13075 (getCrossSectionSnapKm): New method to fetch the actual km of crosssection.
13076
13077 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
13078 Add correct km to charts subtitle.
13079
13080 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13081
13082 Fix various display-issues like i18n in cross-section diagram.
13083
13084 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
13085 Set description of facets to expected values.
13086
13087 * src/main/java/de/intevation/flys/artifacts/exports/CrossSectionGenerator.java:
13088 Fix i18n of chart title. Set subtitle to expected value, pass facets
13089 description to StyledSeries to see expected legend.
13090
13091 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13092
13093 Cosmetics, resolved refactoring todo.
13094
13095 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java
13096 (compute, computeAdvance, computeFeed): Refactored, extracted method,
13097 resolving duplicate code and TODO.
13098
13099 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13100
13101 Fix waterline "calculation" at given km. Chosen approach is
13102 "head-through-wall".
13103
13104 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13105 Some refactoring to do the same calculation twice easier and be able
13106 to "cross" waterline against correct profile data.
13107
13108
13109 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13110
13111 Fix setting of kilometer for profile (not yet waterlevel) of cross section
13112 diagram.
13113
13114 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13115 (getCrossSectionData): Respect corss_section.km data; do naive linear
13116 search for profile data for this km.
13117
13118 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
13119 Declare a ComputeType.
13120
13121 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
13122 Implement computeFeed.
13123
13124 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13125
13126 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
13127 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13128 Minor cosmetics.
13129
13130 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13131
13132 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
13133 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
13134 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
13135 src/main/java/de/intevation/flys/artifacts/state/DefaultState.java:
13136 Cosmetics, docs.
13137
13138 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
13139
13140 * doc/conf/mapserver/barrier_polygons_class.vm,
13141 doc/conf/mapserver/barrier_lines_class.vm,
13142 doc/conf/mapserver/wsplgen_class.vm: Default Mapserver styles for
13143 barriers and WSPLGEN results. Those styles are only used as long as we
13144 don't have map specific themes (as already used in charts).
13145
13146 * doc/conf/mapserver/layer.vm: Implements a fallback mechanism for styling
13147 barrier lines/polygons and WSPLGEN results.
13148
13149 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added a
13150 getStyle() method that currently returns "null". This method needs to be
13151 implemented when map themes are introduced.
13152
13153 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
13154
13155 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Renamed
13156 some attributes to make their job in the mapfile more obvious.
13157
13158 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
13159 new facet type for barriers.
13160
13161 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: Add
13162 a facet for the barriers layer.
13163
13164 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Parse
13165 barriers (lines and polygons) and create two new layers for each type -
13166 those layers are grouped.
13167
13168 * doc/conf/mapserver/layer.vm: Renamed attribute based on changes in
13169 LayerInfo and added support for Group-Layers.
13170
13171 2011-09-06 Raimund Renkert <raimund.renkert@intevation.de>
13172
13173 * doc/conf/conf.xml:
13174 Added driver to database configuration for use with postgresql.
13175
13176 2011-09-06 Ingo Weinzierl <ingo@intevation.de>
13177
13178 * doc/conf/mapserver/mapfile.vm: Removed FONTSET attribute and set quotes
13179 for SHAPEPATH.
13180
13181 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
13182
13183 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
13184 Removed. We gonna use the WMSLayerFacet until now.
13185
13186 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13187 Add a WMSLayerFacet after we triggered the Scheduler to start a WSPLGEN
13188 calculation.
13189
13190 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
13191
13192 * doc/conf/mapserver/layer.vm,
13193 doc/conf/mapserver/mapfile.vm: Small bugfixes and style improvements.
13194
13195 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Trigger the
13196 MapfileGenerator after a WSPLGEN job has finished regardless if it has
13197 been finished successfully or not.
13198
13199 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
13200
13201 * pom.xml: Added Apache Velocity 1.7 for templating support.
13202
13203 * doc/conf/conf.xml: Added config options for mapserver/template relevant
13204 stuff.
13205
13206 * doc/conf/mapserver/mapfile.vm,
13207 doc/conf/mapserver/layer.vm: New. A default mapfile template and a
13208 template used for layers.
13209
13210 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: New.
13211 This class is used while reading WMS layer relevant information from
13212 filesystem.
13213
13214 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: New. This
13215 thread is used for creating mapfiles for Mapserver. The MapfileGenerator
13216 runs in daemon mode (own thread) and creates mapfiles based on WMS
13217 layer relevant information read from filesystem.
13218
13219 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
13220 src/main/java/de/intevation/flys/utils/FLYSUtils.java: Moved shapefile
13221 specific XPath expressions from FloodMapState to FLYSUtils which is a
13222 better place to use it in other classes (as MapfileGenerator).
13223
13224 2011-09-05 Ingo Weinzierl <ingo@intevation.de>
13225
13226 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java:
13227 Bugfixed broken attribute assignment.
13228
13229 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Call
13230 CallContext.afterBackground() after a WSPLGEN job has finished to remove
13231 the background lock from Artifact.
13232
13233 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13234 Call CallContext.afterCall(BACKGROUND) to lock the Artifact for
13235 background processing.
13236
13237 2011-09-02 Ingo Weinzierl <ingo@intevation.de>
13238
13239 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: New. This
13240 class is used to start WSPLGEN for a specific WSPLGENJob. The System
13241 property "wsplgen.bin.path" tells the JobExecutor where the WSPLGEN
13242 binary is placed (which means in general, the property points to the
13243 'wsplgen.exe').
13244
13245 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: New. This
13246 scheduler currently allows to start just a single WSPLGEN Thread. All
13247 WSPLGEN calculations should be started using Scheduler.addJob().
13248
13249 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: New. This
13250 thread reads log messages from WSPLGEN and listens for specific
13251 messages. It should be used to update status messages of the WSPLGEN
13252 calculation that is currently running.
13253 There is a System property that tells the JobObserver to log all WSPLGEN
13254 output to log4j: enable WSPLGEN output with "-Dwsplgen.log.output=true".
13255
13256 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Added
13257 the FLYSArtifact, the current working directory and the CallContext.
13258
13259 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13260 Use the Scheduler to start new WSPLGEN calculations.
13261
13262 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13263
13264 Add CrossSectionInfoGenerator.
13265
13266 * src/main/java/de/intevation/flys/exports/CrossSectionInfoGenerator.java:
13267 New, trivial implementation of CrossSectionInfoGenerator.
13268
13269 * doc/conf/conf.xml:
13270 Register CrossSectionInfoGenerator.
13271
13272 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13273
13274 Cleanups of CrossSection*.
13275
13276 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13277 New methods to retrieve name of utilized CrossSection.
13278
13279 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
13280 Cleanup, get rid of copied unused method, documentation and more sensible
13281 translations.
13282
13283 * src/main/resources/messages_de_DE.properties,
13284 src/main/resources/messages_de.properties,
13285 src/main/resources/messages_en.properties,
13286 src/main/resources/messages.properties:
13287 Added cross_section* translations, also cleanups.
13288
13289 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
13290
13291 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13292 Set the "typ" attribute of lines and polygons in barrier shapefiles.
13293
13294 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
13295
13296 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13297 Set the Z values of line and polygon barrier geometries. Both barrier
13298 shapefiles will contain 3D geometries now.
13299
13300 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13301
13302 Get real data to display in CrossSection (although ignorant of
13303 parameterization), making use of the showcase code of the CrossSectionApp-
13304 Standalone application.
13305
13306 * doc/conf/artifacts/winfo.xml: Add new facet (~waterline) to state/out.
13307
13308 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13309 New methods to get relevant data. So far just takes the first value of
13310 everything and assuming a waterlevel at 130m.
13311
13312 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java:
13313 New Facet responsible of water level in cross section.
13314
13315 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
13316 Made some functionality publicly and statically available.
13317
13318 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
13319 Update call.
13320
13321 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added new
13322 Facet type.
13323
13324 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
13325 Added new Facet to out.
13326
13327 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
13328 Respect new facet and facets data.
13329
13330 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
13331
13332 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Close an open
13333 shapefile transaction and catch exceptions which are thrown while
13334 shapefile creation here. If there occured an error, this functions
13335 returns FALSE, otherwise TRUE.
13336
13337 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13338 Removed exception handling while shapefile creation - this is done in
13339 GeometryUtils now.
13340
13341 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
13342
13343 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13344 Renamed the file for WSPLGEN required waterlevels to "waterlevels.wst".
13345 WSPLGEN did not work with the former "waterlevels.txt" file.
13346
13347 2011-09-01 Ingo Weinzierl <ingo@intevation.de>
13348
13349 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New static
13350 function that builds new SimpleFeatureTypes with additional attributes.
13351
13352 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13353 Write attributes "ELEVATION" and "KILOMETER" into the crosssection
13354 tracks shapefiles.
13355
13356 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
13357
13358 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method
13359 stub that should return a FLYSArtifact based on a given UUID.
13360
13361 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13362 Write the selected WST file for WSPLGEN. Note, that this is the WST file
13363 of the current WINFO artifact. Furthermore, there is currently no way
13364 for the user to select a column from WST file, so we currently use the
13365 column that is written to WST file at first.
13366
13367 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
13368
13369 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
13370 the parameter order of a compute(...) method. This makes me able to call
13371 this without a hash value.
13372
13373 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
13374 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
13375 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
13376 Adapted the parameter order of the compute() call (see above).
13377
13378 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13379
13380 More bones to CrossSection sceleton.
13381
13382 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java,
13383 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java:
13384 New, yet trivial implementations of Factory and Facet for CrossSections.
13385
13386 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
13387 Add new CrossSection- (instead of Default-)Facet.
13388
13389 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
13390 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
13391 Adjusted to use (touch) new Factory and Facet.
13392
13393 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13394
13395 Cosmetics.
13396
13397 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13398 Cosmetics.
13399
13400 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13401
13402 Cosmetics.
13403
13404 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
13405 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
13406 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java,
13407 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
13408 Removed obselete imports.
13409
13410 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13411 Removed obselete imports, whitespaces.
13412
13413 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13414 Whitespaces, docs.
13415
13416 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13417
13418 Fix translations of Main Values Facets.
13419
13420 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13421 Do acrobatics to keep state transient but get translated title.
13422
13423 * src/main/java/de/intevation/flys/artifacts/MainValuesQFacet.java,
13424 src/main/java/de/intevation/flys/artifacts/MainValuesWFacet.java:
13425 Changed constructor to get description (which is then already be translated)
13426 dynamically, adjust deepCopy.
13427
13428 * src/main/java/de/intevation/flys/states/StaticState.java:
13429 Adjust constructor accordingly.
13430
13431 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13432
13433 Add sceleton for CrossSection outs.
13434
13435 * doc/conf/artifacts/winfo.xml:
13436 Added new output mode to respective state of winfo artifact configuration.
13437
13438 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
13439 Add new Dummy-Facet in state.
13440
13441 * doc/conf/conf.xml:
13442 Registered new OutputGenerator.
13443
13444 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
13445 Added new CROSS_SECTION type.
13446
13447 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
13448 New, stubby skeleton for an CrossSectionGenerator.
13449
13450 * src/main/resources/messages_de_DE.properties,
13451 src/main/resources/messages_de.properties,
13452 src/main/resources/messages_en.properties,
13453 src/main/resources/messages.properties:
13454 Added cross_section translation, also cleanups (e.g. main values).
13455
13456 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
13457
13458 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Marked
13459 required parameters with a comment.
13460
13461 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13462 Export floodplains (german 'Talaue') to shapefile and write its file
13463 path into the WSPLGEN job.
13464
13465 2011-08-31 Ingo Weinzierl <ingo@intevation.de>
13466
13467 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13468 Search for a DGM that fits to the current river and km range and write
13469 its file path into the WSPLGEN job.
13470
13471 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
13472
13473 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Improved
13474 exception handling: exceptions are catched in GeometryUtils now.
13475
13476 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13477 Write river axis and crosssections to shapefiles and save shapefile
13478 pathes in WSPLGENJob.
13479
13480 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
13481
13482 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13483 Use the coorect SRID for reading GeoJSON and writing line/polygon
13484 shapefiles.
13485
13486 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Use a
13487 concrete coordinate system while feature type creation.
13488
13489 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
13490
13491 * pom.xml: Added GeoTools 2.7.2 dependencies for Shapefile, GeoJSON and
13492 EPSG support.
13493
13494 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Store
13495 'LIN' parameter in a list now. A WSPLGEN parameter might contain many
13496 LINs.
13497
13498 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New functions
13499 to create FeatureTypes and to write shapefiles.
13500
13501 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13502 Write user specified barriers into a shapefile placed in the artifact
13503 directory.
13504
13505 2011-08-30 Ingo Weinzierl <ingo@intevation.de>
13506
13507 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function
13508 that extracts the SRID defined in the global configuration file for a
13509 given river.
13510
13511 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
13512 Removed the code that extracts the river SRID - use FLYSUtils instead.
13513
13514 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13515
13516 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
13517
13518 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
13519 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
13520
13521 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13522
13523 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
13524
13525 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
13526 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
13527 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
13528 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
13529 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
13530 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver.
13531
13532 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13533
13534 Commit accidentally omitted result of refactoring (WINFO/FLYSUtils/getRiver).
13535
13536 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
13537 Removed implementations of getRiver, update calls to use FLYSUtils.
13538
13539 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13540
13541 Interpolate Q main values, generate interpolated W main values on the fly from
13542 Q main values.
13543
13544 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13545 (getGaugeDatum): removed, obsolete
13546 (getLocation): new, gets location
13547 Use WstValueTable to look up interpolated Qs of MainValues. In absence of
13548 the same functionality for Ws, generate W Main Values from Q Main Values.
13549
13550 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13551
13552 Use new helper class FLYSUtils, minor refactorization.
13553
13554 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13555 Use new functionality of helper class, convenience of FLYSArtifact.
13556
13557 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13558
13559 Refactored to use new Helper class FLYSUtils, moved getRiver-functionality
13560 in there.
13561
13562 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getRiver):
13563 New function to retrieve river of an artifact, slightly modified from
13564 WINFOArtifact.
13565
13566 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
13567 Removed implementations of getRiver, update calls to use FLYSUtils.
13568
13569 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13570
13571 Minor cosmetics.
13572
13573 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13574 Resolved a TODO.
13575
13576 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
13577 Added some documentation.
13578
13579 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
13580 Minor cosmetic.
13581
13582 2011-08-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13583
13584 * doc/conf/meta-data.xml: Made it Oracle compatible.
13585
13586 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
13587 If running in debug mode log executed statements.
13588 Helps debugging Oracle connections.
13589
13590 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
13591
13592 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13593 Set some WSPLGENJob parameters which are stored at FLYSArtifact.
13594
13595 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
13596
13597 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New. This helper
13598 class should provide some basic FLYS stuff. Currently, there are functions
13599 that return the km range/location.
13600
13601 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
13602 the methods that return the km range/locations. This is implemented in
13603 FLYSUtils now.
13604
13605 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
13606 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
13607 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Adapted
13608 the WINFO method calls to retrieve the km range/locations - call
13609 FLYSUtils now.
13610
13611 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
13612
13613 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New method
13614 to destroy a single state.
13615
13616 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13617
13618 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13619 Cosmetic, remove debug output and comments, minor style adjustments.
13620
13621 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13622
13623 Added limited themeing-support for MainValues.
13624
13625 * doc/conf/themes.xml:
13626 Added Q/W-MainValues themes.
13627
13628 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13629 Added limited theming support, add legend entry for main values.
13630
13631 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
13632
13633 * doc/conf/conf.xml: Added a configuration node that points to the directory
13634 where shapefiles should be stored in.
13635
13636 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: New.
13637 This class is used to save/write the parameter for a WSPLGEN calculation.
13638 WSPLGEN's *.par files are written using the toFile() method.
13639
13640 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13641 A directory for all WSPLGEN stuff is created in computeAdvance() - those
13642 directory and all its contained files are removed in endOfLife().
13643
13644 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13645
13646 * src/main/java/de/intevation/flys/utils/ThemeUtil.java:
13647 New Util to work with theme-related stuff.
13648
13649 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13650
13651 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13652 Use NamedDoubles instead of MainValues, try to adjust scale of Ws.
13653
13654 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13655 Use NamedDoubles instead of MainValues, generalize annotation handling, to
13656 allow easier reusability and themeing.
13657
13658 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
13659 Added convenience constructor, exemplary switch on bordered text.
13660
13661 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13662
13663 * doc/conf/meta-data.xml:
13664 Recommend MainValues for Computed discharge curves.
13665
13666 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13667
13668 New NamedDouble class which implements a <String,double>-pair.
13669
13670 * src/main/java/de/intevation/flys/artifacts/model/NamedDouble.java:
13671 New, implementation of a double with a string or vice versa.
13672
13673 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
13674
13675 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
13676 State.endOfLife() for all States when endOfLife() of the Artifact is
13677 called.
13678
13679 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13680
13681 Also plot "W"-MainValues (on vertical axis), take correct parameters, but
13682 do not convert to correct scale (cm vs NN+m).
13683
13684 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
13685 Naive attempt at allowing the vertical axis to be sticked at.
13686
13687 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13688 Store Q and W MainValues separately, add them to plot as annotations.
13689
13690 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13691 Serve the MainValues, parameterized on river and location, Q and W.
13692 Removed Facet-implementation.
13693
13694 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
13695 Updated Facet Types.
13696
13697 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java:
13698 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java:
13699 New, trivial facets, extracted from MainValuesArtifact.
13700
13701 2011-08-26 Ingo Weinzierl <ingo@intevation.de>
13702
13703 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
13704 State.endOfLife() of each State that is no longer in the queue of the
13705 artifact when this artifact steps back to a previous state.
13706
13707 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13708
13709 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13710 Plot MainValues delivered by MainValuesFacet in much the same ways than
13711 Annotations in LongitudinalSection plots.
13712
13713 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13714
13715 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
13716 Prepare further differentiation between Annotations that stick to X or Y-
13717 Axis, copied some positioning logic into StickyAxisAnnotation
13718 implementation.
13719
13720 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13721
13722 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
13723 Minor cosmetics.
13724
13725 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13726
13727 Added MainValue-Fetching-Capabilities to MainValuesArtifact.
13728
13729 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
13730 (initialize, getMinValues):
13731 Let MainValuesArtifact return "real" MainValues, although ignorant of all
13732 parameterization.
13733
13734 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13735
13736 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
13737 (MainValueFacet):
13738 Improved and straightened implementation, added code-Annotations and Todos.
13739
13740 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13741
13742 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
13743 (MainValueFacet):
13744 Improved and straightened implementation, added code-Annotations and Todos.
13745
13746 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13747
13748 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java
13749 (getState):
13750 Resolved multiple creation of state (yet not very clean).
13751
13752 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13753
13754 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
13755 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
13756 Cosmetics, docs.
13757
13758 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
13759 Cosmetics.
13760
13761 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13762
13763 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
13764 Added new (MainValues) Facet-Type.
13765
13766 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
13767
13768 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
13769 Added a method that returns a River object based on its database id.
13770
13771 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: The
13772 data that is required for this artifact is fetched from database instead
13773 from a Master-Artifact. The creation of static artifacts should use
13774 database ids instead of cloning a Master-Artifact.
13775
13776 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
13777
13778 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13779 Removed needless imports.
13780
13781 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13782
13783 Added configuration for factory and rule for MainValueArtifacts.
13784
13785 * doc/conf.xml:
13786 Add a mainvalue factory to serve MainValueArtifacts.
13787
13788 * doc/conf/meta-data.xml:
13789 Recomment mainvalue artifact when computed_discharge_curve can be put out.
13790
13791 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13792
13793 Let MainValuesArtifact have a state, outputmode and facet.
13794
13795 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
13796 New, a non-abstract DefaultState.
13797
13798 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13799 Progressed with implementation, use StaticState to hook output modes and
13800 facet in; use (Static)FLYSArtifact implementation.
13801
13802 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13803
13804 Smaller cosmetics.
13805
13806 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
13807 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
13808 Cosmetics in comments.
13809
13810 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
13811 Added @Override annotations.
13812
13813 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
13814 Use brackets to improve readability of ternary operator.
13815
13816 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13817
13818 * doc/conf/meta-data.xml: Use "ids" in user specific part, too.
13819
13820 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13821
13822 * doc/conf/meta-data.xml: s/db-ids/ids/g to unify system and user specific
13823 loading.
13824
13825 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13826
13827 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13828 Extracted access to state and states in order to have fewer places to
13829 modify when going for single/trivial state- artifacts.
13830
13831 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
13832
13833 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
13834 Append the river's srid to the WMSLayerFacet.
13835
13836 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de>
13837
13838 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13839 Minor fixes, ressurect Facet implementation as inner class.
13840
13841 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
13842
13843 * doc/conf/artifacts/winfo.xml: Moved the input of barriers one state
13844 earlier where the scenario is selected as well.
13845
13846 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java:
13847 This state now desires the "map_digitize" UI provider and returns both
13848 items "scenario" and "uesk.barriers" in the dynamic describe part.
13849
13850 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13851 Removed the UI provider and the computeFeed() which is no longer needed,
13852 because there is no more user input in this state.
13853
13854 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
13855
13856 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
13857 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
13858 Repaired broken xpath expressions (the config changed in one of the last
13859 commits) and make use of the variable support in xpath expressions to
13860 replace the rivername.
13861
13862 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java:
13863 Save the rivername while initializing this artifact. This is now
13864 necessary, because each river can have its own background wms
13865 configured.
13866
13867 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
13868
13869 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
13870 Repaired broken river-wms initialization.
13871
13872 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13873
13874 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java,
13875 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java,
13876 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
13877 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java,
13878 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
13879 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java,
13880 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java,
13881 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
13882 src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
13883 Made facets cloneable with the right type.
13884
13885 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java,
13886 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13887 Removed superfluous imports.
13888
13889 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
13890
13891 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
13892 Declare the first artifact of an output as master artifact (artifacts
13893 are ordered by their creation time).
13894
13895 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13896
13897 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
13898 Removed facet interface.
13899
13900 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13901 Make artifacts cloneable. TODO: Override deepCopy() in subclassed
13902 states and facets.
13903
13904 2011-08-23 Ingo Weinzierl <ingo@intevation.de>
13905
13906 * doc/conf/conf.xml: Added the MapInfoService and adapted the floodmap
13907 configuration. Now, each river can have its own background wms layer
13908 defined.
13909
13910 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java:
13911 New. This service returns some basic information used to create maps for
13912 a specific river. The name of the desired river needs to be defined at
13913 "/mapinfo/river/text()".
13914
13915 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
13916 Adapted an xpath expression that points to the srid of a river in the
13917 floodmap configuration (which changed).
13918
13919 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13920
13921 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13922 Build out/facet filter from XML document passed at creation time.
13923
13924 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13925
13926 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
13927 Added some code to filter outs/facets by an optional positive list.
13928 This is needed to only expose parts of the facets. This
13929 is needed for artifacts which are loaded into a collection.
13930 TODO: create the filter from the XML document passed at creation
13931 time.
13932
13933 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13934
13935 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved all
13936 WINFO specific code to WINFOArtifact. FLYSArtifact is now only revolving
13937 about state affairs.
13938
13939 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-inserted
13940 the specific stuff here.
13941
13942 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
13943 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
13944 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
13945 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
13946 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
13947 src/main/java/de/intevation/flys/exports/ChartGenerator.java:
13948 Adjusted the casts.
13949
13950 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13951
13952 * doc/conf/meta-data.xml: Filter by outs in user template part.
13953
13954 2011-08-22 Ingo Weinzierl <ingo@intevation.de>
13955
13956 * doc/conf/artifacts/winfo.xml: Defined an input value for the GeoJSON
13957 string to save user defined barriers in the map.
13958
13959 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
13960 Added a computeFeed() method. In addition, this state now prefers the
13961 "noinput" UI provider.
13962
13963 2011-08-19 Ingo Weinzierl <ingo@intevation.de>
13964
13965 * doc/conf/conf.xml: Each river requires a SRID definition. This
13966 definition is used to transform the river's geometries into the desired
13967 projection.
13968
13969 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
13970 This facets are able to save a SRID.
13971
13972 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
13973 The extent that is written into the WMSLayerFacet is determined by the
13974 boundary of the geometry.
13975
13976 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New. A
13977 utility class that provides helper functions for geometries. Currently,
13978 one function is defined, that creates a boundary string for OpenLayers.
13979
13980 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13981
13982 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
13983 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
13984 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
13985 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
13986 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
13987 src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
13988 Removed superfluous imports.
13989
13990 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
13991
13992 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
13993 Removed CallContext from state validation. It is not needed and hindered
13994 the extraction of all out of an artifact if you don't have a
13995 call context (like initial scan of datacage database).
13996
13997 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
13998 Extract all outs now.
13999
14000 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
14001 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
14002 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java,
14003 src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java,
14004 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
14005 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
14006 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
14007 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
14008 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
14009 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
14010 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
14011 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
14012 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
14013 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
14014 src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
14015 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java,
14016 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
14017 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14018 Adjusted calls.
14019
14020 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14021
14022 * src/main/resources/messages.properties,
14023 src/main/resources/messages_de_DE.properties,
14024 src/main/resources/messages_en.properties,
14025 src/main/resources/messages_de.properties:
14026 Added lacalization of "Streckenfavoriten".
14027
14028 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14029
14030 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
14031 Picky white-space cosmetics.
14032
14033 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14034
14035 Added stub implementation of new MainValuesArtifact.
14036
14037 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java:
14038 New. Stub implementation for new MainValuesArtifact.
14039
14040 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14041
14042 Fixed flys/issue262
14043
14044 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
14045 Unified user and system tempate.
14046 Looks for "/artifact-database/metadata/template/text()"
14047 in conf.xml. Defaults to "${artifacts.config.dir}/meta-data.xml". If user id is
14048 given its the default connection for contexts.
14049
14050 * doc/conf/conf.xml: Adjusted
14051 * doc/conf/meta-data-system.xml, doc/conf/meta-data-user.xml: Deleted.
14052 * doc/conf/meta-data.xml: Unified version of user and system template.
14053
14054 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java:
14055 Adjusted the test program.
14056
14057 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14058
14059 Fixed flys/issue260
14060
14061 * doc/conf/meta-data-user.xml: Uses master_artifacts view now.
14062
14063 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14064
14065 * doc/conf/datacage.sql: Added view master_artifacts to select
14066 the master artifacts of the collections more easily.
14067 To upgrade existing database:
14068
14069 CREATE VIEW master_artifacts AS
14070 SELECT a2.id AS id,
14071 a2.gid AS gid,
14072 a2.state AS state,
14073 a2.creation AS creation,
14074 ci2.collection_id AS collection_id
14075 FROM collection_items ci2
14076 JOIN artifacts a2
14077 ON ci2.artifact_id = a2.id
14078 JOIN (SELECT ci.collection_id AS c_id,
14079 MIN(a.creation) AS oldest_a
14080 FROM collection_items ci
14081 JOIN artifacts a
14082 ON ci.artifact_id = a.id
14083 GROUP BY ci.collection_id) o
14084 ON o.c_id = ci2.collection_id
14085 WHERE a2.creation = o.oldest_a;
14086
14087 TODO: Use the view in the templates.
14088
14089 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14090
14091 * doc/conf/meta-data-user.xml: Removed state filter because it was broken.
14092 Simplified by joining two contexts.
14093
14094 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14095
14096 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14097 Fix issues with lines of annotation when zoomed (wrong scale used).
14098
14099 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14100
14101 Added legend for annotations to LongitudinalSectionDiagram.
14102
14103 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14104 Added a pseudo-dataseries/collection to employ existing infrastructure for
14105 displaying localized label for Annotations (yet unthemed).
14106
14107 * src/main/resources/messages.properties,
14108 src/main/resources/messages_de_DE.properties,
14109 src/main/resources/messages_en.properties,
14110 src/main/resources/messages_de.properties:
14111 Made label-string available for localization.
14112
14113 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14114
14115 Moved StickyAxisAnnotation into new package de.intevation.flys.jfree .
14116
14117 * src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java:
14118 Deleted/moved to src/main/java/de/intevation/flys/jfree/ .
14119
14120 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
14121 New/moved from src/main/java/de/intevation/flys/export/ , adjusted
14122 package statement, made class public.
14123
14124 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14125 Added import statement for de.intevation.flys.jfree.StickyAxisAnnotation .
14126
14127 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14128
14129 Extracted and renamed CustomAnnotation to StickyAxisAnnotation. Also removed
14130 needless imports.
14131
14132 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
14133 src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java:
14134 Extracted class implementation CustomAnnotation and renamed to
14135 StickyAxisAnnotation.
14136
14137 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14138
14139 Improved CustomAnnotations and rendering thereof, now including an
14140 "axis mark" (little line at axis), also prepared possibility to put
14141 annotations on Y-axis.
14142
14143 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14144 Improved CustomAnnotation to include marks on the axis and better spacing
14145 from it.
14146
14147 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14148
14149 Implemented proof-of-concept collision-detection when drawing
14150 CustomAnnotations (text only).
14151
14152 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
14153 Pass a fresh ChartRenderingInfo-Object to createBufferedImage, such that
14154 information can be collected while rendering.
14155
14156 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14157 Exploit the fact that XYTextAnnotation already registers drawn shape in the
14158 ChartRenderingInfo if it exists and either an URL or tooltip is set.
14159 Before drawing, calculate own shape and compare against already registered
14160 shapes.
14161
14162 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14163
14164 Implemented (yet dummy) custom Annotation class.
14165
14166 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14167 Added implementation of yet dummy CustomAnnotation class.
14168
14169 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14170
14171 Slightly improved rendering of annotations.
14172
14173 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14174 Slightly improved rendering of annotations. Still no valid collision
14175 detection. Annotations are drawn every 2 km; first come first serve.
14176
14177 2011-08-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14178
14179 Fix for flys/issue191
14180
14181 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(longestIncreasingWRangeIndices):
14182 Added a method to find the longest index range with increasing w values.
14183
14184 * src/main/java/de/intevation/flys/exports/ATWriter.java: Export the longest
14185 range of monotone increasing w values instead of the first one.
14186 TODO: The first line of the export is still broken.
14187
14188 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
14189 Removed superfluous import.
14190
14191 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14192
14193 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java:
14194 Resolved two TODOs: get Annotations of selected River, get "point"
14195 Annotations only.
14196
14197 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14198
14199 Added functionality to query range and point-annotations only to
14200 AnnotationFactory.
14201
14202 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java
14203 (getPointAnnotations, getAnnotationsBreadth):
14204 New functions to query breadth and point-only annotations.
14205
14206 2011-08-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14207
14208 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
14209 Added a development mode for recommendations. Enabled with
14210 stetting system property 'flys.datacage.recommendations.development' to true.
14211 When set the XML template are re-read if the timestamps of the
14212 files have changed so you do not have to restart the server again and again.
14213
14214 * doc/conf/meta-data-user.xml: Sort collections by creation time in descending order.
14215
14216 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14217
14218 Rather picky cosmetics only.
14219
14220 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
14221 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java,
14222 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java,
14223 src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java,
14224 src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
14225 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
14226 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
14227 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14228 End comments on a full stop, separate from closing '*/' by whitespace,
14229 adjusted javadoc comments.
14230
14231 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14232
14233 Made Annotations visible in LongitudinalSection diagrams.
14234
14235 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java,
14236 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
14237 Register new Facet Type, let LongitudinalSectionGenerator include
14238 Annotations in diagram (yet unfiltered and independent of river).
14239
14240 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14241
14242 * doc/conf/conf.xml,
14243 doc/conf/artifacts/annotation.xml,
14244 doc/conf/meta-data-system.xml:
14245 Added configuration for AnnotationArtifacts.
14246
14247 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14248
14249 Added demo- implementation of a AnnotationArtifact and its Facet.
14250
14251 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
14252 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
14253 src/main/java/de/intevation/flys/artifacts/states/AnnotationRiverState.java:
14254 New. Initial version of an AnnotationArtifact and its State and Facet.
14255
14256 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14257
14258 * doc/conf/datacage.sql: Extended schema for artifacts and collections
14259 to have creation times, too.
14260
14261 To update existing databases:
14262
14263 ALTER TABLE artifacts ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp;
14264 ALTER TABLE collections ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp;
14265
14266 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14267 Store creation times for artifacts and collections, too.
14268
14269 * src/main/resources/datacage-sql/org-h2-driver.properties,
14270 src/main/resources/datacage-sql/org-postgresql-driver.properties:
14271 Adjusted SQL statements.
14272
14273 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14274
14275 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14276 Make it compilable again (BackendListener interface changed).
14277
14278 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14279
14280 * doc/conf/meta-data-user.xml: Added grouping element around w/q of each
14281 longitudinal section artifact.
14282
14283 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java,
14284 src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java:
14285 Added some debugging capabilities.
14286
14287 * src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java:
14288 Added isEmpty() method.
14289
14290 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
14291 Now it is possible to nest <dc:elements> into other elements in the <dc:context>
14292 body. This is useful and needed for grouping and repeating results.
14293
14294 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14295
14296 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
14297 User connection was cached, system was not. Lead to incorrect results.
14298
14299 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14300
14301 * doc/conf/meta-data-user.xml: Added <old_calculations> element
14302 around old calculations.
14303
14304 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14305
14306 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
14307 Cosmetic: Replaced usage of legacy java.util.Stack with java.util.Deque.
14308
14309 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14310
14311 * doc/conf/meta-data-user.xml: Use 'CAST(x AS uuid)' instead of 'x::uuid'
14312 to be more compatible.
14313
14314 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14315
14316 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
14317 If given an artifact place its identifier into parameters passed to template.
14318 Fixed swapped user/system connections if using the user template.
14319
14320 * doc/conf/meta-data-user.xml: Recommend w/q facet from old calculations
14321 if an artifact was given that represents a longitudinal section
14322 "Laengsschnitt".
14323
14324 TODO I: The template uses PostgreSQL specific UUID casts.
14325 TODO II: We need to find a way only to recommend the master artifacts.
14326
14327 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14328
14329 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
14330 Added a <dc:comment> tag to place comments in the meta data templates.
14331 <!-- ... --> comments are copied through.
14332
14333 * doc/conf/meta-data-user.xml: Added a simple test.
14334
14335 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14336
14337 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
14338 Be a bit more tolerant about empty strings for UUIDs of artifact and user.
14339
14340 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14341
14342 Bring user specific meta data service to life.
14343
14344 * doc/conf/conf.xml: There are now two templates to configure:
14345 The system template (only the data from the backend) and the
14346 user template (the datcage db and the backend db),
14347
14348 * doc/conf/meta-data-template.xml: Deleted.
14349 * doc/conf/meta-data-user.xml: New. The user specific template. TODO: Write it!
14350 * doc/conf/meta-data-system.xml: New. The system template.
14351
14352 * src/main/java/de/intevation/flys/artifacts/datacage/templating/NoneUserSpecific.java:
14353 Deleted.
14354 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java:
14355 New. The logic to fill the templates.
14356
14357 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
14358 Adjusted to follow the new call signatures.
14359
14360 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
14361 Refactored. Removed the old code and only leave the new service. Following
14362 XPaths are evaluated on the incomming document:
14363
14364 "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional.
14365 Used to fill the template enviroment.
14366 "/art:meta/art:user-id/@value" The UUID of the user. Optional.
14367 If given the user specific template is filled.
14368 "/art:meta/art:outs/@value" The list of outs used to recommend for the
14369 various outputs.
14370 "/art:meta/art:parameters/@value" A list of key/value pairs to inject more
14371 filters to the templating.
14372
14373 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java:
14374 Change to follow the new recommendations semantics.
14375
14376 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
14377 Added symbolic constants to distinguish "user" and "system" db connections.
14378
14379 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14380
14381 * doc/conf/conf.xml:
14382 Cosmetics, let comments start with a capital and end on a full stop,
14383 removed incorrect comment.
14384
14385 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
14386
14387 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14388 Cosmetics, let comments start with a capital and end on a full stop.
14389
14390 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14391
14392 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java(extractOutputNames):
14393 Fixed potential NPE.
14394
14395 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14396
14397 Added support for more than one db connection in datacage templating.
14398
14399 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java:
14400 Now you can pass a list of named db connections to the build process.
14401 The purpose is to mix more then one database (e.g. the backend db and
14402 the user specific one).
14403
14404 To use this feature you can add an "connection" attribute
14405 to <dc:context> with the name of the connection to use.
14406 If no connection name is given the last used is used again.
14407 Initially the first connection in the given list is used.
14408 If the context is left the connection that was active before
14409 will be active again in a stacking manner.
14410
14411 When creating NamedConnection objects you can set a boolean flag
14412 if the results coming from the connection should be cached. This
14413 is useful e.g. for the user specific database which runs in-memory
14414 so caching would introduce some superfluous overhead.
14415
14416 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java:
14417 When executing the queries explicitly pass if caching should be used.
14418
14419 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14420
14421 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14422 Forgot to fetch dialect dependent SQL statement for deleting
14423 artifacts by uuid.
14424
14425 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14426
14427 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14428 Set the name of the collections at initial scan, too.
14429
14430 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14431
14432 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14433 Fixed wrong SQL references.
14434
14435 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14436
14437 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14438 Fixed two NPEs.
14439
14440 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14441
14442 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java,
14443 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14444 Forwarded kill collections and artifacts events to datacage.
14445
14446 * src/main/resources/datacage-sql/org-h2-driver.properties,
14447 src/main/resources/datacage-sql/org-postgresql-driver.properties:
14448 Added statement to delete artifact by uuid.
14449
14450 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14451
14452 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
14453 Made it compilable again. The signature of BackendListener has changed.
14454
14455 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14456
14457 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14458 Completed the backend listener stuff.
14459
14460 TODO I: Added some cleanup for orphaned artifacts.
14461 TODO II: Figure out a way to delete collections/artifacts
14462 which are delete from backend without the
14463 backend API.
14464
14465 * src/main/resources/datacage-sql/org-h2-driver.properties,
14466 src/main/resources/datacage-sql/org-postgresql-driver.properties:
14467 Added needed statements.
14468
14469 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14470
14471 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14472 Update collection names on change. Remove artifacts from collections.
14473
14474 * src/main/resources/datacage-sql/org-h2-driver.properties,
14475 src/main/resources/datacage-sql/org-postgresql-driver.properties:
14476 Added needed statements.
14477
14478 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14479
14480 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
14481 Call datacage with the global context. This is needed to access the state engine.
14482
14483 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: Changed
14484 signatures to take the global context, too. Create artifacts via backend listener
14485 interface.
14486
14487 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14488
14489 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
14490 Fixed recursion bug.
14491
14492 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14493
14494 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
14495 Added debug output.
14496
14497 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14498
14499 * doc/conf/conf.xml: Added backend listener for datacage.
14500
14501 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java:
14502 New. Proxies backend listener calls to datacage.
14503
14504 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14505 Implements backend listener. TODO: Update the datacage database
14506 according the change calls.
14507
14508 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14509
14510 * src/main/java/de/intevation/flys/artifacts/services/meta,
14511 src/main/java/de/intevation/flys/artifacts/datacage/templating:
14512 Moved/renamed package to better fit the common semantics.
14513 DataCage.java is now call NoneUserSpecific.java to reflect the
14514 fact that it is the template for the user independent db
14515 analysis.
14516
14517 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java,
14518 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
14519 Ajusted imports and calls.
14520
14521 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14522
14523 * doc/conf/conf.xml: For documentation purposes added a out-commented
14524 section with the default configuration of the datacage.
14525
14526 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14527
14528 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14529 Delete the artifacts at before initial scan, too. They are independent
14530 from users. Fixed problem when writing state data content.
14531
14532 * src/main/resources/datacage-sql/org-h2-driver.properties: Added
14533 statement to delete the artifacts at initial scan, too.
14534
14535 * src/main/resources/datacage-sql/org-postgresql-driver.properties:
14536 New. PostgreSQL version of the statements. The database scheme
14537 is the same as H2. Very useful for debugging.
14538
14539 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14540
14541 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14542 Added kludge for the types of artifact data. They seem to be null
14543 in some circumstances. Needs to be debugged!
14544
14545 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14546
14547 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java:
14548 Fixed default connection URL to use a namend in-mermory database.
14549
14550 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14551
14552 * doc/conf/datacage.sql: Fixed constraint.
14553
14554 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14555 Added some debug output.
14556
14557 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14558
14559 * doc/conf/datacage.sql: Removed artifact_id from facet because there
14560 is a link via out_id -> outs.id: artifact_id -> artifacts to
14561 find the corresponding artifact.
14562
14563 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
14564 src/main/resources/datacage-sql/org-h2-driver.properties: Store
14565 facets of outs into datacage db at initial scan.
14566
14567 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14568
14569 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
14570 src/main/resources/datacage-sql/org-h2-driver.properties:
14571 Store outs of artifacts into datacage db at initial scan.
14572 TODO: store facets.
14573
14574 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14575
14576 * doc/conf/datacage.sql: Added 'type' column in artifacts data.
14577 Maybe useful for filtering.
14578
14579 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
14580 src/main/resources/datacage-sql/org-h2-driver.properties:
14581 Store artifact data into db at initial scan.
14582 TODO: store outs and facets.
14583
14584 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14585
14586 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
14587 src/main/resources/datacage-sql/org-h2-driver.properties:
14588 Add artifacts into datacage db at initial scan.
14589 TODO: Store data, outs and facets.
14590
14591 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14592
14593 * doc/conf/datacage.sql: Fixed spelling in sequence name.
14594
14595 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
14596 src/main/resources/datacage-sql/org-h2-driver.properties: Simply add
14597 collection item at initial scan if artifact was stored before.
14598 TODO: Store new artifacts.
14599
14600 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14601
14602 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
14603 src/main/resources/datacage-sql/org-h2-driver.properties: Add
14604 collections at initial scan.
14605
14606 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14607
14608 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
14609 src/main/resources/datacage-sql/org-h2-driver.properties: Add users
14610 at initial scan.
14611
14612 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14613
14614 * doc/conf/datacage.sql: Using sequences for id generation now
14615 to make schema more compatible.
14616
14617 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14618
14619 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java,
14620 src/main/resources/datacage-sql/org-h2-driver.properties: Clear database
14621 before initial scan.
14622
14623 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14624
14625 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java:
14626 Deleted. This stuff comes from the artifact database now.
14627
14628 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java:
14629 New. The db config of the datacage database.
14630
14631 * src/main/resources/datacage-sql/org-h2-driver.properties: New.
14632 The SQL statements needed for the datacage.
14633
14634 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14635 Make use of the db config.
14636
14637 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14638
14639 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java:
14640 New. A artifact database lifetime listener to build the initial
14641 index of the artifacts in database.
14642
14643 * doc/conf/conf.xml: Added the datacage to the list of lifetime
14644 listeners.
14645
14646 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14647
14648 * doc/conf/datacage.sql: Added an explicit table for the outs
14649 of an artifact.
14650
14651 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
14652 Make the current outs of an artifact accessible only with
14653 the global context.
14654
14655 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14656
14657 * doc/conf/datacage.sql: Added ON DELETE CASCADE constraints.
14658 Added state in facet.
14659
14660 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14661
14662 * doc/conf/datacage.sql: New. H2 Schema for the datacage database.
14663 Uses special features like IDENTITY (autoincrement) typed columns.
14664
14665 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java:
14666 Pooled connection.
14667
14668 * pom.xml: Added dependencies to H2 and Apache DBCP.
14669
14670 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14671
14672 * src/test/java/de/intevation/flys/artifacts/AppTest.java,
14673 src/main/java/de/intevation/flys/artifacts/App.java: Removed.
14674 This the stupid "Hello, World!" app initially created by the
14675 maven archetype. It was never used.
14676
14677 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14678
14679 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
14680 Argh! Usage the DOM was not thread safe (discovered with ab).
14681
14682 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14683
14684 * doc/conf/meta-data-template.xml: '$recommended' lead to XPath
14685 errors. Using "dc:contains($parameters, 'recommended')" helps.
14686
14687 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java,
14688 src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
14689 Added some debugging.
14690
14691 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
14692 Added parameters as 'parameters' to parameters. Usefull to check
14693 for containment of variables.
14694
14695 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14696
14697 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
14698 Added 'if log.isDebugEnabled() {}'.
14699
14700 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14701
14702 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
14703 Made Artifact UUID optional and accept extra parameters, too. This enables
14704 the service to be used without an arttifact and test all filters.
14705
14706 <art:meta xmlns:art="http://www.intevation.de/2009/artifacts">
14707 <art:outs value="computed_discharge_curve,floodmap"/>
14708 <art:parameters value="river:Elbe"/>
14709 <art:filters value="recommended"/>
14710 </art:meta>
14711
14712 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
14713 'contain' accept Maps and collection, too.
14714
14715 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
14716 Made artifact option (= null) in recommendations.
14717
14718 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14719
14720 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
14721 Moved connection specific into inner class. The enables the reuse of the
14722 compiled statement.
14723
14724 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: The
14725 SQL statements are now only compiled once at creation time of the builder.
14726 Each connection now reuses them.
14727
14728 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14729
14730 * doc/conf/cache.xml: Added configuration for static datacage db access.
14731
14732 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: Using
14733 caches seems to need an explicit System.exit().
14734
14735 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
14736 Added support for caching the SQL statements and there results.
14737
14738 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: Some
14739 clean up. Reordered code for performance. Strip SQL statements more
14740 aggressively.
14741
14742 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
14743 Made it Serializable.
14744
14745 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
14746 Introduced system property 'flys.artifacts.cache.config.file' to make
14747 the caching configurable without pulling up the whole stack.
14748
14749 2011-07-22 Ingo Weinzierl <ingo@intevation.de>
14750
14751 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
14752 Prepared the FLYSArtifactCollection to support the storage of already
14753 loaded recommendations in its attribute document.
14754
14755 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14756
14757 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
14758 Adjusted to use the DataCage recommendations. The incomming document
14759 can pass the artifacts UUID by '/art:outs/@value' the outs as a
14760 comma separated list in '/art:outs/@value' and optional a set of
14761 filters comma separated in '/art:filters/@value'.
14762
14763 If UUID and OUTS are not given the old service is used. This
14764 should be removed as soon as the client uses the new service.
14765
14766 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14767
14768 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
14769 Allow '-' in variable names.
14770
14771 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
14772
14773 * doc/conf/meta-data-template.xml: Now, the river-id is really added to
14774 the factory node of the wmsbackground layer.
14775
14776 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
14777
14778 * doc/conf/meta-data-template.xml: Added the river-id to the factory node
14779 of the riveraxis and wmsbackground layer.
14780
14781 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14782
14783 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java,
14784 src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java,
14785 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
14786 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
14787 Adjusted to implement changed Service interface.
14788
14789 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
14790
14791 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Refactored
14792 the method that retrieves the Outputs for the Artifact. Now, we are able
14793 to query the Outputs for the current state, and all outputs separately.
14794
14795 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: The
14796 recommendations provided by this monitor will take the Outputs of the
14797 current state only into account.
14798
14799 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
14800
14801 * doc/conf/meta-data-template.xml: Added conditions for each output type.
14802 Splitted the "floodmap" output into two parts: a recommended one and a
14803 complete one. The recommended part will only build the document tree for
14804 the recommended artifacts; the complete part will build the whole document
14805 tree that is available for a floodmap.
14806
14807 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
14808 This Hook now uses the DataCage to generate the recommended artifacts.
14809 The output-defaults configurtion is needless now.
14810
14811 * doc/conf/output-defaults.xml: Removed. The configuration of recommended
14812 artifacts takes place in meta-data-template.xml.
14813
14814 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
14815 Bugfix: the DataCage didn't start working if its builder was NOT null,
14816 but it shouldn't start if the builder IS null.
14817
14818 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14819
14820 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
14821 Now it is possible to directly pass a Node as a root to the builder.
14822 The owning document if fetch by Node.getOwnerDocument(). This is
14823 useful if you want to generate the recommendation directly into
14824 an already existing document under a given node.
14825
14826 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
14827 Changed the signature of recommend() to accept a node where to
14828 append the recommendations.
14829
14830 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14831
14832 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
14833 Added a macro mechanism:
14834
14835 <dc:macro name="keine-fuenf">
14836 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text>
14837 </dc:macro>
14838 <dc:call-macro name="keine-fuenf"/>
14839 <dc:call-macro name="keine-fuenf"/>
14840 <dc:call-macro name="keine-fuenf"/>
14841
14842 Macros can be defined everywhere in the template
14843 with 'macro'. There bodies can contain all valid elements
14844 including other 'macro's and 'call-macro's. They are
14845 called with their 'name' with 'call-macro'. The control flow
14846 is continued inside the body of the called macro and
14847 will continue right after the calling 'call-macro' when
14848 the macro body is finished.
14849
14850 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14851
14852 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
14853 Added a new 'if' construct similiar to XSLT:
14854
14855 <dc:if test="not(dc:contains($outs, '5'))">
14856 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text>
14857 </dc:if>
14858
14859 The control flow is continued inside the 'if' if the 'test' attribute
14860 as an XPath expression on an empty document evalutes to true.
14861 Else the inside is skipped. There is no 'else'. Use 'choose'/'otherwise'
14862 if you need this.
14863
14864 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14865
14866 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
14867 Added a recommend() method to generate recommendations for
14868 a given artifact, outs and extra parameters.
14869
14870 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added
14871 method to extract all data at once.
14872
14873 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14874
14875 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java:
14876 New. Custom XPath function provider. Provides
14877 'dc:contains(Object [] haystack, Object needle)' by now. Should be
14878 useful to check containments in 'out' lists later.
14879
14880 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
14881 Register the FunctionResolver to the evaluated XPaths.
14882
14883 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java:
14884 Added code to parse
14885 "param:a,b,c" to "param" -> new String [] { "a", "b", "c" } to
14886 help testing the 'dc:contains' XPath function.
14887
14888 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
14889
14890 * doc/conf/conf.xml: Added wms configurations for Saar, Mosel and Elbe.
14891 Each river supported by FLYS requires such a WMS configuration. A WMS
14892 should contain layers for the river axis, buildings, kilometer labels
14893 and maybe a background layer as well.
14894
14895 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
14896 Added key that is used to store a map of WMS URLs - for each river a
14897 WMS URL.
14898
14899 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
14900 Parse the river WMS from global configuration.
14901
14902 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
14903 Create WMSLayerFacets with URLs based on the river and the river wms
14904 configuration stored in the FLYSContext.
14905
14906 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
14907 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java:
14908 Adapted the initialize() signature and the method call of computeInit()
14909 which requires a FLYSContext to retrieve the river WMS configurations.
14910
14911 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
14912 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
14913 Added the context object parameter to the computeInit() method.
14914
14915 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call
14916 initialize() with the context object - which is a FLYSContext or a
14917 CallContext.
14918
14919 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14920
14921 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java:
14922 Check if builder was created properly before using it.
14923
14924 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
14925 Implements now variable provider for XPath expressions.
14926
14927 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
14928 Added new choose/when/otherwise construct similiar to XSLT
14929
14930 <dc:choose>
14931 <dc:when test="$river = 'Mosel'">
14932 <dc:text>Es ist die Mosel.</dc:text>
14933 </dc:when>
14934 <dc:when test="$river = 'Saar'">
14935 <dc:text>Es ist die Saar.</dc:text>
14936 </dc:when>
14937 <dc:otherwise>
14938 <dc:text>Es ist weder Mosel noch Saar.</dc:text>
14939 </dc:otherwise>
14940 </dc:choose>
14941
14942 A 'choose' block can contain a list of 'when's and an optional
14943 'otherwise'. For each 'when' the test attribute is evaluated
14944 as an XPath expression on an empty document. The result of
14945 the evaluation is taken as a boolean value. If its value is
14946 true the control flow is continued inside the corresponding
14947 'when' and the other choose elements are not tested.
14948 If the value is values the testing continues with the next
14949 'when'. If no 'test' expression is evaluated to true, the
14950 control flow continues inside the 'otherwise'. If no 'otherwise'
14951 is given nothing happens at all.
14952
14953 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
14954
14955 * doc/conf/conf.xml: Added a config section for floodmaps. Currently, the
14956 background layer's url and layername is defined here.
14957
14958 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
14959 Read the background layer configuration from conf.xml. Those values are
14960 used to create the WMSLayerFacet.
14961
14962 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
14963
14964 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java:
14965 The background layer facet will no longer have an extent set.
14966
14967 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
14968
14969 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
14970 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java:
14971 Set the extent of the created WMSLayerFacets and i18n its descriptions.
14972
14973 * src/main/resources/messages.properties,
14974 src/main/resources/messages_de_DE.properties,
14975 src/main/resources/messages_en.properties,
14976 src/main/resources/messages_de.properties: Added I18N strings for the
14977 background an river axis layer.
14978
14979 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
14980
14981 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
14982 This facet type has a method to set the extent of a WMS layer. The
14983 extent is written to the facets XML node in toXML() as well.
14984
14985 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
14986
14987 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
14988 the signature of setup() which requires a CallMeta parameter now.
14989
14990 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java,
14991 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: Use
14992 the CallMeta object retrieved in setup() to call initialize(). It is now
14993 able to i18n things.
14994
14995 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
14996
14997 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: New.
14998 Standalone app to debug the datacage template. To use in a maven environment:
14999
15000 -Dmeta.data.template=PATH_TO_META_DATA-TEMPLATE.XML \
15001 -Dmeta.data.parameters=river:Mosel \
15002 -Dmeta.data.output=OUTPUT.XML \
15003 -Dflys.backend.user=DB_USER \
15004 -Dflys.backend.password=DB_PASSWORD \
15005 -Dflys.backend.url=DB_CONNECTION_URL \
15006 -Dexec.mainClass=de.intevation.flys.artifacts.services.meta.App
15007
15008 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15009
15010 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java:
15011 New. First step to factor out the "Datenkorb" logic into a service independent
15012 singleton.
15013
15014 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15015 Uses the "Datenkorb" singleton now.
15016
15017 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
15018
15019 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
15020 Removed "index" property, because it is already existing in parent
15021 class.
15022
15023 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15024
15025 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15026 Improved error handling.
15027
15028 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15029
15030 * src/main/resources/metadata/template.xml: Deleted.
15031
15032 * doc/conf/meta-data-template.xml: New. Was template.xml
15033
15034 * doc/conf/conf.xml: Made meta data template configurable.
15035
15036 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
15037 Load template from configuration not from resources.
15038
15039 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15040
15041 * src/main/resources/metadata/template.xml: s/[a-z]+-id/db-id/
15042 Make database ids identifiable with unique name "db-id".
15043
15044 2011-07-19 Ingo Weinzierl <ingo@intevation.de>
15045
15046 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
15047 Override the toXML() method. Subclasses can now write their own XML
15048 representation.
15049
15050 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java:
15051 New. This ManagedFacet uses an Element (DOM) to store the information
15052 about a facet. The intent of this facet type is to represent a facet
15053 stored in an Collection attribute. Different facets can have different
15054 attributes that we need to parse, but the only thing ManagedFacets need
15055 to do, is to adjust the attributes "active" and "position". So, those
15056 values are set directly on the Element, the other attributes aren't
15057 touched.
15058
15059 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java:
15060 New. This facet is a wrapper for another facet. This subclass of a
15061 ManagedFacet overrides the toXML() method. The XML representation is
15062 defined by the inner facet that is stored as member variable. The
15063 ManagedFacet specific attributes "artifact", "facet", "pos" and "active"
15064 are added manually.
15065
15066 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Uses
15067 the toXML() method to write a facet node into the attribute document.
15068
15069 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Uses
15070 the ManagedDomFacet to save the information of a facet which is
15071 contained in the attribute part of a Collection's DESCRIBE document.
15072
15073 * src/main/java/de/intevation/flys/collections/OutputParser.java: Uses the
15074 ManagedFacetAdapter to save a facet, because we want to keep the
15075 specific facet to be able to write its specific XML representation into
15076 the Collection's DESCRIBE document.
15077
15078 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15079 Adapted the XPath of facets stored in the attribute part of the
15080 DESCRIBE.
15081
15082 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
15083
15084 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
15085 method that returns the Outputs for the Artifact.
15086
15087 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15088 Adapeted the call of OutputParser.
15089
15090 * src/main/java/de/intevation/flys/collections/OutputParser.java:
15091 Simplified the code to read the Outputs of Artifacts. This parser will
15092 now longer parse the DESCRIBE documents of the Artifacts, but query the
15093 Outputs via FLYSArtifact.getOutputs() directly.
15094
15095 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
15096
15097 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
15098 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java:
15099 Adapted the function call of ProtocolUtils.appendOutputModes().
15100
15101 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
15102 Override toXML() to add the URL and layernames to the XML representation
15103 of this facet.
15104
15105 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
15106
15107 * doc/conf/artifacts/wmsbackground.xml,
15108 doc/conf/artifacts/riveraxis.xml: New configurations for an Artifact
15109 that is used as background layer in floodmaps, and an artifact that is
15110 used as layer showing the river axis in a floodmap.
15111
15112 * doc/conf/output-defaults.xml: New file to configure default artifacts
15113 for specific output states. E.g. the floodmap state recommends a
15114 background layer and a layer displaying the river axis. In suche case,
15115 the floodmap state recommends two artifacts for the two layers.
15116
15117 * doc/conf/conf.xml: Added new artifacts/artifact-factories and a Hook to
15118 monitor artifacts (-> CollectionMonitor.java).
15119
15120 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java:
15121 New. This facet is used to represent a layer in a map. So, this facet
15122 stores information about a WMS URL and the layer names provided by this
15123 WMS.
15124
15125 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
15126 facet types for the wmsbackground and riveraxis.
15127
15128 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java,
15129 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java:
15130 New. An artifact and its default state. The intent of these classes is
15131 to generate WMSLayerFacets which represent background layers in maps.
15132
15133 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java,
15134 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: New.
15135 An artifact and its default state. The intent of these classes is to
15136 generate WMSLayerFacets which represent layers that display a river
15137 axis.
15138
15139 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15140 Added the INIT ComputeType.
15141
15142 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
15143 case for the INIT ComputeType while computing data.
15144
15145 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
15146
15147 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
15148 Added a method computeInit() which is called to initialize data/facets
15149 after an artifact has been created.
15150
15151 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Repaired
15152 broken XPath.
15153
15154 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
15155
15156 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
15157 Removed the code to generate new artifacts. Instead of creating new
15158 artifacts automatically, we decided to suggest creating new artifacts
15159 from specific types. Therefore, the DESCRIBE document of the artifacts
15160 is extended with a node that contains recommended artifact types.
15161
15162 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15163 FLYSArtifacts might be setup with the identifier of an other
15164 FLYSArtifact. Subclasses are able to override a method called
15165 initialize(Artifact, GlobalContext). This might be helpful to extract
15166 required values or clone artifacts.
15167
15168 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
15169
15170 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
15171 Adapted the signature of createArtifactContext() - it returns an
15172 instance of GlobalContext now.
15173
15174 2011-07-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15175
15176 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
15177 Debugged the water fill algorithm. Added a lot of logging.
15178
15179 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
15180 Added a text field to give a water level to fill in.
15181
15182 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
15183
15184 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
15185 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved code
15186 to create the output modes based on the given facets to FLYSArtifact. In
15187 addition, FLYSArtifact got a new method that returns a specific input
15188 value as string.
15189
15190 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: New.
15191 This hook monitors the "post-feed" and "post-advance". If the monitored
15192 Artifact's state has configured recommended artifacts, this hook will
15193 create new Artifacts.
15194
15195 TODO: We have to add the UUIDs of the new Artifacts to the DESCRIBE
15196 document of the artifact to let the client know, that there are new
15197 recommended Artifacts.
15198
15199 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: New.
15200 This Artifact is the base class for Artifacts, that represent static
15201 data. E.g. this could be a decoration theme in a chart or a background
15202 layer in the map.
15203
15204 * src/main/java/de/intevation/flys/artifacts/states/OutputState.java: New.
15205 This state might be used as base class for states, that doesn't require
15206 any user input, but only provide static Facets added by a computeFeed()
15207 operation. So, subclasses need to implement computeFeed() only.
15208
15209 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15210
15211 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java:
15212 New. Standalone Swing-App to test cross sections from database without the
15213 hassles of our complete software stack. Runnable from a maven environment:
15214
15215 $ mvn -e \
15216 -Dflys.backend.user=DB_USER \
15217 -Dflys.backend.password=DB_PASSWD \
15218 -Dflys.backend.url=DB_CONNECTION_URL \
15219 -Dexec.mainClass=de.intevation.flys.artifacts.charts.CrossSectionApp \
15220 exec:java
15221
15222 You can set the river to be used with the system property 'river'.
15223 Defaults to 'Mosel'.
15224
15225 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java:
15226 Removed superfluous imports.
15227
15228 2011-07-13 Ingo Weinzierl <ingo@intevation.de>
15229
15230 * doc/conf/artifacts/winfo.xml: The FloodMapState has a new Outputmode
15231 called "floodmap" now.
15232
15233 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: New.
15234 This facet is used to generate WSPLGEN results.
15235
15236 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added
15237 the WSPLGENFacet.
15238
15239 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java:
15240 This state will now generate WSPLGENFacets.
15241
15242 2011-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15243
15244 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java:
15245 Fixed corner case.
15246
15247 2011-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15248
15249 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: New.
15250 fillWater() generates a list of wet lines for a given profile and a
15251 given water level.
15252
15253 2011-07-08 Ingo Weinzierl <ingo@intevation.de>
15254
15255 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
15256 Outputs created while generating the DESCRIBE document will now have the
15257 'type' member set.
15258
15259 * src/main/java/de/intevation/flys/collections/OutputParser.java: Read the
15260 'type' member from DESCRIBE document.
15261
15262 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
15263
15264 * doc/conf/artifacts/winfo.xml: Removed a typo.
15265
15266 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
15267
15268 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java:
15269 DataFacet are now able to store the ID of the state which has created
15270 this Facet.
15271
15272 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
15273 Initialize DataFacets with the ID of this state. This is necessary to
15274 renew the waterlevel data if it is no longer existing in the cache.
15275
15276 2011-07-06 Ingo Weinzierl <ingo@intevation.de>
15277
15278 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: A
15279 report facet can now store the state's id and the artifact's hash value
15280 when it has been created.
15281
15282 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
15283 Initialize the ReportFacet and WaterlevelFacet with state id and hash
15284 information. This has been necessary to retrieve reports and waterlevels
15285 in states after this one - in states that we need to enter for floodmap
15286 parameterization.
15287
15288 2011-07-05 Ingo Weinzierl <ingo@intevation.de>
15289
15290 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java:
15291 Changed the desired UI provider.
15292
15293 2011-07-05 Ingo Weinzierl <ingo@intevation.de>
15294
15295 * doc/conf/artifacts/winfo.xml: Added the option to continue the
15296 waterlevel parameterization with the intent to create flood maps.
15297
15298 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
15299 This state is no longer a final state. The user has the option to
15300 continue with the parameterization for flood maps based on the current
15301 waterlevel. Therefore, this states desires the "continue" UI provider.
15302 Clients should recognice this to just step to the next state or display
15303 a button that lets the user step to the next state manually.
15304
15305 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java,
15306 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java,
15307 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java,
15308 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java,
15309 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java,
15310 src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java:
15311 New. These states are used to parameterize a further calculation type:
15312 flood map.
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: Required strings for the
15318 flood maps states.
15319
15320 2011-07-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15321
15322 Fix(?) for flys/issue114
15323
15324 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
15325 Make guessing a bit more robust.
15326
15327 2011-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15328
15329 Added the math needed to calculate "W-Differenzen" in "Laengsschnitten".
15330 Needs testing!
15331
15332 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
15333 Made it an interface to be usable in more than one inheritance chain.
15334
15335 * src/main/java/de/intevation/flys/artifacts/model/NamedObjectImpl.java:
15336 Implements the NamedObject interface and is the new base class of
15337 WQ and WKmsImpl.
15338
15339 * src/main/java/de/intevation/flys/artifacts/model/WKms.java:
15340 New. Interface to associate kms with ws.
15341
15342 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
15343 Changed the base class to NamedObjectImpl. Renamed getKms(int)
15344 to getKm(int) to make clear it return a single scalar value
15345 and fullfil the WKms interface.
15346
15347 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java:
15348 New. Implements the WKms interface. Intended to be a lightweight
15349 datastore for "zusaetzliche Laengsschnitte" and as results
15350 of the WKmsOperations.
15351
15352 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
15353 Changed base class to NamedObjectImpl.
15354
15355 * src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java:
15356 New. Operations on WKms data.
15357 Currently only the SUBTRACTION operation is implemented. This
15358 one is needed to calculate the "W-Differenzen". The operation
15359 is insensitive about the km directions of the datasets. Missing
15360 values are interpolated linear.
15361
15362 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
15363 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15364 Adjusted to satisfy the signature change of WQKMs.
15365
15366 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
15367
15368 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: New. This
15369 XYSeries stores the style information that should be used to render this
15370 series. These information are stored as raw XML documents. A public
15371 method can be used to apply those style information to a
15372 XYLineAndShapeRenderer.
15373
15374 Note: The only two attributes currently supported by StyledXYSeries
15375 items are "linesize" and "linecolor".
15376
15377 * doc/conf/themes.xml: Added some more basic themes for the four
15378 calculation methods.
15379
15380 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: This
15381 generator now tries to apply themes for all series contained in the
15382 chart. If a series is no instance of StyledXYSeries, the default
15383 renderer is used.
15384
15385 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
15386 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
15387 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
15388 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
15389 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15390 Removed the code that had been introduced to adapt renderers statically.
15391 Now, each of these concrete ChartGenerators instantiates StyledXYSeries
15392 items to put the curves into the chart. Those items contain style
15393 information now!
15394
15395 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
15396
15397 flys/issue135 (Diagramm: Trotz abgeschalteter Themen bleiben Beschriftungen bestehen)
15398
15399 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The way
15400 to store datasets has changed. Until this revision, the concrete
15401 generators managed their own datasets. E.g. the
15402 DischargeLongitudinalSectionGenerator had three datasets: w, q and
15403 corrected w. Now, there are just two datasets, managed by this base
15404 generator - one dataset for the first Y axis and one dataset for the
15405 second Y axis. This makes it easier to remove axes, that have no data to
15406 be displayed. All concrete chart generators have to add their XYSeries
15407 using two methods: addFirstAxisSeries() and addSecondAxisSeries().
15408
15409 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
15410 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
15411 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
15412 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
15413 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15414 Those concrete chart generators no longer manage datasets themself but
15415 they use the two methods described above, to plot the data to the first
15416 or second Y axis.
15417
15418 2011-07-01 Ingo Weinzierl <ingo@intevation.de>
15419
15420 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
15421 Added the option to use a filter to reduce the number of items returned
15422 by this service.
15423
15424 2011-06-30 Ingo Weinzierl <ingo@intevation.de>
15425
15426 flys/issue159 (WINFO: Radiobutton - Ortsauswahl bei "W für ungleichwertigen Abflusslängsschnitt" entfernen)
15427
15428 * doc/conf/artifacts/winfo.xml: Changed the kilometer range input for
15429 calculation 4. This calculation type requires a kilometer range. So,
15430 after choosing the calculation 4, the transition model leads to a state
15431 that just allows the input of a kilometer range with no option to
15432 enter locations.
15433
15434 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java:
15435 New. A base state for the kilometer selection for calculations. The
15436 target of this state is to provide facets for the duration curves.
15437
15438 * src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java:
15439 New. This state is used to enter a kilometer range. The difference to
15440 the LocationDistanceSelect state is, that there is no option to enter
15441 locations.
15442
15443 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
15444 Improved this state to be the base state for calculation ranges.
15445
15446 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java
15447 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java
15448
15449 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
15450 state no longer inherits from RangeState which now is used as base
15451 state for kilometer ranges.
15452
15453 * src/main/resources/messages.properties,
15454 src/main/resources/messages_de_DE.properties,
15455 src/main/resources/messages_en.properties,
15456 src/main/resources/messages_de.properties: Added new i18n strings for
15457 the DistanceSelect state.
15458
15459 2011-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15460
15461 * pom.xml: Downgraded Trove to 1.1-beta-5, because the new
15462 later ones are removed from the maven repos.
15463
15464 The functionality we need is in 1.1 so this downgrade should
15465 cause no problems.
15466
15467 Would be nice if we would support the maintainers of trove to
15468 bring there new versions back into the main maven repos.
15469
15470 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
15471
15472 * pom.xml: Repaired the JBoss repository which place has changed.
15473
15474 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
15475
15476 Tagged RELEASE 2.4
15477
15478 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
15479
15480 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
15481 src/main/java/de/intevation/flys/exports/WstWriter.java:
15482 Append the corrected W column (if existing) to the WST export.
15483
15484 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15485
15486 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
15487 Guessing increaing w is not based on direct neighbors any more.
15488 The second to be compared with is choosen by random of
15489 the values before the first one. This makes the guessing
15490 more robust against 'plateaus' of equal w values.
15491
15492 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15493
15494 * src/main/java/de/intevation/flys/exports/ATWriter.java: Array
15495 for constructing the spline was too large leading to non-increasing
15496 values.
15497
15498 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15499
15500 Fix for flys/issue150
15501
15502 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
15503 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15504 Invert the x axis if its guessed that water is increasing.
15505
15506 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15507
15508 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(guessWaterIncreasing):
15509 Added a method to guess based on a given factor of the size (default 0.05)
15510 if the water levels are increasing. Needed to determine in which direction
15511 the water level curve should be orientated. Based on random to avoid
15512 running over large dataset each time a diagram is generated.
15513
15514 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
15515
15516 flys/issue177 (WINFO: Abflusskurven am Pegel verursachen ein Hängen des Servers)
15517
15518 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
15519 Commented out code to generate time ranges for series names. There
15520 seems to be a problem while loading the discharge tables of a gauge or
15521 while determining the start and/or end time of such discharge tables.
15522
15523 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15524
15525 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace.
15526
15527 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15528
15529 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15530 Removed dead code.
15531
15532 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15533
15534 Fix for flys/issue173
15535
15536 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
15537 Fixed the way the gauge was found for a given interval.
15538 The old way does not work because it was just tested if
15539 the station point was inside the segments which is not
15540 necessarily true. The obvious solution to simply check
15541 the overlapping intervals does not work either because
15542 the gauge ranges touch each other and so more than
15543 one gauge are returned in these cases. The River.maxOverlap()
15544 is now used to find the gauge with the max overlapping
15545 range.
15546
15547 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15548
15549 Fix for flys/issue147
15550
15551 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
15552 Removed the 'kmUp' flag. It was an left over from former
15553 WSP calculations (w/o ref km) leading to wrong results now.
15554
15555 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15556 Don't pass the kmUp flag to the calculation.
15557
15558 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15559 Added debug output to see the value of 'wq_free'.
15560
15561 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15562
15563 Fix for flys/issue86
15564
15565 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15566 The reference gauge for calculations "am Pegel" was determined
15567 wrong.
15568
15569 2011-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15570
15571 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
15572 Conversion w->q was broken. This should fix a number of issues
15573 around "W am Pegel" calculations.
15574
15575 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15576 Issue an error report if a w->q conversion fails.
15577
15578 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15579 The gauge to convert w->q with its discharge table was determined wrong.
15580
15581 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
15582
15583 flys/issue174 (Diagramm: Q-Linie wird bei initialem Laden des Diagramms
15584 anders dargestellt als bei Ansicht auf gesamten Wertebereich)
15585
15586 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15587 The chart will now have upper margins again.
15588
15589 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
15590
15591 flys/issue172 (Diagramm: Ursprung der Diagramme bei Dauerzahlen)
15592
15593 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
15594 Charts of this type will have the lower X value set to "0".
15595
15596 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15597
15598 * src/main/java/de/intevation/flys/exports/ATWriter.java:
15599 Results are now in cm. Made it more robust against corner cases.
15600
15601 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
15602 Removed superfluous import.
15603
15604 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15605
15606 * doc/conf/artifacts/winfo.xml, doc/conf/conf.xml:
15607 Added facet config for AT exports.
15608
15609 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
15610 Added 'at' facet type.
15611
15612 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
15613 Generate AT facets.
15614
15615 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15616
15617 * src/main/java/de/intevation/flys/exports/ATExporter.java: New.
15618 Exporter for AT facets. Needs testing.
15619
15620 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15621
15622 * src/main/java/de/intevation/flys/exports/ATWriter.java: New.
15623 Writer for AT files. New code because our data model differs
15624 from Desktop-FLYS. Needs testing.
15625
15626 2011-06-23 Ingo Weinzierl <ingo@intevation.de>
15627
15628 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
15629
15630 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
15631 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
15632 Moved the method that adjusts the X-axis to include the "0" value from
15633 ComputedDischargeCurveGenerator to DischargeCurveGenerator. Now, both
15634 charts will include the "0" on the X-axis.
15635
15636 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15637
15638 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
15639 Based on WQ now to make it exportable as AT.
15640
15641 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15642
15643 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
15644 New. Base class for WQKms.
15645
15646 TODO 1: make it a base class for WQDay, too,
15647 TODO 2: Generate instances of WQ instead of WQKms in "Abflusskurven"
15648 calculations. This will save memory.
15649
15650 AT exporter will get instances of this class as data model
15651
15652 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
15653 Add default constructor to ease inheritance.
15654
15655 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
15656 Based on WQ now. Removed code allready defined in base class.
15657
15658 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15659
15660 * doc/conf/artifacts/winfo.xml: Add TODOs for error reports
15661 of "Abflusskurven am Pegel". Maybe we don't need them?
15662
15663 * doc/conf/conf.xml: Configure report for each calculated output type.
15664
15665 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
15666
15667 flys/issue164 (Berechnung 4: Umgekehrtes Berechnungsintervall führt zur)
15668
15669 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
15670 Create the items with range information for W and Q which allows the
15671 client to validate the user inserted values.
15672
15673 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15674
15675 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15676 Arguments in filling datastructure were flip. Now
15677 the "Abflusskurve am Pegel" looks correct again.
15678
15679 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
15680 Removed superfluous imports.
15681
15682 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15683
15684 Improved situtation on rendering "Abflusskurve am Pegel". Not
15685 fully working, yet.
15686
15687 * doc/conf/artifacts/winfo.xml: Generate facets for the location path, too.
15688
15689 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Misspelled
15690 the facet which prevented the facets from being to the outputs.
15691
15692 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
15693 Extended to store the hash and the state id of the producing artifact/state
15694 else it results in NPEs because the data is calculated on later (wrong) states.
15695
15696 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
15697 Store the state id and the hash in the facet, too.
15698
15699 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Add two
15700 method to do calculations for a state the artifact is currently not in
15701 and fetching the current state id.
15702
15703 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15704
15705 * doc/conf/artifacts/winfo.xml: Generate facets for "Abflusskurven am Pegel"
15706 Not working by now. :-/
15707
15708 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New facet type
15709 for "Abflusskurven am Pegel"
15710
15711 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Do calculation
15712 in the artifact not in the output generator.
15713
15714 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
15715 Generate the new facets.
15716
15717 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
15718 Fetch data from facet.
15719
15720 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
15721
15722 flys/issue161 (Diagramm: Q-Achse in W-Längsschnitten immer bei Q=0)
15723
15724 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15725 The Q axis (which is the second y axis) initially contains the 0 value.
15726 After a zoom action has taken place, this behaviour is no longer
15727 supported.
15728
15729 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15730
15731 Draw correction curve again.
15732
15733 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
15734 Use correction curve to map plot to axes. Not doing so prevented
15735 the correction curve from being drawn!
15736 Smaller code cleanups and simplifications.
15737
15738 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
15739 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
15740 Added methods to directly access the components w, q and c
15741 at a given index.
15742
15743 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
15744 Attribute access via DOM instead of XPath.
15745
15746 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15747 Code simplification.
15748
15749 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
15750
15751 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
15752
15753 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Splitted
15754 up zooming for x and y axes to be able to override specific axis
15755 zoom behaviour.
15756
15757 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
15758 The lower bound of the x axis (which is the Q axis in such chart) is
15759 always 0.
15760
15761 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
15762
15763 flys/issue90 (Diagramm: Trennung derDiagrammfläche und Achsenaufheben)
15764
15765 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
15766 Added a margin between chart data and chart axes.
15767
15768 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15769
15770 Fix for flys/issue158
15771
15772 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
15773 Checks for right class now.
15774
15775 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15776
15777 Fix for flys/issue154
15778
15779 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
15780 Checks for right class now.
15781
15782 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15783
15784 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15785 Only generate 'outs' if they have facets.
15786
15787 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
15788 'boolean ? true : false' <=> 'boolean'
15789
15790 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
15791
15792 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15793 Added the time-to-live to the DESCRIBE document.
15794
15795 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15796
15797 * doc/conf/artifacts/winfo.xml: Configured states to generate report facets.
15798
15799 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15800
15801 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
15802 Return the report.
15803
15804 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
15805 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
15806 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
15807 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
15808 Generate report facets if there are problems with the calculations.
15809 TODO: Adjust winfo.xml to configure the facets.
15810
15811 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15812
15813 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
15814 New. Generator for calculation reports.
15815
15816 * doc/conf/conf.xml: Added ReportGenerator.
15817
15818 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
15819 Added type 'report'.
15820
15821 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
15822 Specialized facet for serving reports. TODO: Added them to the
15823 calculation states.
15824
15825 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
15826 Looped through CallMeta for i18n purposes. TODO: do i18n
15827
15828 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15829 Removed superfluous import.
15830
15831 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
15832 Added some override annotations.
15833
15834 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15835
15836 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java:
15837 New. Used to transport the data and the error report.
15838
15839 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
15840 src/main/java/de/intevation/flys/artifacts/model/Calculation1.java,
15841 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
15842 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
15843 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java,
15844 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
15845 src/main/java/de/intevation/flys/artifacts/model/Calculation.java,
15846 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
15847 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
15848 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
15849 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
15850 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
15851 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
15852 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
15853 Use the CalculationResult now.
15854
15855 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15856
15857 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
15858 Allow an explicit reference km to enable calculation "am Pegel".
15859
15860 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
15861 If a calculation "am Pegel" is done, take start km of the
15862 calculation range and find the gauge in which range it is located.
15863 Take the station of the gauge as the reference km. If no gauge
15864 is found the calcualtion falls back to calculation "auf freier Strecke".
15865
15866 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15867 Replaced another inefficient attribute extraction via XPath
15868 with direct DOM access.
15869
15870 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15871
15872 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
15873 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
15874 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
15875 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
15876 Removed dead code.
15877
15878 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15879
15880 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java
15881 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
15882 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
15883 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
15884 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
15885 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
15886 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
15887 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
15888 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
15889 Only generate facets when needed.
15890
15891 * src/main/java/de/intevation/flys/collections/OutputParser.java:
15892 Removed more XPath for simply accessing attributes of an element.
15893
15894 * doc/conf/cache.xml: 200 elements in memory for "computed.values" are enough,
15895 LRU as eviction strategy is sufficent.
15896
15897 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
15898 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Use
15899 more 'standard' Java naming conventions.
15900
15901 2011-06-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15902
15903 Merged in the facet-slt branch to bring in the 'facet' feature.
15904
15905 * doc/conf/artifacts/winfo.xml: Fixed some facets.
15906
15907 * doc/conf/cache.xml: Added a "computed.values" cache to store the
15908 results of the WINFO calculations.
15909
15910 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
15911 Add support for index per facet to make them unique and identifiable.
15912
15913 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
15914 New. Inteface to be used to access the facet names of the configuration.
15915
15916 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: New.
15917 A facet to be used to have raw access to the computed data of an artifact.
15918 Useful to export things like CSV and WST.
15919
15920 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: New.
15921 Specialized facet to access the water level data stored in WQKms arrays.
15922
15923 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java: New.
15924 Specialized facet to access the duration data stored in WQDay data structures.
15925
15926 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Facets are
15927 now generated dynamically from the current available ones stored with
15928 the artifact.
15929
15930 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Added
15931 methods computeAdvance() and computeFeed() called if artifact is fed or
15932 adance. This overwritten in subclasses to do the state depending calculations.
15933
15934 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
15935 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
15936 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
15937 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
15938 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: These
15939 states overwrites the computeAdvance() and computeFeed() methods to do
15940 the corresponding WINFO calculations.
15941
15942 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Calls
15943 computeAdvance() and computeFeed() if artifact is fed or advanced. Centralized
15944 the caching mechanism.
15945
15946 * src/main/java/de/intevation/flys/exports/AbstractExporter.java,
15947 src/main/java/de/intevation/flys/collections/AttributeParser.java,
15948 src/main/java/de/intevation/flys/collections/OutputParser.java,
15949 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
15950 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
15951 Adjusted the code to cope with the indices of the facets. Used
15952 DOM to access the attributes instead of XPath. Removed smaller bugs
15953 concerning position generation.
15954
15955 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
15956 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
15957 src/main/java/de/intevation/flys/exports/OutGenerator.java:
15958 Forwarded facet references.
15959
15960 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
15961 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
15962 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
15963 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
15964 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
15965 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
15966 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
15967 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
15968 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
15969 Uses facets to fetch data and generate output now.
15970
15971 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
15972
15973 * doc/conf/artifacts/winfo.xml: Added a new parameter "wq_free" that
15974 determines the mode of calculation 1. If it is "false" (default),
15975 the calculation should be bound to a gauge.
15976
15977 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
15978 method to retrieve the information about the "wq_free" parameter.
15979
15980 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
15981
15982 * doc/conf/artifacts/winfo.xml: Added a facet for corrected W in
15983 computation 4.
15984
15985 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
15986
15987 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
15988 Got rid of namespace in result document.
15989
15990 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
15991
15992 flys/issue77 (Diagramm: Beschriftung der Kurven bei Dauerlinien)
15993
15994 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
15995 Give the curves in the chart names.
15996
15997 * src/main/resources/messages.properties,
15998 src/main/resources/messages_de_DE.properties,
15999 src/main/resources/messages_en.properties,
16000 src/main/resources/messages_de.properties: Added titles for duration
16001 chart curves.
16002
16003 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16004
16005 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
16006 Write top 'Oberkante' and bottom 'Unterkante' to out going XML
16007 if they exist.
16008
16009 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
16010
16011 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
16012 Write the min/max W/Q ranges as art:range elements into the DESCRIBE.
16013
16014 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
16015
16016 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
16017 This state that is used to retrieve locations will now write the
16018 kilometer range of the selected river into the DESCRIBE document.
16019
16020 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16021
16022 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
16023 New. Factored out version of "Wasserspiegellage" calculation.
16024 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
16025
16026 Removed some dead code.
16027
16028 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
16029 Added Override annotation and used quick access method.
16030
16031 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16032 Looped through error reporting use by interpolate.
16033
16034 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16035 Used factored out version of calculation 1. Removed dead code.
16036
16037 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16038
16039 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java:
16040 New. Factored out version of "Abflusskurve".
16041
16042 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16043 Loop errors through w/q at km interpolation.
16044
16045 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16046 Use factored out version of calculation 2.
16047
16048 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16049
16050 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
16051 New. Factored out version of "Dauerzahlen".
16052
16053 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16054 Loop errors through for q->w interpolations.
16055
16056 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
16057 Added constructor to directly create with calculated results.
16058
16059 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
16060 Added method to return the number of problems.
16061
16062 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16063 Use factored out version of calculation 3.
16064
16065 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16066
16067 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
16068 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java,
16069 src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
16070 Added methods to remove NaN values.
16071
16072 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16073
16074 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
16075 New. Base class for calculations. Used to collect problems occuring
16076 during calculation.
16077
16078 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
16079 Extends Calculation now. Looped through the problem reports to
16080 base class.
16081
16082 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
16083 Looped through the problem reports.
16084
16085 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
16086
16087 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
16088 Append the min/max range and a transformation matrix for each axis.
16089
16090 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
16091 Instantiate the InfoGeneratorHelper with a XYChartGenerator instance.
16092
16093 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
16094 Changed the zoom operation. The zoom values defined in the chart request
16095 document are no longer absolute values for a specific axis. Those values
16096 represent percental values for the start and end point of x and y axes.
16097 E.g. a chart has three axes with the following ranges:
16098 - x axis : 0 - 10
16099 - y axis 1: 20 - 40
16100 - y axis 2: 40 - 90
16101 - zoom values for x: 0.1 - 0.9 (10% - 90%)
16102 - zoom values for y: 0.2 - 0.8 (20% - 80%)
16103 The produced chart will have the following ranges:
16104 - x axis : 1 - 9
16105 - y axis 1: 24 - 36
16106 y axis 2: 50 - 80
16107
16108 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
16109
16110 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
16111 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
16112 Map datasets to axes correctly.
16113
16114 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16115
16116 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
16117 Determine the gauges by their station positions. This hopfully
16118 fixes the problem with wrong assigned gauges and invalid segments.
16119
16120 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16121
16122 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
16123 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
16124 Added more debug output.
16125
16126 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
16127
16128 flys/issue103 PART 1 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz)
16129
16130 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
16131 Selected values are formatted with the current locale. The static part
16132 of the DESCRIBE document will now contain i18n formatted numbers.
16133
16134 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
16135
16136 flys/issue93 (WINFO: Benennung der Berechnungsart korrigieren)
16137
16138 * src/main/resources/messages_de_DE.properties,
16139 src/main/resources/messages_de.properties: Changed the name of
16140 calculation 4.
16141
16142 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
16143
16144 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
16145 Made the range determination more robust against NaN values.
16146
16147 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
16148
16149 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16150 The second y axis is set to position "1". It was set to "2" before, but
16151 in that case, there was no position "1".
16152
16153 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16154
16155 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
16156 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
16157 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
16158 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
16159 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
16160 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
16161 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
16162 s@m³/s@m\\u00b3/s@
16163
16164 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16165
16166 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
16167 Only generate an axis element if a axis really exists.
16168
16169 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16170
16171 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
16172 Simpified array swapping.
16173
16174 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16175
16176 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
16177 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16178 Use java.util.List instead of java.util.Vector
16179
16180 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
16181 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
16182 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
16183 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16184 Removed superfluous imports.
16185
16186 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16187
16188 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
16189 createItem() is not abstract any longer to avoid code repetitionin sub classes.
16190
16191 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
16192 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
16193 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
16194 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
16195 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
16196 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
16197 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
16198 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
16199 Removed duplicated code, inserted default constructors and Override annotations.
16200
16201 2011-06-07 Ingo Weinzierl <ingo@intevation.de>
16202
16203 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
16204 Append axes range information to the info document.
16205
16206 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16207
16208 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16209 If feed() fails do not store invalid values in database.
16210
16211 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16212
16213 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
16214 Removed asymmetrical "- 1" from width calculation.
16215
16216 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16217
16218 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
16219 Fixed problem when more than one value per segment are given.
16220
16221 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16222
16223 Refactored version of "Berechnung 4"
16224
16225 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
16226 Added instance fields for a reference point (= location of gauge)
16227 and backup of values (needed for naming).
16228
16229 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
16230 Added a constructor to be created from a WQKms. This is helpful
16231 if a WQKms is replaced by a back jump correction.
16232
16233 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
16234 New. Outfactored version of "W bei ungleichmaessigen Abflusslaengsschnitt".
16235 Much cleaner now and it should have a better handling of the corner
16236 cases.
16237
16238 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16239 Removed the linear interpolation stuff. It is now in Linear. Removed
16240 the LinearRemap interpolation method because it is not needed any
16241 longer. Added a method to interpolate a given km with a given
16242 function.
16243
16244 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16245 Removed the old calc 4 and used the new one.
16246
16247 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
16248 Deleted. Not needed any longer.
16249
16250 * src/main/java/de/intevation/flys/artifacts/math/Function.java:
16251 New. Interface for a uni-variate real function.
16252
16253 * src/main/java/de/intevation/flys/artifacts/math/Identity.java:
16254 New. Implements Function with f(x) = x
16255
16256 * src/main/java/de/intevation/flys/artifacts/math/Linear.java:
16257 New. Implements Function with f(x) = m*x + b
16258
16259 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16260 Factored some stuff out to DoubleUtil. Removed some dead code.
16261 Does some rounding correct.
16262
16263 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: New.
16264 Centralized utils surrounding common double operations.
16265
16266 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
16267 Removed superfluous imports.
16268
16269 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
16270
16271 flys/issue90(Diagramm: Trennung der Diagrammfläche und Achsen aufheben)
16272
16273 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
16274 Determine the ranges of x and y axes. If no zoom ranges are given, we
16275 will determine the min and max xy values in the dataset manually,
16276 because JFreeCharts adds a margin to the left and right of the data
16277 area automatically..
16278
16279 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
16280
16281 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
16282 the chart creation into an own public method. This lets the
16283 ChartInfoGenerator create charts without duplicating code.
16284
16285 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
16286 Limited the possible class for generators to XYChartGenerator. This
16287 enables the ChartInfoGenerator class to do the whole chart creation
16288 stuff itself without outsourcing the code to concrete subclasses.
16289
16290 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
16291 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
16292 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
16293 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
16294 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
16295 Removed the code to generate charts - this is done in ChartInfoGenerator
16296 now.
16297
16298 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
16299
16300 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
16301 methods to extract the x and y ranges from request document.
16302
16303 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
16304 method that zooms the chart to the specified x and y ranges.
16305
16306 2011-06-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16307
16308 * doc/conf/conf.xml: Set collection ttl to 6 hours.
16309
16310 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16311
16312 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
16313 New. Parse segments only once.
16314
16315 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16316 Expose new parser to artifacts. TODO: Use it.
16317
16318 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16319
16320 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16321 Changed interpolation methods to interpolate to an arbitrary position
16322 in a given double result array as a preparation for segment independent
16323 calculation.
16324
16325 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16326 Removed superfluous import.
16327
16328 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
16329 Fixed cause for crashing: Run back too far in some siutations.
16330
16331 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16332 Refactored range code a bit. Needs more work.
16333
16334 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
16335
16336 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
16337 Interchange the lower and upper x value of the chart if the x-axis is
16338 inverted before the matrix values are computed. Now, the matrix is able
16339 to work with charts that have an inverted x-axis.
16340
16341 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
16342
16343 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: New. A
16344 chart info generator generates a document that contains meta information
16345 for a specific chart. Concrete instances of this abstract class need to
16346 instantiate concrete ChartGenerators and dispatch nearly all methods of
16347 an OutGenerator (init(), doOut(), setMaster()) to this instance. The
16348 generate() method is implemented in the ChartInfoGenerator itself. It
16349 creates a chart with help of the ChartGenerator instance and builds a
16350 document that contains meta information of this chart.
16351
16352 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: New.
16353 This helper is used to create the chart info document. At the moment,
16354 the only information that is included in this document is a
16355 transformation matrix to transform image coordinates into chart
16356 coordinates.
16357
16358 NOTE: The transformation matrix creation needs some work to support
16359 charts with inverted X axis.
16360
16361 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
16362 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
16363 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
16364 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
16365 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
16366 Concrete instances of ChartInfoGenerator that create the chart info for
16367 the currently supported chart types.
16368
16369 * doc/conf/conf.xml: Registered new OutGenerators.
16370
16371 2011-05-31 Ingo Weinzierl <ingo@intevation.de>
16372
16373 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16374 Added support for the 'type' paramter of the collection's out()
16375 operation.
16376
16377 2011-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16378
16379 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
16380 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16381 Use an explicit reference km for interpolation now.
16382
16383 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16384
16385 * doc/conf/cache.xml: Introduced cache to store the distance info per river.
16386 This boosts performance in following ab setup from 3.61 to 39.91 requests/secs.
16387
16388 $ ab -c 20 -n 1000 -p distances.xml http://127.0.0.1:8181/service/distanceinfo
16389
16390 $ cat distances.xml
16391 <?xml version="1.0" encoding="UTF-8"?>
16392 <art:river xmlns:art="http://www.intevation.de/2009/artifacts">Elbe</art:river>
16393
16394 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: Added
16395 an iterator result to avoid construction expensive interim lists.
16396
16397 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: Use
16398 the cache if configured.
16399
16400 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16401
16402 flys/issue82
16403
16404 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16405 Only successful interpolations are named.
16406
16407 2011-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16408
16409 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
16410 Make it work independent of river flow direction.
16411
16412 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
16413 Fixed bug in ordering segments
16414
16415 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-enabled
16416 calculation of the back jump correction. Fixed more flow direction issues.
16417
16418 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
16419
16420 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16421 Removed call of XMLDebug class which is not in the version control.
16422
16423 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
16424
16425 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16426 Moved the code part that skips themes right after the part that sets the
16427 master artifact for the OutGenerator. We need this master artifact to
16428 display empty charts - master artifact is used to create titles and
16429 axes.
16430
16431 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
16432
16433 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16434 Deactivated themes are not put into the chart.
16435
16436 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
16437
16438 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
16439 Repaired broken XPath expressions to find the output modes in an
16440 attribute document of a collection.
16441
16442 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: This
16443 writer will now create a document that has a root node art:attribute.
16444 Before these changes, the document's root node was art:outputs which is
16445 part of the attribute document but not the right root node.
16446
16447 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16448 Adapted some XPath expressions and corrected the the process to create
16449 attribute documents.
16450
16451 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16452
16453 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
16454 Made it work independent of from/to order.
16455
16456 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16457 Added method to extract the ranges correctly from data.
16458
16459 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16460 Use the correct ranges. Comment out backjump detection temporarily.
16461
16462 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16463
16464 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
16465 Generate fields for w/q input depend on flow direction.
16466
16467 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16468 Moved km up question out of loop.
16469 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16470
16471 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16472 Take the flow direction into account.
16473
16474 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
16475 Prevent NPE.
16476
16477 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
16478 Allow to be 'from' greater than 'to' in ranges.
16479
16480 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Negate
16481 step if 'from' is greater than 'to'.
16482
16483 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16484
16485 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16486 Round exploded values to a precision of 1e-6.
16487
16488 2011-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16489
16490 Qs are now stored in ranges for each column.
16491
16492 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
16493 Deleted.
16494
16495 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
16496 Was WstValueTableFactory2.
16497
16498 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
16499 node linking bug. Removed dead code.
16500
16501 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16502 Q values are now stored in range trees by each column. The qs of the rows
16503 are removed and the calculations are adjusted. Removed dead code.
16504
16505 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16506
16507 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
16508 Moved cache name to WstValueTableCacheKey. Do not cache null references.
16509
16510 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
16511 Moved cache name into this class.
16512
16513 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16514 Store QRangeTree for each column of value table. TODO: Use them!
16515
16516 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
16517 Intended as a replacement for WstValueTableFactory, but is work in progress.
16518
16519 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
16520 index errors and added methods to dump as graphviz graph.
16521
16522 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
16523
16524 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
16525 Improved the validation of WQ values.
16526
16527 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Use the
16528 correct input data object to determine the selected WQ mode (range or
16529 single input).
16530
16531 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
16532
16533 ISSUE-40 (part I/II)
16534
16535 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
16536 Write default values (values already selected by the user before) of the
16537 input data items into DESCRIBE.
16538
16539 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
16540
16541 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
16542 Removed needless imports.
16543
16544 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
16545
16546 ISSUE-85 (part III/III)
16547
16548 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
16549 Added a static function that returns the kilometer values (double[])
16550 from locations input (whitespace separated double values).
16551
16552 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
16553 the getKms() method. It will now return a computed array of kilometers
16554 if we had inserted a range, or it will return the inserted kilometers if
16555 we had inserted locations.
16556
16557 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16558
16559 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
16560 Moved cache key to separate class.
16561
16562 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
16563 New. The new cache key class.
16564
16565 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16566
16567 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
16568 Model to store the q values of a WST column efficiently. First
16569 building block not to store the q values directly aside the
16570 w values.
16571
16572 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
16573
16574 ISSUE-85 (part I/III)
16575
16576 * doc/conf/artifacts/winfo.xml: Added two further field 'ld_mode' and
16577 'ld_locations' to the range/locations state to track the selected mode
16578 and locations.
16579
16580 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
16581 Added methods to validate the user inserted locations.
16582
16583 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
16584 method to determine of a range or locations have been inserted.
16585
16586 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
16587
16588 ISSUE-62 (part II/II)
16589
16590 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Dump the
16591 artifacts state/data in DEBUG mode in describe().
16592
16593 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
16594 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
16595 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
16596 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
16597 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
16598 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
16599 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
16600 States will no longer store data. The only reason for states storing
16601 StateData is to know about the necessary data for this state. If a State
16602 needs to access the user input for a specific StateData object, it needs
16603 to query the FLYSArtifact which stores the data.
16604
16605 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
16606
16607 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
16608 method to dump the artifacts state(s)/data.
16609
16610 2011-05-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16611
16612 flys/issue84
16613
16614 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
16615 Forget to select wst kind.
16616
16617 2011-05-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16618
16619 flys/issue81
16620
16621 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16622 weights for kms were swapped.
16623
16624 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
16625
16626 Tagged RELEASE 2.3.1
16627
16628 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
16629
16630 * Changes: Prepared changes for the upcoming release.
16631
16632 2011-05-20 Hans Plum <hans@intevation.de>
16633
16634 * NEWS:
16635 Hint to Release 2.3.1. For further information look into module
16636 flys-client/NEWS
16637
16638 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16639
16640 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java (getExplodedValues):
16641 Increment kms array size by one to take the end of range, too.
16642
16643 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16644
16645 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
16646 Sort by rows (should not be necessary).
16647
16648 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16649 Use unsharp km lookup (epsilon = 0.0001). This fixes the problem
16650 that some kms were not found.
16651
16652 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
16653
16654 flys/issue66
16655
16656 * src/main/resources/messages_en.properties: Fixed broken template.
16657
16658 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
16659
16660 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16661 Set the name of the computed discharge curve objects.
16662
16663 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16664 The curves of this chart will now have names that consist of the word
16665 'Discharge Curve', the river name and the kilometer that has been used
16666 for the computation.
16667
16668 * src/main/resources/messages.properties,
16669 src/main/resources/messages_de_DE.properties,
16670 src/main/resources/messages_en.properties,
16671 src/main/resources/messages_de.properties: Added i18n strings for the
16672 computed discharge curves.
16673
16674 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16675
16676 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16677 Added convenience method isQ() to determine if we are
16678 doing Q calculations.
16679
16680 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16681 Reintroduced titles for the "W for unausgeglichene Abfluesse".
16682
16683 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
16684
16685 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
16686 The curves will now have names that consist of the gauge name and its
16687 valid time range.
16688
16689 * src/main/resources/messages.properties,
16690 src/main/resources/messages_de_DE.properties,
16691 src/main/resources/messages_en.properties,
16692 src/main/resources/messages_de.properties: Added i18n strings for the
16693 discharge curves.
16694
16695 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16696
16697 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16698 Removed dead code.
16699
16700 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16701
16702 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16703 Use the correct method to generate kms.
16704
16705 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
16706 Added some logging to test the map in debug mode.
16707
16708 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16709
16710 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
16711 Made getExplodedValues static.
16712
16713 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16714 Use new logic to calculate "W für ungleichwertige Abfluesse".
16715 Not working, yet.
16716
16717 * ChangeLog: Fixed former entry.
16718
16719 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
16720
16721 * doc/conf/artifacts/winfo.xml: Registered the WST export for discharge
16722 longitudinal sections.
16723
16724 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Set the
16725 names of the discharge longitudinal section computation results.
16726
16727 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
16728 The W/Q curves in the chart will now have names.
16729
16730 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
16731 The WstWriter is filled with column names in an own method. So, we are
16732 able to override this process in subclasses.
16733
16734 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
16735 Adapted the column names for the WST export.
16736
16737 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16738
16739 Work on flys/issue69
16740
16741 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16742 Use new logic to calculate "Wasserstand/Wasserspiegellage".
16743 Compared to desktop FLYS are the results are structurally right
16744 but a bit off in the positions after the decimal points.
16745 Maybe a result of the interpolation? Need to debug this.
16746
16747 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
16748
16749 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16750 W and Q curves will now have names based on the defined W or Q values
16751 for the waterlevel computation.
16752
16753 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
16754
16755 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
16756 New. This object is used to give objects a name.
16757
16758 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Inherit
16759 from NamedObject now. Because we need to display names for those objects
16760 in different places.
16761
16762 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The WQKms
16763 objects returned by a waterlevel computation will now have names.
16764
16765 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
16766 Insert the column names for the WSTs into the WstWriter.
16767
16768 * src/main/java/de/intevation/flys/exports/WstWriter.java: The column
16769 names are written into the head of the WSTs now.
16770
16771 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
16772
16773 * src/main/java/de/intevation/flys/artifacts/model/WstLine.java: New. This
16774 class is used to store the W/Q values of a specific kilometer of a WST.
16775
16776 * src/main/java/de/intevation/flys/exports/WstWriter.java: New. A writer
16777 that creates WSTs.
16778
16779 TODO: The header of the WSTs is not finished. The Q descriptions are
16780 missing.
16781
16782 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
16783 Enabled WST exports.
16784
16785 * doc/conf/artifacts/winfo.xml: Registered the WST export for waterlevels.
16786
16787 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
16788
16789 * src/main/java/de/intevation/flys/utils/Formatter.java: New. This class
16790 supports functions to retrieve formatters for specific types of data
16791 used in FLYS.
16792
16793 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
16794 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
16795 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
16796 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
16797 Removed the formatter declaration - the whole formatter stuff is done in
16798 Formatter now.
16799
16800 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
16801
16802 ISSUE-72
16803
16804 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
16805 Repaired broken XPath expressions to extract start and end kilometer.
16806
16807 2011-05-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16808
16809 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16810 Removed the Hibernate loading stuff.
16811
16812 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
16813 New. The Hibernate loading.
16814
16815 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
16816 Use the WstValueTableFactory for loading now.
16817
16818 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
16819
16820 Tagged RELEASE 0.1 aka Version 2.3.0
16821
16822 2011-05-16 Hans Plum <hans@intevation.de>
16823
16824 * NEWS:
16825 New. Giving some user specific perspective to new functionality and
16826 changes. This file references releases dates only; details can be find
16827 in the client module at flys-client.
16828
16829 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16830
16831 First step to calculate "W fuer ungleichwertige Abfluesse" correctly.
16832 flys/issue55
16833
16834 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
16835 New. Remaps "gleichwertige" Q values to the corresponding
16836 "ungleichwertige" Q values depending on km.
16837
16838 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16839 Remap the Q values "ungleichwertig" depending on the
16840 "gleichwertige" ones.
16841
16842 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16843
16844 First step to fix flys/issue69
16845
16846 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
16847 New code path to implement the calculation of "Wasserstand/Wasspiegellage"
16848 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code.
16849
16850 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
16851
16852 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes
16853 file to get to know about the changes of the version numbers.
16854
16855 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
16856
16857 ISSUE-37
16858
16859 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This
16860 state would be happy if there is a UI provider called "river_panel".
16861
16862 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
16863
16864 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
16865 methods that return the requested chart size as integer array [width,
16866 height]. The requested size is read from the incomding request document.
16867
16868 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size
16869 of a chart is no longer static. The requested size is fetched using
16870 ChartGenerator.getSize().
16871
16872 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
16873
16874 ISSUE-52
16875
16876 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16877 The X-Axis of such a chart is inverted, if the head of the river is not
16878 at kilometer 0. This type of charts always have the head of the river at
16879 the left side.
16880
16881 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16882
16883 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
16884 Make incoming XML symmetric to DistanceInfoService.
16885
16886 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
16887
16888 ISSUE-47
16889
16890 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
16891 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
16892 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
16893 Adjusted temporarily the color of the W, Q and corrected W curves to
16894 distinguish each other.
16895
16896 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
16897
16898 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
16899 Adjusted the plot of xy charts - the gridlines are displayed now.
16900
16901 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
16902
16903 ISSUE-53
16904
16905 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
16906 Added a method that returns the preferred locale based on the available
16907 locales of the server and the desired locales of the request (CallMeta).
16908
16909 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
16910 method that creates a number formatter with minimum and maximum digits.
16911
16912 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
16913 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
16914 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
16915 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
16916 Formatted the number values of the CSV exports.
16917
16918 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
16919
16920 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java:
16921 New. A data structure that enables us to save a data triple: a range
16922 that consist of lower and upper double value and a set of values that
16923 belong to this range.
16924
16925 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
16926 Implemented the validation of W/Q values.
16927
16928 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
16929
16930 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New
16931 method to retrieve i18n messages based on keys.
16932
16933 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
16934 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
16935 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
16936 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
16937 Added headers for CSV exports.
16938
16939 * src/main/resources/messages.properties,
16940 src/main/resources/messages_de_DE.properties,
16941 src/main/resources/messages_en.properties,
16942 src/main/resources/messages_de.properties: Added new i18n strings for
16943 CSV headers.
16944
16945 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16946
16947 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
16948 Fetches river name from incoming XML document. If no river is given all
16949 infos about all rivers are listed.
16950
16951 * src/main/resources/metadata/template.xml: Templates honors the 'river'
16952 parameter.
16953
16954 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
16955 Extended to pass parameters to the templating. Added support for
16956 type conversion.
16957
16958 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
16959 Take parameters as an initial stack frame.
16960
16961 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java:
16962 New. Converts types off stacked variables.
16963
16964 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
16965
16966 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
16967 method to add subtitles to charts. The implementation in this class does
16968 not add any subtitle. Concrete subclasses may override this method to
16969 add some.
16970
16971 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
16972 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
16973 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
16974 Add subtitles to charts.
16975
16976 * src/main/resources/messages.properties,
16977 src/main/resources/messages_de_DE.properties,
16978 src/main/resources/messages_en.properties,
16979 src/main/resources/messages_de.properties: Added i18n templates for
16980 compound messages (chart subtitles).
16981
16982 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
16983
16984 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
16985 Added new methods to retrieve translated compound messages.
16986
16987 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
16988
16989 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
16990 method to set the master artifact that should be used for some special
16991 operations.
16992
16993 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
16994 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
16995 Implement the setMasterArtifact() method of the interface.
16996
16997 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
16998 Call OutGenerator.setMasterArtifact().
16999
17000 NOTE: The determination of the master artifact needs to be implemented!
17001
17002 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
17003
17004 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
17005 hard coded dev code that defined a WQ mode.
17006
17007 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17008
17009 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
17010 Stripped ugly extra whitespace from output introduced by
17011 templating.
17012
17013 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17014
17015 * src/main/resources/metadata/template.xml: Added forgotten
17016 columns of fixation WSTs.
17017
17018 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
17019
17020 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
17021 method to retrieve i18n strings.
17022
17023 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
17024 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
17025 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
17026 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17027 Enabled i18n support for chart title and axes labels.
17028
17029 * src/main/resources/messages.properties,
17030 src/main/resources/messages_de_DE.properties,
17031 src/main/resources/messages_en.properties,
17032 src/main/resources/messages_de.properties: Added i18n strings for the
17033 chart types above.
17034
17035 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
17036
17037 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
17038 New. This OutGenerator exports the data of a discharge longitudinal
17039 section computation.
17040
17041 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter.
17042
17043 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the
17044 discharge_longitudinal_section state.
17045
17046 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17047
17048 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
17049 Added code to make back jump correction work with both
17050 potential flow directions.
17051
17052 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17053
17054 * src/main/resources/metadata/template.xml:
17055 Added data cage configuration for 'Längsschnitt'.
17056
17057 2011-05-06 Ingo Weinzierl <ingo@intevation.de>
17058
17059 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge
17060 longitudinal sections.
17061
17062 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A
17063 derived dataset to store W/Q values with corrected Ws for a kilometer
17064 range.
17065
17066 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new
17067 methods and a new constructor to initialize this data object with a
17068 predefined set of values.
17069
17070 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
17071 methods to retrieve the W/Q values for the 'discharge longitudinal
17072 section' computation.
17073
17074 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New
17075 methods to retrieve and compute data used for the 'discharge
17076 longitudinal section' computation.
17077
17078 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
17079
17080 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
17081 Bugfix: just write the ranges of gauges into the DESCRIBE if the
17082 'wq_values' data item is required.
17083
17084 * src/main/resources/messages.properties,
17085 src/main/resources/messages_de_DE.properties,
17086 src/main/resources/messages_en.properties,
17087 src/main/resources/messages_de.properties: Added i18n messages used in
17088 the DESCRIBE of the WQAdapted state.
17089
17090 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
17091
17092 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17093 Changed the title of the y-axis (now 'W [NN+m]').
17094
17095 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
17096
17097 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the
17098 output state for creating 'discharge longitudinal section' charts.
17099
17100 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
17101 method that returns all gauges of the selected river based on a the
17102 given kilometer range.
17103
17104 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New.
17105 This state creates a set of elements for the DESCRIBE that consist of a
17106 tuple of kilometer values. The number of elements depend on the number
17107 of gauges intersected by the given kilometer range.
17108
17109 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
17110 New. This state is the output state that is reached after the 'discharge
17111 longitudinal section' computation has been chosen.
17112
17113 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
17114
17115 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default
17116 step width between two kilometers added - if no step width is given,
17117 this default width is used.
17118
17119 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
17120
17121 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17122 Fixed a potential NullPointerException if there is just a single
17123 kilometer given to create a longitudinal section.
17124
17125 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17126
17127 * pom.xml: Added http://repository.jboss.org/maven2 repo
17128 to fix flys/issue30
17129
17130 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17131
17132 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17133 To make diagram generation possible ws are now generated from qs
17134 because they are many ws having different qs.
17135
17136 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
17137
17138 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
17139 Fetch the WQ data from WINFO artifact and write those values into the
17140 CSV export.
17141
17142 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
17143
17144 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
17145 methods to compute and retrieve the data for discharge curves (computed).
17146
17147 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17148 Fetch the computed discharge curve data from WINFOArtifact and add the
17149 values into the JFreeChart dataset.
17150
17151 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
17152
17153 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable
17154 the WINFO artifact for computing discharge curves.
17155
17156 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge
17157 curves and exports for its data.
17158
17159 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
17160 New. This state is reached if the user chose the computed discharge
17161 curve.
17162
17163 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
17164 New. This is only a stub implementation at the moment. This
17165 OutGenerator should create computed discharge curves later. It extends
17166 the DischargeCurveGenerator which should do the same stuff for discharge
17167 curves for gauges.
17168
17169 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
17170 New. This is only a stub implementation at the moment. This OutGenerator
17171 should create the exports of the discharge curve computation.
17172
17173 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
17174
17175 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration
17176 curve state (CSV export).
17177
17178 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve
17179 computations.
17180
17181 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New.
17182 This abstract OutGenerator represents the base class for exporting
17183 computed data. Currently, the CSV export is supported.
17184
17185 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved
17186 the most code to export to CSV into the AbstractExporter.
17187
17188 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
17189 New. This exporter exports the computed data of a duration computation.
17190
17191 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
17192
17193 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17194 Modified a wrong debug statement which would confuse the user.
17195
17196 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
17197
17198 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel
17199 state (CSV export).
17200
17201 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels.
17202
17203 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New.
17204 This OutGenerator exports the data of a waterlevel computation. Note:
17205 It is necessary to specify the desired facet (e.g.
17206 'waterlevel_export.csv').
17207
17208 * pom.xml: Added a dependency to OpenCSV.
17209
17210 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
17211
17212 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17213 Introduced an "export" output target. If the target is "export", a
17214 facet (read from the incoming xml document) is a necessary parameter
17215 that determines which facets are written to the output.
17216
17217 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
17218
17219 * src/main/resources/messages_en.properties: Bugfix: replaced german
17220 string (copy & paste mistake).
17221
17222 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
17223
17224 * src/main/resources/messages.properties,
17225 src/main/resources/messages_de_DE.properties,
17226 src/main/resources/messages_en.properties,
17227 src/main/resources/messages_de.properties: Added new i18n strings for
17228 for the location selection.
17229
17230 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
17231
17232 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
17233 New. An OutGenerator for creating duration curves.
17234
17235 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A
17236 model class to store necessary data for creating W and Q facets of a
17237 duration curve. This model stores W, Q and Days.
17238
17239 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
17240 Added a function to retrieve tuples of (day, q) based on a given gauge -
17241 these tuples are necessary for creating duration curves.
17242
17243 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
17244 methods to compute and retrieve the data necessary for creating duration
17245 curves.
17246
17247 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
17248 Bugfix: improved the access to the location array (avoid
17249 NullPointerException).
17250
17251 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves.
17252
17253 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17254
17255 * contrib/visualize-transitions.xsl: State quoting was done wrong.
17256
17257 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
17258
17259 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the
17260 final state for creating duration curves.
17261
17262 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
17263 New. This state should be reached to just insert an array of locations.
17264
17265 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
17266 New. This state is reached if the duration curve calculation is
17267 selected.
17268
17269 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted
17270 getDistance() so that it takes care on inserted locations - not just
17271 inserted ranges.
17272
17273 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17274
17275 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
17276 Flush/persist caches at program exists.
17277
17278 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17279 Commented out too eloquent debug output.
17280
17281 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
17282
17283 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
17284 Uses the methods of FLYSArtifact to retrieve the necessary information
17285 rivername and selected distance.
17286
17287 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17288
17289 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17290 Added interpolateW method to take reference to result ws array
17291 as an argument to avoid expensive array allocations in km iterating
17292 loops.
17293
17294 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
17295 Added a constructor to create backing trove datastructure
17296 with the right capacity.
17297
17298 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17299 Move allocation of result ws out of km loop.
17300
17301 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
17302
17303 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ
17304 selection state. Those items are necessary to store the information
17305 about the selected mode (range/single selection) and the values of the
17306 single selection.
17307
17308 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If
17309 there is no value for a data item, this item is not written into the
17310 static DESCRIBE part.
17311
17312 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
17313 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
17314 Renamed the method to validate upper and lower values.
17315
17316 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
17317 state can now handle values inserted in the single selection. Therefore,
17318 new validate methods has been added.
17319
17320 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
17321 methods getWs() and getWs() take care on the values inserted in the
17322 single insert mode of the client which enables the user to insert single
17323 W and Q.
17324
17325 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17326
17327 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
17328 Repaired getQForW() by calculating indices on right dimension.
17329
17330 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
17331
17332 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
17333 methods for retrieving selected W values (getWs()).
17334
17335 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
17336 method for retrieving waterlevel data takes care on selected Ws, now.
17337 The selected Ws are transformed using the DischargeTables.getQForW()
17338 into Q values.
17339
17340 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
17341
17342 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
17343 Removed an unused parameter 'result' of getQForW().
17344
17345 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
17346
17347 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed
17348 the getDataset() method and replaced it with a addDataset() method.
17349 On this way, concrete subclasses of this OutGenerator can have multiple
17350 datasets (e.g. different datasets for W and Q). This abstract method is
17351 called after the chart generation is finished.
17352
17353 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
17354 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
17355 Both classes implement the addDataset() method. The
17356 LongitudinalSectionGenerator has already multiple datasets for W and Q.
17357 Both are added to the chart - both have an own range axis.
17358
17359 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17360
17361 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17362 Use the cache for the wst value table if configured.
17363
17364 * doc/conf/cache.xml: Choose a more precise name for the
17365 wst value table cache.
17366
17367 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17368
17369 * pom.xml: Added dependency to Ehcache. Apache 2.0 license.
17370
17371 * doc/conf/conf.xml: Added configuration of ehcache.
17372
17373 * doc/conf/cache.xml: New. Cache configurations.
17374
17375 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
17376 New. Factory to access caches.
17377
17378 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17379
17380 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17381 Forgot to add.
17382
17383 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
17384 New. Given a database connection and a XML template it generates
17385 an output with meta data about the database.
17386
17387 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
17388 New. Holds prepared statements optimized to be run in the stack of
17389 contextes.
17390
17391 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
17392 New. Model to hold a hierarchical scope of variables.
17393
17394 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
17395 New. Stores data set fetched from a sql select to be iterated in
17396 a context.
17397
17398 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
17399 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17400 Removed superfluous imports.
17401
17402 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17403
17404 * doc/conf/conf.xml: Added meta data service.
17405
17406 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
17407 Stub for the meta data service.
17408
17409 * src/main/resources/metadata/template.xml: Initial template for
17410 the meta data service.
17411
17412 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
17413
17414 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17415 Bugfix: Now, curves for Q values are drawn into a longitudinal section
17416 chart as well. Therefore, it was necessary to change the datastructure
17417 of the inner class ThemeList that stores all themes included in a chart
17418 in an ordered list (stored in a java.util.Vector now).
17419
17420 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
17421
17422 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An
17423 abstract base class for ChartGenerators that create XY charts.
17424
17425 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
17426 Sourced the generate() method out to the XYChartGenerator.
17427
17428 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17429 Implemented the methods to add W and Q facets to the chart.
17430
17431 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
17432
17433 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved
17434 the calculation of the step with for ranges.
17435
17436 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
17437
17438 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a
17439 method that returns the number of elements stored in the data pool.
17440
17441 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17442
17443 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
17444 Added a get() method which takes destination array as an
17445 argument.
17446
17447 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
17448
17449 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the
17450 data structure to store w, q and kms values from List<Double> to
17451 TDoubleArrayList which stores native double values instead of big
17452 Double values.
17453
17454 * pom.xml: Added the GNU Trove dependency.
17455
17456 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
17457
17458 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the
17459 name a the requested facet to doOut(). Concrete generators should just
17460 create output for this facet now.
17461
17462 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
17463 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
17464 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
17465 Adapted the method signature of doOut().
17466
17467 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17468 Adapted the method call of OutGenerator.doOut().
17469
17470 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
17471
17472 * doc/conf/themes.xml: Added mappings for the facets
17473 longitudinal.section.w and longitudinal.section.q.
17474
17475 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
17476
17477 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some
17478 methods to retrieve necessary information for computing the data of a
17479 waterlevel.
17480
17481 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
17482 methods to compute and retrieve the data of a waterlevel computation.
17483
17484 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
17485
17486 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This
17487 model class represents a pool of data triples that consist of W, Q and
17488 Kms information. This class might be used to compute data for creating
17489 longitudinal section curves (which are based on those W, Q and Kms
17490 values).
17491
17492 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
17493
17494 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17495 Bugfix: Removed endless loop and a bug while iterating over Hibernate
17496 results.
17497
17498 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
17499
17500 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
17501 New. An OutGenerator that creates longitudinal section curves.
17502
17503 NOTE: This is just the stub - the out creation needs to be implemented!
17504
17505 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator.
17506
17507 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
17508
17509 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section.
17510
17511 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
17512
17513 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New.
17514 This state should be reached if the 'calc.surface.curve' calculation
17515 method has been chosen.
17516
17517 * doc/conf/artifacts/winfo.xml: Modified a transition and added the
17518 WaterlevelState. This state is reached if the 'calc.surface.curve'
17519 calculation method has been chosen. It currently has 1 output - a
17520 longitudinal section that is not implemented yet!
17521
17522 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
17523
17524 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java:
17525 New. This transition is valid if the a data object of the current
17526 artifact equals/notequals a configured value in the transition model.
17527
17528 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
17529
17530 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
17531 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes:
17532 - Adapted the parameters of the isStateReachable() call - added the
17533 artifact and the current state.
17534 - Append the outputs of a current state if the state is filled with
17535 valid data.
17536
17537 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
17538
17539 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
17540 Added the missing init() method that has been introduced in the
17541 interface some commits ealier.
17542
17543 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
17544 Call init() after a Transition has been created.
17545
17546 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
17547
17548 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
17549 Bugfix: Introduced a <art:outputs> node in the attribute document of a
17550 Collection that contains further <art:output> nodes - instead of having
17551 multiple <art:output> nodes at toplevel of the document.
17552
17553 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17554 Adapted the XPath to retrieve the outputs in the attribute document of a
17555 Collection.
17556
17557 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17558
17559 * contrib/visualize-transitions.xsl: Added to create a
17560 Graphviz digraph out of the config.xml. Usage:
17561
17562 $ xsltproc --stringparam base-dir ../doc/conf/ \
17563 contrib/visualize-transitions.xsl \
17564 doc/conf/conf.xml > transitions.dot
17565
17566 $ dot -Tsvg -o transitions.svg transitions.dot
17567
17568 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
17569
17570 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
17571 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
17572 If no data has been inserted so far, an IllegalArgumentException is
17573 thrown.
17574
17575 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
17576
17577 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java::
17578 A lot of new methods to retrieve the theme of a facet - used while
17579 creating the output of a facet/artifact. If a facet has no theme yet, it
17580 is initialized.
17581
17582 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
17583
17584 * src/main/java/de/intevation/flys/collections/AttributeParser.java,
17585 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed
17586 useless imports.
17587
17588 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
17589
17590 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An
17591 abstract OutGenerator that might be used to create chart output. Some
17592 basic things that are equal in all charts should be done here!
17593
17594 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
17595 This OutGenerator no longer implements the OutGenerator directly, but it
17596 extends the ChartGenerator now.
17597
17598 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
17599
17600 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17601 Restructured the out() operation of a collection: Now, we collect a list
17602 of artifacts/facets and use this for the OutGenerator. Its doOut()
17603 method gets the attribute of an artifact - the position and the active
17604 state is managed by the Collection itself.
17605
17606 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
17607
17608 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New.
17609 a specialized facet that stores information about its position and its
17610 state (active/inactive) in an output of a collection.
17611
17612 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New.
17613 This parser takes the attributes (XML) of a collection and extracts the
17614 contained outputs with its facets. The result is a Map<String, Output>.
17615
17616 * src/main/java/de/intevation/flys/collections/OutputParser.java: New.
17617 This parser is used to query the artifact's DESCRIBE and to extract the
17618 supported outputs. The result is a Map<String, Output>.
17619
17620 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New.
17621 This writer merges the outputs contained in an attribute of a collection
17622 with the outputs of a collection's artifacts.
17623
17624 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
17625 The attributes of a collection are written into its DESCRIBE document
17626 now. The OutputParser and AttributeParser are used to read the supported
17627 attributes by the collection and its artifacts - the AttributeWriter is
17628 used to merge both attributes and create a final attribute document.
17629
17630 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
17631
17632 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java,
17633 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
17634 The facet-2-theme mappings are initialized at startup and stored in the
17635 FLYSContext.
17636
17637 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a
17638 function that retrieves a theme from FLYSContext based on its name.
17639
17640 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17641
17642 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17643 Corrected a silly c&p mistake.
17644
17645 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17646
17647 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
17648
17649 Implementation of the "Ruecksprungkorrektur" to be done in
17650 "W fuer angepassten Abflusslaengschnitt".
17651
17652 All tests show the expected results. In some corner cases the
17653 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur"
17654 has some definition shortcomings:
17655
17656 a - What should happend when you cannot find point 2 because
17657 you cannot step back one quarter from point 3 because there
17658 is no data there any more (river too short in this direction)?
17659 The implemented algorithm raises point 3' only to an
17660 according factor. E.g. If you can step back the whole quarter
17661 distance the elevation is the full quarter. If you can
17662 step back only the half of the quarter the elevation is
17663 only an eighth.
17664
17665 b - If the water heights between point 2 and 3 are constant then
17666 the algorithm will produce a spline interpolation that
17667 lowers those values. Is this intended?
17668
17669 For real data the back jumps are expected to be more in the middle
17670 of the distance ranges so the corner cases are maybe not so
17671 important.
17672
17673 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
17674 Removed superfluous import.
17675
17676 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
17677
17678 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug
17679 code that has been commited by accident.
17680
17681 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
17682
17683 * doc/conf/themes.xml: New. A first small theme configuration.
17684
17685 * doc/conf/conf.xml: Added a link to the theme configuration.
17686
17687 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
17688 Defined a key that is used to store a themes map in the FLYSContext.
17689
17690 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
17691 The theme configuration is read at startup and the themes are stores in
17692 the FLYSContext.
17693
17694 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
17695
17696 * src/main/java/de/intevation/flys/themes/Theme.java,
17697 src/main/java/de/intevation/flys/themes/DefaultTheme.java:
17698 New. The interface and its default implementation that represents themes
17699 used to style charts and maps.
17700
17701 * src/main/java/de/intevation/flys/themes/ThemeField.java,
17702 src/main/java/de/intevation/flys/themes/DefaultThemeField.java:
17703 New. The interface and its default implementation that represents fields
17704 in themes. A theme might be "Lines" and one of its field might be
17705 "Color" or "Size".
17706
17707 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory
17708 that creates new themes based on a theme configuration.
17709
17710 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17711
17712 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17713 Implementation of "Abflusskurve/Abflusstafel" calculation.
17714
17715 Added method interpolateWQ() which takes an km and results in a
17716 tuple of two double arrays containing the w/q values interpolated
17717 between the surrounding w/q values of the table.
17718 w values are interpolated linear, q values with a cubic spline.
17719
17720 Drawing w over q gives you the discharge table at the given km.
17721
17722 !!! This code needs testing !!!
17723
17724 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17725
17726 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0)
17727
17728 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17729
17730 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
17731 Fix problem when sorting by q (copied w instead of q).
17732
17733 2011-04-20 Ingo Weinzierl <ingo@intevation.de>
17734
17735 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
17736 Fixed broken HQL statement.
17737
17738 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17739
17740 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17741 add a method interpolateW() which takes an array of
17742 q values and returns an equal sized array of w values.
17743 This is essentially the "Wasserstand/Wasserspiegellagen" calculation
17744 of desktop FLYS.
17745
17746 If you want to do a calculation with given w values you have
17747 to convert the w values with DischargeTables.getQForW() first.
17748
17749 !!! This code needs heavy testing !!!
17750
17751 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17752
17753 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
17754 We need a getQForW() method and not getWForQ() because when
17755 doing a "Wasserstand/Wasserspiegellagen" calculation with given
17756 w values these values need to be translated to q values with
17757 the master discharge table.
17758
17759 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17760
17761 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
17762 Sorting of q values was done wrong.
17763
17764 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
17765
17766 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
17767 Ordered the list of annotations returned by this factory based on its
17768 range.
17769
17770 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
17771
17772 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
17773 New. This service returns an XML document that includes the main values
17774 of a gauge based on a river name, a start and an end point.
17775
17776 * doc/conf/conf.xml: Registered the MainValuesService.
17777
17778 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
17779
17780 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
17781 A factory that provides methods to return MainValues.
17782
17783 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17784
17785 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
17786 Added static method getWForQ() to interpolate a w value for
17787 a given q value based on a given discharge table.
17788
17789 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17790
17791 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
17792 Added convenience constructors/methods to ease the access to the master
17793 discharge table of a gauge.
17794
17795 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17796
17797 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17798 Moved the query complexity into view 'wst_value_table' and
17799 used this instead.
17800
17801 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17802
17803 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
17804 Fetches w/q value tables from the backend. TODO: Move this
17805 to the backend and use a view.
17806
17807 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
17808
17809 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
17810 the error key that is thrown if no input data was found so that the key
17811 is usable for GWT's i18n mechanism.
17812
17813 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
17814
17815 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
17816 The inserted river is validated now (overrides validate() of
17817 DefaultState).
17818
17819 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
17820
17821 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
17822 The inserted calculation method is validated now (overrides validate()
17823 of DefaultState).
17824
17825 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
17826
17827 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17828 The input data of feed() are validated using the DefaultStates
17829 validate() method.
17830
17831 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
17832 New method validate() that needs to be overidden by concrete subclasses.
17833 It should return true, if the data of the State is fine, otherwise it
17834 should raise an exception.
17835
17836 NOTE: The exceptions are not translated in the server but in the client!
17837
17838 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New.
17839 This abstract class exists to provide some methods for handling ranges.
17840 Currently, there is a method that validates a given range based on
17841 min/max values.
17842
17843 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
17844 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
17845 Implemented input data validation for ranges.
17846
17847 NOTE: The input validation of concrete values has not been implemented
17848 yet!
17849
17850 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
17851
17852 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
17853 Removed debug code that has been commited by accident :-/
17854
17855 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
17856
17857 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
17858 getGauge() method returns the first gauge based on the given start and
17859 end point of the river.
17860
17861 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
17862 Fixed potential bugs: if no gauge could be determined, the default
17863 values for W and Q are the minimum and maximum double values.
17864
17865 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
17866
17867 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills
17868 the DESCRIBE with default values for W and Q.
17869
17870 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
17871
17872 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
17873 New. Returns Wst object - based on a river.
17874
17875 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
17876
17877 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now
17878 provides some methods that return some basic objects inserted while
17879 parameterization: River, Gauge and so on.
17880
17881 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
17882
17883 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
17884 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
17885 Bugfix: Repaired broken imports of the SessionHolder.
17886
17887 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
17888
17889 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
17890 Moved this class to flys-backend.
17891
17892 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
17893 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
17894 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
17895 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java,
17896 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
17897 Adapted imports of the SessionHolder.
17898
17899 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17900
17901 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
17902 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
17903 Acquire/release sessions in services to avoid db connection leaks.
17904
17905 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
17906
17907 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
17908 Changed some method signatures - added a reference to the owner
17909 Artifact.
17910
17911 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
17912 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
17913 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
17914 Modified method signatures based on the changes in DefaultState.
17915
17916 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
17917 Added default values to the dynamic part of DESCRIBE.
17918
17919 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
17920
17921 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
17922 Added a function that returns a River object based on a given river
17923 name.
17924
17925 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17926
17927 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
17928 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
17929 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
17930 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
17931 Static methods are using the SessionHolder, too.
17932
17933 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
17934
17935 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
17936 Added the setup() method that has been added to the interface
17937 description in the last commits.
17938
17939 * doc/conf/conf.xml: Registered the SessionCallContextListener as
17940 CallContext.Listener.
17941
17942 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
17943
17944 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
17945 Bugfix: Call correct method to retrieve an instance of
17946 SessionFactoryProvider.
17947
17948 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
17949
17950 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
17951 New. Contains thread local session holder for hibernate sessions.
17952
17953 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
17954 Uses session from SessionHolder.
17955
17956 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
17957 Interacts with SessionHolder now.
17958
17959 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
17960 Removed superfluous import.
17961
17962 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
17963
17964 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
17965 Implementation of a CallContext.Listener to open/close Hibernate
17966 Sessions for each request.
17967
17968 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
17969
17970 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
17971 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
17972 Some modifications related to the last commit - modification of the
17973 describe() signature of a State.
17974
17975 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
17976
17977 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java:
17978 Removed. We do not need a state to select a gauge - the selection takes
17979 place by choosing a start and an end point.
17980
17981 2011-04-13 Ingo Weinzierl <ingo@intevation.de>
17982
17983 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
17984 Bugfix: added missing label node to root node and a namespace to the
17985 data node.
17986
17987 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
17988
17989 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
17990 The name of the artifact 'winfo' is written into the DESCRIBE document
17991 now. We need this to have a proper way to distinguish between different
17992 artifacts in the UI.
17993
17994 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
17995
17996 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix:
17997 States are filled with data before they describe themself.
17998
17999 2011-04-11 Ingo Weinzierl <ingo@intevation.de>
18000
18001 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
18002 New. A factory that returns the annotations of a specific river.
18003
18004 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
18005 New. This service provides a document that contains information about
18006 distances of a river.
18007
18008 * doc/conf/conf.xml: Registered the DistanceInfoService.
18009
18010 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
18011
18012 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18013 This collection overrides the out() operation now. The incoming request
18014 document is read and the related OutGenerator is used to create the
18015 output.
18016
18017 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
18018 the code to create discharge curves. It has moved to the
18019 DischargeCurveGenerator which now does this work.
18020
18021 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
18022
18023 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The
18024 generate() method throws an IOException now.
18025
18026 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
18027 New. This OutGenerator creates discharge curves.
18028
18029 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
18030
18031 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
18032 the visibility of the getData() method. It's now public, because the
18033 OutGenerator needs an artifact's data.
18034
18035 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18036
18037 * src/**/*.java: Removed trailing whitespace.
18038
18039 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18040
18041 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18042 Make project compilable again by
18043 commenting out a not existing XMLDebug reference.
18044
18045 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
18046
18047 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18048 Added code to parse the configured OutGenerators and to save them (in a
18049 map) in the FLYSContext.
18050
18051 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
18052 Added a key that is used to save the OutGenerators Map in the context.
18053
18054 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
18055
18056 * src/main/java/de/intevation/flys/exports/OutGenerator.java:
18057 New. This interface is used to generator different types of output.
18058 ArtifactCollections will make use of this interface to create a
18059 collected output of all its artifacts.
18060
18061 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
18062
18063 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18064 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase
18065 operations instead.
18066
18067 * TODO: Removed 'remove Backend reference' TODO.
18068
18069 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
18070
18071 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the
18072 discharge curve output mode. This output now provides three facets - W,
18073 Q and the curve itself.
18074
18075 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
18076
18077 Tagged RELEASE 0.1
18078
18079 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
18080
18081 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO
18082 artifact configuration.
18083
18084 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
18085
18086 * src/main/resources/messages_de_DE.properties,
18087 src/main/resources/messages_de.properties: Changed a german string.
18088
18089 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
18090
18091 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
18092 Modified the available calculation modes and its order in the DESCRIBE
18093 document.
18094
18095 * src/main/resources/messages.properties,
18096 src/main/resources/messages_de_DE.properties,
18097 src/main/resources/messages_en.properties,
18098 src/main/resources/messages_de.properties: Adapted the names of
18099 calculation modes.
18100
18101 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
18102
18103 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18104 Added the hash code of an artifact to the artifact part of the
18105 collection's DESCRIBE document.
18106
18107 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
18108
18109 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed
18110 the background color of discharge curves to white.
18111
18112 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18113
18114 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18115 Cache the scale, too. Otherwise two calls to getValues() with
18116 different arguments will result in the same output.
18117
18118 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
18119
18120 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18121 Introduced a 'scale' parameter in the getValues() method.
18122
18123 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled
18124 the out() operation with code that draws a discharge table of one or
18125 more gauges specified by the given range in entered in a previous state.
18126
18127 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
18128
18129 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
18130 New. A helper class to exports charts.
18131
18132 * pom.xml: Added dependencies to iText, Batik and JFreeChart.
18133
18134 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18135
18136 * src/main/java/de/intevation/flys/importer/PegelGltParser.java:
18137 Fixed swap of operands.
18138
18139 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18140
18141 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
18142 New. Load gauges for a river and filter them for given
18143 ranges.
18144
18145 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18146
18147 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18148 Store data in a double [][] instead of interleaved double []
18149 to be compatible with org.jfree.data.xy.DefaultXYDataset.
18150
18151 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
18152
18153 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove
18154 the Backend reference from FLYSArtifactCollection.
18155
18156 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
18157
18158 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18159 Added missing artifact namespace of an attribute in the DESCRIBE
18160 document.
18161
18162 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
18163
18164 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
18165 New. This ArtifactCollection overrides the DefaultArtifactCollection to
18166 implement FLYS specific describe() and out() operations.
18167
18168 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the
18169 DefaultArtifactCollection for this application.
18170
18171 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18172
18173 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
18174 New. Fetches values of discharge tables in form of packed
18175 w/q double arrays for given gauges.
18176
18177 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
18178 Removed needless import.
18179
18180 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
18181
18182 * src/main/resources/messages_de_DE.properties: Added a german resource
18183 bundle to avoid exceptions in the flys artifacts. Sometimes, the
18184 Resources class is not able to find a 'de_DE' bundle and throws an
18185 exception. This is really strange, because it should use the 'de' bundle
18186 in that case, but it doesn't.
18187
18188 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
18189
18190 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
18191 some code to append the output modes of previous states to the DESCRIBE
18192 document.
18193
18194 TODO: Determine if the current state is already filled with data and
18195 append its output modes as well!
18196
18197 2011-03-22 Ingo Weinzierl <ingo@intevation.de>
18198
18199 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with
18200 an output mode 'discharge_table'.
18201
18202 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
18203
18204 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18205 Write human readable strings as label attribute into the DESCRIBE
18206 output. Those labels are used to be displayed in the GUI.
18207
18208 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
18209
18210 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
18211 Added some further calculation types.
18212
18213 * src/main/resources/messages.properties,
18214 src/main/resources/messages_en.properties,
18215 src/main/resources/messages_de.properties: Added i18n strings for the
18216 calculation types
18217
18218 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
18219
18220 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18221 Implemented the step-back part of the advance() operation.
18222
18223 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
18224
18225 * src/main/resources/messages_de.properties: Fixed a german umlaut.
18226
18227 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
18228
18229 * doc/conf/artifacts/winfo.xml: Added new states for entering a
18230 location/distance and w/q.
18231
18232 * src/main/resources/messages.properties,
18233 src/main/resources/messages_en.properties,
18234 src/main/resources/messages_de.properties: New string for the
18235 location/distance and w/q input states.
18236
18237 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
18238
18239 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
18240 New. A state for the W/Q input of the WINFO parameterization.
18241
18242 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
18243
18244 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18245 Append an attribute 'uiprovider' to the dynamic UI node.
18246
18247 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
18248 New. A state for the location/distance selection of the WINFO
18249 parameterization.
18250
18251 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
18252
18253 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18254 Added a new method getUIProvider() that might be overriden by concreted
18255 subclasses that should be rendered with a specific UIProvider.
18256
18257 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
18258
18259 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18260 The static UI part is created by the previous states now. This makes it
18261 possible to group the data objects (which is necessary to group the
18262 objects in the ui).
18263
18264 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18265 Added a describeStatic() method that creates a node that contains the
18266 data of that state.
18267
18268 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
18269
18270 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
18271 Removed TODO: the document contains the rivers provided by the backend
18272 now.
18273
18274 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18275
18276 * pom.xml: Added dependency to flys backend.
18277
18278 * src/main/java/de/intevation/flys/artifacts/model/River.java:
18279 Removed. We are using the backend model now.
18280
18281 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
18282 Fetches the rivers from the backend.
18283
18284 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
18285 Import fixes.
18286
18287 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18288
18289 * doc/conf/conf.xml: Added section for database backend configuration.
18290
18291 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18292
18293 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18294 Fixed build error coming from different import of XMLUtils.
18295
18296 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
18297
18298 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18299 Appended the missing label node that contains the human readable name of
18300 the data item.
18301
18302 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
18303
18304 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
18305 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18306 I18N of strings for the DESCRIBE document.
18307
18308 * src/main/resources/messages.properties,
18309 src/main/resources/messages_en.properties,
18310 src/main/resources/messages_de.properties: I18N strings for the
18311 calculcation mode state.
18312
18313 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
18314
18315 * doc/conf/artifacts/winfo.xml: Modified the winfo states.
18316
18317 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted
18318 the artifact regarding the changes of the last commit. The states
18319 describe() method creates the dynamic UI node - the artifact needs to
18320 apply this node.
18321
18322 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
18323 New. The state for choosing the calculation mode.
18324
18325 * src/main/resources/messages.properties,
18326 src/main/resources/messages_en.properties,
18327 src/main/resources/messages_de.properties: Added i18n strings for the
18328 calculation mode state.
18329
18330 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
18331
18332 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
18333 New. This is the base state for the FLYS application. It provides a
18334 method that creates the dynamic ui node for the DESCRIBE.
18335
18336 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
18337 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both
18338 classes extend the abstract base class DefaultState.
18339
18340 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
18341
18342 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
18343 New. This class retrieves the i18n strings from a ResourceBundle.
18344
18345 * src/main/resources/messages.properties,
18346 src/main/resources/messages_en.properties,
18347 src/main/resources/messages_de.properties: Resource files for german and
18348 english translation.
18349
18350 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
18351
18352 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
18353 the data that have been inserted in former states into the static node
18354 of the DESCRIBE.
18355
18356 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
18357
18358 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
18359 operations feed() and advance() return the description of the artifact
18360 using the describe() operation. This avoids additional server round trips
18361 in the client - the clients gets to know about the new state of the
18362 artifact immediately.
18363
18364 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
18365
18366 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18367 Implemented a part (step forward) of the advance operation.
18368
18369 * TODO: Implement Step-Back in advance operation.
18370
18371 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
18372
18373 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
18374 Implemented the abstract method getName(). It returns the constant
18375 'winfo' string.
18376
18377 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
18378 Implemented the feed action. The data of an incoming feed() operation is
18379 stored in StateData objects that are saved in a map in the artifact.
18380
18381 NOTE: There is no input validation and no i18n of error messages (see
18382 TODO).
18383
18384 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
18385
18386 * TODO: This file contains some open points that need to be done.
18387
18388 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
18389
18390 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This
18391 artifact serves as the default artifact for the FLYS application.
18392
18393 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This
18394 artifact now inherits from FLYSArtifact. Furthermore, there is one big
18395 change: we don't store the State objects itself in the artifact, but
18396 just the identifier of those. This makes the artifact smaller and more
18397 compatible agains previous versions of the software.
18398
18399 2011-03-08 Ingo Weinzierl <ingo@intevation.de>
18400
18401 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
18402 New. This service will retrieve a list of provided rivers.
18403
18404 * doc/conf/conf.xml: Added a configuration for the RiverService.
18405
18406 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
18407
18408 * doc/conf/conf.xml: Added a section user-factory and collection-factory in
18409 the factories part of the configuration.
18410
18411 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
18412
18413 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
18414 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider'
18415 attribute.
18416
18417 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
18418
18419 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
18420 RiverSelect state is called to create the UI part of the describe
18421 document.
18422
18423 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
18424 Implemented the dynamic UI part of describe(). The static part is not
18425 inserted into the describe document at the moment. We need a reference to
18426 the previous states for this.
18427
18428 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
18429
18430 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
18431 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model
18432 class that represents a river and its factory to create concrete river
18433 instances.
18434 NOTE: Currently, this is just a mockup. The factory just returns two
18435 static rivers "Mosel" and "Saar" without a connection to a backend.
18436
18437 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
18438
18439 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The
18440 input data of a state is initialized with empty StateData objects after
18441 the State has been created.
18442
18443 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states
18444 which now fits better to the class name of the implementation.
18445
18446 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
18447
18448 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
18449 describe document returned by this artifact now contains the current state
18450 and the reachable states.
18451
18452 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
18453
18454 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18455 The transitions are put into the TransitionEngine with the ID of the state
18456 - not longer with the artifact name. On this way, we are able to fetch
18457 just the transitions for a specific state, instead of all the transitions
18458 of an artifact.
18459
18460 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
18461
18462 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe()
18463 returns the artifact's uuid and hash value. The whole implementation of
18464 describe() is still outstanding.
18465
18466 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
18467
18468 * doc/conf/artifacts/winfo.xml: Removed useless config stuff.
18469
18470 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
18471 useless methods, and improved the init process - the first state is set as
18472 the current state for this artifact.
18473
18474 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
18475 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New.
18476 The states are used in the first two steps of the WINFOArtifact.
18477 Currently, they just implement stubs of the necessary methods setup() and
18478 describe().
18479
18480 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
18481
18482 * src/main/java/de/intevation/flys/artifacts/states/State.java,
18483 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java,
18484 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java:
18485 Removed. These classes are placed in the artifact-database now.
18486
18487 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java,
18488 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
18489 Adapted imports of Transition.
18490
18491 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New.
18492 This factory should be used to create concrete State objects.
18493
18494 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
18495 a constant key to store the StateEngine in the context.
18496
18497 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18498 New method that initializes the states at application start.
18499
18500 2011-02-03 Ingo Weinzierl <ingo@intevation.de>
18501
18502 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The
18503 interface description of a state.
18504
18505 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java,
18506 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
18507 New. The interface description and a default implementation of a
18508 transition.
18509
18510 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java:
18511 New. The TransitionEngine stores all transitions for each artifact and
18512 should be used to determine, if an artifact can advance from one state to
18513 another.
18514
18515 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
18516 New. Transitions should be created by using this class.
18517
18518 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New.
18519 The Flys context. It currently defines keys to store important components
18520 in the context.
18521
18522 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
18523 New. The context factory initializes the basic components of the
18524 application. Currently, the TransitionEngine is created and all artifacts
18525 with its transitions are read from the global configuration and stored in
18526 the FLYSContext.
18527
18528 * pom.xml: Added a dependency to the 'artifacts-common' package.
18529
18530 * doc/conf/artifacts/winfo.xml: Corrected the classname of the
18531 DefaultTransition.
18532
18533 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory.
18534
18535 2011-02-02 Ingo Weinzierl <ingo@intevation.de>
18536
18537 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact
18538 server.
18539
18540 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an
18541 WINFO artifact.
18542
18543 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of
18544 an artifact for a WINFO parameterization.
18545
18546 * pom.xml: Set the source code version to 1.5.
18547
18548 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
18549
18550 * src/**, pom.xml: Added initial maven project.
18551 * ChangeLog: new.

http://dive4elements.wald.intevation.org